Displaying 20 results from an estimated 28 matches for "my_nam".
Did you mean:
my_name
2006 Jun 17
4
Simple tutorial weirdness
...re thrown my the page shows:
Howdy, world! My name is Stuart Felenstein.
This was verified at .
So no time stamp showing. I went into IRB , did a Time.now() and it''s
working there so am I missing something ?
In my controller:
class NamerController < ApplicationController
def index
@my_name = ''Stuart''
end
def timestamped
@my_name = ''Stuart''
@the_timestamp = Time.now()
end
end
In my view
<html>
<head>
<title>
I''m timestamped at <%= @the_timestamp %>
</title>
</head>
<body>
Howdy, world! My name is...
2011 Jan 14
1
Help on a Display function
>
I wanted to simulate the Matlab DISPLAY function for some time now.
After seeing a recent proposal by Gabor Grothendieck I came up with the
following solution,
display <- function(...) {
my_names <- lapply(substitute(placeholderFunction(...))[-1], deparse)
for (my in my_names) cat(my, "=", eval(parse(text=my)), "\n", sep=" ")
}
that works about as good as I would have hoped:
> a <- 1; b <- a + 1
> display(a, b, sin(1))
a = 1...
2010 Mar 21
0
[PATCH] core: use MY_NAME for syslinux_banner
Use MY_NAME for syslinux_banner in isolinux and pxelinux.
This is already done in ldlinux and extlinux.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
diff --git a/core/isolinux.asm b/core/isolinux.asm
index ef7d92d..23429bd 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -1034,7 +1034...
2005 Dec 13
0
Re: gethostbyname(my_name) and IL2-Sturmovik
> Ok, I've just checked doing the same thing under windows.
>
> The test(ripdaveno is the name of the Computer I tested on):
>
> {
> ...
> hostent* h = gethostbyname("ripdaveno");
> char* str = inet_ntoa(*((in_addr*)h->h_addr_list[0]));
> ...
> }
>
> The string in str was "192.168.2.75" which is my Network IP-Adress. With
>
2007 Mar 21
4
Bug in TextCtrl constructor
...while using WxSugar but it appears to apply to WxRuby itself
as well). Here''s the output from irb:
# ------
irb(main):001:0> require ''wx'';
irb(main):002:0* ctl =
Wx::TextCtrl.new(nil,-1,"",Wx::DEFAULT_POSITION,Wx::DEFAULT_SIZE,0,Wx::DEFAULT_VALIDATOR,"my_name")
=> #<Wx::TextCtrl:0x2e7a188>
irb(main):003:0> puts ctl.get_name
=> nil
# That should have printed "my_name"
# -----
It''s not a show-stopper, though, as you can just assign to ctl.name.
This bug shows up when you are trying to do
<Wx::Window>.find_w...
2017 Apr 20
4
FUNCION "SI" en R
Hola a todos
Primero que todo, gracias por todos los consejos, me han servido ene.
Mi pregunta es la siguiente:
Como armar una función lógica "SI" PARA CAMBIAR LOS NOMBRES A LOS HEADER
Por ejemplo, si tengo una tabla así;
a
b
c
d
1
3
4
6
2
4
6
7
a= "pluvio mensual"
b= "carga de batería"
c= "temperatura"
d= "radiación".
La idea es
2019 Sep 06
2
Cambiar el nombre de las variables de forma automática
Buenas tardes. Tengo una base de datos con 3200 variables. El nombre de
todas ellas tiene un punto. Por ej., Canis.aureus. ¿Es posible cambiar ese
punto por un espacio, en todas ellas, de forma automática? Esa quedaría
así: Canis aureus
Gracias
[[alternative HTML version deleted]]
2006 Jul 13
2
Kerberos Keytab Code Update in 3.0.23
First thing - I'd like to say a big "THANK YOU" to the developers.
I just upgraded to samba-3.0.23 and I've noticed an alarming issue with
respect to my configuration.
I've been using the built-in keytab management and it looks like the updated
code no longer creates the userPrincipal in Active Directory.
Whether this is an issue for others or not, it would be nice to have
2005 Sep 19
1
Two strange behaviours with dovecot+postfix+squirrelmail
...d is the following:
Sep 16 15:09:27 mail imap(username): mkdir_parents(/home/username//mail/.imap/Trash) failed:
Permission denied
I never stated that .imap/Trash when configuring dovecot and the strangest thing is that my
account, as most of others, can delete messages moving from /var/spool/mail/my_name to
/home/my_name/mail/Trash
Number 2. Randomly, some users connecting from Mozilla Thunderbird via IMAP get an error
message telling that there has been an error connecting to INBOX. Watching the maillog I
found the following:
Sep 16 13:07:43 mail imap(otheruser): File isn't in mbox format:...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...--- a/drivers/pci/hotplug/acpi_pcihp.c
+++ b/drivers/pci/hotplug/acpi_pcihp.c
@@ -24,6 +24,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
@@ -36,10 +38,11 @@
#define MY_NAME "acpi_pcihp"
-#define dbg(fmt, arg...) do { if (debug_acpi) printk(KERN_DEBUG "%s: %s: " fmt , MY_NAME , __func__ , ## arg); } while (0)
-#define err(format, arg...) printk(KERN_ERR "%s: " format , MY_NAME , ## arg)
-#define info(format, arg...) printk(KERN_INFO &qu...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...--- a/drivers/pci/hotplug/acpi_pcihp.c
+++ b/drivers/pci/hotplug/acpi_pcihp.c
@@ -24,6 +24,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
@@ -36,10 +38,11 @@
#define MY_NAME "acpi_pcihp"
-#define dbg(fmt, arg...) do { if (debug_acpi) printk(KERN_DEBUG "%s: %s: " fmt , MY_NAME , __func__ , ## arg); } while (0)
-#define err(format, arg...) printk(KERN_ERR "%s: " format , MY_NAME , ## arg)
-#define info(format, arg...) printk(KERN_INFO &qu...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...--- a/drivers/pci/hotplug/acpi_pcihp.c
+++ b/drivers/pci/hotplug/acpi_pcihp.c
@@ -24,6 +24,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
@@ -36,10 +38,11 @@
#define MY_NAME "acpi_pcihp"
-#define dbg(fmt, arg...) do { if (debug_acpi) printk(KERN_DEBUG "%s: %s: " fmt , MY_NAME , __func__ , ## arg); } while (0)
-#define err(format, arg...) printk(KERN_ERR "%s: " format , MY_NAME , ## arg)
-#define info(format, arg...) printk(KERN_INFO &qu...
2009 Aug 05
2
[LLVMdev] Dominator error inserting instructions into BasicBlock
...so that we know what to store
ValueSymbolTable* vst = first_block->getValueSymbolTable();
IRBuilder <> builder(first_block);
for (ValueSymbolTable::iterator vst_it = vst->begin(); vst_it !=
vst->end(); vst_it++) {
AllocaInst* store_var = builder.CreateAlloca(type,
0,my_name.c_str());
builder.CreateStore(symbol, store_var, true);
}
//Put a terminator on the block
builder.CreateRetVoid();
This builds fine, but I get dominator issues when I try to test it
with opt.
I'm sure that I just don't understand all of the constraints on the
IR, but
I w...
2006 Mar 15
2
Using form_remote_tag, setting the form name
I''m using form_remote_tag like this:
<%= form_remote_tag \
:update => "div_id_dataentry_bottom_ajax",
:loading => "document.getElementById(''wait'').innerHTML=''Loading...'';",
:url => { :action => "dataentry_bottom_edit" } %>
And it makes this code:
<form
2005 Sep 16
0
Two strange behaviours with dovecot+postfix+squirrelmail
...d is the following:
Sep 16 15:09:27 mail imap(username): mkdir_parents(/home/username//mail/.imap/Trash) failed:
Permission denied
I never stated that .imap/Trash when configuring dovecot and the strangest thing is that my
account, as most of others, can delete messages moving from /var/spool/mail/my_name to
/home/my_name/mail/Trash
Number 2. Randomly, some users connecting from Mozilla Thunderbird via IMAP get an error
message telling that there has been an error connecting to INBOX. Watching the maillog I
found the following:
Sep 16 13:07:43 mail imap(otheruser): File isn't in mbox format:...
1999 Oct 29
1
LinuxBox can't appear in Net neighbourhood.
...method!
But I can't see it in network neighbourhood!
I've tried "net view /workgroup=MY_LINUXBOX_DOMAIN",still can't see.
Why?(In my linuxbox,the dns resolve doesn't work.does that matter?)
The following is my global section
[global]
workgroup = SOME_DOMAIN
netbios name = MY_NAME
public = yes
server string = COMMENT
hosts allow = OUR_SUBNET
security = share
encrypt passwrods = yes
socket option = TCP_NODELAY
interfaces = MY_IP/SUBMASK
local master = no (I also have tried "yes")
domain master = no (I also have tried "yes")
wins server = WINS_IP_OF_OUR_SU...
2006 Jun 15
3
how to give a form a name
Using a <%= form_tag ... %>, how do I give a form a name, so that I can
reference it with javascript? I sure can''t figure this out from the docs...
Thanks,
Shelby
PS - what I am trying to do is just have the focus in the first form field
when the form is loaded. There has to be an easy way to do this, but I
can''t figure it out...
-------------- next part --------------
2019 Jun 04
3
Incluir un rango de varias variables explicativas a un modelo
Hola, gracias por la respuesta,
No me funcionó debido a que los nombres de las variables no están seriadas,
es decir, los nombres de las variables son del tipo: x23 x25 x30, x301
x320, x80. Entonces me da este error:
Error in eval(predvars, data, env) : object 'pot24' not found. Debido a que
pot24 no existe, ya que de pot23 se brinca a pot30.
En Stata es algo muy simple de hacer, solo
2006 Feb 21
1
Custom forms and fieldWithErrors tags
Hi,
(probably) A newbie questions:
I have a form where a user can choose an email address, but there are only
some choices for the domain, so I wrote a helper where the local part of the
email is a text field and the domains is a dropdown list, like:
Select Email: [ my_name ] @ <domain.com>
..which I defined as a helper:
def email_form(tagname, domain_list)
text_field(tagname,"local_part", :size => 15) + " @ " +
select(tagname, "domain_part", domain_list)
end
In the database however I only have one email_addres...
2011 Feb 09
2
Insert variable in RMySQL-Statement
Dear list,
I'm working with a MySQL-Table and would like to extract selected ids that are stored in a vector:
Ids <- c(1,2,3)
How do I insert this variable in a for loop like this:
For (a in values) {
Temp <- dbGetQuery(con,
"select * from db
Where id = <ID>";)
}
My problem is to split the select-statement and insert the current id. How can I handle this problem?