![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
--
This file includes an RDoc hack so that links can be made to open up into a new frame rather then the current frame.
The "trick" is to append ``"target="_top'' to the URL.
++
= Ruby/KATCP
== Introduction
Ruby/KATCP is a Ruby extension for communicating via the Karoo Array Telescope Control Protocol (KATCP). More information about KATCP can be found at the {CASPER Wiki}[http://casper.berkeley.edu/wiki/KATCP"target="_top], including the {KATCP specification }[http://casper.berkeley.edu/wiki/images/1/11/NRF-KAT7-6.0-IFCE-002-Rev4.pdf"target="_top] in PDF format.
== Features
Provides a base KATCP client supporting the functionality described in the KATCP specification.
Provides an extended KATCP client to support the tcpborphserver2 KATCP server implementation on {ROACH }[http://casper.berkeley.edu/wiki/ROACH"target="_top] boards.
Automatically provides support for all current and any future KATCP request types through the use of Ruby's +method_missing+ feature.
Handles all escaping and unescaping of text transferred over KATCP.
Provides convenient and flexible ways of converting packed binary data to various numerical formats, including Array and {NArray }[http://narray.rubyforge.org/"target="_top] objects.
Plays nicely with +irb+, the interactive Ruby shell.
== Installation
{Ruby/KATCP}[http://rb-katcp.rubyforge.org/"target="_top] can be installed via RubyGems[http://www.rubygems.org/"target="_top]:
gem install katcp
Ruby/KATCP was developed using Ruby 1.8.6 and 1.8.7. It has not been tested against Ruby 1.9 (yet).
== Documentation
Documentation is available on the {Ruby/KATCP Homepage}[http://rb-katcp.rubyforge.org/"target="_top] and is also installed locally as part of the gem-based installation. To view the documentation locally, run
gem server
then point your browser to http://localhost:8808/ and navigate to (and follow) the katcp [rdoc] link. You can get more information about RubyGem's documenation server by running:
gem help server
== Example
This example script, listdev.rb, can be used to list the devices on a given ROACH host...
#!/usr/bin/env ruby
require 'rubygems' require 'katcp'
raise "\nusage: #{$0} HOSTNAME" unless ARGV[0]
roach = KATCP::RoachClient.new(ARGV[0])
resp = roach.listdev
devices = resp.lines[0..-2].map {|l| l[1]}
puts devices
== Current Limitations
FAQs
Unknown package
We found that katcp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.