Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
User Journal

Journal Journal: "+5, Informative"

It took a couple more hours, but my post "Vital Stats" (containing the output of "cat /proc/cpuinfo" and some other diagnostics of Fabrice Bellard's JavaScript Linux emulator) was modded all the way up to "+5, Informative" -- w00t!

Comment Re:Vital Stats (Score 1) 393

Yep, so far 20.21 seems to be consistent under all the different conditions I've tested. Maybe these are "bogo-bogomips."

(Further OT: before you replied to my comment above, I thought it had disappeared, so I re-posted it below. I guess it just got moderated below my threshold. I should remember that next time before double-posting.)

Comment Re:Vital Stats (Score 1) 393

Final note:  I just tested "Chromium 11.0.696.57 (82915) Ubuntu 11.04" with its V8 JavaScript engine.

Fabrice Bellard says that "the PC emulator is about 2 times slower using V8 [Chrome] than Jaeger Monkey [Firefox]", but that doesn't affect the output of "cat /proc/cpu" which remains rock steady at 20.21 bogomips.

Comment Re:Vital Stats (Score 1) 393

You're wrong.

The code is written in pure JavaScript. So it's not a Java applet.

Don't feel too bad, though: It's a common error.

"Netscape originally invented a simple scripting language called LiveScript, which was to be a proprietary add-on to HTML. When Sun's new language Java became unexpectedly popular, Netscape was quick to jump on the Java bandwagon, and re-christened their scripting language JavaScript. Outside of the first four letters, there are almost no other similarities between the two."

You're comparing "applets" and oranges.

Comment Re:Vital Stats (Score 1) 393

~ # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 5
model           : 4
model name      : Pentium MMX
stepping        : 3
cache size      : 0 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : yes
coma_bug        : no
fpu             : no
fpu_exception   : no
cpuid level     : 1
wp              : yes
flags           :
bogomips        : 20.21
clflush size    : 32

This is Firefox 4.0.1 running under Ubuntu 11.04 "Natty Narwhal" on the same HP G72-B66US notebook with 4GB RAM. Still clocking in at 20.21 bogomips.

P.S. Downloading Fedora 15 iso as we speak. Nothing wrong with giving the LiveCD a whirl, though I was leaning toward switching to another apt-based distro, possibly Knoppix. The Knoppix LiveCD always performs well for me across a wide range of hardware, and it's based on KDE, so it might be a good place to hide from all this GNOME 3 and Unity hullaballoo until the dust settles.
User Journal

Journal Journal: Modded up!

I posted a few comments last night, and one of them actually got modded up while I was fitfully dozing.

Just a standard "+1" ... it didn't rate as "Interesting" or "Insightful." But still, it's a first for me after ten years on Slashdot.

I actually feel pretty good about it. I think I probably did the right thing by taking a ten-year vow of silence.

Comment Re:Vital Stats (Score 1) 393

guys, guys... it's Java remember.

Just increase the applet memory.

(Correct me if I'm wrong though: I'm curious too!)

You're wrong.

According to http://bellard.org/jslinux/tech.html:

The code is written in pure Javascript using Typed Arrays which are available in recent browsers.

So, it's not a Java applet. It's JavaScript.

You're comparing applets and oranges.

Comment Re:Vital Stats (Score 1) 393

~ # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 5
model           : 4
model name      : Pentium MMX
stepping        : 3
cache size      : 0 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : yes
coma_bug        : no
fpu             : no
fpu_exception   : no
cpuid level     : 1
wp              : yes
flags           :
bogomips        : 20.21
clflush size    : 32

This is from Firefox 4.01 on the same HP G72-B66US notebook with 4GB RAM, running Ubuntu 11.04 Natty Narwhal. Still clocking 20.21 bogomips.

P.S.: Don't want to get too far off-topic, but I'm downloading a Fedora 15 ISO in the background. Nothing wrong with giving the LiveCD a whirl, though I'm leaning toward sticking with a Debian-based distribution, possibly Knoppix. The Knoppix LiveCD always performs well for me across a wide range of hardware, and it's based on KDE, so it effectively sidesteps all this GNOME Shell / Unity brouhaha. Unlike the standard Ubuntu install (I haven't tried Kubuntu, but I have booted into KDE Plasma to escape from Unity) it is tuned from tip to toe for KDE, so there aren't so many "You were, perhaps, expecting GNOME? Gotcha!" moments with Knoppix.  Any software I miss should be just an "apt-cache search" and an "apt-get install" away. (I know, Fedora has good old "yum" -- but after doing some time as an Oracle DBA, I am left with a residual allergy to RPM packages.)

Comment Re:Vital Stats (Score 1) 393

Firefox 4 on an HP laptop running 64-bit Windows 7. Oh crap ... if I thought my Linux geek credibility was deflated when I posted a comment from my iPhone earlier, it's totally shot to hell now. (It's a dual-boot system, I swear! I just got sick of dealing with the Unity desktop in Ubuntu 11.04! And the iPhone is jailbroken! Please, hammer, don't hurt me!)

Comment Re:Vital Stats (Score 2) 393

~ # echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
~ # ls -a
.             ..            .ash_history  hello.c
~ # cat .ash_history
cat /proc/meminfo
cat /proc/cpuinfo
top
echo $PATH
ls -a
cat .ash_history
~ # cat hello.c
/* This C source can be compiled with:
   tcc -o hello hello.c
*/
#include <tcclib.h>

int main(int argc, char **argv)
{
    printf("Hello World\n");
    return 0;
}
~ # tcc -o hello hello.c
~ # ls -l
total 4
-rwxr-xr-x    1 root     root          1908 May 17 07:01 hello
-rw-r--r--    1 root     root           166 May 15 22:15 hello.c
~ # ./hello
Hello World

Comment Vital Stats (Score 5, Informative) 393

Let's see what this baby has under the hood:

~ # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 5
model           : 4
model name      : Pentium MMX
stepping        : 3
cache size      : 0 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : yes
coma_bug        : no
fpu             : no
fpu_exception   : no
cpuid level     : 1
wp              : yes
flags           :
bogomips        : 20.21
clflush size    : 32

~ # cat /proc/meminfo
MemTotal:        30448 kB
MemFree:         26960 kB
Buffers:          2048 kB
Cached:            456 kB
SwapCached:          0 kB
Active:           2636 kB
Inactive:           64 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               8 kB
Writeback:           0 kB
AnonPages:         212 kB
Mapped:            324 kB
Slab:              700 kB
SReclaimable:       96 kB
SUnreclaim:        604 kB
PageTables:         36 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:     15224 kB
Committed_AS:      456 kB
VmallocTotal:  1007592 kB
VmallocUsed:         0 kB
VmallocChunk:  1007592 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     4096 kB

~ # top
Mem: 3472K used, 26976K free, 0K shrd, 2048K buff, 472K cached
CPU:  0.5% usr  0.3% sys  0.0% nic 87.2% idle  0.0% io  6.2% irq  5.5% sirq
Load average: 0.08 0.04 0.01 1/12 78
  PID  PPID USER     STAT   VSZ %MEM CPU %CPU COMMAND
   78    75 root     R     1136  3.7   0 12.7 top
   75     1 root     S     1156  3.8   0  0.0 sh
    1     0 root     S     1136  3.7   0  0.0 /bin/sh /sbin/init
    3     1 root     SW<      0  0.0   0  0.0 [events/0]
    4     1 root     SW<      0  0.0   0  0.0 [khelper]
    2     1 root     SWN      0  0.0   0  0.0 [ksoftirqd/0]
    5     1 root     SW<      0  0.0   0  0.0 [kthread]
   16     5 root     SW<      0  0.0   0  0.0 [kblockd/0]
   34     5 root     SW<      0  0.0   0  0.0 [kswapd0]
   35     5 root     SW<      0  0.0   0  0.0 [aio/0]
   32     5 root     SW       0  0.0   0  0.0 [pdflush]
   33     5 root     SW       0  0.0   0  0.0 [pdflush]

Comment Re:iPhone (Score 1) 393

It figures ... Just my luck that this would happen to be the first /. story I've ever tried to read on this effin’ proprietary phone. There goes my last remaining shred of pretension to Linux elitism. Oh well, at least I can post a comment confirming that it didn't work for me either. I didn't try Mobile Safari -- my browser du jour goes by the smugly self-satisfied name of "Perfect Browser." (Well, no ... but it's okay, I guess.)
ISS

Submission + - Space Shuttle Endeavour Blasts Off on Final Flight (foxnews.com)

Velcroman1 writes: Space shuttle Endeavour rocketed into space Monday morning from Kennedy Space Center, led by mission commander Mark Kelly on the final mission for the youngest vehicle in the space fleet.

Over 6 million pounds of thrust from the shuttle's rocket booster carried Endeavour into orbit, at speeds of up to 19,000 miles per hour, for an expected meeting with the International Space Station on Wednesday.

"It's incredible how you can see this machine hurled into space like the fastest fastball ever thrown, going to Mach 25 — 25 times the speed of sound — and it's an incredible race to orbit," former NASA astronaut Tom Jones said. "It's one of the greatest physical sensations an human can experience," he added.

User Journal

Journal Journal: Return of the Modus

Well, I'm back. I just logged in to Slashdot for the first time since ... well, I honestly don't remember, but the last time I posted a comment was in the summer of 2002. (My first comment was in February of 2001 -- good grief, have I been lurking for a decade?)

Note to Self: "Do not read your old comments from 10 years ago." What a rank n00b I was! Luckily, I somehow managed to find employment as a Linux sysadmin. Hopefully I've learned something along the way.

Slashdot Top Deals

Can't open /usr/games/lib/fortunes.dat.

Working...