Ruby Definition and 20 Threads

  1. S

    Does the ruby laser (the first invented laser) have nonlinear behavior?

    Hello Everyone! I read about the function of the ruby laser which made from ruby crystal and has three energy levels. There is radiationless transition to what so called metastable level and then the electrons there stimulated to transit to ground energy state. The question is: does this...
  2. farolero

    How Can I Improve This Ruby Recursive Factorization Code?

    mabe someone can help me with this code: i have this code, basically first i factorize for example the number 28 to: [2,2,7] and then i make a list of prime numbers and find the index of each factor in that list, so 2 is prime number with index 0 and 7 prime number with index 2 so it ends up...
  3. sukalp

    About computers and being good at coding....

    i wanted to know how to become computer king of world if we have coding talent like making cool apps,software,making technical software machines like robotics. can we become computer king by challenging bill gates like what they did to world we can do in 1 day not by copying but following...
  4. sukalp

    Exploring Computer Engineering Courses: Self-Study vs. Classes After High School

    i wanted to ask you after high school passing grade 12 when we do computer engineering courses like Bachelor of computer applications, Bachelor in computer science,,B of technology we can do self study or classes is required for these courses as computer engineering courses will have subjects...
  5. sukalp

    Environment understanding problem

    well i wanted to ask you what is cmd,jdk,. why do we need to install jdk in java why not directly we cannot install ide of java directly like we download codeblock for c++ directly but in java we download jdk then we download net beans environment confusing
  6. sukalp

    Engineering Are There Co-op Jobs for High School Students in Computer Engineering?

    I wanted to ask you when we finish high school and go to university for studying bachelor of technology in computer science are there jobs that high school students do regarding programming with companies through programming they have learn in ap courses in grade 12 that i wanted to know
  7. T

    Light ray deflected by the prism made of ruby

    i know snell's law is n1sin(theta)1 = n2sin(theta)2, and that sin(thetac) = (nair/n2)
  8. L

    Density of chromium ions in ruby

    Homework Statement estimate the density of chromium ions in ruby, assuming that the concentration of chromium in ruby is about 0.05% by weight. Homework Equations decay rate = 0.5x10^3 s^-1 answer: density N (sub T)= 1.6x10^19 cm^-3 The Attempt at a Solution density = mass/volume density of...
  9. BluberryPi

    Python Python vs Ruby: Which is Better?

    Hello! BlueberryPi here, and I have got a question for you: is Python better than Ruby? Background Info: Python is a strong programming language which allows GUI's to be built without much pain. It built sites like Google, You Tube, Pinterest, and DropBox. Ruby is a flexible language which...
  10. S

    Python Good problems and exercises in C, Python, Ruby and Scala

    I have previously learned C and Python. I'm just starting out with Ruby and Scala. But I need to become more proficient in these languages, so could someone suggest good sources of problems/exercises in each of these languages sources could include websites, books, etc.
  11. infinite.curve

    Connecting mySQL to Ruby on NETBEAN 8.0

    So... I hae this issue trying to connect mySQL to ruby on net bean... Has anyone connected it before? The code: #!/user/bin/ruby require 'mysql' begin puts "hello World" con = Mysql.new 'localhost', 'sqluser', '' puts con.get_server_info rs = con.query...
  12. C

    Ruby Goldberg Machine - Improvements/Ideas

    Hey there, We have a project to make a Ruby Goldberg Machine due in a month. Due to the complexity of the project we have started early. This would be my first time making something like this and I need help connecting and improving my ideas. The objective we have decided upon is to...
  13. G

    Is Ruby Still Relevant in the World of Programming?

    Any other Ruby developers? :) Pure Ruby or RoR, I don't care. Anyone else love this language? :D
  14. J

    Solve 1D Simulation w/ Ruby w/ Self-Taught Programming

    I have just started programming (started on C but currently using Ruby). This is literally my first proper program and I wanted some help and opinions. The problem is I am completely self taught using various random tutorials to learn the language and my own logic for the actual programs, so...
  15. S

    How to Use the Sudoku Module in Ruby to Solve Puzzles?

    I wrote the below code in a text editor, saved it as foo.rb Now I assume to run it, I simply go into the terminal and enter ruby foo.rb, yet nothing happens. module Sudoku class Puzzle ASCII = ".123456789" BIN = "\000\001\002\003\004\005\006\007\010\011" def initialize(lines) if...
  16. M

    Understanding How to Access an Object's Property in Ruby

    I'm learning how to program with Ruby and would like some brains to pick. Here's the context: class Run_Record def initialize @run_number=gets @time=gets ##in the future this will be more complicated end def property(arg) #? end end new_run=Run_Record.new p...
  17. M

    Considering Ruby for Web Development: Is it Worth Learning?

    Any people here who use Ruby? I am thinking of playing with Ruby (with Rails and Ajax). Any opinions on Ruby?
  18. P

    Can you solve Ubi-Ubi's Ruby riddle?

    My friend gave me a brainteaser and i wasnt able to solve so i was hoping you guys could help me out with this. Thnx in advance. So here it is: Ubi-Ubi's Ruby During the sixteeth century, an English explorer was sailing in uncharted waters trying to find a faster route to India...
  19. Ivan Seeking

    Mystery force flattens trees close to Ruby [Alaska]

    http://www.adn.com/alaska/story/4206897p-4219148c.html
Back
Top