569 Topics
![]() | |
A friend of mine programs in php and ruby. But we were talking about our projects and I brought up how I don't do much database type applications because I find it boring. And we somehow got on the subject of SQL. This is more of a discussion question, as … | |
Hi!.. My name is Ruby!.. Just drop by to say hi!.. I'm pleased to meet you all!.. :) | |
Hi Friends, This is Sridhar Upputuri, i am working as a software engineer in one of the MNC in Hyderabad. Currently working as automation developer. Intrested Areas: VB Scripting, Ruby Thanks, Sri. | |
I'm experimenting with ruby and watir for parsing data from the web. I'm having no problem getting info from standard fields, however I've come across a listbox on one of the pages I'm looking at, and I want to find an easy way of getting the number if items returned … | |
I need to create two enumerations, one for the months in the year and the other for birthstones. Make a function named getBirthStone that returns the birthstone based on the month. Jan-garnet Feb-amethyst Mar-aquamarine Apr-diamond May-emerald June-pearl July-ruby Aug-peridot Sep-sapphire Oct-opal Nov-topaz Dec-turquoise Add code to call the function when … | |
Here's what i know.. Server side languages: php (open source) asp (ms) asp.net (ms) what i do not know is.. Ruby ?? Ajax ?? JSP ?? Dhtml?? And the title: Rss, web services and SOAP (what soap u mean washing soap ???) And which language is used to create a … ![]() | |
Hello there I'm Pedro, from Portugal, I'm still a student yet, my favorite languages are Java, C, C# and (still learning) ruby. Besides programing, I enjoy alot the analysis, the diagrams based on UML (or DFD) and Database model. | |
things i like CSS PHP6 Ruby on rails Mootools Jqurey MySQL 6 javascript thinking out of the box ed2k bt ajax scripts stage6, but its gone for now :D vlc web plugin IE8 with web Developer tools but i like the IE7 rendering engine :O NSV plugin for IE6-7-8 gom … | |
Hi, I'm Arin. Over the past few days I've started learning Python as my first programming language, and am also messing around with Ruby (when Python gets frustrating). I found this site from doing google searches for little bits of python code, and decided to register, as it's apparently a … | |
Hey everybody. I am quite interested to see what this place has to offer. I just started a business designing websites, and am in the process of teaching myself AJAX, JavaScript, Ruby on Rails. I came across this forum when I was stumped with as to how to get data … | |
hello, I wanna create a struct in python. the struct needs to have a char and an array of chars. eg. (ruby code): [code] Somestruct = Struct .new(:character, :characterArray) structure = Somestruct.new(" ", []) [/code] How do I do this. I made a Trie in ruby and now I wanna … | |
I have been struggling for days on just the first part of this script. Please help! I need to add the ability to delete the last column of each csv, which vary in their lengths. [CODE] require 'rubygems' require 'roo' require 'fileutils' require 'rio' FileUtils.mkdir_p "/Users/pshapiro/Desktop/Excel/xls" FileUtils.mkdir_p "/Users/pshapiro/Desktop/Excel/tmp" FileUtils.mkdir_p "/Users/pshapiro/Desktop/Excel/csv" … | |
i'm a java c/c++ person. trying out ruby for the 1st time! how do i do something like this in ruby: [code] //this is java public static void main ( String args [] ) { File inFile = new File ( args [ 0 ] ); File outFile = new … | |
I need a Good resource for ruby...as am fresh to ruby...need to learn from sctrach...suggest form source where i can learn from scratch | |
I am interested in learning to program on windows....I have used a little bit of ruby on linux, but not much more than simple scripts. For windows 7 should I focus on c#, C++, VB or something else....can I stick with ruby, is it a realistic language for use on … | |
Hai I am sathiya, I install redmine in the mandriva linux server. Redmine is already running in mandriva in port number 3000. i want to install another copy of redmine in the same server . but it taking the port number 3000 as default. HOW DO I CHANGE THE PORT … | |
I am having trouble with one thing on my project. I have already created the following table and inserted all of the information into it. Items ItemID Description BidFloor 100 1943 Monopoly game 80 101 1972 Ford Pinto Station Wagon 80 102 1.5 L 1921 Chateau Neuf du Pape 1,000 … | |
How long does it take to count 1 billion? Determine the amount of time it takes the program. [CODE]Int i,j,k, count=0; For (i=0; i<N; i++) For (j=0; j<N; j++) For (k=0; k<N; k++) count++[/CODE] to complete in your programming environment, for N=1000, and 1000. If your compiler has optimization features … | |
Hi I starting to work with ruby and soap and had a question : 1. how do I generate a WSDL file for the service I created ? will it be compatible with an .NET client ? Thanks, Gady ---------------------------------------------------------------- [code=ruby]begin class MyServer < SOAP::RPC::StandaloneServer # Handler methods def add(a, … | |
[code=ruby] i am new person to ruby.can any one tell me what is ruby? what is ruby purpose?.why it is used?. plz tell me reference sites [/code] | |
Hey, I'm not a programmer at all, but I'm hoping someone could help me solve a problem. I've looked all over Google, Ruby forums, and C/C++ forums but havn't found my answer. I'm trying to generate all possible permutations for 5 digits (1,2,3,4,5), up to and including 6 digits long, … | |
In learning Ruby I've dug out some old C++ exercises and one in particular which can be found [URL="http://prime357.net/node/80"]here [/URL]deals with a for loop. I'm basically converting the C++ code to Ruby code. I won't repeat the C++ code but the exercise is as follows: Write a C++ program that … | |
I have written ftp code which will download a single file from the Server using the below code: [code] require 'rubygems' require 'net/ftp' require 'fileutils' URL = 'IP address' username = 'test' passwd = "test" filename = "file1" directory = '/home/test/' localfile = 'C:\\Documents and Settings\\User1\\Desktop\\file1' ftp=Net::FTP.new ftp.connect(URL,21) ftp.login(username,passwd) ftp.chdir(directory) … | |
How do I configure SciTE so that when code ( gets() ) asks for user input I can enter that input via the output console. At present, all that happens is a 'Terminate' button appears in the output console. If the code doesn't contain any keyboard input, then all is … | |
please excuse me, i'm not a developer but a tester and i'm no good at doing programming stuff and all. im into automation now for my testing and i choose to use ruby for it but i have a problem hope you guys could help me out of this... i … | |
I dabbled in Ruby quite a while ago but only at the console level. I didn't take it any further at the time. I'm now considering treating it more seriously this time, though I'd have to start from the start. My understanding is that Ruby is a cross-platform development language. … | |
hello, I'm currently a PHP developer and I'm looking to learn new languages, what i found a good chose is ruby on rails. from what i came to know that ruby is much easier and fast way to develop web apps and uses techniques like MVC and DRY. however is … | |
So I'm writing a program that reads in a file which has each word on a different line. The program is supposed to loop through the file in such a way that when it reads a line and gets to the end of the line it adds that word to … | |
Is it possible to create dynamic menu items for a web application. While clicking on one menu item, it should expand and show the child menu items. While clicking again it should collapse the menu and hide the children. While clicking on child menu item, it should show the corresponding … | |
I am from chennai ,india. Codes in c,c++,Python and c#. Used to code in java. Also interested in mobile applications. Now want to learn ruby also. | |
Hello. I am completely new to web development but want to learn Ruby, and maybe PHP. I am currently a Sys Admin working in a Windows environment but I am very familiar with Linux OS server platforms also having built and run both a Windows and Linux web, MS SQL, … | |
Hi, I have created a DB connection using OCI and got a record(type: varchar2), but I'm unable to compare it with a string (this is string is same as the one which I retrieved from DB). Below given is a code [code=ruby]conn = OCI8.new('username', 'pwd', 'DBNAME'); cursor = conn.exec('select fieldname … | |
For the second year running Python has been selected as the Language of the Year by Linux users: [code] Linux Users' Programming Languages of the Year 2008 PHP 115 13.36% Perl 72 8.36% Python 226 26.25% Ruby 46 5.34% C 114 13.24% C++ 129 14.98% Java 106 12.31% Lisp 9 … | |
Greetings. I've tried about 8 different methods of getting this done and am stumped. I need ideas. I need code to walk thru a hash, comparing each element against a string in case insensitive fashion. If the string is found to be a substring of any of the elements, the … | |
Okay how do you play Geek Auction? it's Pretty simple. You put how long you've been working in the field your in, how long you have worked with computers, anything that would promote yourself. Then others say how much they think your worth by DWJ points (Dani Web Joke Points) … | |
any information regarding ruby on rails with php.iam working on oscommerce now.i want to learn ROR | |
Hi, I recently started reading up on Ruby on Rails and decided to install it so I could give it a go. I found some inconsistencies and problems that I hope I can get some help with. First, when creating a project I used the ruby script/generate command and it … | |
This seems so easy but I keep hitting a brick wall on this. I have this modeling: [code] class User < ActiveRecord::Base has_many :friendships has_many :friends, :through => :friendships #... end class Friendship < ActiveRecord::Base belongs_to :user belongs_to :friend, :class_name => 'User', :foreign_key => 'friend_id' end [/code] I have these … | |
Hello, I have an address table that has a HABTM relationship w/ a preferences table. I want to set the preferences table to handle a variety of preferences for each address. For instance, for each address the preferences table could carry values for make_private = t/f, report_updates=t/f ect. In my … | |
I have a strange situation. I want to have a create_user form w/ all the fields blank When I call the create_user method, the corresponding create_user.html.erb form is displaying the first record's data from the user table in the form fields Here's a quick view of my form: [code] <% … | |
Hi everybody, I'm a rater infrequent user of this forum. I'm studying International Media and Computer Science and one of my courses is called Gender & Computing. I'm supposed to write an essay on a topic which I was free to choose. While working on my bachelor's thesis I had … | |
Hi friends. I am trying to install Ruby on rails on Linux platform.The OS i am using is Ubuntu. I am new to both Linux and RoR .So really need help.Here is the code i tried to run and the result : [QUOTE]manisha@manisha-desktop:~$ sudo gem install rails --include-dependencies /usr/bin/gem:11:Warning: Gem::manage_gems … | |
Hi am a new programmer and i am a CS/Graphics major. i have already learned Python, xHTML/CSS and i am in the current stage of learning java( i don't think this top portion really mattered) my question is what should i learn next? PHP or Ruby on Rails? i am … | |
Dear Friends, If you are a Ruby programmer then its worth to have a look into this link. They have covered many good subjects on Ruby. [url]http://www.tutorialspoint.com/ruby/[/url] Thanks M.M | |
Hello everyone. I have created a sales system for my company. Basically you telnet to the system and enter your login name, password ... From there you can access the sales system. I am working on a feature to write reports for a certain area of the system. For this, … | |
I'm facing a problem while installing rails. I tried with the following commands individually but failed. They are: 1) gem install rails --include-dependencies 2) gem install rails -v=1.8.6 Error messages displayed: Could not find rails in local or repository Could not find ...... "http://gem/......" One more doubt is that is … | |
[CODE] ....... ........... 1.upto(n){ str = gets.chomp if str.length > max max = str.length maxstr = str elsif str.length = max if str > maxstr maxstr = str end end } ........... [/CODE] this piece of code is giving me an error in the elsif line saying that [undefined method … | |
(Repost from Ruby-Forum.com. Sorry, but I'm really etching to continue learning Ruby..) In [URL="http://poignantguide.net/ruby/chapter-5.html"]w(p)gtr[/URL] I have found myself facing a code which, for the life of me, I just could not understand a few thing in! Seeing as this is the closest board realting to the subject, I shall post … | |
I personally use Ruby for a lot of general scripting off of the web (e.g., creating GUIs with FxRuby). I went to try and find some Ruby info and the first place I went was the Software Development area. After I couldn't find a Ruby forum in there, I looked … | |
First off, I know that to set an indexed variable, say, mylist[3] = "Hello". I also know that you wouldn't be able to set mylist[3] if you didn't first state: [code = python]mylist = ["Whatever", "Whatever", "Whatever", "Whatever"][/code] But, if you had a variable with an extremely large index, it … |
The End.