similar to: all elements of an array

Displaying 20 results from an estimated 11000 matches similar to: "all elements of an array"

2009 Nov 30
1
how to solve a problem in R this problem?can someone help me
Census from 1990 california in USA. It?s a data frame with data from 20640 zones from Calif?rnia. Zones are chosen as being geograficly near, wich one with 1500 persons (mean). For each zone are provided several informations in the colums from data frame: - longitude e latitude from the geografic centre - median age of houses in the zone (housingMedianAge) - total number of houses in the na zone
2006 Apr 13
7
Complex SQL in paginate command?
Hi all, Is there a way to create pagination with a complex SQL, more complex than the :conditions option will support? I have two databases, houses and images. Houses has_many images, and each Image belongs_to house. I''m creating a search engine for the house records and I''d like to be able to filter out all the houses without any associated images. So far I''m
2013 Oct 10
2
pom for 0.5.1
H, I am using libvirt from maven using a nexus proxy pointing to http://www.libvirt.org/maven2/ It downloads the jar fine but is expecting libvirt-0.5.1.pom (and ...sha1). In the proxy only the jar appears. When I download and rename the pom to my local .m2 cache my build works fine. Is this a bug in the distribution of libvirt in its maven repo or is my dependency wrong somehow? Kind regards,
2006 Jun 13
7
ActiveRecord attribute= overload
I want to overload the = operator for one of the attributes in a model to run a filter on the input. However I can''t do this: def attribute=(data) self.attribute = filter(data) end because that creates an infinite recursive loop. How do I get around this? -- Posted via http://www.ruby-forum.com/.
2020 Aug 22
2
Metric label values truncated when using OpenMetrics endpoint
Hi, Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric like this: metric imap_command { event_name = imap_command_finished group_by = cmd_name tagged_reply_state user remote_ip } And enabled the OpenMetrics listener like this: service stats { inet_listener http { port = 5000 } } While the result is great, I noticed that some metrics are being truncated
2006 Mar 18
4
new user.presentation
Hi, I''m creating an RoR application right now and i''ve got the following question: An user has one presentation. So i''ve got an user table and in that table is an field fkPresentationID. Now i want to create an new user and at the same moment an new presentation for that user. I thought it would work with something like this, but it didn''t work. @user =
2020 Aug 25
2
Metric label values truncated when using OpenMetrics endpoint
Hi Jeff, Thanks for your reply! Regarding grouping by remote address, I understand and for now I'll keep a close eye. Maybe it's an option to group by /24 for ipv4 and /64 for IPv6? We currently do that based on the logs but the OpenMetrics endpoint seem a lot easier. A slight hijack of the original question: but I tried to log only IP addresses (+ result) of failed login attempts but
2006 Apr 05
7
select_tag - populating options
Hello, I want to a select tag, where you can choose a number between 1 and 100. My inital code is based on the examples from Agile Web Development with Rails, and looks like this: view: <%= options = [["Select number of lines", ""]] + RfqLines::LINE_QTY select("rfq_line", "line_qty", options) %> model: LINE_QTY = select_fill def
2006 Apr 14
3
Rails deployment
Hi all, I''ve greated a rails application and i want to deploy it right now. I have to use a windows 2003 server.. So i installed i''ve used the following tutorial: http://wiki.rubyonrails.com/rails/pages/RailsOnWindows My application is running at : http://loc.iwsweb.nl But everytime i connect it opens a ruby process but at the end it won''t kill it. As you can see
2006 Feb 01
3
XML on a external website
In my rails application i want to fetch an external xml file So my website www.test.com needs an xml file from www.example.com/xml.asp?query=hallo. In my rails application i want to fetch and handle this file as an xml object. Can anyone help me? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Mar 21
4
Determining Browser?
Is there a way I can read the user agent or something similar to determine whether the person is using IE, Mozilla/Netscape, Opera, Safari, etc? I want to dynamically output the CSS to the browser, but I''d like to change certain things (in this case the widths of some divs since IE adds borders and padding size to the total size of a div unlike firefox). Thanks, - Brent
2014 Feb 08
2
[LLVMdev] selecting ISD node - help
Hey, I wanted to add an intrinsics to read MSRs. So I added the intrinsics and lowered it to a new ISD node I created ISD::RDMSR, its first operand is the MSR id. I added a case in X86DAGToDAGISel::Select for ISD::RDMSR. Now I know rdmsr works like so: mov r/ecx, <id> rdmsr r/eax holds the lower 32/64 bit >From what I understood this needs a Token Factor node, nodes which are
2006 Jun 22
12
invalidating a session on multiple login
How do I do the following: if a user is logged in, then opens another browser tab and logs in again (either as himself or as someone else), I want to invalidate the session in the first tab and throw up a "logged in from another browser window" screen. RIght now, user1''s session silently becomes a duplicate user2 session instead (from what I understand, sessions are bound to
2004 Aug 01
4
help on ADSL shaping
Hi I have read the howto on qdisc''s a few times but I cant figure out how to use the shaping capabilities to serve my needs. In the village whera I live we have created a wireless local network consisting of 10 houses. One of these houses has an ADSL connection and services this connection to the other houses. To gain access to the network a member must have an accesspoint in client mode,
2006 May 05
1
� to &euro;
Hi, I know a noob question, but i can''t find the function for it. When someone uses a € in a textbox i want in the database &euro; sign. Does anyone knows the function for it? Thanks, Daan -- Posted via http://www.ruby-forum.com/.
2005 Dec 14
1
Need help for a statistical problem
Hello Dear I need to select among 700 objects a good representative sample. These objects could be residential houses, commercial buildings, trucks, etc. How to get a good sample size and select a set of objects that is very representative. The second part of my question is to find a statistical model in R that detects objects that are most likely used as their owners told the municipality. For
2006 Apr 04
4
Find records based on associated table''s colums
Hello, Let''s say I have a model for a "house". Each house has_a "city", which in turn has_a "state" which in turn has_a "country". The objective is to retrieve all houses in a given state, say "Massachusetts". Being new to Ruby on Rails what I like is that things that should be simple usually are simple, and since we have easy access to
2006 Apr 20
7
AJAX/RJS Updating of Table Rows
I''m trying to update a table row (i.e. replace a <tr></tr>) using AJAX/RJS but of course this cannot be done in IE (works fine in Firefox). I have googled but have not found any solutions, only a lot of discussion. Does anyone have a solution to this problem? Cheers, Nicholas
2019 Sep 12
2
Side-channel resistant values
Hello all, Many of us are dealing with data that should remain secret on a daily basis. In my case, that's key material in cryptographic implementations. To protect against side-channel attacks. We write our code in such a way that the execution of the program is not dependent on the key and other secret values. However compiler optimizations often makes this very hard for us, and often our
2006 Apr 01
3
has_and_belongs_to_many construction
Hi there, I''ve got a table construction like this: presentation contactstate Hilton new Mc Donalds emailed etc. called visited etc. Now i''ve created an join table presentationcontactstate with extra fields like comment and date time. so i know for example when i called a specific presentation. Now