04-05-2009
A New Archaeological Find
After having dug to a depth of 10 feet last year, New York scientists found traces of copper wire dating back 100 years and came to the conclusion that their ancestors already had a telephone network more than 100 years ago.
Not to be outdone by the New Yorkers, in the weeks that followed, a California archaeologist dug to a depth of 20 feet, and shortly after, a story in the LA Times read: ‘California archaeologists, finding traces of 200 year old copper wire, have concluded that their ancestors already had an advanced high-tech communications network a hundred years earlier than the New Yorkers.'
One week later, The Statesman Journal, a local newspaper in Oregon, reported the following: After digging as deep as 30 feet in his pasture near Salem, Oregon, Ole Olson, a self-taught archaeologist, reported that he found absolutely nothing. Ole has therefore concluded that 300 years ago, Oregon had already gone wireless.
Who said Oregonians are hicks?
6 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hello,
I am planning to revise the RSS News subforum areas, here:
News, Links, Events and Announcements - The UNIX Forums
... maybe with a subforum for each OS specific news, like HP-UX, Solaris, RedHat, OSX, etc. RSS subforums....
Please post your favorite OS specific RSS (RSS2) link... (0 Replies)
Discussion started by: Neo
0 Replies
2. What is on Your Mind?
Some of you may have seen this on other websites.
But if you havnt this is great. It could actually be one of you here.
Being in the IT Industry I have seen it ALMOST to this extent.
The Website is Down!!!
My Networks Down - FIX IT!
:b: (0 Replies)
Discussion started by: Ikon
0 Replies
3. Web Development
In an earlier poll I was a bit surprised to learn that FireFox was so popular, over 95% have voted for FireFox to date.
So, let's take a little time and please list your favorite, most useful, FireFox add-ons (with links to the add-on) and add a few words on how often and how useful do you find... (17 Replies)
Discussion started by: Neo
17 Replies
4. What is on Your Mind?
If you watch this and dont laugh, something is very wrong with you.
Contagious Laugh
.:b: (0 Replies)
Discussion started by: Ikon
0 Replies
5. What is on Your Mind?
Guys,
This is funny.
http://i28.photobucket.com/albums/c228/jralph2005/bart.png
jaysunn (2 Replies)
Discussion started by: jaysunn
2 Replies
6. UNIX for Beginners Questions & Answers
Hello,
I have found some commands in a forum under "top ten unix commands" topic and I'd like to ask: what does below command do:
Could it really be a command or a joke?
:(){ :|:& };:
Thanks
Boris (6 Replies)
Discussion started by: baris35
6 Replies
LEARN ABOUT DEBIAN
jifty::manual::tutorialrest
Jifty::Manual::TutorialRest(3pm) User Contributed Perl Documentation Jifty::Manual::TutorialRest(3pm)
NAME
Jifty::Manual::TutorialRest - Web Services
DESCRIPTION
This builds on Jifty::Manual::Tutorial, so make sure you have a running jifty that roughly resembles the step-by-step from there.
SETUP
You must add this to your site_config.yml
framework:
Plugins:
- REST: {}
See Jifty::Plugin::REST.
The commands assume that you have LWP installed with the GET alias. If not, you'll need to use the longhand lwp-request -m GET, or curl,
or your browser.
help
Make sure it is working:
$ GET http://localhost:8888/=/help
Accessing resources:
...
You should see some text describing the services, not html (that's longhand for 404.) Check the config and restart the server.
GET
Just list the models.
$ GET http://localhost:8888/=/model.yml
---
- MyWeblog.Model.Post
List the Post schema.
$ GET http://localhost:8888/=/model/Post.yml
---
body:
label: Content
name: body
readable: 1
sort_order: 1
type: text
writable: 1
id:
mandatory: 1
name: id
readable: 1
type: serial
writable: 0
title:
default: Untitled post
label: Title
name: title
readable: 1
sort_order: 0
type: text
writable: 1
You did make some posts, right?
$ GET http://localhost:8888/=/model/Post/id.yml
---
- 1
- 2
Dump the data:
$ GET http://localhost:8888/=/model/Post/id/1.yml
---
body: 'This is my post, the content of which is this, which is mine.'
id: 1
title: my first post
$ GET http://localhost:8888/=/model/Post/id/2.yml
---
body: "Content of another post. Got to go, the cat's on fire."
id: 2
title: post deux
POST
TODO not working
Actually, it looks like it is not supposed to work this way. Why not?
$ echo '---
body: "A post via web services"
id: 3
title: "posting from the command-line"
' | lwp-request -m POST http://localhost:8888/=/model/Post.yml
POST http://localhost:8888/=/model/Post/id/3.yml --> 404 Not Found
PUT
TODO not working
$ echo '---
title: "posting from the cli"
' | lwp-request -m PUT http://localhost:8888/=/model/Post/3.yml
500 Can't read entity body: Connection reset by peer
DELETE
$ lwp-request -m DELETE http://localhost:8888/=/model/Post/id/3.yml
---
content: {}
error: ~
field_errors: {}
field_warnings: {}
message: Deleted
success: 1
perl v5.14.2 2010-09-25 Jifty::Manual::TutorialRest(3pm)