569 Topics
![]() | |
I need to install these 3 tools in order to run Agriya Volume, but how do I? I'm running on a basic plan (linux) on securesignup. I don't have root access. Is there anyway? Or do I have to buy a VPS?? The three tools are: Mplayer + Mencoder Flvtool2 … | |
Ok, I have never used Ruby before and I'm trying to figure out how to convert my following Perl code into Ruby to do exactly what is does now. Basically I used a loop structure to produces the following output (user can specify how many lines need to be printed): … | |
Hello all, I am a Computer Engineer, fresh off graduation, and I would like to educate myself on a broad range of technological fields and aspects. I am the kind of person who is easily distracted while reading from a screen, and so I would like to ask fellow daniweb … | |
I am posting form data into a file and also on the web page. Could please tell me how do i do that with ruby. This is my code for html form [CODE]#!/usr/bin/ruby print "Content-type:text/html\n\n"; # Display the form print <HTML; <html> <body> <form action="form1.rb" method="post"> <p>Your Name:<input type="text" name="name"></p> … | |
Hello everyone, I just started to learn how to program in Ruby. It is a pretty cool language. You can get ruby from [url="http://www.ruby-lang.org"]www.ruby-lang.org[/url]. You can see my code snippets on making widgets using fxRuby (fxRuby is downloaded seperatly from ruby, unless you get the one click installer, which installs … | |
Hi y'all, I've run into problems while running my program in eclipse. Its a Jruby application that uses Glimmer to create GUI components. I've followed the instructions as in [url]www.indijava.in/community/article/Glimmer-Using-Ruby-to-Build-SWT-User-Interfaces[/url] within eclipse, yet I can't seem to get it work. Am trying to run a simple example as the one … | |
Hi there, QUESTION: Whilst "parse(argv)" is obvious, what does "opts.parse!(argv)" do in the below code? And what is the word use to describe doing this? CONTEXT: I am looking at a class called 'Options' whose job is to parse command line options which get passed to a program called 'PartInspector'. … | |
Hi, I wan't to add simple web form to my page. name, e-mail, comment, so I started poking around internet and found out about CGI. I put premade cgi.(pearl) script in cgi-bin folder on server and adjusted form for that script: When I tested out my form , i got … | |
Hi, How do you create HTML files using RUBY. I have a requirement where I need to set color and font of the text, and also provide formatting options for tables having different colors for rows and border(on/off). Can anybody tell how to do this Thanks, K | |
Hello there, [B]Ruby Version Installed:[/B] ruby 1.9.1 (2008-10-28 revision 19983) [i386-mswin32] [B]Operating Systems:[/B] Windows XP (both PC and laptop) [B]Laptop:[/B] I can run a gem command on with no problem [B]PC: [/B][COLOR="Red"] gem won't work despite that ruby works fine. I get this message for any gem command: [/COLOR] [CODE]% … | |
Hey; I have 6 months of work done in PHP and I really don't want to re-invent the wheel but I want to use some Ruby in my site. Is it possible to "mix languages" like PHP and ruby or will I run into some major problems? I would really … | |
Hey guys, I'm currently learning JSP and Java using Netbeans, and I was wondering if there was an easy way to create a web template layout. For example, using a single header, footer, and navigation bar for all pages. In Ruby on Rails, there is a "layouts" view, which you … | |
Hello Hopefully someone can help me. I am trying to update fields in a mysql database using ruby with dbi, but no matter what I try, i just cannot update the row. I am able to search it, but never update. I search for the right string, then open a … | |
Why is this regular expression (pat) not working? According to documentation, scan takes both string and regexp. [CODE]irb(main):001:0> pat = '\d+ (\w+) \(\d+\)' => "\\d+ (\\w+) \\(\\d+\\)" irb(main):002:0> string = 'dfasdf 1 up (2009) sdfasdf 2 walle (2008) adfasdf' => "dfasdf 1 up (2009) sdfasdf 2 walle (2008) adfasdf" irb(main):003:0> … | |
After twitter, many people are ready to do projects with ruby on rails, let me tell you frankly i dont know even a inch about it, I just know basic languages like javascript, xml, html , asp. Give me a roadmap how to read ruby on rails and master at … | |
Hello everyone, I am a newbie to Ruby. I installed Instant Rails on a Windows Vista machine and whenever I started the InstantRails, it gave an error message "Either Apache or MySQL cannot run because another program is using it's ports." I have checked my firewall settings and couldn't figure … | |
Hi! Does anyone know of a good tutorial for installing Ruby with Php, Apache and MySQL. I have tried InstantRails but i want to install it without using the instant option! Thanks. | |
Hi, Can some one tell me how to create elements like (text, tables) in memory, then edit them in memory and finally print it on a file. Thanks, K | |
Hi, I am new to ruby programming. I would like to know how to create a document and add elements like texts and tables. I also need to modify those and then write them into a file. Is it possible to do it with Ruby? Thanks, K | |
Hi everyone, I'm a javascript/actionscript/java/ruby developer who's been given a project that must be done in Sharepoint. One of the tasks of the project is I have to write a console application that replicates data from the secure sharepoint site and pushes it out to a public site in a … | |
Hello everyone.. I have used this site off and on and have recently decided to join. I am interested in programming and 3d graphics. My main focuses in programming are: NASM\MASM assembly Ruby Batch Also, not sure if I am allowed to say this here (Might be considered advertising). I … | |
anyone here who could help me make a webpage using ruby? is it possible? im having a hard time.. | |
1) Is it possible to install Ruby (the compiler) onto a flashdrive and run it on another machine without adding the registry edits? Is there like a portable copy of the compiler that I can use? I need Ruby at school, but I can't install anything. 2) I think my … | |
How would I go about writing a Mad Libs program? Any examples would be greatly appreciated. Thanks! | |
Hey! I have a strange problem. When developing with Ruby on Windows Xp, if I try to run the .rb file with [CODE]ruby mycode.rb[/CODE] The execution stops returning: [CODE]/usr/lib/ruby/site_ruby/1.8/i386-cygwin/sdl.so: [BUG] Segmentation fault[/CODE] Of course, /usr makes no sense in windows. On the other hand, if I simply double-click mycode.rb from … | |
This is actually a quiz in our Algorithm Analysis and Design class where we're provided a 9x9 sudoku table filled with few numbers. Now, our teacher allowed us to use any programming language, provided that it's [b]structural[/b] and not OOP, in order to come up with a sudoku solver app. … | |
Research released this week by Evans Data showed that 73 percent of the market currently use or plan to adopt the [url=http://en.wikipedia.org/wiki/Spring_framework]Spring application framework for Java[/url] within the next two years. More remarkable is that 83 percent of companies with 500 or more developers use Spring, according to the study[/url]. … | |
Today the [URL="http://www.mono-project.com"]Mono Project[/URL] released the much-anticipated Mono 2.0 for Linux. After two-and-a-half years in development, Mono 2.0 is finally here and ready to run your .NET 2.0 applications, Windows Forms, ASP.NET content on Mac OS X, BSD and Linux. Mono is multi-language capable--choose your own path from C#, VB, … | |
[URL="http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/"]Multiple arbitrary code execution vulnerabilities in Ruby[/URL] have been revealed by the [URL="http://www.apple.com/support/security/"]Apple Product Security[/URL] team which could lead to Denial of Service attacks. A total of five vulnerabilities have been reported, with versions impacted being: [INDENT]1.8.4 and all prior versions 1.8.5-p230 and all prior versions 1.8.6-p229 and all prior … | |
If you’re a Ruby or Python developer building AJAX applications, you’ve got to learn JavaScript. Even if you’re converting Ruby code to client-side JavaScript with a tool like [URL= http://www.scribd.com/doc/220397/RJShow-it-works] RJS[/URL], it can still be helpful to know the AJAX component for adding features and debugging. Now Microsoft is promoting … | |
[URL="http://po-ru.com/about/"]Paul Battley[/URL] is a software developer from London who can probably lay claim to being the biggest thorn in the side of the BBC right now. No sooner had the mighty British Broadband Corporation [URL="http://news.bbc.co.uk/1/hi/technology/7293988.stm"]announced[/URL] that his hack which allowed people to download iPlayer TV streams meant for an iPhone … | |
Notice the category... coffee house. First, I couldn't agree to choose software development since web development was another category and I'll get around to why that is an obvious misunderstanding of the true nature of computing, later on. So, I passed by site management and IT (water cooler or not) … | |
Hello everyone and welcome to the next episode of Mushy-pea's blog. This entry is about my favourite language (except English of course) Perl. If you're a regular Perl user you might already know this; the developers of Perl 6 are using a prototype version of the Perl 6 interpreter written … | |
Monday, Sun Microsystems released the latest version of Java -- Java Standard Edition 6. It's available to developers in the Sun Developer Network ([URL]http://java.sun.com[/URL]). The final release is planned to ship in January. Java's taken a lot of time for this release. They've worked at it for at least 2 … | |
A simple domain name checker. This script use service from who.is Usage: ruby domainchecker.rb <domain_name> | |
I needed a way to spawn multiple threads, have them monitored, and restarted if an error occured. I came up with the following. This snippet is from a larger program, so if there is a problem please let me know. This is for command line and tested on Linux (well, … | |
This is a simple, but complete (pseudo) random password generator. Examples of usage: [code] $ ruby pgen.rb soovmuvytv $ ruby pgen.rb --length=20 bynnugipyeeghdbihcdn $ ruby pgen.rb --length=20 -n v3ji3awj1trzjlda5oax $ ruby pgen.rb --length=20 -np :sa6vafpummpttjp?qo: [/code] For complete usage guidelines, run [inlinecode]$ ruby pgen.rb --help[/inlinecode] This (hopefully) serves as both … | |
Using an SDL (Simple DirectMedia Layer) wrapper is one way to play sound and music with Ruby. I have tested this snippet with .MID .MOD and .WAV files and it performs well. There are several SDL wrappers for Ruby available, I picked RUDL because of its simplicity. RUDL is great … | |
Okay, this introduces two new things into the widget. The first thing you need is a picture file (.jpg, .png, .bmp etc...). The new code makes the picture into the button with the text "Hello, World" on the side. In the parentheses next to File.open you would put the file … | |
This is kind of an extension to my previous code snippet. This language is really fun to use. I find it pretty easy to use and understand. This will create a window with a button. | |
This is a basic window coded in Ruby. To download Ruby go to [url]www.ruby-lang.org[/url] and download the latest version. The latest version includes the FX toolkit that is needed to create this window. | |
Hello, I'm learning Ruby, and i want to know how to compress files using Ruby. Thanks, Nathan Paulino Campos | |
i came across two high level programming languages :python and ruby. they are cross platform,just like java. they are very productive ( a programmer can write a program using python in less than quarter the time you need to write the same program in java). they have have -more or … | |
Hi Everyone I am not a full time programmer. I had been using Python for everything and then went to PHP to build my website. I really love PHP now but surely it is the wrong tool for many offline tasks. I know Python is strongly typed but after using … | |
I am hoping to build a website that accesses a database (possibly Amazon's SimpleDB, but perhaps not) for both presenting query results and adding additional data to the database. I hope to eventually build a sleek AJAX interface as well. I have been told that Python would be an excellent … | |
What are names starting with the ":", are they variables, constants or something else? drjay | |
Hi guys.. I want to learn Ruby on Rails.. Actually I already have a Computer Based Training CD in Ruby on Rails by Lynda.com.. But I'm having a hard time in deploying the requirement 'coz in the training video the speaker is working on Mac OS.. But I'm using Windows.. … | |
anyone here know lisp? i'm trying to code a trie in list. i know what to do as i already did it in ruby and python. i just need some guidance with doing the same. reply to this thread if you know lisp or contact me directly at< snipped email> … | |
I'm a producer / developer from Vancouver. We have a small team that has build <URL SNIPPED>XLsuite a ruby on rails hosting app. We make both retail sites and create community sites mainly in real estate, although we do have clients and partners in other verticals. My Company site is … | |
Here's the gen: Name: frann Nickname: tiggsy Hair: Brown Eyes: Brown Location: Edinburgh, Scotland Hobbies: Computers, listening to music, cooking, rpg Relationship Status: single Fav Music: Anything except rap (apart from Eminem) and c&w Education: No formal computer education - when I was at school Assembler language was considered newfangled, … |
The End.