search for: mashed

Displaying 20 results from an estimated 122 matches for "mashed".

Did you mean: hashed
2007 Dec 21
0
pretty neat Mash class (Magic Hash)
class Mash < Hash def method_missing(name, value=nil) key = name.to_s.sub(/[=?!]$/,'''').to_sym self[key] = value if name.to_s[-1,1] == "=" self[key] = Mash.new unless self[key] || value return self[key] end end Its like OpenStruct...so what can you do? require ''pp'' m = Mash.new m.first_name = "john" m.last_name =
2006 Mar 28
2
Dealing with Form Data
Google lets me down once again :-) Coming from a PHP background I know I can take submitted form data, mix it, mash it and put it together in very odd ways. In other words do this. $title = "My Title" $sub_title = "My Sub Title" $full_title = $title . "-" . $sub_table And submit $full_title to the database. I have yet to find a solution for this in Rails - I
2010 May 19
2
Reading in and writing out one line at a time
I hope that somebody can help me with this - I think very simple - issue...? I am running a package that only accepts one line at a time, but I would like to run this package on a dataframe of >500 lines. Dataframe "d" is a single column: APPLES PEARS AUBERGINES KUMQUATS I would like to read one line of my dataframe "d", individually into a new frame "f", then
2006 Apr 22
6
nOOb question: How to use find_all with form input data
...ith a value from a form. I keep getting the following error: Mysql::Error: #42S22Unknown column ''category_id11'' in ''where clause'': SELECT * FROM items WHERE (category_id11) The controller seems to be getting the correct data, but my key and value seem to be mashed together(it''s mashed-hash? ) I''m using a pulldown box that contains a list of the categories. I''ve tried some simple variations, but can''t seem to get it. It has to be something silly. I included the form code at the bottom. Here''s the controller...
2007 Sep 18
10
Routes
hi all, I want to move some routing tasks out of the router and into the controller. The goal is to make Merb feel less like mod_rewrite and give the user more control at the controller. The new Router is simple: it takes the path_info (not the whole request) then outputs a controller class and some parameters from the path matching. The rest of the routing would be done at the controller level.
2006 Aug 16
3
Easiest way to create a google map mashup?
I wanted to add a mash up to my website and was wondering if there were any recommendations? I saw that there is a cartographer plugin (http://cartographer.rubyforge.org/) and also something else called YM4R (http://wiki.rubyonrails.org/rails/pages/YM4R). I have no idea if they are up to date or not or whether this is currently the easiest/best way to go about it short of rolling your own.
2004 Mar 14
1
1.8.1 Make problem on SunOS
I am trying to make R-1.8.1 on (SunOS shell1 5.8 Generic_108528-15 sun4u sparc SUNW,UltraAX-i2). I did ./configure make Configure output seems ok. The make proceeds until the following line appears, repeated indefinitely (until I break): ./config.status: ./confstat28489-19881/subs.frag: cannot overwrite existing file I suspect that this may involve write permissions (and maybe the umask set in
2012 Sep 04
1
what package does the mesh function need
Hello, I tried to plot some 3d-plots with the 'mesh' function, but I allways get the message 'Fehler: konnte Funktion "mash" nicht finden' in english this means 'error: can't find the function "mesh"'. Do I need another package? I didn't found anything in the web this afternoon, only descriptions how to use the function. I looked up a lot of
2017 Oct 15
2
Problems about implementing a customized overlay network via Tinc
Hi guys: I am using Tinc to build an overlay network, but I want to control the network topology by myself. So how can I disable the automatic full mash feature of Tinc? Besides, my overlay network is supposed to support anycast and I have a routing algorithm for it. I wonder if it is convenient to implement it in Tinc, and do you have any suggestions for achieving this? Looking forward to your
2007 Aug 16
3
99 bottles of beer
; *99: ; 99 bottles of beer on the wall. exten => *99,1,Noop(99 Bottles of beer on the wall) exten => *99,n,Answer() exten => *99,n,Set(bottles=99) exten => *99,n(loop),Noop(There are ${bottles} bottles of beer on the wall) exten => *99,n,SayNumber(${bottles}) exten => *99,n,Noop(Take one done and pass it round and there's) exten =>
2018 Mar 14
1
Learning advanced R
Depending on your application, I'm not sure there's much point in being an "advanced R programmer" these days. Become an adequate R programmer, and learn C++ and Rcpp. Do basic data mashing in R, then do all your intensive stuff in C++ with Rcpp. Eventually you'll probably get to the point where you can express yourself in C++ as fast as you can in interpreted R, with the
2005 Oct 05
4
dropped calls when g729 is used on sip leg
Hello - I have 8 polycom 501s all setup great using ulaw. We have put them through a pretty rigorous torture over the last 4 months, and they've performed famously. No dropped calls ever. We invested in some g729 licenses. changed my ipmid.cfg so that g729 is priority 1 and ulaw is priority 2. I added allow=g729 to my extension's sip.conf entry, where existed before disallow=all
2011 Apr 23
3
Rails3 how to scope it, using a serialized array ?
giving a simple model, with a serialized Array attribute class Instructor < User .. serialize :languages, Array I am looking in defining scopes like this : >scope speaking_english, lambda { where("languages ... includes.... ?", :en) } which look for instructors in which the languages array include ":en" Is this kind of scope possible ? or not.... ( just using
2018 Aug 31
1
OT: Linux recommendations for old Pentium PC
On Fri, 31 Aug 2018, mark wrote: > CentOS will work, but you might start with minimal (but make sure it > includes networking). > > Please note that I installed CentOS 6, just a few months ago, on an HP > Netbook from '09, and it runs perfectly well. > > mark "see? I didn't say anything about systemd...." CentOS 6 requires a PAE supporting CPU.
2011 Jun 18
0
Unexpected result with lag() et diff() in plm package.
I have an unexpected result with the functions lag() and diff() in the plm (panel data) package when used with transform(). These plm-specific functions are supposed to generate lags and first differences within each panel. lag() does not work properly the first time (it reproduces the same series--this is a common time series pitfall), BUT then it does work properly when it is run a second
2010 Aug 25
4
New Wine user who need helps loading a program(Wbfs Manager)
Just download Wbfs Manager 3.0 , trying to load it and it doesnt work , at first the icon wasnt right , add to change the permission details , now it looks like its trying to load but it isnt . Its the first program that im trying to load with wine so maybe im missing something or its because of the program ... http://wbfsmanager.codeplex.com/ If someone knows how to load it , some help would be
2018 Mar 14
0
Learning advanced R
On Wed, 14 Mar 2018, Barry Rowlingson wrote: > Depending on your application, I'm not sure there's much point in being an > "advanced R programmer" these days. Become an adequate R programmer, and > learn C++ and Rcpp. Do basic data mashing in R, then do all your intensive > stuff in C++ with Rcpp. Eventually you'll probably get to the point where > you can
2009 Jul 17
0
[LLVMdev] please stabilize the trunk
2009/7/16 Daniel Dunbar <daniel at zuster.org> > I plan to check my buildbot configuration "stuff" into the > llvm-project repository soon. I have to refactor things a bit to > support use by other people, but currently I have configurations for > llvm, clang, and llvm-gcc in various target / self-hosting > permutations. I also have a regular buildbot driver
2005 Oct 23
0
brewing stats
I guess this isn't so much of a help request as a show-and-tell from a non-statistician homebrewer who has been fumbling around with R. If nothing else it provides yet another data set. I hope it is not out of line. Anyway, the plots I have produced are at http://brewiki.org/BatchSparge#poll The polling method is somewhat simple, its just one of those multiple choice style polls you
2015 Mar 23
2
[LLVMdev] Mails from IITH marked as spam
Dear Admin, It seems that mails from our iit.ac.in domain are being marked as spam. It would be nice if something could be done about this. Best Regards Ramakrishna On Tue, Mar 24, 2015 at 1:12 AM, Aditya Kamath < adityakamath+llvmdev at gmail.com> wrote: > Hi all, > > (I received many emails that my posts were marked spam, so I am re-sending > this from another email address