Slashdot Mirror


User: pkhuong

pkhuong's activity in the archive.

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

Comments · 305

  1. Re:OT: what is a stack? on XORP 1.0 Released · · Score: 1

    OOT: In RPN calcs, the enter between a number and an operation is not needed. This is one of the reasons why RPN requires less keystrokes than algebraic entry.

  2. Re:ot: where are my apostrophes?! on X43-A on to Mach 10 · · Score: 1

    My guess? MS Windows. Some apostrophes are normal apostrophes, others are converted to their own weird character set, seemingly arbitrarily.

  3. Re:Uses of cruise missiles? on DIY Cruise Missile Designer Turns Freelance · · Score: 3, Insightful

    France? Like, the country with the 2nd or 3rd largest military? Or "that other nuclear power"? France IS a big guy. Disregard propaganda. Do remember the fact that they were one of (if not the first) the first modern democratic countries, and have truly helped others (USA) become democratic. Sometimes, when a friend says "no", he's still a friend, not a whiny old bastard.

  4. Re:Cost efficiency on DIY Cruise Missile Designer Turns Freelance · · Score: 1

    I can't wait until a substantial portion of the USA is without power and the only source of electricity in the area is a nuclear-powered US carr....

    Oh wait, things just don't work like that. I think I'll stick to The Incredible Machine.

  5. Re:Data logger on Jumping From Computer To Computer · · Score: 1

    Possible answer: Because it's a thin client. All it can do is not display/send what it should.

  6. Re:schedulers as modules on Bossa, a Framework for Scheduler Development · · Score: 1

    If the modules are binary, the point is moot. If they're not, remember that a DSL can often encode the same functionality in less space (interpreter+data) than machine language. As you pointed out ourself, cache hitrate are extremely important, so by having less data to cache (and less new instructions to decode), the interpreter can probably be very competitive, or maybe even better than a binary.

  7. Re:Include a compiler or interpreter on Educational Software To Donate With Laptop? · · Score: 1

    Who said this was for every kid? If only one kid benefits from the additional 900 K (including the very complete help file), then it's a win for everyone. I, for one, learned to program in basic (and with a decent enough style (i only discovered functions once i met the internet, though)) with only a couple "10 games in basic" books (i hate VIC and TRS-80 basic with a passion. The conversion to QB/GWBasic took as much time as the typing). You can learn a lot by typing out listings, running them, and making trivial (at the beginning, anyway) changes.

    Oh, btw, QBasic has a really good IDE, definitely not your average blinking underscore.

    If you are going to put compilers/interpreters (please put CLISP or GCL :D) on it, don't forget the books and tutorials!

  8. Re:At least we know. on Our Friend, The Meter · · Score: 1

    Which, ironically, is off by more than 5%.

  9. Re:Lisp on The History of Programming Languages · · Score: 1

    standard headers? FFI? The thing is that the CL standard was designed in a machine independant way, so standardizing FFI might have been hard. Apart from that, i'd like to know whatever the hell you're smoking: the CL standard is incredibly big (google CLHS), since it covers every function in its standard library.

  10. Re:MP3 compression == complicated on Mesh Compression for 3D Graphics · · Score: 1

    There's nothing stopping you from doing it, though. Theoretically, it's possible, thus enabling us to set an upper bound on the maximal compression ratio for a scene.

  11. Re:been done on Extensible Programming for the 21st Century · · Score: 1

    READ must be in any Lisp that is a Lisp, and Lisp has been ported to many, many architectures (including C ;).

  12. Re:So what about: Voice? on Home Theater Keyboards? · · Score: 1

    You know, emacs + TTS (carnival?) + speech recognition could probably be your voice OS.

    3 lispy emacs :)

  13. Flunked-Reading-Comprehension-p on Small Form Factor Dual Opteron · · Score: 1

    The "solution" uses a single chip, as opposed to many components. ZMAX != Opteron, mmk?

  14. QEmu? on PowerPC Architecture Emulator Unleashed · · Score: 5, Informative

    Does anyone know how it compares to QEmu (http://fabrice.bellard.free.fr/qemu/)?

    "QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed. "

    "News
    (May 8, 2004) QEMU version 0.5.5 is out. (Changelog). Much improved Windows 98 support. VGA support in PowerPC PREP target.

    (Apr 26, 2004) QEMU version 0.5.4 is out. (Changelog). This is the first version which is able to install and run Windows XP (experimental). This is also the first version which is able to boot a PowerPC PREP Linux kernel on a PC."

  15. Re: Skeptic on Nonlinear Neural Nets Smooth Wi-Fi Packets · · Score: 1

    Every differentiable function is continuous. However, not every continuous function is differentiable. E.G., y=abs(x) is continuous, but not differentiable.

    To nitpickers: y=abs(x-.5) if you want to stay within the [0..1] domain.

  16. Re:Complaints. on HP Releases New RPN Scientific Calculator · · Score: 1

    I know i'm late, but what kind of disinformation is that?

    The 49g+ emulates a saturn (a 4/64 bit CPU) on an ARM. Parts of the kernel is actually pure ARM, and we now know how to build functions in direct ARM code.

  17. [OT]Re:Congrats to the winners, and bitter... on ACM Collegiate Programming Contest Winner Announced · · Score: 2, Informative

    BTW:

    Both definitions of factorial (recursive and non-recursive) are perfectly good (mathematically) ways of defining the function. However, in the Real World, there's a large difference: even in lazy languages, allocating the space for the list (stream? generator? i'm not very well-versed in Haskell) is going to take memory and computing time. In fact, i think that in this particular (trivial) example, allocation will take as much if not more resources than generating the data itself. The recursive definition, on the other hand, does not present this problem, since the numbers are generated on-the-fly (and the function is tail recursive).

    So, while defining factorial as the multiplication of a list might be very elegant, it's not extremely efficient (in both languages that are lazy like Haskell and those that aren't like, say, Lisp), since data is generated and then immediately thrown away. The recursive function remains elegant while not being wasteful. In fact, a compiler that recognizes tail-recursion should make it as efficient as the iterative version.

  18. Re:Congrats to the winners, and bitter memories on ACM Collegiate Programming Contest Winner Announced · · Score: 1

    (defun fact (n)
    (* (iota n)))

  19. Re:Congrats to the winners, and bitter memories on ACM Collegiate Programming Contest Winner Announced · · Score: 1

    Re optimisation: So does CL.

  20. Re:Congrats to the winners, and bitter memories on ACM Collegiate Programming Contest Winner Announced · · Score: 4, Interesting

    Being a Smug Lisp Weenie, i'd like to point out that only lower level languages don't have support for arbitrary-size integers :p

    [54]> (! 300)
    [anti lameness filter]
    306057512216440636035370461297 268629388588804173576999416776 74125947653317671686
    7465515291422477573349939147 888 7017263688642639077590031542268 429279069745598412
    254769302719546040080122157762 5 2176854255965356903506788725264 321896264299365204
    576448830388909753943489625436 0 5322598077652127082243763944912 012867867536830571
    229368194364995646049816645022 7 7165001851765464693401122260347 297240663332585835
    068701501697941688503537521375 5 4910289126407157154830282284937 952636580145235233
    156936482233436799254594095276 8 2060806223281238738388081704960 000000000000000000
    000000000000000000000000000000 0 000000000000000000000000

    That's on Clisp 2.31, btw.

  21. Re:...erm?!. on Jet-powered Nausicaa Glider Project · · Score: 1

    google for Vogelmann, iirc. The bump *either ont he top or on the bottom) would create some weird turbulences that would then bring more lift.

  22. Forth Chip on Transmeta TMS5xxx Reverse Engineered · · Score: 2, Interesting

    Forth is a language that has often been put on extremely small and simple die. It seems to me it would be possible to implement it on TMTA technology, especially considering the number of available registers - enough to guarantee the stack won't have to be put in RAM more than 90% of the time, iirc.

    ANyone up for this? :)

  23. Re:Ever heard of the AVRO Car? on Russians Invade with Flying Saucer · · Score: 2, Informative

    Working is a bit of an exaggeration. IIRC, it could hover, but wasn't stable enough, so they only let it fly tethered to the ground.

  24. Re:Any coders want to write a live virus? on First Reproducing Artificial Virus Created · · Score: 1

    Or build a computer! I'm sure we'll see MEMS-based logic one of these days; what's stopping us from using cells to make them?

  25. Re:Mitochondrial Viruses on First Reproducing Artificial Virus Created · · Score: 1

    It's been a while since i covered this in bio, but here's what i remember. Mitochondria actually replicate by themselves in our cells. They would therefore have all the machinery needed to replicate mitochondria (and thus proteins, membranes, et, ie a basic living cell), or virus.

    The nucleus is only the part where DNA is stored in eukaryotes, and transcripted in RNA; all the translation into a polypeptide is made in the cytosol (inside the cell, but outside any organelle), by ribosomes. Mitochondria, eukaryotes and prokaryotes (OK, so mitochondria might be prokaryotes :) have these ribosomes, and they all obey the same encoding, afaik (very surprising, yes).

    I can see a few problems with mitochondrial virus. The zone between the two membranes of mitochondria is very acid (relatively); there ARE two more membranes to go through before getting inside it; there are just as many membranes to go through to disperse and infect, making infecting mitochondria in a single cell this pretty hard, let alone other cells. So, i guess it might work with a virus that isn't too virulent. If it infected an egg cell, it would get an incredible free ride, though :) Spread through whole organisms for generations, while only having to infect, go through the immune system, etc of a single cell.

    Keep in mind, IANAB(b=biologist; i'm just a student, and bio isn't my major or anything).