Search found 19 matches

by ax0n
Sat Jan 17, 2009 5:03 pm
Forum: newLISP in the real world
Topic: Making newLISP get-url work with http basic auth
Replies: 0
Views: 2997

Making newLISP get-url work with http basic auth

I mentioned getting newLISP working with twitter in passing on HiR, and it came up to use wget when you need user/password pairs for HTTP Basic Auth. I came up with this to create a working Basic Auth header for get-url. You must set 'url 'user and 'pass first, obviously. (set 'hedr (append "Authori...
by ax0n
Tue Mar 04, 2008 11:28 pm
Forum: Anything else we might add?
Topic: NL IP Address Calculator?
Replies: 6
Views: 7376

I posted the following article. Thanks for your help, guys!

http://www.h-i-r.net/2008/03/ip-subnett ... wlisp.html
by ax0n
Tue Mar 04, 2008 5:21 pm
Forum: Anything else we might add?
Topic: NL IP Address Calculator?
Replies: 6
Views: 7376

Awesome, I didn't even think to AND it against 0xffffffff even though as part of this calculator I will have to AND the IP against the netmask to come up with the network address, so I'm not sure why that logic did 't come to me earlier.

That helps leaps and bounds.
by ax0n
Tue Mar 04, 2008 4:09 pm
Forum: Anything else we might add?
Topic: NL IP Address Calculator?
Replies: 6
Views: 7376

NL IP Address Calculator?

I'm having some trouble figuring out some stuff. The first thing is netmask. If I have 192.168.0.49/24, I'm tempted to try this to turn /24 into a network mask: (link posted to log because I can't get the code to show up right) http://stuff.h-i-r.net/nl2.txt How do I limit hex to only 32 bits (i.e. ...
by ax0n
Sat Dec 08, 2007 5:46 am
Forum: Anything else we might add?
Topic: noob help - Google Data API?
Replies: 1
Views: 2798

noob help - Google Data API?

I'm wondering if anyone has bothered to mess with the Google Data APIs, specifically Spreadsheets . I'm kind of at a loss for where to get started. Zend Framework has a class for PHP which I've managed to figure out how to use, but that's pretty much cheating. Basically, once you authenticate and ge...
by ax0n
Sat Dec 08, 2007 5:42 am
Forum: Anything else we might add?
Topic: How did you find newLISP?
Replies: 35
Views: 38304

I worked with Lutz for a few months, and I've been hooked ever since :)
by ax0n
Mon May 21, 2007 12:26 pm
Forum: Anything else we might add?
Topic: The big 0x1c today...
Replies: 3
Views: 4130

The big 0x1c today...

I turned 0x1c years old today. And I feel every bit of it. Ugh.

#!/usr/bin/newlisp
(while (and(> (date-value) 1179723600) (< (date-value) 1179809999))
(print "happy birthday\n")
)
(exit)
by ax0n
Sun May 13, 2007 9:51 pm
Forum: Anything else we might add?
Topic: Off Topic: NewLISP on a bike!
Replies: 6
Views: 5715

The Trek Store is near Kansas City, in Merriam. It's about 2 miles west of the office complex where Kozoru used to be. For whose who know the area, it's a few blocks east of Neiman and Shawnee Mission Parkway. Tomorrow is the beginning of Bike to work week, and I'll probably put about 60 miles on my...
by ax0n
Sun May 13, 2007 4:44 am
Forum: Anything else we might add?
Topic: Off Topic: NewLISP on a bike!
Replies: 6
Views: 5715

Off Topic: NewLISP on a bike!

I rode from downtown KCMO on my bicycle to the Trek Store near where Lutz and I used to work. Trek Store hosts a monday night group ride that's nice and slow, and loads of fun. Looks like I got busted wearing my NewLISP shirt in public again! I'm pretty much right in the middle of the picture: http:...
by ax0n
Sat May 12, 2007 11:22 pm
Forum: newLISP newS
Topic: newlisp.org os down
Replies: 11
Views: 9313

Hey Lutz... I'm just about ready to move to Wholesale Internet. They're a competitor of NetStandard. Their main data center facility is downtown KC, and I'll have physical access. I think you can get off the ground with a colocated (not dedicated) box for about $40 per month with 100GB transfer. I'd...
by ax0n
Sat Feb 10, 2007 12:34 am
Forum: Anything else we might add?
Topic: NYC 2600
Replies: 13
Views: 11483

nice blog, ax0n. Keep it up! In my experience, starting a blog is easier than keeping it going... :-) I've been keeping this one up with an average of two posts per day on weekdays. http://kc-bike.blogspot.com/ And prior to this blog, my friends and I that are writing on this blog kept a bi-monthly...
by ax0n
Fri Feb 09, 2007 1:16 am
Forum: Anything else we might add?
Topic: Any way to secure-erase a file?
Replies: 7
Views: 9096

That's nice, I'm actually using OS X most of the time. I didn't realize it had that feature. And actually Wietse Venema (I think it was him) said that absolutely no software could ever recover data that was simply overwritten one time. Data recovery methods beyond that scale have to occur on an elec...
by ax0n
Thu Feb 08, 2007 10:32 pm
Forum: Anything else we might add?
Topic: Any way to secure-erase a file?
Replies: 7
Views: 9096

Actually wiping data can be quite complex e.g. see http://www.usenix.org/publications/library/proceedings/sec96/full_papers/gutmann/ . And smart drives with cache and file systems that will sideline old data and write a new block under some conditions are problematical. It depends on how secure you...
by ax0n
Thu Feb 08, 2007 8:19 pm
Forum: Anything else we might add?
Topic: NYC 2600
Replies: 13
Views: 11483

Here's the code I'll be using for my next article. It works the same but is more compact, with all of the core logic on one line, and a second line to write the pad remainder file out. #!/usr/bin/newlisp (set 'params (main-args)) (if (< (length params) 5) (begin (println "USAGE: crypt.lsp [pad] [fil...
by ax0n
Thu Feb 08, 2007 8:03 pm
Forum: Anything else we might add?
Topic: Any way to secure-erase a file?
Replies: 7
Views: 9096

Any way to secure-erase a file?

Is there any way to securely erase a file in place with newLISP? I mean, a way to access the actual blocks on the device to make sure that you are over-writing the location where the file was stored, instead of simply making a new file with the same time?
by ax0n
Thu Feb 08, 2007 6:38 pm
Forum: Anything else we might add?
Topic: NYC 2600
Replies: 13
Views: 11483

... this is the commandline utility I am using: #!/usr/bin/newlisp (set 'fname (main-args 2)) (print "Passphrase:") (write-file (append fname ".enc") (encrypt (read-file fname) (read-line))) (exit) Because it is XOR based it works both ways for enryption and decryption. Lutz I wasn't sure how encry...
by ax0n
Thu Feb 08, 2007 3:07 pm
Forum: Anything else we might add?
Topic: NYC 2600
Replies: 13
Views: 11483

I actually have an update to that article that I plan on posting tomorrow. The article is done, but I'm pacing myself. This can take a very random piece of key data (such as a file made from /dev/urandom output) and can encrypt simple plaintext or binary content (images, executables, etc) without a ...
by ax0n
Thu Feb 08, 2007 3:31 am
Forum: Anything else we might add?
Topic: NYC 2600
Replies: 13
Views: 11483

My old crew (HiR e-Zine from back in the late 90's) has set up a blog. http://h-i-r.blogspot.com/ We've been discussing (in an email thread and at the recent 2600 meetings) cryptography, specifically the XOR variety that's simple yet powerful. I decided to write a quick little newLISP tutorial. I am...
by ax0n
Thu Feb 01, 2007 3:31 am
Forum: Anything else we might add?
Topic: NYC 2600
Replies: 13
Views: 11483

Hey guys. That was my article. 2600 says that once an article gets printed, the author may do whatever they want with it. This is the fourth article I've had published, and as usual, I've posted it publicly. The whole article as well as friendly downloadable code samples are available at the link be...