Slashdot Mirror


User: zhenlin

zhenlin's activity in the archive.

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

Comments · 321

  1. Re:I've stayed away from KDE...until now. on Ars Technica: Deep Inside KDE 3.2 · · Score: 1, Offtopic

    emerge -C kde does not remove KDE.

    emerge -C kde removes the KDE metapackage, which is a no-content package.

    emerge -C kde does not remove the dependencies of the KDE metapackage.

    On top of all that, emerge kde is not neccessary to enjoy KDE.

  2. Re:Does Subversion require a UNIX account per user on Subversion 1.0 Released · · Score: 2, Informative

    Any Apache authentication module will do... Also, because it isn't filesystem-backed, there is no need to have one system account per SVN account.

  3. Re:Renaming yes, sharing no on Subversion 1.0 Released · · Score: 1

    SVN supports copy-on-write.

    But symbolic links and aliasing was not available last I checked.

  4. Re:hamster intelligence on Hamster-controlled MIDI · · Score: 1

    Hmm, I read that as 'intelligent hamster controlled by MIDI sequencer'... I was wondering, what self-respecting intelligent being will let himself be controlled by a machine-program?

  5. Re:Doesn't this point out a problem in Cryptonomic on Morse Code Enters The 21st Century · · Score: 1

    That's why we have ANSI trigraphs...

    But... I don't think they bothered making sure C was programmable in only morse characters.

  6. Re:We found a WMD! on Chandra Sees Black Hole Rip Star Apart · · Score: 1

    Mass isn't really destroyed in this case anyway... I don't really see many signs of mass-energy conversion happening.

  7. Re:What the fuck? on Exploit Based On Leaked Windows Code Released · · Score: 1

    Might want to be careful with that.

    If 'yourbuffer' is in fact a pointer... sizeof(yourbuffer) returns 4.

    Most of the time, buffers are statically allocated on the stack, so sizeof(yourbuffer) works as expected.

    Just too bad that stack buffers are the easiest to exploit...

  8. Re:Well, maybe they will listen to him on ESR's Open Letter to McNealy: Set Java Free! · · Score: 1

    Or, the RAD for OS X, Cocoa on Objective-C. Add garbage collection to that, and it will probably be competitive with VB.

    The only problem is that there is effectively only one Objective-C compiler out there (GCC) and only one open Cocoa implementation (GNUstep), and GNUstep has quite some distance to bridge before arriving at OS X 10.3 Cocoa.

  9. Re:Please explain....? on Building A Better Package Manager · · Score: 1

    Windows binaries are relocatable, if properly designed; otherwise, they still need to have files scattered all over the system.

    As for figuring out the absolute path? There are ways of doing this -- various getwd(), getcwd() etc. and realpath(const char *). Unfortunately, none of them figure out the absolute path of an executable... because that information does not seem to be (readily) available. argv[0] is not enough!

    Also, libraries are searched for at runtime, not link-time -- you could put the needed libraries anywhere, so long as the path to it is specified in LD_LIBRARY_PATH. (But, specifying '.' in any sort of PATH is dangerous!)

  10. Re:Don't leave out Gentoo! on Building A Better Package Manager · · Score: 1

    eclasses, like ebuilds, are written in bash.

  11. Re:How creative on Mozilla Firebird gets .8 Release, and New Name · · Score: 1

    Registered trademarks are marked with (R) not TM.

    Microsoft(R) Windows(R) -- not Microsoft(TM) Windows(TM)

  12. Re:How does one dispute math as a universal concep on The Golden Ratio · · Score: 1

    One is still one... However, if they do not understand the concept of finite objects, then there might be a problem.

    However, since they still percieve objects as objects, they might choose to count timelines rather than an object-time coordinate. Speaking of which, they still need to have a coordinate system to identify a position in space-time...

    If there is a sentience that percieves absolutely everything... Hmm, it is possible that it does not understand the concept of finite numbers.

  13. Re:X86??? OMG that sucks... on Learning Computer Science via Assembly Language · · Score: 1

    You have yet to encounter extreme-RISC instruction sets, I take it then.

    There is the subtract-and-branch-if-negative variant, that is probably much more painful than the x86.

    For systems programming, x86 is horrible. But for applications programming, it is OK. Application programmers don't have to fret over the insane layout of a GDT entry, or the virtual-physical address mode, or the A20 line, or the privillege ring, etc. Then again, with only 8 general purpose registers, it could be considered more difficult.

    Still, I believe a load-store (RISC-style) system architecture with a large register file (at least 32, of each type, or 64 if registers are orthogonal in use) is easier to program in.

  14. Re:Knuth on Learning Computer Science via Assembly Language · · Score: 1

    MIX is used in his published (as of to date) TAOCP book.

    MMIX will replace it.

    Neither are stack machines. MIX predates 8-bit bytes, to give you an idea; MMIX is a load-store (i.e. RISC-style) machine.

    Both don't have a hardware implementation (yet).

  15. Re:Insult to Injury on Google Traffic Takes Down Web Site · · Score: 1

    Curiously, why this time?

    Google frequently has special logos linked to queries. At least on the order of once a month.

    But I suppose this is the first time it was linked to an image search, on fascinating fractals, no less.

    For people looking for a laugh: http://en.wikipedia.org/w/wiki.phtml?title=Mandelb rot_set&oldid=354283

  16. Re:A tremendous contradiction obstructs this goal on Europe Joins Race To Send Humans To Mars · · Score: 2, Insightful

    And yet, for the same reason there are some things only megacorporations can do, there are some things only governments can do.

    Developing a space program is very expensive. Research is expensive. Actually building it is expensive, in material cost and human cost.

    Privatising it will encourage the reduction in cost, but the entry barrier is still there. It's a causal loop really, only those which have lots of resources can run a space program, and they don't have a lot of incentive to reduce costs. (Other than a rapidly dwindling budget (or a threat thereof))

  17. Re:It's a CONSPIRACY, Itell you, a CONSPIRACY... on US Govt Makes Times New Roman 14 Official Font · · Score: 1

    "Comic Sans MS"

    Comic -- humour.
    Sans -- without.
    MS -- Microsoft.

    "Humour without Microsoft"

    Impossible.

  18. Re:Exceptions on US Govt Makes Times New Roman 14 Official Font · · Score: 1

    I suppose that the Top Secret documents are printed on red paper, to maximise secrecy.

  19. Re:Deprecating username/password in URLs on Microsoft Security Patch Fixes URL Security Flaw · · Score: 1

    So, you're saying that HTTP authentication is stupid?

    http://username:password@www.domain.net/path/fil e is just a way of storing the authentication data in the URL. It would be translated to a HTTP request like

    GET /path/file
    Authorization: Basic QdXNlcm5hbWU6cGFzc3dvcmQ=
    Host: www.domain.net



    If you didn't supply the authentication tokens in the URL, you would have been prompted for them, and it would be the same request.

    Remember: not every HTTP user agent is an interactive browser with session cookies. HTTP authentication needs neither.

  20. Re:Gnome on GNOME in the Year of the Monkey · · Score: 2, Informative

    Hmm, what is the origin of this particular piece of flamebait? Seems quite old. Apple System Software and Multifinder died quite some time ago. MacOS cooperative multitasking and no-CLI died with OS 9.

    Besides, we all know we can't run EMACS on Amiga... yet.

  21. Re:Future SCO's on Groklaw Traces Contribution of ABIs back to SCO. · · Score: 1

    Better contribution auditing. That is the only thing we can do.

    Be cautious of code you recieve. Ask for papers to show copyright ownership. Ask for papers to confirm licensing. etc.

    Either that, or don't allow contributed code. Which is about as bad as Shared Source.

  22. Re:iPod kind of kludgey on KISS · · Score: 1

    When dragging removable (data storage) media to trash, the trash icon magically changes itself to an eject icon.

    Not as consistent as it could be.

    But most of the time, the eject button on the keyboard can be used to eject a CD. The only time you need to manually eject media is if it is not a CD, or if the keyboard is not working.

  23. Re:Science and Engineering files? on Spirit 'Will Be Perfect Again' · · Score: 1

    Perhaps, because they have been sent to Earth, and keeping them on the Rover would be redundant. Thus, they are the perfect candidates for removal. The problem was apparently inode exhaustion. You can experience this for yourself by running this little shell script: i=0 while true do touch $i i=$(($i + 1)) done

  24. Re:Wait a second... on What's Inside the Mars Rovers · · Score: 1

    The POWER chips initially required that all instructions took 1 cycle to execute. (They didn't have floating point, as such)

    I don't know if this attribute carried down to the early PowerPCs, but I know the newer ones certainly don't.

  25. Re:Three keys on Ctrl-Alt-Del Inventor To Retire From IBM · · Score: 4, Informative

    The Magic SysRq key makes a Request to the Linux System -- Alt + SysRq + (on x86)

    For more details, study /usr/src/linux/Documentation/sysrq.txt

    Very useful. Far more convenient than pressing some chord that brings up a GUI screen with buttons to press. The framebuffer may be corrupted, for instance, or the mouse non-responsive, or the GUI server frozen, etc.