Goddammit, I used the notes C, D, E, and F again! Those `Happy Birthday' ladies (as well as everyone else) will probably sue me.
As a songwriter, I often wonder: How the F*** am I supposed to compare my songs to the other one-million songs out there to see if they are `substantially similar?' Hell, any three-chord song sounds `substantially similar' to any other three-chord song.
I hereby renounce my title as a creator. Everything I could ever make (as music, as art, as writing, as code) has already been done and been copyrighted and/or patented. I will now slave away in a factory. Thank you for your time.
No, this is not a troll. This is simply a scared U.S. citizen.:-( *
All we'll need to do is hack up Wine to report (But still perform) "strange" CD-ROM accesses. Then we'll know just what the program is looking up on the CD, and we could even get a traceback of the code (EIP, registers, etc). Then, just make a crack that swaps a JMP instruction for a JZ/JNZ...
yeah.... kickass:) someone else who uses joe, a *real* text editor.
"pico's just as good!" pfff newbies.;) joe is lightweight, uses easy-to-learn and common wordstar key bindings, and has most of the functionality of vim in one form or another. it's also quite configurable if you tweak joerc...
Be wary of modern hard drives---some of them may use a write cache internally (from what I have heard, anyway).
As for manually running fsck, you don't have to; calling/sbin/fsck -A -a will automatically repair the filesystems, without prompting for questions. On slackware, the appropriate file to edit is/etc/rc.d/rc.S --- Of course, your distribution might be one of those with a million confusing files in/etc/init.d and/etc/rc*.d in which case I can't help you:)
If you want to disable e2fsck: The root filesystem will be checked first unless the -P option is specified (see below). After that, filesystems will be checked in the order specified by the fs_passno (the sixth) field in the/etc/fstab file. Filesystems with a fs_passno value of 0 are skipped and are not checked at all. -- fsck(8)
On Multics machines, it's the @-character. (0100 octal)
Re:Quite right, and possibly a Good Thing
on
CD Copy Stopper
·
· Score: 2
I think Microsoft has already anticipated something to this effect. Consider a situation where you still might need a copy of Office around, although you use StarOffice on all your other PC's; what if Office cost you $200/yr. in upkeep fees?
I've heard a great many rumous about MS wanting to "license" their software as a service with mandatory upkeep fees, rather than simply letting someone purchase a eternal license and be done with it (the current scheme). This is actually a fairly common technique for very specialised or high-end computing hardware and software, but MS supposedly wants consumers to have the same kind of licensing fees for consumer software that various industries have for expensive industry software.
Of course, if free software becomes the `norm' there will be no need for consumers to buy commercial products---unless, of course, government-mandated DRM support someday requires very specific closed software that just happens to only run on upkeep-licensed Microsoft platforms, which just happen to only be compatible with upkeep-licensed Microsoft software...
Maybe DEC's PDP will get the last laugh, then. (For those who don't know: DEC marketed their PDP series of mini-computers as "Programmable Data Processor" instead of "computers" because they were much smaller computers than the mainframes companies and academia were using at the time. We might start to see very "computer-like" systems that aren't marked as "computers" because they won't have to have DRM support.)
I dunno, I needed to network two machines QUITE a distance apart, so I made a crossover UTP network cable out of an existing UTP patch cord and several hundred feet of speaker wire, as two pairs (send pair and receive pair).
Works perfectly. Blazing fast, too. I would say that I just got lucky but I do these sorts of things all the time....
You may very well be successful with the Cat5/6 option. My excessively-long ethernet cable made out of speaker wire has been functioning flawlessly for months (in fact, I built another to network hubs at vertically and horizontally opposite corners of my household, and it has also worked like a charm).
Is it just me, or are other people thinking of LOGO, too? Now all we need are PEN UP and PEN DOWN commands. Or maybe BLADDER TRICKLE and BLADDER SHUTOFF will suffice;)
~$ gcc explanation_of_signal11.c gcc: Internal compiler error: program cc1 got fatal signal 11 ~$ damn. maybe he/she will follow that link and understand it, then. sh: damn.: command not found ~$ exit logout
The studies appear to confirm similar findings the scientists reported last year. The research involves muons, rare subatomic particles similar to electrons but 207 times as heavy.
Ah, but these heavy "muons" are more common in America, where fast food and steakhouses abound.
System A: New machine, no floppy (or one of those el-cheapo floppy drives that come with systems now and destroys disks and themselves left and right), CD-R drive. System B: Old machine, floppy, no CD drive.
System B's OS dies. "Ah, I'll just download Slackware 8.1 and export over NFS! Wait a second... I still need to boot a kernel!"
Time to cannabalize system B to install its floppy drive on system A, so I can make floppy disks and then move the drive back, so I can boot the disks...
Perhaps, though, the solution would be a cheap expansion card for system A that connected to system B's floppy connector on the motherboard? No more long wait times at the "LILO: Loading linux.............." message;) [Note: ellipses shortened due to slashdot's lameness/compression filter being a pain... for all you who have never seen LILO boot, it nearly fills a whole line of your screen with the damn dots.]
Or maybe someone will sell me EEPROM's for system B's NIC (assuming that NIC even supports it! time to swap out NIC's...) that have a kernel with NFS support?
There's got to be a good solution to this problem. Perhaps all BIOS's should support a network boot option, using DHCP/TFTP? But then what if you're on a network that you don't administer and isn't DHCP-friendly... NFS and SMB support in the BIOS?;)
I think there's a couple open-source BIOS projects on the web. Remind me to submit a feature request or three.
You know what I really should do? There are certain words I *always* mistype with QWERTY, and I'm convinced it's partly the fault of the layout... I should use a genetic algorithm that evaluates based on speed *and* on letter arrangement, somehow. Not sure how to do this... but right now I'm running this command to see what words I mispell most often when using instant messenger:
What kind of food do astronauts from other nations get? There are countless movies about American astronauts eating freeze dried food, things out of little packets... but what do cosmonauts eat, and how is it packaged?
I've done this before. I simply picked up a thermistor from radio shack, stuck it in the holes, and then wrote a little program to record the current time, flip the bit, and just sit in a wait() loop reading, and then check the current time, subtract them, and convert. I found a formula on a webpage somewhere that approximated the resistance based on the delay, and then I just interpolated the temperature from the numbers on the back of the thermistor package. The problem I tended to get, though, was that I needed to take several readings and then discard any outliers. Even with realtime priority and -20 niceness on the process, I frequently got timing errors that gave me temperatures 10, 20, or even 50 degrees off.
You could always try to hack the kernel's joystick driver to do this... aim for more accuracy.
I don't have the program I wrote anymore (sorry!) because it was an a very old boxen that has since been replaced, but I remember it was fairly short.
Re:GCC 2.x and 3.x compiler
on
Pet Bugs?
·
· Score: 3, Interesting
Actually, I found quite a strange bug in gcc 2.95. Even with *all* optimisations disabled, this is the result I would get:
int a = 4; complex_expression(dosomething(arg1, arg2, arg3, a));
Every single time, it would evaluate incorrectly. `a' would be a random value. Seems gcc wasn't assigning it to be 4. So of course I tried:
int a; a = 4; complex_expression(dosomething(arg1, arg2, arg3, a));
I got the same problem. gcc was still not assigning it. The next logical step:
It evaluated correctly---the problem had to do with the variable.
Now here's the fun part.
You'd think the following code would print ``4'', and evaluate incorrectly, given the trend:
int a; a = 4; printf("%d\n", a); complex_expression(dosomething(arg1, arg2, arg3, a));
It printed ``4'' and evaluated perfectly! I was stumped. I tried a dummy function:
int a; a = 4; dummy(a); complex_expression(dosomething(arg1 , arg2, arg3, a));
No good. The dummy function gets passed some bogus value and the expression evalutes incorrectly.
I knew that the printf() method worked, and it seemed to work reliably, but I didn't want to always have to print the value. This, however, worked, and didn't clutter the screen:
int a; a = 4; printf("", a); complex_expression(dosomething(arg1, arg2, arg3, a));
With some more experimentation, I found dummy(&a) would make the code work too, but only sometimes.
Strangest bug I've ever seen, and I'm still not sure what caused it.
A helluva lot of people died for freedom in the 1700's. They believed in something... evidently very few modern "Americans" do. Increasing security is a beautiful idea but it SHOULD NOT cross the lines of the freedoms that our country fought so hard for in its early days. I believe in keeping my communications private; don't you? Security by paranoia doesn't uphold the principle of a government of the people, by the people, and for the people.
And yes, if I was held at gunpoint, knowing that I would die if I said I believed in freedom, I would still say it.
Goddammit, I used the notes C, D, E, and F again! Those `Happy Birthday' ladies (as well as everyone else) will probably sue me.
:-( *
As a songwriter, I often wonder: How the F*** am I supposed to compare my songs to the other one-million songs out there to see if they are `substantially similar?' Hell, any three-chord song sounds `substantially similar' to any other three-chord song.
I hereby renounce my title as a creator. Everything I could ever make (as music, as art, as writing, as code) has already been done and been copyrighted and/or patented. I will now slave away in a factory. Thank you for your time.
No, this is not a troll. This is simply a scared U.S. citizen.
*=Registered trademark of despair.com
So was altavista already blocked, and now the atlavista proxy is blocked too?
It's too bad that they've blocked atlavista, but those Chinese citizens need not dispair about altavista ;)
All we'll need to do is hack up Wine to report (But still perform) "strange" CD-ROM accesses. Then we'll know just what the program is looking up on the CD, and we could even get a traceback of the code (EIP, registers, etc). Then, just make a crack that swaps a JMP instruction for a JZ/JNZ...
sq/km is a metric measure of old-fashioned adults per unit of area.
I prefer the UTF-8 White myself. It spans vast sections of the globe.
yeah.... kickass :) someone else who uses joe, a *real* text editor.
;) joe is lightweight, uses easy-to-learn and common wordstar key bindings, and has most of the functionality of vim in one form or another. it's also quite configurable if you tweak joerc...
"pico's just as good!" pfff newbies.
-orangesquid
Be wary of modern hard drives---some of them may use a write cache internally (from what I have heard, anyway).
/sbin/fsck -A -a will automatically repair the filesystems, without prompting for questions. On slackware, the appropriate file to edit is /etc/rc.d/rc.S --- Of course, your distribution might be one of those with a million confusing files in /etc/init.d and /etc/rc*.d in which case I can't help you :)
/etc/fstab file. Filesystems with a fs_passno value of 0 are skipped and are not checked at all.
As for manually running fsck, you don't have to; calling
If you want to disable e2fsck:
The root filesystem will be checked first unless the -P option is specified (see below). After that, filesystems will be checked in the order specified by the fs_passno (the sixth) field in the
-- fsck(8)
On Multics machines, it's the @-character. (0100 octal)
I think Microsoft has already anticipated something to this effect. Consider a situation where you still might need a copy of Office around, although you use StarOffice on all your other PC's; what if Office cost you $200/yr. in upkeep fees?
I've heard a great many rumous about MS wanting to "license" their software as a service with mandatory upkeep fees, rather than simply letting someone purchase a eternal license and be done with it (the current scheme). This is actually a fairly common technique for very specialised or high-end computing hardware and software, but MS supposedly wants consumers to have the same kind of licensing fees for consumer software that various industries have for expensive industry software.
Of course, if free software becomes the `norm' there will be no need for consumers to buy commercial products---unless, of course, government-mandated DRM support someday requires very specific closed software that just happens to only run on upkeep-licensed Microsoft platforms, which just happen to only be compatible with upkeep-licensed Microsoft software...
Maybe DEC's PDP will get the last laugh, then. (For those who don't know: DEC marketed their PDP series of mini-computers as "Programmable Data Processor" instead of "computers" because they were much smaller computers than the mainframes companies and academia were using at the time. We might start to see very "computer-like" systems that aren't marked as "computers" because they won't have to have DRM support.)
Can long cables really be this easy? Maybe...
I dunno, I needed to network two machines QUITE a distance apart, so I made a crossover UTP network cable out of an existing UTP patch cord and several hundred feet of speaker wire, as two pairs (send pair and receive pair).
Works perfectly. Blazing fast, too. I would say that I just got lucky but I do these sorts of things all the time....
You may very well be successful with the Cat5/6 option. My excessively-long ethernet cable made out of speaker wire has been functioning flawlessly for months (in fact, I built another to network hubs at vertically and horizontally opposite corners of my household, and it has also worked like a charm).
Is it just me, or are other people thinking of LOGO, too? Now all we need are PEN UP and PEN DOWN commands. Or maybe BLADDER TRICKLE and BLADDER SHUTOFF will suffice ;)
~$ gcc explanation_of_signal11.c
gcc: Internal compiler error: program cc1 got fatal signal 11
~$ damn. maybe he/she will follow that link and understand it, then.
sh: damn.: command not found
~$ exit
logout
The studies appear to confirm similar findings the scientists reported last year. The research involves muons, rare subatomic particles similar to electrons but 207 times as heavy.
Ah, but these heavy "muons" are more common in America, where fast food and steakhouses abound.
A common situation in my household:
;)
;)
System A: New machine, no floppy (or one of those el-cheapo floppy drives that come with systems now and destroys disks and themselves left and right), CD-R drive.
System B: Old machine, floppy, no CD drive.
System B's OS dies. "Ah, I'll just download Slackware 8.1 and export over NFS! Wait a second... I still need to boot a kernel!"
Time to cannabalize system B to install its floppy drive on system A, so I can make floppy disks and then move the drive back, so I can boot the disks...
Perhaps, though, the solution would be a cheap expansion card for system A that connected to system B's floppy connector on the motherboard? No more long wait times at the "LILO: Loading linux.............." message
[Note: ellipses shortened due to slashdot's lameness/compression filter being a pain... for all you who have never seen LILO boot, it nearly fills a whole line of your screen with the damn dots.]
Or maybe someone will sell me EEPROM's for system B's NIC (assuming that NIC even supports it! time to swap out NIC's...) that have a kernel with NFS support?
There's got to be a good solution to this problem. Perhaps all BIOS's should support a network boot option, using DHCP/TFTP? But then what if you're on a network that you don't administer and isn't DHCP-friendly... NFS and SMB support in the BIOS?
I think there's a couple open-source BIOS projects on the web. Remind me to submit a feature request or three.
Man, that's nothing. I co-locate about 20 Sun servers with the WWF!
'ey! I *like* my morning decaf! It wakes me up but doesn't keep me from sleeping through morning meetings like normal coffee does!
Addendum: Viewing the output
Use something like:
cat badwords |sort -n -r|head -n 250 |less
(for all you folk with older unices: less is more)
You know what I really should do? There are certain words I *always* mistype with QWERTY, and I'm convinced it's partly the fault of the layout... I should use a genetic algorithm that evaluates based on speed *and* on letter arrangement, somehow. Not sure how to do this... but right now I'm running this command to see what words I mispell most often when using instant messenger:
nice cat ~/.gaim/logs/*.log|fgrep 'me:'|ispell -H -l|sort|uniq -c >~/badwords 2>/dev/null &
I love UNIX.
What kind of food do astronauts from other nations get? There are countless movies about American astronauts eating freeze dried food, things out of little packets... but what do cosmonauts eat, and how is it packaged?
Just curious...
I've done this before. I simply picked up a thermistor from radio shack, stuck it in the holes, and then wrote a little program to record the current time, flip the bit, and just sit in a wait() loop reading, and then check the current time, subtract them, and convert. I found a formula on a webpage somewhere that approximated the resistance based on the delay, and then I just interpolated the temperature from the numbers on the back of the thermistor package. The problem I tended to get, though, was that I needed to take several readings and then discard any outliers. Even with realtime priority and -20 niceness on the process, I frequently got timing errors that gave me temperatures 10, 20, or even 50 degrees off.
You could always try to hack the kernel's joystick driver to do this... aim for more accuracy.
I don't have the program I wrote anymore (sorry!) because it was an a very old boxen that has since been replaced, but I remember it was fairly short.
Actually, I found quite a strange bug in gcc 2.95. Even with *all* optimisations disabled, this is the result I would get:
1 , arg2, arg3, a));
int a = 4;
complex_expression(dosomething(arg1, arg2, arg3, a));
Every single time, it would evaluate incorrectly. `a' would be a random value. Seems gcc wasn't assigning it to be 4. So of course I tried:
int a;
a = 4;
complex_expression(dosomething(arg1, arg2, arg3, a));
I got the same problem. gcc was still not assigning it. The next logical step:
complex_expression(dosomething(arg1, arg2, arg3, 4));
It evaluated correctly---the problem had to do with the variable.
Now here's the fun part.
You'd think the following code would print ``4'', and evaluate incorrectly, given the trend:
int a;
a = 4;
printf("%d\n", a);
complex_expression(dosomething(arg1, arg2, arg3, a));
It printed ``4'' and evaluated perfectly! I was stumped. I tried a dummy function:
int a;
a = 4;
dummy(a);
complex_expression(dosomething(arg
No good. The dummy function gets passed some bogus value and the expression evalutes incorrectly.
I knew that the printf() method worked, and it seemed to work reliably, but I didn't want to always have to print the value. This, however, worked, and didn't clutter the screen:
int a;
a = 4;
printf("", a);
complex_expression(dosomething(arg1, arg2, arg3, a));
With some more experimentation, I found dummy(&a) would make the code work too, but only sometimes.
Strangest bug I've ever seen, and I'm still not sure what caused it.
A helluva lot of people died for freedom in the 1700's. They believed in something... evidently very few modern "Americans" do. Increasing security is a beautiful idea but it SHOULD NOT cross the lines of the freedoms that our country fought so hard for in its early days. I believe in keeping my communications private; don't you? Security by paranoia doesn't uphold the principle of a government of the people, by the people, and for the people.
And yes, if I was held at gunpoint, knowing that I would die if I said I believed in freedom, I would still say it.
Live free or die...
I was bored a few years ago and rewrote the Morris Worm as a shell script.
No, I will not release the source. Never have and likely never will.
h4cking, virii and cr4ckz!
w00t!