similar to: Am I misunderstanding loop variable assignment or how to use print()?

Displaying 20 results from an estimated 700 matches similar to: "Am I misunderstanding loop variable assignment or how to use print()?"

2006 Jul 16
0
Routes Misunderstanding
Hi there, I seem to be misunderstanding routes a little bit as I can''t get the behavior I''m expecting from the following. My goal is to get "/forums/1" from the code <%= url_for :id => forum.id %> which is being called from a view associated with a controller named "Forums" and the "index" action. I have the following routes:
2006 Mar 23
1
validations.rb of ActiveRecord - bug or misunderstanding?
Either I''m not understanding how things are used, or this might be a bug in ActiveRecord. I''m using version 1.13.2. In my version of activerecord/lib/active_record/validations.rb (the svn trunk version is browsable at http://dev.rubyonrails.org/browser/trunk/activerecord/lib/active_record/validations.rb ), I have: def update_attribute_with_validation_skipping(name,
2005 Apr 11
1
/etc/rc.bsdextended: am I misunderstanding this..?
Can someone clear something up for me? [[[ # For apache to read user files, the ruleadd must give # it permissions by default. #### ${CMD} add subject uid 80 object not uid 80 mode rxws; ${CMD} add subject gid 80 object not gid 80 mode rxws; ]]] Doesn't the above mean that an apache user (eg, user-supplied CGI process, PHP script, etc) has the ability to read (and write!) anything in the
2004 Jan 24
0
rules/routes traversal misunderstanding
Hi, I''ve been experimenting with ip route for the last few days to get load sharing accross 2 providers working. While it works most of the time, on a few occasions, packets are routed to the wrong interface. I''m not sure to understand rules and routes traversal correctly (I couldn''t find answers in the howto). So, here are my questions: 1. How does the rule
2011 Feb 22
0
Arel: misunderstanding with intersections
Hi, I''ve been playing with Arel for a few days, but I feel really confused about predicates / arrays intersection. Let''s say I have 3 models: users, (bank) accounts and transfers. An account belongs to a user, and a transfer is made of a source and target accounts (see the snippets below). Given a user, I want to query his transfers. I can go this way in the User class: def
2007 Feb 20
2
SAMBA Kerberos misunderstanding
I suspect I might be grossly misunderstanding kerberos and AD here, but I cant seem to grok the following. net ads join integrates my linux samba server (named foundry) into an AD domain and all works fine. The samba server is using the kerberos keytab. root@foundry:~ # kinit -k -t /etc/krb5.keytab foundry$ root@foundry:~ # kinit -k -t /etc/krb5.keytab host/foundry.example.local kinit(v5):
2013 Sep 15
1
syslinux.exe, 6.01: --update misunderstanding
syslinux 6.01, on XP cmd prompt: With syslinux.exe --update c: At least one specified option not yet implemented for this installer. it is clear which option is not yet implemented. However, before trying just --update, I did try: syslinux.exe --active --directory /downloadedPrograms/syslinux \ --update --mbr c: (line was edited for presentation purposes) and got
2008 Sep 22
0
[LLVMdev] Misunderstanding vector
On Sunday 21 September 2008 20:45:37 Jonathan S. Shapiro wrote: > I was re-reading the specification for extractelement and friends, and I > notice that the index is restricted to i32. Since vectors might clearly > have a larger number of elements on 64-bit platforms, I wonder if I am > misunderstanding the intended use of these instructions. The code generator cannot handle vectors
2008 Sep 22
2
[LLVMdev] Misunderstanding vector
On Mon, 2008-09-22 at 09:42 +0200, Duncan Sands wrote: > On Sunday 21 September 2008 20:45:37 Jonathan S. Shapiro wrote: > > I was re-reading the specification for extractelement and friends, and I > > notice that the index is restricted to i32. Since vectors might clearly > > have a larger number of elements on 64-bit platforms, I wonder if I am > > misunderstanding the
2008 Sep 22
0
[LLVMdev] Misunderstanding vector
> > The code generator cannot handle vectors with more than 16383 (?) > > elements. Even so, I'm not sure it makes much sense to use vectors > > with more than a handful of elements. > > I understood Chris to say that these instructions were for SIMD > machines, and if the limit you mention applies to SIMD I'm not worried. > Does that limit also apply to
2019 Dec 27
0
AGI: "Get variable" returns variable VALUE vs "Get full variable" returns variable NAME - bug or my misunderstanding?
On 12/27/2019 2:24 PM, Jonathan H wrote: > <Local/1000 at default-0000001f;2>AGI Rx << SET VARIABLE myVar "Hello > World!!!" > <Local/1000 at default-0000001f;2>AGI Tx >> 200 result=1 > <Local/1000 at default-0000001f;2>AGI Rx << GET FULL VARIABLE myVar > <Local/1000 at default-0000001f;2>AGI Tx >> 200 result=1 (myVar) >
2019 Dec 27
1
AGI: "Get variable" returns variable VALUE vs "Get full variable" returns variable NAME - bug or my misunderstanding?
OK, that works - looks like a documentation bug? (Also very confusing!) Should I report it on the page at https://wiki.asterisk.org/wiki/display/AST/Asterisk+17+AGICommand_get+full+variable or on the main tracker? Many thanks - couldn't figure out what was wrong! On Fri, 27 Dec 2019 at 19:36, Sean Bright <sean.bright at gmail.com> wrote: > On 12/27/2019 2:24 PM, Jonathan H wrote:
2012 Aug 18
1
Misunderstanding of Subnet directive in hosts files
Hello! Could someone, please, explain to me the meaning of Subnet directive in configuration file of host, because I really don't understand this. http://www.tinc-vpn.org/documentation/tinc_4.html#Configuration "The subnet which this tinc daemon will serve."??? I assign an IP from apropriate subnet to interface, what does it mean "will serve"? I've read
2006 Nov 01
0
Misunderstanding samba [homes]
Samba do the -right- mapping of home-dirs to [homes] share -without- knowing th name of the users??? I'll try to explain: I have 2 winxp clients and a debian server with dpkg -l|grep samba ii samba 3.0.23c-2 running. the name of the xp boxes is borg, dir the users working there are gusi, brigitte gusi have a passwd (on the xp box), Linux account and samba-passwd - all the
2006 Jul 11
1
Misunderstanding with lines (or elsewhere)
Misunderstanding with lines(...) : http://7d4.com/r/ I would like the y coordinate of the horizontal line to be 1/4, and also the line to begin at x=0 and end at y=1. I'm obviously missing something ... so if anybody could help. Many thanks. test = function() { bmp('test.bmp', width=100, height=100) m = matrix(0, 2, 2) par(new=T, fig = c(0,1,0,1), mai=c(0,0,0,0), mar=c(0,0,0,0),
2008 Sep 21
3
[LLVMdev] Misunderstanding vector
I was re-reading the specification for extractelement and friends, and I notice that the index is restricted to i32. Since vectors might clearly have a larger number of elements on 64-bit platforms, I wonder if I am misunderstanding the intended use of these instructions. Is this indeed intended for vector and structure access in general, or is intended to support (only) more specialized SIMD
2010 Feb 02
1
S4 setClass / initialize misunderstanding
Hi, I recently ran into this problem. I couldn't find any mention of it in the setClass documentation. setClass("Foo", representation(file = "character")) setMethod("initialize", "Foo", function(.Object, file) { print(file) }) setClass("Bar", contains = "Foo") And the error: Error in print(file) : argument "file" is
2012 Sep 27
0
[LLVMdev] Possible bug or misunderstanding of feature LLVMConstIntOfString
Hi All I am a novice LLVM user trying to use LLVMConstIntOfString using the c api to get a integer of arbitrary size from a hexadecimal string. Example code follows: LLVMContextRef context = LLVMContextCreate(); LLVMValueRef value = LLVMConstIntOfString(LLVMInt64TypeInContext(context), "0x0000000f0000ffff", 16); This is working properly as expected. However I have noticed that
2012 Sep 25
1
Bug or misunderstanding of par(pin)?
Dear all, I am currently trying to create a plot showing multiple single plots, for which the important issue is that the size of each plot region (not figure region!) has to be of a fixed dimension (in my case: width=1 inch, height= 0.87 inches). I tried to use "pin" to fix the plotting region to a specific size, but without success. The following example will visualize the problem:
2005 Jul 20
0
Permissions problem/misunderstanding ... "Domain Admins" vs. Administrators
Hi, Using Samba 3.0.14a and AIX 4.3, I have been able to join PC's to the domain without any problem. It "just works". I am using local profiles, and serving login batch files from the server, and that "just works". So far, I'm a happy camper. Now, I am trying to understand permissions so that I can actually use the "moveuser.exe" command from the