[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

port scanning in ruby

Kyle Schmitt

3/10/2009 10:02:00 PM

I was trying to write a simple UDP method to test for snmp, and build
from there, and I came across a reference to three articles that
looked like they'd help

http://www.rubyinside.com/port-scanning-and-monitoring-with-ruby-and-tcp-socke...

Unfortunately, the website listed, beer-monkey, is now some stupid add
site. Anyone know where these ended up?

Thanks
--Kyle

11 Answers

Kyle Schmitt

3/10/2009 10:03:00 PM

0

Duhh, forgot to include the article names :)
They were by Craig Webster:
Absolute basics: Connecting to ports
Concurrent socket programming
A more advanced port checker

On Tue, Mar 10, 2009 at 5:03 PM, Kyle Schmitt <kyleaschmitt@gmail.com> wrot=
e:
> I was trying to write a simple UDP method to test for snmp, and build
> from there, and I came across a reference to three articles that
> looked like they'd help
>
> http://www.rubyinside.com/port-scanning-and-monitoring-with-ruby...
sockets-31.html
>
> Unfortunately, the website listed, beer-monkey, is now some stupid add
> site. =C2=A0Anyone know where these ended up?
>
> Thanks
> --Kyle
>

cnjohnson

3/10/2009 10:09:00 PM

0

Go to the rubyinside site and copy the link.

Google the wayback machine, and have it search for the link.

For the first one I found this: http://...

Cheers--

Charles

On Mar 10, 2009, at 5:03 PM, Kyle Schmitt wrote:

> Duhh, forgot to include the article names :)
> They were by Craig Webster:
> Absolute basics: Connecting to ports
> Concurrent socket programming
> A more advanced port checker
>
> On Tue, Mar 10, 2009 at 5:03 PM, Kyle Schmitt
> <kyleaschmitt@gmail.com> wrote:
>> I was trying to write a simple UDP method to test for snmp, and build
>> from there, and I came across a reference to three articles that
>> looked like they'd help
>>
>> http://www.rubyinside.com/port-scanning-and-monitoring-with-ruby-and-tcp-socke...
>>
>> Unfortunately, the website listed, beer-monkey, is now some stupid
>> add
>> site. Anyone know where these ended up?
>>
>> Thanks
>> --Kyle
>>
>

---
Charles Johnson
Advanced Computing Center for Research and Education
Vanderbilt University
charles.johnson@accre.vanderbilt.edu
Office: 615-343-2776
Cell: 615-478-8799





Kyle Schmitt

3/11/2009 1:41:00 AM

0

Sorry. I knew about the wayback machine, I was kindof hoping the
author had a new blog with all the old articles moved over.
Ahh well, guess I'll just use wbm.

--Kyle

aldric[removeme]

3/11/2009 2:45:00 AM

0

For Ruby, are there any nice drag-and-drop-object-on-a-form development
tools, like Visual Studio for C# and such?

Phlip

3/11/2009 3:34:00 AM

0

Aldric Giacomoni wrote:

> For Ruby, are there any nice drag-and-drop-object-on-a-form development
> tools, like Visual Studio for C# and such?

Platforms like RubyTk & Shoes show how a Ruby DSL ("Domain-Specific Language")
can make coding GUI objects as Ruby declarations much easier than mouse abuse.

aldric[removeme]

3/11/2009 3:53:00 AM

0

On Tue, 2009-03-10 at 20:33 -0700, Phlip wrote:

> Aldric Giacomoni wrote:
>
> > For Ruby, are there any nice drag-and-drop-object-on-a-form development
> > tools, like Visual Studio for C# and such?
>
> Platforms like RubyTk & Shoes show how a Ruby DSL ("Domain-Specific Language")
> can make coding GUI objects as Ruby declarations much easier than mouse abuse.


Forgive my ignorance of the subject; I barely know Shoes, only what I've
heard of it. Does it allow the creation of complex GUIs ? To be honest,
I'm very leery of text-based GUI creation because of widget placement -
I have no idea where it's gonna go, how big it's gonna be.. All this
right now means nothing in my head..

Phlip

3/11/2009 3:57:00 AM

0

Aldric Giacomoni wrote:

> Forgive my ignorance of the subject; I barely know Shoes, only what I've
> heard of it. Does it allow the creation of complex GUIs ? To be honest,
> I'm very leery of text-based GUI creation because of widget placement -
> I have no idea where it's gonna go, how big it's gonna be.. All this
> right now means nothing in my head..

The feedback loop for GUI painting is...

- configure your editor to instantly display your GUI with one button
- make a tiny tweak
- view the GUI
- repeat until satisfied.

That's the same cycle as drag and drop; just without the drag.

You typically also get better geometry management. An HTML table can stretch to
fit more data because it declares relative positions, not absolute coordinates.

This is why a Google search for [ruby drag-n-drop] only returns 12,000 pages.
That would seem to suggest only tangential interest in drag-n-drop...

--
Phlip

Phlip

3/11/2009 3:58:00 AM

0

Aldric Giacomoni wrote:

> Forgive my ignorance of the subject; I barely know Shoes, only what I've
> heard of it. Does it allow the creation of complex GUIs ? To be honest,
> I'm very leery of text-based GUI creation because of widget placement -
> I have no idea where it's gonna go, how big it's gonna be.. All this
> right now means nothing in my head..

But try wxWidgets and wxRuby... (-:

Dave Chilson

3/11/2009 4:22:00 AM

0


On Mar 10, 2009, at 8:58 PM, Phlip wrote:

> Aldric Giacomoni wrote:
>
>> Forgive my ignorance of the subject; I barely know Shoes, only what
>> I've heard of it. Does it allow the creation of complex GUIs ? To
>> be honest, I'm very leery of text-based GUI creation because of
>> widget placement - I have no idea where it's gonna go, how big it's
>> gonna be.. All this right now means nothing in my head..
>
> The feedback loop for GUI painting is...
>
> - configure your editor to instantly display your GUI with one button
> - make a tiny tweak
> - view the GUI
> - repeat until satisfied.
>
> That's the same cycle as drag and drop; just without the drag.
>
> You typically also get better geometry management. An HTML table can
> stretch to fit more data because it declares relative positions, not
> absolute coordinates.
>
> This is why a Google search for [ruby drag-n-drop] only returns
> 12,000 pages. That would seem to suggest only tangential interest in
> drag-n-drop...


Well there is MacRuby/RubyCocoa. You get Interface Builder with that.
However you'd have to learn the Cocoa framework, how Ruby interacts
with it and it's Mac only.

Gregory Brown

3/11/2009 4:28:00 AM

0

On Wed, Mar 11, 2009 at 12:21 AM, Dave Chilson <davedog@mac.com> wrote:

> Well there is MacRuby/RubyCocoa. You get Interface Builder with that.
> However you'd have to learn the Cocoa framework, how Ruby interacts with it
> and it's Mac only.

Another option is MonkeyBars, which is cross-platform so long as
Java/JRuby are an option.
You could use NetBeans or whatever else there, but you'd need to learn swing.

http://monkeybars.rubyforge.org/...