search for: fieldname

Displaying 20 results from an estimated 88 matches for "fieldname".

Did you mean: field_name
2017 Jul 13
2
Help with R script
Dear R-help Group Scenario 1: I have a text file running to 1000 of lines...that is like as follows: [922] "FieldName: Wk3PackSubMonth" [923] "FieldValue: Apr" [924] "FieldName: Wk3PackSubYear" [925] "FieldValue: 2017" [926] "FieldName: Wk3Code1" [927] "FieldValue: " [928] "FieldValue: K4" [929] "FieldName: Wk3Code2" [930] &...
2017 Jul 13
0
Help with R script
...lever, but it gets the job done using R. HTH Ulrik On Thu, 13 Jul 2017 at 13:13 Vijayan Padmanabhan <V.Padmanabhan at itc.in> wrote: > > Dear R-help Group > > > Scenario 1: > I have a text file running to 1000 of lines...that > is like as follows: > > [922] "FieldName: Wk3PackSubMonth" > > [923] "FieldValue: Apr" > > [924] "FieldName: Wk3PackSubYear" > > [925] "FieldValue: 2017" > > [926] "FieldName: Wk3Code1" > > [927] "FieldValue: " > > [928] "FieldValue: K4&q...
2017 Jul 13
2
Help with R script
...On Thu, 13 Jul 2017 at 13:13 Vijayan Padmanabhan <V.Padmanabhan at itc.in> wrote: > > Dear R-help Group > > > Scenario 1: > I have a text file running to 1000 of lines...that > is like as follows: > > [922] "FieldName: Wk3PackSubMonth" > > [923] "FieldValue: Apr" > > [924] "FieldName: Wk3PackSubYear" > > [925] "FieldValue: 2017" > > [926] "FieldName: Wk3Code1" > > [927] "FieldValue: "...
2017 Jul 14
0
Help with R script
...n <V.Padmanabhan at itc.in > > > wrote: > > > > > Dear R-help Group > > > > > > Scenario 1: > > I have a text file running to 1000 of lines...that > > is like as follows: > > > > [922] "FieldName: Wk3PackSubMonth" > > > > [923] "FieldValue: Apr" > > > > [924] "FieldName: Wk3PackSubYear" > > > > [925] "FieldValue: 2017" > > > > [926] "FieldName: Wk3Code1" >...
2007 May 09
0
How can I specify the selected value in collection_select when fieldname different than variable?
...d what I''m looking for. Below is my code, as you can see my field and select names are "phone_#" where # is the iteration index, but the actual variable is "phone". Main form snippet [code] <h2>Phones</h2> <table> <% n = 0 for phone in @phones do fieldname = "phone_#{n}"; %> <tr><td>Number:</td><td> <%= text_field_tag fieldname, phone.number%></ td> <td><%= get_phone_types fieldname%></td></tr> <% n += 1 end %> <table> [/code] helper with get_phone_types [code] #...
2005 Sep 24
2
Asterisk returns 484 ADDRESS INCOMPLETE for incoming SIP calls
...1 PCMA Media Format: ITU-T G.729 Media Format: 96 Media Format: 97 Media Format: 98 Media Format: 100 Media Format: 101 Media Attribute (a): rtpmap:0 PCMU/8000 Media Attribute Fieldname: rtpmap Media Attribute Value: 0 PCMU/8000 Media Attribute (a): rtpmap:2 G726-32/8000 Media Attribute Fieldname: rtpmap Media Attribute Value: 2 G726-32/8000 Media Attribute (a): rtpmap:4 G723/8000 Media Attribu...
2006 Feb 23
3
Codec order sent wrong from Asterisk
...Media Proto: RTP/AVP Media Format: GSM 06.10 Media Format: ITU-T G.729 Media Format: 111 Media Format: ITU-T G.711 PCMA Media Format: ITU-T G.711 PCMU Media Attribute (a): rtpmap:3 GSM/8000 Media Attribute Fieldname: rtpmap Media Attribute Value: 3 GSM/8000 Media Attribute (a): rtpmap:18 G729/8000 Media Attribute Fieldname: rtpmap Media Attribute Value: 18 G729/8000 Media Attribute (a): fmtp:18 annexb=no Media Attribute Fieldname: fmtp...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...pe-1-boot-loader-specification-entries + */ + +#include <ctype.h> +#include <stdlib.h> +#include <string.h> +#include <stdio.h> +#include <dprintf.h> +#include "refstr.h" +#include "bls.h" + +const char *get_bls_field(struct blsdata *bd, const char *fieldname) { + if (!bd || !fieldname) + return NULL; + + if (strcmp(fieldname, "filename") == 0) + return bd->filename; + if (strcmp(fieldname, "title") == 0) + return bd->title; + if (strcmp(fieldname, "version") == 0) + return bd->version; + if (strcmp(...
2006 Jul 02
7
How can I intercept attribute calls?
Hi. I have two types of fields in my database, e.g. "name" and "name_ru". First one is a user''s name in english and the second one is in russian. I want to intercept calls like "c.name" and add "_ru" to it if current language is russian (I have my own Locale class like n Globalize). So I want such thing: -- Locale.set("en-US") c.name
2006 Feb 06
0
Sorting records from multiple tables, on different fieldnames
...'s known as an "unforeseen requirement", otherwise known as the "Actually, you know what *would* be great, and we *should* have requested this up front..." request. Grrr! Is there a reasonably elegant Rails-ish or Ruby-ish way to do this (bearing in mind the different date fieldnames in each table), or should I resort to something like: @eventsA = A.find(:all) @eventsB = B.find(:all) @eventsC = C.find(:all) @events_all = @eventsA.push(@eventsB).push(@eventsC) @events_all.each do |event| try # See if the datedue field exists in this record; rescue if not... if even...
2006 Jan 03
3
Global functions and variables.
Hey People, I''m fairly new to Rails and have perhaps an obvious question. I would like to know if there is a place that I can declare variables and methods that are globally available to all controllers. My main reason for this is I like to auto generate select boxes based off of the contents of a hash and would like to be able to do this in all views in all controllers, so that I do not
2007 Jan 11
5
stop words in query
Hello all, Quick question, I''m using AAF and the following custom analyzer: class StemmedAnalyzer < Ferret::Analysis::Analyzer include Ferret::Analysis def initialize(stop_words = ENGLISH_STOP_WORDS) @stop_words = stop_words end def token_stream(field, str) StemFilter.new(StopFilter.new(LowerCaseFilter.new(StandardTokenizer.new(str)), @stop_words)) end However when
2004 May 10
3
sqlSave with underscores in table fieldname
Hi group, I try to write a frame to a table (RODBC). I use colnames(temp6) <- c("ind_id","ser_id","period_id","year","calc","mean") sqlSave(channel, temp6, tablename = "series_indices_test",append= TRUE, rownames=FALSE, verbose = FALSE, test = FALSE, nastring = -999999, fast = FALSE) This is giving me an error: Error in
2015 Feb 11
2
[RFC 0/2] virtio_pci: patches never to apply.
This should allow testing when QEMU gets VIRTIO_PCI_CAP_PCI_CFG support, but I'm pretty sure we should never allow these patches upstream. Tested with lguest (in virtio-next), which supports VIRTIO_PCI_CAP_PCI_CFG. Rusty Russell (2): virtio_pci: abstract all MMIO accesses. virtio: Introducing virtio_pci.no_mmio, the worst boot option in history. drivers/virtio/virtio_pci_common.c |
2015 Feb 11
2
[RFC 0/2] virtio_pci: patches never to apply.
This should allow testing when QEMU gets VIRTIO_PCI_CAP_PCI_CFG support, but I'm pretty sure we should never allow these patches upstream. Tested with lguest (in virtio-next), which supports VIRTIO_PCI_CAP_PCI_CFG. Rusty Russell (2): virtio_pci: abstract all MMIO accesses. virtio: Introducing virtio_pci.no_mmio, the worst boot option in history. drivers/virtio/virtio_pci_common.c |
2006 Jun 12
2
conditional validation
Hi how can I validate a field only if another field is set to a specific value? I tried to use validates_length_of :fieldname, :maximum => 100, :if => :otherfieldname == ''myvalue'' But doesn''t work Thanks Paolo
2013 Jan 29
2
converting XML document to table or dataframe
...ument to a list. I am "stuck" trying to convert the document into a "2-dimenional" table or dataframe. What is a "good" way to convert the XML document to a 2-dimensional table or data.frame? Ideally, I'd like a table with 1 row for each XML document, and unique fieldnames. If fieldnames repeat, I'd like the names to be numbered sequentially e.g. $nonDerivativeTable$nonDerivativeTransaction$transactionAmounts$transactionPricePerShare$value_1 $nonDerivativeTable$nonDerivativeTransaction$transactionAmounts$transactionPricePerShare$value_2 $nonDerivativeTable$non...
2008 Dec 10
1
Oddness with fieldnames containing an underscore
Hi all, I''m not sure if this is a cucumber or webrat thing given that I only starting tinkering with both last night for the first time (testing newb as well), but I''ve come across an oddity when trying to write a scenario to create a user. Scenario: Register new user Given I am on the new user page And I fill in "login" with "fredf"
2005 Nov 10
4
write.table read.table with Dates
...everal files, now I want to store the result I have in data.frame Tall and be able to retrieve this quickly some other time. This is what I do: write.table(Tall, file="somefile.csv", sep=",", qmethod="double", row.names=FALSE) Later, I do this to read the file again: fieldnames=c("Begin","test-a","test-b","Eind") T=read.table(file = "somefile.csv", col.names = fieldnames, header = TRUE, sep = ",", quote="\"", fill=FALSE) I understand T$Begin now is a factor. I tried to simply convert it again u...
2009 Sep 30
2
C++ parser for doc.get_data() result.
Xapians! Did anybody wrote and would like to share a routines that parse result from doc.get_data() into some key and pair values in C++ ? Code: Xapian::Document doc = i.get_document(); string data = doc.get_data(); mymap = parse_result(data); As you know the data string contain all the data within the document delimited by "=" sign and "\n" new line and needs to be parse