similar to: best way to handle failed updates when using REST ?

Displaying 20 results from an estimated 30000 matches similar to: "best way to handle failed updates when using REST ?"

2012 Jan 18
2
[LLVMdev] Best way to interface with MSVC _ftol2 runtime function for fptoui?
Hi everyone. On i386--win32 targets, LLVM tries to use the MSVCRT routine _ftol2 for floating-point to unsigned conversions, but this function has a nonstandard calling convention LLVM doesn't understand. It takes its input operand on the x87 stack as ST0, which it pops off of the stack before returning. The return value is given in EDX:EAX. In effect, I need to call it like this: %1 = call
2012 Jan 19
0
[LLVMdev] Best way to interface with MSVC _ftol2 runtime function for fptoui?
On Jan 18, 2012, at 3:50 PM, Joe Groff wrote: > Hi everyone. On i386--win32 targets, LLVM tries to use the MSVCRT > routine _ftol2 for floating-point to unsigned conversions, but this > function has a nonstandard calling convention LLVM doesn't understand. > It takes its input operand on the x87 stack as ST0, which it pops off > of the stack before returning. The return value
2006 Nov 21
1
rendering from within a worker
I''m using backgroundrb for its scheduled jobs. Now, a job that runs on a daily basis creates an xml file that I currently create with an .rxml template. Can I run a controller action from within a worker ? Can I render() a template from within a worker ? Sorry, I haven''t grasped the whole rails/backgroundrb relationship so I don''t know what I can and not do. Thanks
2005 Jan 04
1
Problems with Rules?
Hi -- I was happily running Shorewall 1.4 for quite a while, then upgraded recently to 2.0.13 (Debian Linux, Exim4, Squid, no DMZ) and can''t get Shorewall working. When I start it, my ssh and pop3 access is immediately blocked locally. This is a very simple setup. No dmz, just ETH1 to the Internet and ETH0 local, with IP Masq. Turned ON. I would appreciate it if someone who has a
2006 Aug 17
3
What''s the best way to stop repeating this line in my controller?
Hi, I am trying to follow the "DRY" principle and came across a problem. I am working on a small ajax task manager, and right now in the index page which renders the list, I have (for example, in the Lists controller): def index @lists = List.find(:all) end Now within the controller there''s also a list_add action which is called via ajax.. def list_add if
2002 Aug 20
5
how to limit connections from certains inet subnet the best way?
Hello all, i am new to shorewall and i already have a question ;) i am running a mailserver in my dmz (or actually this will be when = evertything will be working fine with shorewall) with public ip = addresses.. i have a subnet of 8 ip addresses (255.255.255.248 mask) and = i was planning of the classic 3 nic (eth0-2) setup... the dmz should = work with proxy-arping...=20 now my quesion is
2007 Mar 12
0
REST - Implementing HABTM in the real world
Hi again - another REST question! I think I''ve got a good grasp on it all now, except for how to implement HABTM properly. I understand you need turn the join model into a controller, such as ''memberships'' below, and then use CRUD on that to perform joining actions. class Group < ActiveRecord::Base has_many :memberships has_many :users, :through =>
2006 Jun 02
3
Best way to handle different time zones?
We have a project that is hosted in one time zone (say, Pacific Daylight Time) but the client wants all time recorded in their time zone (say, Mountain Time). What is the best way to do this? Any recommendations? Thanks! Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060602/b995e232/attachment.html
2005 Dec 30
0
Best way to handle associated object creation WithIN the SAME form ?
hi, let''s take a very simple example. 2 tables: people and phones One person has_many :phones One phone belongs_to :person (the phone table contains a person_id) i began with the classical scaffold generator for the main form (the people form).... How can i add a phone , associated to the NOT YET SAVED person objet , with an ajax mean? do i have to put the unsaved person in session
2008 Mar 06
1
Best way to handle profiles from deleted accounts?
Hello people Just wondering how people deal with deletion of roaming profiles and homes on their servers. I currently have a script that moves old homes for one subset of our users... but it's very messy. I'm considering re-writing it, and including the profile dirs too, but I was wondering if there's solutions already out there that might be better than what I can write. Tim B
2005 May 21
0
Best way to handle multiple (6+) streams
Could you use something like a MOTU firewire box to input all your streams into one computer? They have lots of audio inputs. I don't know anything about the practicalities I'm afraid, so no idea how to turn those inputs into separate streams. But I'd much rather do that than run 8 separate computers. Dan On 19/05/05, Seth McTigh <kleptein@hotmail.com> wrote: > I have a
2005 May 21
0
Best way to handle multiple (6+) streams
hi - once you decide on a sound card configuration, Pd would be an easy way of accessing the individual input channels (eg. with individual adc~ objects). You could then patch these to multiple "shoutcast~" objects within Pd to create the individual icecast2 mountpoints/streams. See: www-crca.ucsd.edu/~msp/software.html for Pd and
2015 Mar 12
0
Best way to handle dependency on non-CRAN package / large data package?
On 12 March 2015 at 08:41, arilamstein at gmail.com wrote: | But I don't know if this is the best way to do this, or if there is | anything else to consider. I have never had to manage package dependencies | outside of CRAN, and have always thought of CRAN as being a "closed | ecosystem", where there were not any dependencies outside of CRAN. | | Can anyone provide guidance on this?
2015 Mar 12
0
Best way to handle dependency on non-CRAN package / large data package?
On 12 March 2015 at 09:40, arilamstein at gmail.com wrote: | Thanks Dirk. I'm looking at it now.? | | At first glance your documentation brings up a good limitation of simply | telling users to type "devtools::install_github()". Namely, what happens when | the census bureau updates their shapefiles, and I subsequently decide to update | the package? Or if I discover an error in the
2006 Apr 04
1
What is the best way to handle this? It''s not a good use of the new Polymorphic-Association thingy is it?
Just getting back into Rails, so apologies. Just a bit of advice please. I''m trying to rewrite the change control app that I wrote originally in VB/Oracle. It''s used heavily by our project and customer and seems a good project to rewrite in rails, if not for this customer then perhaps for another. Anyway, I have decided to go with MySQL this time and have the following
2006 Oct 16
0
Restful routes, not repeating yourself and non-standard rest actions best practices
So I''ve recently started playing with the restful routes support in edge rails, converting a few of my controllers to support all the standard operations.. One thing that''s been bothering me, however, is the following: Before using restul routes, I would define an edit method in my controller which would be responsible for both creating new objects as well as editing
2015 Mar 12
1
Best way to handle dependency on non-CRAN package / large data package?
Hi Dirk, I'm interested in pursing this but I haven't been able to figure how to to make it work. Here's what I have so far: install.packages("drat") library(drat) addRepo("arilamstein") I (obviously) have a copy of the choroplethrZip github repo locally. I typed: git checkout gh-pages git push I gather that this is what I needed to to do make the repo
2008 Jul 17
2
Final Opinion :: Need final opinions on the best way to handle arrays in forms
Hi There, rails noob just trying to suss a few things out. So I have 2 tables. 1 called Posts and the other called comments. On one page I need to be able to edit both the information about the post and the attributes of each comment for that post. So here is what the array might look like: (Inside the params hash) "post" => [ {"id"=>28, "title" =>
2015 Mar 12
2
Best way to handle dependency on non-CRAN package / large data package?
I have just written a package called choroplethrZip <https://github.com/arilamstein/choroplethrZip> which contains a shapefile and metadata on US Zip codes. It is currently hosted on github, has a tagged version number (v1.0.0) and passes R CMD check as verified by Travis. My plan is to use this in the next version of my package choroplethr <https://github.com/arilamstein/choroplethr>.
2006 May 16
3
Best way to handle namespace collisions?
All, I have a little namespace collision here. I am trying to use both RubyfulSoup (an HTML parser - which I highly recommend by the way) and the ActionView::Helpers::TextHelper class. Within the TextHelper class, there''s an attempt to create a new "Tag" object. However, Tag is also defined in the RubyfulSoup gem and it is _this_ Tag class whose initialize method is