similar to: newbie----what''s wrong with my code

Displaying 20 results from an estimated 200 matches similar to: "newbie----what''s wrong with my code"

2006 Jul 27
7
Newbie question---
I wrote a ruby script that parses a file into key-values like so: class Parser table = { } IO.foreach(''Localizable.strings'') { |line| if line =~ /^ \s* " (.*?) " \s* = \s* " (.*?) "/x table[ $1 ] = $2 end } end I want to store the key-values in different colums on my database so that when I enter a key, it gives me the corresponding value...how
2006 Jul 24
2
Newbie error message!
hello you all, I''m new with Ruby on Rails. I''m developing an application. I got the follwoign erro, can anybody give a hand? ArgumentError in AdminController#import_strings wrong number of arguments (0 for 1) RAILS_ROOT: ./script/../config/.. Request Parameters: {"commit"=>"Import",
2006 Jul 25
1
newbie--how do i load a parsed file?
Hello there, I''m new with ruby on rails and i don''t know how to load up a parsed file into my database. I have my ruby script that parses it but don''t know where to put my code, or how to combine it with view/model/controller. this is what i have: class Description < ActiveRecord::Base def import_strings(a_file) table = { }
2006 Jul 31
10
nothing uploads.....why? (newbie question)
Hi everybody, I know this is an easy question but I don''t seem to see the solution. I''m trying to have a user select a file so that my code can parse it and populate the database with corresponding values. So far it seems like uploads but nothing shows in my db. Can anybody give me a hand? thanks view: h1>Importing Strings<h1>
2006 Jul 21
1
Newbie Question about Ruby on rails---cant upload data
Hi everybody, Ruby on Rails is my first programming lenguage...it looks to me like i''m missing the big picture. I''m trying to upload a file into a database. In my app. my user needs to select a file and upload it...however I only want him to upload certain information from that file. I have written code to parse only string tables from that file. For example, the table
2006 Aug 02
4
is it possible to duplicate a key? --new
Im not very familiar with RoR so this question might be kind of silly. I want to store strings from different lenguages in a database. I want to have the key for the string in english be the ''key'' for all the corresponding traslations of that string. For example: (database columns) lenguage-------------key-----------------value----- english hello
2011 Jan 11
2
IE6 install problem
Hi, Thank you in advance for your help from someone who has very little computer knowledge.... IE6 doesn't install....the following is as far as it goes....please tell me what I have to do to get it going.... Oh, I was able to install IE7 but it doesn't connect. Thanks again. Cheryl 11-01-05 8:15:36 AM SyncServer[3280] [110f40] |SyncServer|Warning| Refreshing watchdog because of a
2000 Nov 21
1
Exist the S 'dates' function in R?
Good afternoon, I am a new user of the R application, and I don't know to much about the lenguage. I am trying a to run some of the S programs I have, and some of them are crashing with the "dates" function. This function translate a character string into a 'dates representation object'. Do you know if there is a similar function in R? Thank you very much for your help
2010 Aug 13
2
samba-3.5.4 + OpenLDAP
Hi folks, I having a problem compiling Samba (Last Stable Version) from source on a Debian fresh install. Escenario: OS: Debian Lenny 5 64 bits Kernel: 2.6.26-2-amd64 Samba Version: 3.5.4 OpenLDAP Version: slapd_2.4.11-1 I tried this before and after the OpenLDAP installation and always have the same error: ./configure --with-ldap --with-ldapsam . . . . . checking for LDAP support...
2007 Aug 23
4
Idiomatic way to do a non-database Enumeration?
I have a class which stores as one of its attributes a day of the week as an integer (0-6, 0=Sunday, standard UNIXy values). I want, obviously, the views to show the weekday name and the forms to provide a drop-down with the weekday names. Essentially it''s a vrtual attribute whose value is the localized weekday name, which maps to the integer value that''s actually stored.
2006 Aug 24
0
Wine release 0.9.20
This is release 0.9.20 of Wine, a free implementation of Windows on Unix. What's new in this release: - XEmbed system tray support. - Many improvements to NTLM support. - Many messages made localizable instead of hardcoded to English. - Improved support for various OpenGL platforms. - More improvements to the IDL compiler. - Lots of bug fixes. Because of lags created by using
2009 Feb 03
0
lm function
Hi, I do not use R lenguage for programming, hence Im trying to understand how are specified the models below. I been reading some webpages with information about the notation in the "lm" function, but havent understand exactly what does the ":" do. Can some one give me an explenation of the models below so I can replicate the results in other program. #common intercept
2006 Jul 17
6
taking input
Hi everybody, I''m pretty new with Ruby on Rails and I was hoping someone could help me out. I''m trying to take in data from a file and add it to my existing database. what I''m thinking is that I have to create a class that reads the data and copies it. I''m not sure how I will input the data into my database. I''m not sure if this approach is the
2010 Dec 07
1
[ANNOUNCE] xorg-server 1.9.99.901
Ok, I think we've done enough damage for one release. Thanks everyone for pulling a long weekend to get changes prepared and reviewed. We're still missing the threaded input stuff, but that needs more review and I think we wore Tiago out this time around. If someone wants to propose merging it after the freeze, I think we should consider doing it. Note that this tarball depends on
2010 Nov 14
0
[LLVMdev] Problem building Ocaml Kaleidoscope example
Hi, The Ocaml Kaleidoscope tutorial code stops compiling at chapter 3. I get $ ocamlbuild toy.byte Finished, 1 target (0 cached) in 00:00:00. + /usr/bin/ocamlc -c -o codegen.cmo codegen.ml File "codegen.ml", line 5, characters 0-9: Error: Unbound module Llvm This is with Llvm 2.7 on ubuntu 10.10. I have the package libllvm-ocaml-2.7-dev installed. The offending line is simply open
2003 Mar 28
0
openssh-unix-dev@mindrot.org , Swiss Group Switzerland ! Earn up to 2 daily in the Swish Stock Exchange !
<!1479> <html><body><p><b>Sw<!1479>iss Gro<!1479>up SA</b> is one of Switzerland's lead<!1479>ing pri<!1479>vate altern<!1479>ative inve<!1479>stment compa<!1479>nies which allocates its assets to a range of fu<!1479>nds mai<!1479>nly in the fi<!1479>eld of alter<!1479>native
2008 Dec 12
0
Are Cisco SIP phones still non-localizable with an Asterisk server ?
Hi, I heard some time ago that, when running a SIP firmware, Cisco hardphones needed a Cisco call manager to get localized (ie non-english) menus ? Is it still true ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081212/fcc22a7b/attachment.htm
2011 May 21
5
Wine development (program lenguage)
Hi, I'm learning about programing and I would like to know what language use wine to learn it.
2006 Jul 04
13
NewBie question
Hi, I m very new to Ruby. I bought a book "Ruby on Rails" and I think I understand some concepts. My question is : Is there a way to not use "Cookies" or "Sessions Variables" to keep some information about the user. I ask this question because I would like to prevent some cases where the user browser won''t accept cookies. I m from Asp 3.0, and I
2006 Oct 27
0
Wine release 0.9.24
This is release 0.9.24 of Wine, a free implementation of Windows on Unix. What's new in this release: - Support for multiple monitors using Xinerama. - Various MSI fixes and improvements. - A ton of memory leaks fixed. - Many common controls fixes. - Lots of bug fixes. Because of lags created by using mirrors, this message may reach you before the release is available at the public