Slashdot Mirror


User: szap

szap's activity in the archive.

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

Comments · 105

  1. No cake for you! on Bug Pushes Vista Out to November 8th · · Score: 1

    Dear Vista Team,

    No cake for you! Come back November 8th!

    Love,
    Firefox Team.

  2. SUSE dev proposes ext3 as default fs over reiserfs on Hans Reiser Arrested On Suspicion of Murder · · Score: 4, Informative

    Just a SUSE developer's (Jeff Mahoney from SUSE Labs) opinion and suggestion. http://linux.wordpress.com/2006/09/27/suse-102-dit ching-reiserfs-as-it-default-fs/

    Note that it's not "dropping support for reiserfs", it's "not using reiserfs as default". You're still free to use ext3/reiserfs/xfs if you know they perform well for your workload.

  3. Re:Sounds like a good idea. on EXT4 Is Coming · · Score: 2, Interesting

    Just a quick chime in, take it with a grain of salt. Some rambling thoughts.

    I've just converted my main partition (non-/boot) on a notebook from XFS to reiser3 mainly because I work with huge svn working copies and svn loves to keep small files around, as well as create lots of small files (lock files, etc) during routine svn work. xfs is just way considerably slower than reiserfs for svn status, update, commit, cleanup. Besides, reiser3's tail feature means svn's penchant for small files uses less space overall on my tinny notebook harddrive. Not sure if performance of reiser3 will degrade over time, (I've been on xfs on this partition for longer than a year), but we'll see.

    BTW, http://www.debian-administration.org/articles/388 My observations differ from theirs (operations on file tree). I do have a significant larger amount of files, and many of those are smaller than the default block size, so that might affect things.

    On the server side, XFS, on multiple concurrent large, random, writes (postgresql) just creams reiser3 and ext3. (IIRC, battery backed SCSI raid controller, tested with both RAID1+0 and RAID5, Linux 2.6.x, 6 x 15000RPM 132(?)GB HDD) Read operations and single thread seq/random writes are too similar in performance for the various filesystems.

    Another feature of XFS I used a lot (before converting to reiser3) is xfs_fsr, which defrags a mounted xfs filesystem. Oddly buggy though, as after some runs, some inodes tends to have max_extents corrupted (endian problem?). I'd recommend a xfs_repair after a xfs_fsr, which effectively makes xfs_fsr a utility for defragging *UN*mounted filesystems. So yeah, xfs is a tad unstable. I've only one real corruption, though, and that's from killing the notebook power during some writes. Not sure if that's from the fs, or the harddisk misbehaving.

  4. Re:So what can we do then? on Water Vapor Causing Climate Warming · · Score: 1
    It involves building spacecraft to hover at a stable point between the sun and the earth to divert sunlight off into space. Sound crazy?
    Not really. As usual, most of these ideas have been explored in sci-fi before, albeit with less detail. e.g. SMAC's Solar Shades
  5. Re:fragmented fs on Gentoo 2005.0 Released · · Score: 3, Informative
    The only real problem I've had with gentoo is fragmentation

    You might want to look into XFS, particularly xfs_fsr ("filesystem reorganizer for XFS" from the xfsdump package in most distros). Works on mounted filesystems.

    Higher CPU and mem usage than other fs, though. YMMV.
  6. Re:Question 3 Solved on Programming Puzzles · · Score: 1, Interesting

    The solution is canonically written in C/C++ as:

    a ^= b ^= a ^= b;

    or

    #define SWAP(a,b) (a^=b^=a^=b);

  7. Re:USB pen distros on Seagate Rolls Out 400 GB SATA Drives · · Score: 2, Interesting
    You can already install Debian Sarge from USB drives: Debian Installer Test Candidate 1.

    As for running a full fledged distro on it, you'd need something like a LiveCD setup to automagically reconfigure most of your hardware and network settings though, if you change computers around.

    Off into a rambling tangent:
    Hmmm... used to be that a computer/OS needs to support multiple users on a single computer, now it's time to add support (persistent hardware profiles, for example) for multiple, different users per OS? Imagine that: you physically carry all your OS, software, data with you. Great for Unis: you want more space on your home directory/account? Buy your own bigger drive. Use local harddrive for caching non-confidential files transparently and for swap. Need to modify kernel(s), but being able to suspend to usb drive, and resume on a totally different hardware would be cool. Sell, rent these to the underpriviledged to be able to use own stuff in cybercafe/library?

  8. Re:Anyone have a replica of MS-DOS EDITOR? on JOE Hits 3.0 · · Score: 1

    I've been using jed since around 1996. Decent emacs keybindings by default, smaller (memory AND diskspace), and faster than vim or emacs these days. I use emacs as a poor-man's version of jed when jed's not around.

    Even then in 1996, it had syntax highlighting, Borland IDE keybindings emulation, auto-indent, bracket matching, dictionary, mail-mode (can't read it yet AFAIK, but sure can send it), extensible via it's own language (slang), native Windows versions, etc, etc.

    The only problem that the version number has never been bumped to 1.0 yet... and that's about 10 years since it has been written.

    (Happy 10th birthday sometime this year!)

  9. Re:Functionals on Purely Functional Data Structures · · Score: 1

    In perl,

    # Imperative
    sub qsort {
    return unless @_;
    my ($p, @l, @r) = shift;
    $_[0] < $p ? push @l, shift : push @r, shift
    while (scalar @_ > 0);
    return (qsort(@l), $p, qsort(@r));
    }

    # Pseudo Functional
    sub qsort2 {
    return unless @_;
    my ($p) = shift;
    return qsort2(grep{$_ < $p} @_), $p, qsort2(grep{$_ >= $p} @_);
    }

    Not that much of a difference. Many functional or functional methods exists in modern "scripting" languages anyway. e.g. Perl's grep, map, sort. Most don't have lazy evaluation though, and "Ease of Understanding" might be lacking in Perl programs :)

  10. Re:A huge loss with death of Fallout on Black Isle Studios Shuts Down Development · · Score: 4, Insightful
    Fallout 3 would have been amazing.

    I'd certainly hope so too, but I'd rather have it end at Fallout 2 than have Fallout 3 radically changed to accomodate the publisher's requirements to sell to the "unwashed masses" and remove elements that made the Fallout series good.

    I've said the same thing about Deus Ex 2 ("It'd have been amazing"), and then tried playing it, but it have been a major disappointment for me, esp. the perceived bias towards the Lower Common Denominator of gamers on consoles and I don't want it to happen to Fallout 3.

    Background: Looking Glass created the original Deus Ex under Warren Spector. Looking Glass was closed down, but Warren Spector also lead the development for Deus Ex 2 under Ion Storm and Eidos (of Daikatana fame)...

  11. dia & tedia2sql on Recommended Data Modeling Tools? · · Score: 5, Informative
    We have been using dia and tedia2sql for many of our projects. This includes a project involving about a hundred tables, with foriegn keys all over, and a number of user defined functions (aka Stored Procedures) and aggregate functions.

    How it's done is, roughly, for a few related tables:

    1. Create tables using dia's UML's classes.
    2. Join the tables using UML Association to establish foreign keys.
    3. Set dia to autofit diagram into a number of pages.
    4. Add comments, draw pictures, whatever dia can draw.
    5. Save as an uncompressed XML file, chuck it into CVS. CVS likes text, so don't compress it.
    6. Optional: Print out pretty diagrams to printer. Dia's autofit is nice.
    Repeat above if you can't fit your tables into a set of nice looking pages.
    1. Create a Makefile to convert .dia to .sql using tedia2sql, and .dia to .eps using dia. (Left as an excerise to the reader). Bonus: autogen .eps to .pdf.
    2. Set up tedia2sql config to generate to your favourite rdbms. Or change Makefile to generate SQLs for each of Oracle, PostgreSQL, MySQL.
    3. Type 'make'.
    1. 5. Profit!

    Congrats! You have have fully printable, documentated, usable SQLs, and have version control on the schemas too. (Missing step is "4. Debug")

    P.S. tedia2sql is written in easily hackable perl.

  12. Linux's iproute2+tc on ifconfig refactoring for FreeBSD · · Score: 4, Informative
    FWIW, Linux 2.4+ has a significantly different way to access and config the kernel's network interfaces using iproute2+tc (using the commands 'ip' and 'tc') that is cleaner than the ifconfig syntax, and supports more advanced routing features (all sorts of firewalling rules and, packets queues, for instance).

    ifconfig is just the older, more compatible way to config the interfaces for those who grew up using older Linuxes and other Unices. You can do everything ifconfig + iptables using ip + tc and more.

    So before anyone claims that Linux's ifconfig sucks and is too complicated, they've already made a better replacement for it, just needs more documentation and exposure.

  13. Re:It's an old argument on Apple Responds to Exploit · · Score: 1
    Apple choose ease-of-use, and get criticised for leaving an open security "hole".
    ...
    That's not to say it's impossible...
    Right, not impossible, but is it that hard to pop a window up to require the user to confirm importing the settings from so-and-so server before doing it? Sounds like apple being apathetic to security rather than just "choosing" ease-of-use by design.
  14. Re:Happy hacker ... on Have Keyboards Gone Crazy? · · Score: 1

    Am I the only one who adapted to Ctrl key on bottom left by pressing it with the left of my palm rather than my index finger? I can do C-$foo than I can do Shift-$foo, and Emacs keys combos are very comfortable to me. Heck, I even use C-a, C-e on bash rather than moving my right hand over the cursor keys. Just have to train myself to use C-n and C-p over the up and down keys.

    It's like having eleven fingers... :)

  15. Re:Damien Conway's "Object Oriented Perl" ? on Learning Perl Objects, References & Modules · · Score: 1

    I second most of the positive comments here about Damian Conway's book.

    Just want to add that even after using perl for a few years, his beginning 1/3 chapters alone are worth the price of the book. It's a refresher on the fundamentals of perl, with good, funny examples of just about 90% of everything I knew. Even lots that I *didn't* know, with me going "Wow, I didn't know you can do that!". Heck, most of the important stuff from the Camel book is summarised here.

    The last 2/3 that deals with OOP is just gravy. Yes, these parts are dense, but you

  16. Re:Check out Internet Mail 2000 on Replacing SMTP? · · Score: 1

    Email is high latency. However users want to power up their MUA and get their email now not wait for a bit then get their email.

    No problem. The user's ISP could have a IM2k -> POP3/IMAP gateway. The gateway will periodically grab the emails from the IM2K servers from the user's notification, and store it locally, and the user will download the emails via POP/IMAP from the gateway.

    The pros:
    - Extra source of income for user's ISP.
    - ISP's gateway can optimally download emails in bulk, esp. if it's addressed to a few users in the ISP, and it needs to download it only once.
    - More or less transparent to users: they don't have to switch from their Lookout.
    - ISPs can implement spam controls.
    - The senders get the features many non-technical people been wanting: the assurance that the email has been downloaded by the receipient (if not using gateway agent), or the ability to "unsend" emails. (Oops, I didn't mean to send that email to my boss!).

    The cons:
    - How would the IM2k server know that the ISP's gateway is the correct receipient? Get it wrong and it'll be too easy for crackers to read other's emails.
  17. Re:There's a long way to go on Exegesis 6 (Perl 6 Subroutines) Released · · Score: 1
    whitespace hasn't even been made meaningful yet.
    Funny you should mention that, because Damian Conway, the author of the article here, is also the author of Acme::Bleach, the perl code to whitespace only code convertor.

    Check it out if you haven't already -- Acme::Bleach showcases the best and worse of perl: very short code (83 lines, including documentation you see in the link above), humorous (with subroutine names like whiten, brighten, dirty and dress) and does absolutely nothing Useful(tm). It's a cool perl hack.

  18. Re:Voting Authentication using MyKad"s PKI on India Chooses All-Electronic Voting · · Score: 1
    Oh dear, no wonder MSC Trustgate rang a bell:

    MSC Trustgate fires its chief scientist after uncovering fraudulent claims

    Be afraid, be very, very afraid. Them implementing PKI for an entire country?

  19. Re:Voting Authentication using MyKad"s PKI on India Chooses All-Electronic Voting · · Score: 2, Informative
    Any technical info on the PKI implementation in MyKad? Earn some karma.

    And oh, <aol>me, too!</aol> on the "I don't have MyKad yet" part.

    Background for non-Malaysians: "IC" = short for Id. card in Malaysia. MyKad is the new Malaysian identity card with an embedded chip. Looks exactly like a new ATM card. Never could find enough detailed info on them to trust them, but it's supposed able to handle electronic cash, your identification details in electronic forms, PKI, etc. Would be rather hard to forge.

    Particularly worrying is using PKI in conjunction to voting. Unless done right, it's very easy to lose privacy -- authentication and anonimity are two contradictory to each other. It's possible (I've read Schneier's books), but it's very hard and troublesome.

  20. Re:Parrot started out as a joke, and is still a jo on Perl 6 Essentials · · Score: 1
    If you've been keeping track of the Parrot project's progress for the past 2+ years you'd see that they're going nowhere fast.
    Remember Mozilla? Started out slow as well. Rewrite(s). Gnashing of teeth. Strong words spoken. Resignations.

    But it's here, now. Arguably one of the most cross-platform, complex Open Source application. Just have a little faith with Perl 6. You might not like it, but many will, just like mozilla.

  21. Re:Mozilla? on Details of Linux-in-Munich Deal Revealed · · Score: 1

    YMMV? Redhat 8's Konqueror vs mozilla.org's 1.4 binary:

    ldd /usr/bin/konqueror | wc -l
    38

    ldd /usr/local/mozilla/mozilla-bin |wc -l
    18

    20 is a lot. But:

    konqueror's size = 4871 bytes
    mozilla-bin's size = 251260 bytes

    Static libraries?

  22. Re:Mozilla? on Details of Linux-in-Munich Deal Revealed · · Score: 1
    IE is the OS
    IE, meet emacs.
  23. Trust the committee to be impartial? on OSI Announces Open Source Awards · · Score: 2, Interesting

    Anyone noticed that the 7 person committee includes Dr. Marshall Kirk McKusick (4.2BSD fast filesystem), Eric S. Raymond (loves python), Guido van Rossum (python creator)?

    Wonder how that would affect projects that rival those people's projects to get awards? Say, Hans Reiser (reiserfs), or anything related to Perl?

  24. Re:So... on Repel Bugs With Your Cell Phone · · Score: 1
    Mosquitos find their targets from the trail of carbon dioxide left behind by exhaling.
    It probably works by cranking up the broadcast power on the cellphone like 50x and give the owner and bystanders cancer, kill 'em, and that'll stop CO2 from being exhaled. Tadah! No more mosquitoes. Now go sell them maggot repelers.

    Good riddance to annoying ringtone users.

  25. Re:Killer App on Xiph.org Releases Theora Alpha One · · Score: 1

    Aye. Second this. I use CDEx (GPL!) if I have to use Windows and abcde (GPL!) if I'm on Linux. Both are extremely functional and user-friendly (ie. CDEx's user friendly means good GUI, abcde's user friendly means good command line -- trademarks of respective OS platform).

    Problem is knowing about the existance of these _mature_ Open Source programs over the usual 90% crud software out there.