similar to: Accessing list object from within a function as a list element

Displaying 20 results from an estimated 200 matches similar to: "Accessing list object from within a function as a list element"

2006 Mar 23
1
Multiple file uploads
I have a form with multiple file upload fields (1-10), of which 2-10 are optional. So i need to cycle thru all file fields and pick only those that have a file attached. Selecting only one file in the form, the paramters look simple: "image"=>{"file_1"=>#<File:/tmp/CGI344.4>, "file_2"=>"", "file_3"=>""}, so I
2012 Mar 24
1
Append to file in loop
My files are on disk and they are regular text files named file_1 file_2 file_3 file_4 and file_5 with extension .saam The separator is sep='' (ie, white space) I want to append 'XFile' at the end of those files. XFile is also on disk. file.append("file_1.saam", "XFile.saam"); file.append("file_2.saam", "XFile.saam")... works but it
2005 Sep 14
4
*** saving files ***
Hi, I need help :o( I want that my function saves result files in a for()-loop while it runs automatically. the filenames must be saved like: file_1 -> for 1. result file_2 -> for 2. result file_3 -> for 3. result and . . . file_n -> for n. result the file names are the same identified by _1, _2
2008 Nov 18
2
sequencially merge multiple files in a folder
Dear all, If the question is too easy, please forgive me since I am only few weeks old in R. I have worked on this question a few days and still cannot figure it out. Here I have a folder with more than 50 tab-delimited files. Each file has a few hundreds of thousands rows/subjects, and the number of columns/variables of each file varies.The 1st row consists of all the variable names. Now I
2012 Jun 26
2
[LLVMdev] Proposed Enhancement to AddressSanitizer: Initialization Order
+llvmdev, -llvm-dev On Tue, Jun 26, 2012 at 2:28 PM, Kostya Serebryany <kcc at google.com> wrote: > Hi Reid, > > On Tue, Jun 26, 2012 at 4:30 AM, Reid Watson <reidw at google.com> wrote: > >> Hello, >> >> I'm starting work on a project to detect initialization order problems >> in C++ files using AddressSanitizer. >> The extension in
2002 Jul 01
0
recursive scp fails on ReliantUNIX 5.43 (using OpenSSH 3.4p1)
Hi, I have tried to make a recursive scp from a ReliantUNIX machine to an other UNIX machine and got an infinite loop on the source machine. A "normal" scp works well. Also strange is, that the first two letters of the directory respectively file name are missing in the output below. The destination machine produces a directory structure with growing subdirectory names. Below you can
2009 Jul 11
1
Passing arguments to forked children
Hi - I have attempted to use the fork::fork() function to perform parallel processing. However, the child R function called needs to know a given set of parameters to complete its task. Specifically, I iterate through a vector, and output values based on the elements of that vector to a database. The output strings contain elements of the iterated vector. I mocked-up the following code as an
2006 Jun 11
0
Application construction issue (conceptual)
I was wondering if someone can give me some assistance in approaching this issue: First, the background: I have an app that i originally did in PHP that I''m redoing in Rails. It can be used by multiple clients that have no relation to each other. The client information is in a database and is determined by the hostname. Clients then have several users related by client_id. The
2007 Aug 30
1
can not encode a raw video file with "encoder_example"
hi all, i tried to encode a .yuv file with the encoder_example.c but it give an error message as follows ./encoder_example -v 1 file_1.yuv > file_1.ogg Input file file_1.yuv is neither a WAV nor YUV4MPEG2 file. so the error message is understandable for anyone. when this file is play with mplayer it shows as follow
2006 May 29
1
Myst IV Installer breakage
Hello! The game "Myst IV - Revelation" by Cyan Worlds / Ubisoft installed fine in earlier versions of wine (although it was and is not playable). Recently I tried again, and the setup crashed just before the copying of files would start. I was able to isolate the patch that caused the regression (with git bisect). Here is the commit message: >commit
2003 Dec 04
1
connection.tdb difference IP vs. NetBIOS name
Hello all, I am having a problem with Samba 3.0.0 (I have actually tested this with 3.0.1pre3, and seem to have the same problem). I am trying to add a new message to smbcontrol. I have put the code into smbcontrol.c, and I can deliver messages to the samba processes (using the command line: ./smbcontrol smbd <mymsg>). The problem is that messages get delivered to the Samba
2006 Dec 02
0
Errors on running setup - x64 FC6
Greetings, For what its worth, I was running setup for a game (Railroad Tycoon III), on Fedora Core 6 - x64. The 'setup' finished, but, with some errors - err:storage:Storage32Impl_SmallBlocksToBigBlocks conversion failed: resRead = 0x8003001e, resWrite = 0x00000000 err:storage:Storage32Impl_SmallBlocksToBigBlocks conversion failed: resRead = 0x8003001e, resWrite = 0x00000000
2007 Mar 19
1
Paratext Installation Problem
Hello, I'm trying to install the Paratext program on Linux. It's only available to some people, so you can't try it yourself, but it's running into a problem with the MSI. It runs the GUI, and gets most of the way through before saying that the wizard was interrupted before the installation could be completed. It's using the InstallShield Wizard. Here's the output from
2020 Jun 05
0
[ANNOUNCE] libnftnl 1.1.7 release
Hi! The Netfilter project proudly presents: libnftnl 1.1.7 libnftnl is a userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem. This library is currently used by nftables. See ChangeLog that comes attached to this email for more details. You can download it from: http://www.netfilter.org/projects/libnftnl/downloads.html
2004 Dec 23
0
GTA3 problems
I'm using the current cvs version of wine and have been using Grand Theft Auto 3 for a month or so with only a few issues. After updating and recompiling wine last night I encountered a pretty major problem, cut scenes refuse to end. They play through alright, but when it comes to the end of the scene the game doesn't resume. Out of curiosity I backed up my ~/.wine directory and used
2006 May 17
2
setup.exe from "Marco Polo Großer Reiseplaner 2005/2006" stops
Hi! I'm trying to use "Marco Polo Gro?er Reiseplaner 2005/2006" with Wine 0.9.13 on Gentoo Linux. To use it, I ran travel\setup.exe from the DVD and the setup just stops, before the "real thing" starts. Please see http://www.myimg.de/?img=BildschirmfotoWinedesktopSeaa8.png In the terminal window from which I started wine, I get: alexander@blatt ~ $ wine
2006 Jun 05
0
Error with Ultima Online Installation
Hello all, I have been trying to install Ultima Online: Mondain's Legacy. Unfortunatelly it hangs with Install Shield. The problem I am having is the same one stated as FIXED in WINE's Application Database (http://bugs.winehq.org/show_bug.cgi?id=4266). I tried installing DCOM98.EXE but it made no difference (and I am not sure that it installed correctly). I also tried changing windows
2007 Mar 19
1
Cannot install program. Errors out with 0x80040702, Failed to load DLL: Setupapi
Good evening! I'm trying to install "Garmin POI Loader v2.3.2" from <http://www.garmin.com/support/download_details.jsp?id=927> with Wine 0.9.25. on a Gentoo Linux x86 system. The installation always fails :/ After running the installer, I get the following error message: Error Number: 0x80040702 Description: Failed to load DLL: Setupapi
2003 Nov 14
1
smclient-excludes
Hello, samba-users, I am using Amanda to backup WinNT-shares. Amanda uses smbclient to generate smbtar-archives which it then writes to tape. As you all know there are various files on Windows-system-partitions that don?t need to be on backup. For example stuff like pagefile.sys System Volume Information hiberfil.sys and the registry files. So there is a need to exclude files from getting
2006 Nov 19
1
Cannot install program. Errors out with 0x80040702, Failed to load DLL: Setupapi
Good evening! I'm trying to install "Garmin POI Loader v2.3.2" from <http://www.garmin.com/support/download_details.jsp?id=927> with Wine 0.9.25. on a Gentoo Linux x86 system. The installation always fails :/ After running the installer, I get the following error message: ? ? ? ? Error Number: 0x80040702 ? ? ? ? Description: Failed to load DLL: Setupapi ? ? ? ? ? ? ? ? ? ? ?