569 Topics

Member Avatar for
Member Avatar for Diamonddrake

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 …

Member Avatar for Diamonddrake
0
99
Member Avatar for ruby.mein

Hi!.. My name is Ruby!.. Just drop by to say hi!.. I'm pleased to meet you all!.. :)

Member Avatar for ryan_vietnow
0
41
Member Avatar for sridharupputuri

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.

Member Avatar for ithelp
0
5
Member Avatar for dragonflyuk

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 …

Member Avatar for sridharupputuri
0
87
Member Avatar for GooeyG

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 …

Member Avatar for ithelp
0
161
Member Avatar for rockyman12

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 …

Member Avatar for diafol
0
152
Member Avatar for Evil_Tidus

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.

0
26
Member Avatar for mysoogal

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 …

0
12
Member Avatar for arinlares

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 …

0
21
Member Avatar for UzuNarU

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 …

Member Avatar for certficationmx
0
97
Member Avatar for drjay1627

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 …

Member Avatar for scru
0
142
Member Avatar for fightoplankton

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" …

0
112
Member Avatar for drjay1627

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 …

Member Avatar for ~s.o.s~
0
208
Member Avatar for lyardson

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

Member Avatar for kingarthur
0
90
Member Avatar for tdapple

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 …

Member Avatar for William Hemsworth
0
56
Member Avatar for r_sathya

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 …

Member Avatar for aodanier
0
106
Member Avatar for jared717

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 …

Member Avatar for pty
0
195
Member Avatar for ClimaxBeetle

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 …

0
97
Member Avatar for gadys

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, …

Member Avatar for unleashbf
0
96
Member Avatar for Suneetha Reddy

[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]

Member Avatar for MariaERamos
0
142
Member Avatar for claytonl

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, …

Member Avatar for nexocentric
0
162
Member Avatar for superjacent

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 …

Member Avatar for superjacent
0
156
Member Avatar for shekarls

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) …

0
98
Member Avatar for superjacent

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 …

0
106
Member Avatar for clai2x

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 …

0
96
Member Avatar for superjacent

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. …

Member Avatar for fraogongi
0
168
Member Avatar for uaecasher

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 …

Member Avatar for blocblue
0
115
Member Avatar for vesper967

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 …

0
71
Member Avatar for pasabeer

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 …

Member Avatar for Jennysmithuk
0
132
Member Avatar for Dhaneshnm

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.

Member Avatar for Robdale
0
49
Member Avatar for EdTheUniqueGeek

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, …

0
90
Member Avatar for sum1

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 …

0
63
Member Avatar for Ene Uran

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 …

Member Avatar for breatheasier
0
147
Member Avatar for fomagnoma

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 …

Member Avatar for subtercosm
0
129
Member Avatar for tiger86

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) …

Member Avatar for ahihihi...
0
121
Member Avatar for rajiva

any information regarding ruby on rails with php.iam working on oscommerce now.i want to learn ROR

Member Avatar for ruby50
0
89
Member Avatar for hericles

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 …

Member Avatar for BoomerBrian
0
140
Member Avatar for clem_c_rock

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 …

Member Avatar for TomK32
0
56
Member Avatar for clem_c_rock

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 …

0
75
Member Avatar for clem_c_rock

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] <% …

Member Avatar for clem_c_rock
0
100
Member Avatar for tomsta

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 …

Member Avatar for jbennet
0
204
Member Avatar for manisha

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 …

Member Avatar for MrAntonio
0
154
Member Avatar for aodpreacher

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 …

Member Avatar for aodpreacher
0
92
Member Avatar for mcmohd

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

Member Avatar for Secret-
0
241
Member Avatar for calcop

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, …

Member Avatar for calcop
0
151
Member Avatar for Debadipta

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 …

Member Avatar for destin
0
70
Member Avatar for yadavshubhanshu

[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 …

Member Avatar for destin
0
56
Member Avatar for Ziga

(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 …

Member Avatar for Ziga
0
164
Member Avatar for crono5788

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 …

Member Avatar for ~s.o.s~
0
149
Member Avatar for SoulMazer

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 …

Member Avatar for SoulMazer
0
85

The End.