search for: wpd

Displaying 20 results from an estimated 30 matches for "wpd".

Did you mean: wp
2020 Apr 02
3
RFC: dynamic_cast optimization in LTO
<font face="Verdana,Arial,Helvetica,sans-serif" size="2"> <span><div>Hi,<br>There was a mention of optimizing away C++ dynamic_casts in LTO in this presentation: <a href="https://www.youtube.com/watch?v=Fd3afoM3UOE&t=1306" target="_blank">https://www.youtube.com/watch?v=Fd3afoM3UOE&t=1306</a><br>I
2019 Dec 11
5
RFC: Safe Whole Program Devirtualization Enablement
...ew link option (-lto-whole-program-visibility). 3) During the LTO link time Whole Program Devirtualization analysis, only allow devirtualization when the associated vtable definitions have hidden LTO visibility, as derived from the !vcall_visibility metadata (summarized in the index for index-only WPD). 4) Modify the Virtual Function Elimination application in GlobalDCE to ignore vtables with !vcall_visibility when they are associated with type tests (and not just type checked loads). Background ---------- Whole Program Devirtualization is supported for LTO (both regular and Thin) via the -fw...
2009 Oct 14
6
Reinstantiate controller during functional testing
...reinstantiated between calls to #xhr. Am I misunderstanding this? Is there some way to reinstantiate the controller prior to the 2nd xhr call? Is there a better way to have structured my functional test? Should I be using something other than a functional test to test this sort of behavior? --wpd
2009 Sep 28
6
What is the most efficient way to split a table into 2 groups?
...would that code look like? I don''t like this: everything = Part.all the_one = everything.select {|x| x.id == 2} the_rest = everything.reject {|x| x.id != 2} That''s going to iterate over all of the records. twice! in interpreted code! Any thoughts, ideas, or snide remarks? --wpd
1999 Jun 25
1
2.0.4b/rh60/smbstatus: European characters (accented)
...an see those filenames (on a samba share) ok through win9x explorer. I can see those filenames ok through ls on linux. If I open one of those file, and then look at locked files with smbstatus, they are showed with a LF in place of the localized characters. That is: a file named beginning_?_end.wpd is showed as beginning_ _end.wpd Instead of beginning_?_end.wpd as it would be correct and as it works in samba 1.9.18 I've already post about this 4 times. I hope someone will answer this time :)
2009 Dec 10
2
How to customize the default scaffold?
...ator). Or I could modify the existing scaffold generator to allow for user defined enhancements, and possibly even do so in such a manner as to be able to submit it upstream as a patch/enhancement. Or I could ask if such a feature already exists. I''m starting with the last option :-) --wpd -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/J...
2008 Dec 13
2
how to import a dump .sql file in a rake task
I have a dump of some tables to be filled when the app is setup ''.../db/dataset/regions_dpt_cities_codes.sql'' I would like to execute a task similar to the >mysql source <dump_file> like : ActiveRecord::Base.connection.execute("source #{path};") (which doesn''t run fine, of course.... is it possible in a rake task ? if yes, any suggestion ?
2008 Dec 23
2
NoMethodError in Book#show_subjects
Hi, I am quite new to ROR.I am trying to create a rails simple application that has informations about Books and Subjects.Srangely, I finished creating a basic application, and it worked fine. But then , I just tried to add some more values in the database, and faced problem with migration, that just made me crazy. SO I deleted the database and did the database and migration thing all over again
2008 Jul 14
1
Limit the data displayed in the index view with a select box
...at I don''t get "?commit=go" appended to the URL? b) Which of the various select methods should I use to select items from a separate table? c) Is there a way to select a pair of values (min & max) with that one select tag? d) Am I making this more difficult than I need to? --wpd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send...
2008 Dec 25
5
One question about Dynamic Select Menus
Hi all, Merry X''mas first :-) I have "Product","Category","Subcategory" 3 Model, and when new "Product", I want to use "Dynamic Select Menus" just like Ryan mentioned in http://railscasts.com/episodes/88-dynamic-select-menus I have everything down. But when I visit the js file, I got following error Showing
2008 Dec 13
2
What is "The Rails Way" to do this?
...+= "attrib=''unique'' size=''20''> "; document.getElementById("manufacturer").innerHTML += html; } What is the Rails way to render the HTML that get''s dynamically added to the page when the user presses the "+" button? --wpd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send...
2004 Feb 11
0
File system corruption
...ma radiation won't toggle a bit somewhere once in a while. As long as I'm asking... What would I change in order to modify the default behavior to be "the default is to run fsck after a dirty-shutdown" rather than the other way around? Any advice, suggestions, commiserations? --wpd
2008 Apr 10
0
Synchronizing a table to a spreadsheet
...rience in how (s)he approached this problem. I feel reasonably confident (some would say overconfident) in my ability to extract the data from the Excel workbook and compare it with the data in my database. I''m just not sure where would be a reasonable place to put that sort of logic. --wpd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send...
2008 Dec 02
0
Best route for has_many subrecords
...er just for the Responsibilities model, and I could nest the routes for that inside the routes for the Person routes, but that seems like overkill, especially since I only need to be able to create and edit responsibilities. Or is it? Is that the "Rails Way" to do this sort of thing? --wpd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send...
2009 Sep 01
0
script/plugin install vs git submodule add
...uot; option for script/plugin install is "-b" for git submodules add. e.g. $ script/plugin install git://github.com/ewildgoose/render_component.git -r rails-2.3 becomes $ git submodule add -b rails-2.3 git://github.com/ewildgoose/render_component.git vendor/plugins/render_component --wpd
2009 Oct 26
1
model.find(:id) and model.find(:all) giving different result
I have the following code that works very well @manufacturer = Manufacturer.find_manufacturer(params[:id]) which produces the following SQL: SELECT * FROM `manufacturers` WHERE (`manufacturers`.`id` = 4) #Here params[:id] =4 ON my view I can access the fields using @manufacturer.field_name However when I do the following @manufacturer = Manufacturer.find(:all, :conditions => {:id =>
2009 Oct 16
5
Rails 2.3 Model.touch(:column) always also updates :updated_at???
Hi, Am I the only one (i.e. something I do is wrong), or does the touch- method always update updated_at, even though giving it a column to use INSTEAD is meant to update just that column??? Thanks, Michael
2008 Mar 25
2
GIT Procedure with Rails
Just started a new project and I''ve decided to give GIT a whirl to see if I like it. The first thing that has me stumbling a little is the best way to add files to a git repository when you generate a new model/scaffold/ controller. Let''s say I add a new scaffold, which creates a dozen files or so. I know I can ''git add path/to/file'' for each new file. Could I
2019 Dec 18
2
RFC: Safe Whole Program Devirtualization Enablement
On Wed, Dec 18, 2019 at 3:38 AM Iurii Gribov via llvm-dev < llvm-dev at lists.llvm.org> wrote: > (Readding Hal) > > > Are you suggesting that we should be more aggressive by default (i.e. > without -fvisibility=hidden or any new options)? > > I believe that will be too aggressive for class LTO visibility. > > It is common to override a virtual functions across
2009 Jan 21
4
Having troubles saving a new model
My model is being created but isn''t saving. It''s like it skips straight past saving. Any ideas why it might do this? Updating works fine. def create @volunteer = Volunteer.new(params[:volunteer]) @volunteer.save redirect_to(volunteers_url) end And here''s what the console reads upon create: Processing VolunteersController#create (for 127.0.0.1 at