Re:Just need a enhanced PPP authentication script
on
SecureID and Linux?
·
· Score: 1
Sorry for the delay. Here's the script.
- Mike
#!/usr/bin/expect -f # # This script was written by Jim Isaacson . It is # designed to work as a script to use the SecureCARD(tm) device. This # little device is mated with a central controller. The number displayed # on this card changes every so often and you need to enter the number # along with your user account name in order to gain access. Since chat # is based upon fixed strings this procedure will not work with chat. # # It is included by permission. An excellent reference for the expect # program used by this script is in the book: # # "Exploring Expect" # by Don Libes # Published by O'Rielly and Associates #
send_user "hello, starting ppp\n"
system "stty 57600 -echoe -echo raw/dev/ttyS1"
# # These are the parameters for the program. # set user myname set password xxxxxxx set modem/dev/ttyS1 set dialup tphone-number set timeout 60
spawn -noecho -open [open $modem "r+"]
send "AT\r" expect "OK"
send "ATDT $dialup\r" set timeout 15 set counter 0
Simply putting two cores on a die is no big deal. What IBM is doing is near-insane (in a good way). From what I recall from MPR...
OK, each die has 2 independant cores, with a shared 4MB L3 and their own memory controler to RAM. They also have two ultra-high speed links to connect to other chips
Each cartridge (IBM's famous ceramic substrate) contains 4 dies, connected to each other via their high speed interconnects and for the power, ground, memory and I/O they have in excess of 2000 BGA 'pins' requiring something like half a ton of force to hold it to the motherboard!
It gets even better:-) The power estimates are around 125W/die. So for the cartridge, you are looking at Half a Kilowatt of power! For a 32 way system, you would have 4KW of power in the processors alone. You still have to add drives, memory, I/O processors and fans. Is that just nifty or what?
Thats no computer... Thats a industrial heating system!
- Mike
Just need a enhanced PPP authentication script
on
SecureID and Linux?
·
· Score: 2
I actually use a SecureID card to access my work machines (looks like a credit card calculator, supplies random 6-digit numbers). It took a bit of hunting through the PPP documentation, but they did have a good example. I can post it or email it to people if that would be helpful. My only complaint with it is that it shows the characters as you type, which is bad since our system has a PIN + SecureID# kind of pairing. It's pretty decent security though... somthing you know and something you have. Two out of three ain't bad.
While I agree that software patents are a "bad thing". It all comes down to enforcement. Take a look at IBM. They get more patents every year than any other company, but we never complain about them, because they use their patents defensivly. If somebody sues them on patent enfringement they just countersue with their huge array. A 'speak softly and carry a really big stick' stragegy.
Urban legend has it that Microsoft tried to get IBM on patent enfringement. When their laywers met, IBM had a massive stack of patents that Microsoft had enfringed on, with a tab key patent on top...
Maybe this bad idea, but why buy a calculator? Why not get a Palm IIIe with some software? You can get on-the-fly programming languages, and spreadsheets already. I somehow doubt that a TI or even the newer HP's hardware is faster, and if speed was really an issue, a low end WinCE device ought to easily run circles around any multi-buttoned device.
Of course, the real question is software. Is there the software necessary to solve your problems? It is probably worth a quick trip through a couple of search engines to see if the kind of software you need exists for either Palm (http://www.palmgear.com, search for graphing calculator or scientific calculator) or WinCE. Why lock yourself into a one-function device when you can get something really flexable?
Personally, I'm a big fan of the HP48. But the sad reality is that I haven't used it in well over three years, but my Palm III is on my belt right now...
You have seen a lot of insecure systems. What do you see as the largest barrier to secure computing/communications (or largest contributor to security holes)? Braindead users, poorly implemented security, men in black, something else?
Just a quick comment. The newer IBM keyboards that they ship with IntelliStations are really nice. Good solid response without being overkill. They aren't as "robust" as those sold with RS/6000 systems, but they have the | key on the q row above the enter, and a doublesized backspace on the 1 row. I'm sure they OEM them from somewhere, but their model # is KB--8923, Serial #1033131. Available in both black and white. For a while CompUSA carried them, but they didn't have them the last time I was there.
So here you have teachers and councilers trying to get kids to open up, and then they turn righ around and suspend them. That is so incredibly assinine. It seems like a place of learning should know that punishment is not the best solution. I am sure some of these kids will never open their mouths again when it comes to their personal feelings.
I certainly agree with this. Ever wonder why "geeks", "nerds", and CS majors tend to be paranoid? Why privacy is such a major issue in internet circles? It's not that businesses haven't been tracking consumers for decades, but that the people who built most of the net and built the security tend to be from these disenfranchised groups. They want privacy and anonymity because of this 'open up to us so we can lock you up. err.. help you' mentality.
Am I paranoid? Sure. My wonderful high school taught me the benefits of being paranoid, and college taught me how to be paranoid. No information, no evidence, they can't touch you because they can't prove, or even infer anything. Fortunately I realize that this isn't really a good way to live, and I'm working on breaking out of it.
"The truth will set you free or kill you" - Jarod on The Pretender
I think there are two reasons that Perl is "better" than other languages for CGI scripts.
It was made to work with text. Let's face it, it handles strings faster, better and with fewer lines of code (fewer chances for bugs) than most other languages. The regular expressions and trivial use of variables in print statements (along with other features) simplify, which in turn increases programmer productivity and reduces bugs.
It is quick and easy to modify. In the current era of websites (and even more so a few years ago) websites are constantly in a state of flux, being redesigned and modified on a monthly, if not weekly basis. Therefore, you want a language that is easy to write and prototype in, because the marketing (or whoever the 'suits' are) dudes are constantly going to be saying things like "we should use frames" or "I want it to look like...". By using a language that is faster to program with, you can play the what-if games for them easier. These are not absolutes, but I think in general they tend to hold for a lot of the cgi scripts out there.
- Mike
Re:Stephenson vs. Sterling
on
Snow Crash
·
· Score: 1
I disagree. I've read a lot of both Stephenson and Sterling and I find that his characters and storylines are more plausable (except for second half plot to The Diamond Age) than Sterlings works. While I certainly enjoy Sterling, I don't think anything he has written is as believeable or as good as Cryptnomicon.
The other thing that I really like about Stephenson is that he has really great cultural insights. While they tend not to be overly blatent, he weaves them in and they greatly enhance the quality of the book. Take for example his mini-discussion of beards in Crypt or his comments on relative morality in The Diamond Age (The only thing you can accuse anybody of is hypocracy). Even in Zodiac the environmental issues weren't really the focus of the book, but a stage upon which he had the characters work out his play.
Well, I had some friends in college who stuck with mostly NIN and Metalica. All hard stuff, but I found that often I was better off with some slightly lighter fare. Back when I was doing a lot more coding than I do now, I stuck with techno and related pop stuff. Information Society (Peace and Love Inc), the soundtrack to Mortal Kombat (don't laugh too hard), Erasure, Peter Gabriel. But really late at night when something a little lighter was called for to try and stay calm while staring at errors both Enigma and Enya are excellent choices. More recently stuff like Sarah McLachlan can help fill the gap between the two extremes
These days I have about a gig or two of (mostly) legal MP3s that tend to be more slanted toward rock and plenty of generic techno stuff (non-industral) from mp3.com, riffage.com, amp3.com, etc. that is just background for getting stuff done. In general their techno stuff is OK, but I think they are a bit lacking in other generas. But I still cycle CDs through depending on what I'm in the mood for.
I'd reccomend the CVS Bubbles page http://www.loria.fr/~molli/cvs-index.html as well as the Users Manual written by Per Cederqvist et al, available under the documentation section. Some of the stuff is a little out of date, but it isn't too bad overall.
- Mike
Quick conversion to .pdb (doc) for PalmPilot users
on
The Programmer's Stone
·
· Score: 1
Well, this seemed a bit long to read online, so I converted it to.pdb (doc format) so that I could take it with me on my Pilot to read. The zip file is over at:
I'm interested in this "Extreme Programming" concept, but the link provided is either dead or/.ed or both. Can someone provide additional pointers or descriptions to "Extreme Programming"? Thanks!
They look identical in some screenshots. The press release from Creative does list estimated prices at $170 for a 32M version and $250 for a 64M version.
While their hardware is really cool looking (the 10Base-T really gets my attention). I'm thinking that you could get a lot of development done (in terms of I/O and stuff) ironed out with regular PalmPilots. Does anyone know if somebody is selling used pilots? Even the origional non-backlit ones could be used if they had TRG flash upgrades. I could see shelling out $50 for one of those for prototyping. Possibly one of the cheepest Linux boxes ever:-)
Sorry for the delay. Here's the script.
/dev/ttyS1"
/dev/ttyS1
/usr/sbin/pppd /dev/ttyS1 57600 \
- Mike
#!/usr/bin/expect -f
#
# This script was written by Jim Isaacson . It is
# designed to work as a script to use the SecureCARD(tm) device. This
# little device is mated with a central controller. The number displayed
# on this card changes every so often and you need to enter the number
# along with your user account name in order to gain access. Since chat
# is based upon fixed strings this procedure will not work with chat.
#
# It is included by permission. An excellent reference for the expect
# program used by this script is in the book:
#
# "Exploring Expect"
# by Don Libes
# Published by O'Rielly and Associates
#
send_user "hello, starting ppp\n"
system "stty 57600 -echoe -echo raw
#
# These are the parameters for the program.
#
set user myname
set password xxxxxxx
set modem
set dialup tphone-number
set timeout 60
spawn -noecho -open [open $modem "r+"]
send "AT\r"
expect "OK"
send "ATDT $dialup\r"
set timeout 15
set counter 0
set still_connecting 1
expect {
-re ".*CONNECT.*\n" {
set timeout 5
set still_connecting 0
exp_continue
}
-re ".*CONNECT.*\r" {
set timeout 5
set still_connecting 0
exp_continue
}
# -re ".*NO.*CARRIER" {
# send_user "Failed to Connect (1), exiting...\n"
# exit
# }
-re ".*NO.*DIAL.*TONE" {
send_user "Failed to Connect (2), exiting...\n"
exit
}
-re ".*VOICE" {
send_user "Failed to Connect (3), exiting...\n"
exit
}
-re ".*sscode:.*\n" {
exp_continue
}
-re ".*sscode:" {
set timeout -1
expect_user -re "(.*)\n"
send "$expect_out(1,string)\r"
set timeout 30
exp_continue
}
-re ".*PASSCODE:" {
set timeout -1
expect_user -re "(.*)\n"
send "$expect_out(1,string)\r"
set timeout 60
exp_continue
}
-re "Your.*" {
send "\r"
exp_continue
}
-re "Command:" {
send "ppp\r"
}
-re ".*username:" {
send "$user\r"
exp_continue
}
timeout {
if { $still_connecting > 0 } {
exp_continue
}
set timeout 15
send "\r"
incr counter
if { $counter > 8 } {
send_user "Cannot Connect\n"
exit
} else {
exp_continue
}
}
}
overlay -0 $spawn_id -1 $spawn_id
crtscts modem defaultroute debug
OK, each die has 2 independant cores, with a shared 4MB L3 and their own memory controler to RAM. They also have two ultra-high speed links to connect to other chips
Each cartridge (IBM's famous ceramic substrate) contains 4 dies, connected to each other via their high speed interconnects and for the power, ground, memory and I/O they have in excess of 2000 BGA 'pins' requiring something like half a ton of force to hold it to the motherboard!
It gets even better :-) The power estimates are around 125W/die. So for the cartridge, you are looking at Half a Kilowatt of power! For a 32 way system, you would have 4KW of power in the processors alone. You still have to add drives, memory, I/O processors and fans. Is that just nifty or what?
Thats no computer... Thats a industrial heating system!
- Mike
- Mike
- Mike
Urban legend has it that Microsoft tried to get IBM on patent enfringement. When their laywers met, IBM had a massive stack of patents that Microsoft had enfringed on, with a tab key patent on top...
- Mike
Of course, the real question is software. Is there the software necessary to solve your problems? It is probably worth a quick trip through a couple of search engines to see if the kind of software you need exists for either Palm (http://www.palmgear.com, search for graphing calculator or scientific calculator) or WinCE. Why lock yourself into a one-function device when you can get something really flexable?
Personally, I'm a big fan of the HP48. But the sad reality is that I haven't used it in well over three years, but my Palm III is on my belt right now...
- Mike
You have seen a lot of insecure systems. What do you see as the largest barrier to secure computing/communications (or largest contributor to security holes)? Braindead users, poorly implemented security, men in black, something else?
- Mike
I certainly agree with this. Ever wonder why "geeks", "nerds", and CS majors tend to be paranoid? Why privacy is such a major issue in internet circles? It's not that businesses haven't been tracking consumers for decades, but that the people who built most of the net and built the security tend to be from these disenfranchised groups. They want privacy and anonymity because of this 'open up to us so we can lock you up. err.. help you' mentality.
Am I paranoid? Sure. My wonderful high school taught me the benefits of being paranoid, and college taught me how to be paranoid. No information, no evidence, they can't touch you because they can't prove, or even infer anything. Fortunately I realize that this isn't really a good way to live, and I'm working on breaking out of it.
"The truth will set you free or kill you" - Jarod on The Pretender
- Mike
- Mike
The other thing that I really like about Stephenson is that he has really great cultural insights. While they tend not to be overly blatent, he weaves them in and they greatly enhance the quality of the book. Take for example his mini-discussion of beards in Crypt or his comments on relative morality in The Diamond Age (The only thing you can accuse anybody of is hypocracy). Even in Zodiac the environmental issues weren't really the focus of the book, but a stage upon which he had the characters work out his play.
Just my $.02
- Mike
These days I have about a gig or two of (mostly) legal MP3s that tend to be more slanted toward rock and plenty of generic techno stuff (non-industral) from mp3.com, riffage.com, amp3.com, etc. that is just background for getting stuff done. In general their techno stuff is OK, but I think they are a bit lacking in other generas. But I still cycle CDs through depending on what I'm in the mood for.
- Mike
I munged it into doc fomat as well. Results at: http://members.xoom.com/Mikem42/pstone.zip
- Mike
http://members.xoom.com/Mikem42/pstone.z ip
And readers are widely available...
- Mike
- Mike
http://www.nomadworld.com/
They look identical in some screenshots. The press release from Creative does list estimated prices at $170 for a 32M version and $250 for a 64M version.
- Mike
- Mike