Displaying 20 results from an estimated 3000 matches similar to: "grep or other complex string matching approach to capture necessary information..."
2011 Dec 27
2
comparing fields within a record
Hi,
I hope this isn't a really simple question, I've been struggling with it
for a while.
I'm looking for a way to get a function to go through a data frame line by
line, compare fields, and produce a result, kind of a transform and an if
statement combined (I tried to put them together and it didn't work).
So, consider data Sales:
House number Inspected Sold
1
2004 Oct 27
1
regexp,grep: capturing more than one substring
Hello,
I would like to have a function that retrieve matching strings in the same way as with java.util.regex (java 1.4.2).
Example:
f('^.*(xx?)\\.([0-9]*)$','abcxx.785')
=>
c('xx','785')
First of all: Is it possible to achiev this with grep(... perl=TRUE,value=TRUE )?
As I would call this function very often with large data, I'm reluctant to use Sjava
2006 Nov 16
2
test unit approach?
I''m just getting back to looking at backgroundrb after a long hiatus
since June. I''m looking at creating some workers but I''m a bit stuck
as to how I should write tests for them. What''s the recommended
approach for unit testing of workers?
The project will ultimately be used by a Rails app but I''m
comfortable developing the worker code as a
2007 Jan 28
1
Is this the best approach?
Hello,
I''m working on a Rails app with a fairly complex set of model
relationships. I''m abandoning my MySQL based search mechanism for
Ferret/acts_as_ferret in the hopes of being able to more easily and
effectivly enable searching. Before I get coding I was wondering if you
folks might be able to tell me if my plan makes sense, or what could be
a better way. The situation is as
2006 Jul 20
2
Authentication & Authorisation - Whats the common approach?
Hi,
Just wondering what the most popular approach is for authentication and
authorisation in a rails application that is deployed and fronted by
apache? Also when there are say a couple of rails apps being hosted.
Authentication
==============
[1] Options would seem to include:
* Do it within rails/your app? Use of a "before_filter" per the Rails
Recipes book
* Use of Apache to
2006 Jun 24
0
Best approach for loading a data object into mysql?
I wrote a rexml script that parses rather big xml files (DOM parsing) and
builds an object out of them. This is what it looks like after i parse the
xml file and display the object:
[#<Article:0xb79e7428 @brand="This is a story from ", @id=5337,
@fblurb="burb", @ntype="news type here", @copy="Copyright \302\251 2006 ",
@source="source",
2006 May 16
0
DB to XML to HTML: What''s the RoRing approach?
My app lets users fill in some forms and then creates an XML file from the data they enter. I''ve got the XML file saved on the server, and I''ve got the data they entered sitting in the database. Now I need to create an HTML file from that same data.
What''s the Rails way?
Is there an XSL transform function somewhere I could use on the XML file? Or should I go back
2006 Mar 22
0
Time table models and querying approach
I doing an app to allow people to search bus time tables by bus stop and
time.
My models are:
Providers -> Services -> Runs -> Stops <- Stations
Key:
"->" denotes a one to many
Providers = Bus companies
Services = the bus number
Runs = Columns on a bus time table
Stops = Cells on a bus time table, basically a time
Stations = Rows on a bus time table
StationA 10:00
2004 Oct 23
0
Perhaps a different approach for win32-ipc
Hmm...what about creating the block in the constructor?
e = Event.new{ puts "Hello" }
e.set(0) -> "Hello"
e.close
Well, I''ll try to hang out on IRC this weekend much of the time if anyone
wants to join me to discuss this in more detail. Look for me in #ruby-lang
or #win32 on freenode.irc.net
Dan
2007 Apr 18
0
approach to Iraq 1
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 9768 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/virtualization/attachments/20060922/d57d8b9b/attachment.png
2012 Nov 08
0
Current recommended approach to "chat room"-type app?
Hi,
I''ve been googling around looking for a good approach to doing live
updates of my webpage. I''ve got a fairly extensive application
already, using traditional rails, and I''d like to have a page update
in real-time, hopefully without having to completely rewrite the app.
One of the most promising approaches looks like Faye, but the
railscast I saw was from 10 months
2011 Sep 30
1
Advice on approach to weighting survey
I'm about to add weights to a bus on-board survey dataset with ~150 variables and ~28,000 records. My intention is to weight (for each bus "run") by boarding stop and alighting stop. I've seen the Rake function of the Survey package, but it seems that converting to a "svydesign" might be excessive for my purpose.
My dataset has a huge number of unique
2012 Oct 23
0
SPI using Nonparametric Approach
Dear r-users,
Any such a way that we can compute SPI using kernel function (nonparametric
approach) without assuming any parametric distributions?
Any existing package for above method using R?
Thank you for your help.
Fayyad
[[alternative HTML version deleted]]
2011 Jun 25
0
High volume photo resizing - best approach
Hi, does anyone have experience with or could recommend:
1. The best approach to build an app for uploading and resizing a high
volume of photos contributed by users.
2. An uploader to allow users to upload multiple photos at a time vs
one at a time.
3. Best image processor. I''ve been told by a friend that Mini Magick
performs best under high load, would be interested in any real world
2018 Apr 12
0
Which code coverage approach is suggested from LLVM
Hi,
I see there are multiple code coverage solution infras supported by LLVM.
* LLVM native support code coverage (Source-based code coverage)
* Gcc’s/gcov native code coverage support and
* Sanitizer coverage
All 3 of them are quite different. So, in terms of future support and technical aspects wise, would you please help me understand which one is preferred one? I am basically
2011 Dec 13
0
[LLVMdev] New, incremental, approach to release notes
Hi All,
Producing release notes at the end of the release is a becoming more of a problem as the project grows. I've been doing this by going through all of the LLVM commits since the last release and pulling out things that I find interesting and potentially impactful to people. However, as the project grows and there are more commits, this has been becoming less and less practical.
To
2013 Sep 14
1
[LLVMdev] Publication: LLVMVF: A Generic Approach for Verification of Multicore Software
Dear all,
I'm happy to share a recent publication on a bounded model checker for
concurrent programs represented in LLVM IR that integrates the verification
framework that I'm developing:
Marcelo Sousa, and Alper Sen, LLVMVF: A Generic Approach for Verification
of Multicore Software. Journal of Electronic Testing: Theory and
Applications, September 2013. (
2013 Jan 20
0
[LLVMdev] Clang's approach to anonymous struct pointer parameters
Hi Rick,
this is a bug in Clang's LLVM-IR code generator:
http://llvm.org/bugs/show_bug.cgi?id=14920
Best,
Florian
On Sunday, January 20, 2013 01:57:37 Rick Mann wrote:
> For the following code:
>
> struct XBeePacket;
>
> typedef void (*CompletionProc)(XBeePacket* inPacket, void* inParam2);
>
> struct
> XBeePacket
> {
>
2009 Aug 04
0
Lotus Approach Works
I did an install of Lotus Approach from the SmartSuite disk. v.9.8 and it works fine. I have not found any functions that don't work. I installed the Organize at the same time but that does not seem to want to start.
I tried to make an account to post this to the application DB but I never have received a confirmation email so can't log in there as my account is not active. Tried to use
2009 Aug 07
1
Installing Lotus Approach...errors
I had to reinstall my Mandriva distro a few days ago.
The last install I had Wine and had no problem installing Lotus Approach via WINE.
After the new fresh install it will not install. I can't provide any particular error as all I get is a window with ever increasing error numbers in the title bar but no information. I have to force quit WINE at that point.
Why would it work fine once