Displaying 20 results from an estimated 11000 matches similar to: "storing attribute legal values in model and/or database"
2006 Jun 26
1
How to model attribute and attribute-value dependencies
I''m being sneaky and reposting this question; I got no anwsers perhaps
because I posted it over the w/end. I apologize for this but I''m
completely stumped and need either an answer or some clue about how my
approach is flawed. Thanks...
I have a rails application which has a table ''cells'' which contains
some 80 or so attribute fields (related to the electrical
2011 Jan 10
2
Calculating Portfolio Standard deviation
Dear R helpers
I have following data
stocks <- c("ABC", "DEF", "GHI", "JKL")
prices_df <- data.frame(ABC = c(17,24,15,22,16,22,17,22,15,19),
DEF = c(22,28,20,20,28,26,29,18,24,21),
GHI = c(32,27,32,36,37,37,34,23,25,32),
2006 Jun 28
1
Help with incoming SIP routing
Hello -
I currently have 10 DID's coming into one Asterisk server, I seem to be
having some difficulty routing based on the DID dialed and am hoping someone
on the list can assist me.
Here's the relevant info:
Ingress SIP trunk:
IP: 123.45.45.3456
DID's XXX-XXX-XX00-XX10
sip.conf:
[general]
useragent=Asterisk
port=5060
context=default
tos=lowdelay
disallow=all
allow=ulaw
2013 Mar 21
0
Problems parsing page encoded in Shift-JIS
I''m posting this question to both mailing lists as I''m not sure whether it''s a Mechanize problem or a Nokogiri problem.
Using Nokogiri and Mechanize to load and parse a web page encoded with Shift-JIS. I have an HTML construct like:
<head>
<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
</head>
<body>
2010 Jul 14
1
Arrange values on a timeline
I have a set of labels arranged along a timeframe in a. Each label has
a timestamp and marks a state until the next label. The dataframe a
contains 5 such timestamps and 5 associated labels. This means, on a
continious scale between 1-100, there are 5 markers. E.g. 'abc' marks
the timestampls between 10 and 19, 'def' marks the timestamps between
20 and 32, and so on.
a <-
2008 Aug 13
3
Search for (any of) multiple terms slow
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
this may be an obvious logical problem I'm not aware of, which cannot be solved
any more efficiently... but maybe it's just a bug or there is potential for
optimisation in Dovecot (or Thunderbird?).
When searching for multiple terms at once ("any of") with Thunderbird/Dovecot
(using FTS Squat indexes), it takes much longer (not
2010 Jul 14
2
Merging columns along time line
I am resending this, as I believe it has not arrived on the mailing
list when I first emailed.
I have a set of labels arranged along a timeframe in a. Each label has
a timestamp and marks a state until the next label. The dataframe a
contains 5 such timestamps and 5 associated labels. This means, on a
continious scale between 1-100, there are 5 markers. E.g. 'abc' marks
the timestampls
2006 Oct 27
3
Suppress blanks/spaces in character
Hi all
I'm have a character vector and would like to suppress the blanks if there are more than one after the other.
Example:
Character value is: "abc def ghi"
The result should be: "abc def ghi"
I know that it's possible to delete the leading blanks with the command "trim". But how can I delete blanks within a character?
Thank you very much in
2009 Aug 11
1
re placePatterns() for multiple words replacement in tm
Hi all,
I wonder how you can replace all words that need to be changed using
replacePatterns(). The following is my code. I want to replace both "abc"
and "def" to " Yes ". However, I can only replace the first occurrence in
sample[[1]].
> sample[[1]]
[1] abc def ghi
> change <- c("abc","def")
>
2014 Feb 03
1
[PATCH] hivex: python: value_value no longer generates Unicode strings
This fixes Github issue #2 reported by "kupiakos".
<https://github.com/libguestfs/hivex/issues/2>
---
generator/generator.ml | 2 +-
python/t/210-setvalue.py | 26 +++++++++++++++++---------
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/generator/generator.ml b/generator/generator.ml
index 908c5f3..02aaf12 100755
--- a/generator/generator.ml
+++
2011 May 24
3
[Bug 8162] New: MKDIR Fail
https://bugzilla.samba.org/show_bug.cgi?id=8162
Summary: MKDIR Fail
Product: rsync
Version: 3.0.7
Platform: x86
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: yannick at magikdo.com
QAContact: rsync-qa at
2015 Aug 24
0
Shortcomings of Maildir++ layout
On Sun, 23 Aug 2015, Hadmut Danisch wrote:
> astonished to see, what problems come with Maildir++ and how complicated
> dovecot tries to deal with them.
..
[fast fwd to "solution"]
> INBOX -> ~/mail/inbox
> abc -> ~/mail/abc
> abc/def -> ~/mail/abc.dir/def or ~/mail/___abc___/def
This would not work.
For example, how would you handle a folder
2005 Aug 15
3
How to repeat code snippet for several variables in a data frame?
Dear all,
I have a data frame containing the results of an experiment. Like this:
a<-seq(1,4,by=1)
b<-seq(1,2,by=1)
test<-expand.grid(b,a,a)
colnames(test)<-c("replicates","bins", "groups")
test$abc <- rnorm(32)
test$def <- rnorm(32)
test$ghi <- rnorm(32)
test
The following code snippet aggregates the data for one variable and then
draws a
2015 Nov 18
2
Shortcomings of Maildir++ layout
> Sounds more like you just introduced a new self-created problem that
would require yet another workaround.. ;-)
Definitely wrong.
Appending .dir to directories and .folder to folder files keeps files
completely distinct and name collissions are not possible.
> But what was not clear from your mail, is what exactly you identified
as "the problems" with standard Maildir++
2010 Jul 21
1
Lattice Panel Print Order
Hi,
I have done a bit of searching and have not found a good answer for my question. Although I have not difficulty ordering the panels, Lattice prints them from bottom to top and left to right for each page. Is it possible to make it print from top to bottom for each page?
I've tinkered with index.cond and tried reordering the panels, but I don't see a way to do it on a page by page
2010 Jun 15
0
Dovecot passdb LDAP queries
Hi:
When runs dovecot, I can see that dovecot sends two ldap queries to my
OpenLDAP server and establishes one conection, however when test my
dovecot-ldap configurarion with telnet My OpenLDAP server don't
received ldap request from my clients.
dovecot-auth process need special permissions?.
my dovecot-ldap.conf file is wrong?.
Any suggestion ?
Thanks.
My Telnet messages are:
* OK
2019 Nov 05
0
[Bug 14183] New: rsync fails transferring only attributes for file without write permission
https://bugzilla.samba.org/show_bug.cgi?id=14183
Bug ID: 14183
Summary: rsync fails transferring only attributes for file
without write permission
Product: rsync
Version: 3.1.3
Hardware: x64
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P5
Component: core
2012 Aug 27
4
?nchar ?strsplit
Hi, my data frame is
x<-data.frame(ID=c("abc/def","abc/def/ghi","abc","mno/pqr/st/ab"))
I want to split my column ID using "/" as the place to split. How can I do that without telling the code how many sub-columns. I could use nchar(gsub("[^/]","",x$ID)) to get how many "/" are in each row of the column, but could
2009 Oct 02
3
break up a string into strings with a fixed length
dear all,
I have some very long strings and would like to break up each long string
into multiple strings with a fixed length, e.g. to break up
abcdefghijkl
into
abc, def, ghi, jkl
I tried a couple of commands but was not successful. Any help will be
appreciated.
Best,
Jimmy
--
View this message in context:
2019 Jan 17
1
[hivex PATCH] ruby: improve test functions
Use better functions to check for proper values instead of assert:
- refute_nil for non-null functions
- assert_equal for checking equality
Also, make sure that the parameters for assert_equal are correct:
expected value, then got value.
---
ruby/tests/tc_120_rlenvalue.rb | 4 ++--
ruby/tests/tc_130_special.rb | 12 ++++++------
ruby/tests/tc_200_write.rb | 4 ++--