search for: handcoded

Displaying 20 results from an estimated 24 matches for "handcoded".

Did you mean: handcode
2003 Nov 24
3
wxImageHandler type?
...ion of them in the wxRuby source. Are they there, and I missed them, or are they just not there? If there not there, is there a quick and dirty way to get them in? It seems like the build does some automatic stuff, but I''m not really clear on which bits are generated and which bits a are handcoded. If someone could point out a few examples of the generated stuff, I might have a go at adding the wxImageHandler stuff etc. H
2010 Jan 13
0
[LLVMdev] invoke/unwind
If it helps, to see what is involved, outside of a pure IR context, see the example code, and doc at: http://wiki.llvm.org/HowTo:_Build_JIT_based_Exception_mechanism#Source_Code:_exceptionDemo.cpp Although this is a pure example that shows several test cases, including foreign exception interaction, it is not an IR example, but rather a LLVM IR API example. It would be interesting to see a pure
2012 Jan 05
1
[ncdf] programmatically copying a netCDF file
How to programmatically (i.e., without no or minimal handcoding) copy a netCDF file? (Without calling > system("cp whatever wherever") :-) Why I ask: I need to "do surgery" on a large netCDF file (technically an I/O API file which uses netCDF). My group believes a data-assimilation error caused a data variable to be corrupted in a certain way, so I'm going to
2010 Jan 13
5
[LLVMdev] invoke/unwind
I put invoke/unwind aside because I couldn't get them to work, but I'm working on my evaluator now and it would be nice to figure this out so I don't have to unwind the stack manually. This was the reason for my earlier question about global declarations, and as that's cleared up I can easily pass exception data...if I can make unwind return out of some deep recursion. The
2007 Nov 05
3
link_to & others really necessary?
One of the areas where I think Rails goes too far is in many of the helpers that (AFAICT) do nothing more than change the syntax used to write simple HTML tags. link_to and many of the form tags come to mind. For me, these helpers aren''t that helpful. I find the HTML much clearer to write and read, I don''t see any added value in the overhead costs of using code to
2006 Aug 09
6
How do you desing forms in RoR
Hi all, what is the best way tod esing a form in RoR? Do you use Dreamweaver or something similar? thanks -- Posted via http://www.ruby-forum.com/.
2006 Jul 27
25
Why are has_one objects resaved when the parent is saved?
If the associated object of a has_one association has been loaded, it is resaved when the parent is saved. Eg: class Person < ActiveRecord::Base has_one :user end class User < ActiveRecord::Base belongs_to :person end p = Person.find(:first) p.save # As expected, nothing happens with the user association p.user # Loads the associated object p.save # As well as saving the person, the
2010 Jan 13
2
[LLVMdev] invoke/unwind
On 01/13/2010 04:08 AM, Garrison Venn wrote: > If it helps, to see what is involved, outside of a pure IR context, > see the example code, and doc at: > > http://wiki.llvm.org/HowTo:_Build_JIT_based_Exception_mechanism#Source_Code:_exceptionDemo.cpp It does, although in the "let me show you why this is too much to tackle" way. > Although this is a pure example that
2011 Aug 08
0
[LLVMdev] sys::getHostTriple failed to recognize ARM correctly
On Jul 29, 2011, at 6:42 AM, 陳韋任 wrote: > Currently, I handcode "Arch = "arm"" to make native compiled LLVM > pass most test cases [2]. Is there a better way to make sys::getHostTriple > handle this situation? Two ways: a) Add support for armv7l to llvm :) b) Pass --host=<arm arch you want>-… when you configure. -eric -------------- next part --------------
2006 Jan 03
0
habtm and insert_sql
Briefly, I want to create an :insert_sql attribute for a has_and_belongs_to_many relationship, and then add items to that relationship using push_with_attributes. Is that possible? Less briefly: I have a legacy postgresql database where one of the join tables has an ID column, so I had to set up the association with a custom :finder_sql attribute, as follows: class Topic <
2006 Dec 13
1
record time with phones option buttons
Anyone able to point me the right direction for the following would be helpful. I have a client that needs to keep detailed time for how long their Customer Service Reps. Spend on different subject with the customers. i.e. All CSR's are trained to take all types of calls. For regulatory reasons they have to keep track of how long they spend talking to a customer about different
2006 Oct 30
0
memory mgmt etc
.../wxruby.rubyforge.org/wiki/wiki.pl?Memory_Management While the wiki page is useful, it''s important to bear in mind that it predates the release of SWIG 1.3.26, which includes the additional features for marking and tracking. So my first question is: 1) What''s the status of the handcoded memory management (especially in wx.i and fixdeleting.rb)? Will current SWIG do everything we need in terms of linking ruby to c++ objs, and preventing c++ objects being destroyed twice, if %trackobjects is enabled? Is this the route we should go? What''s especially useful on the wiki...
2006 Feb 09
2
Strategies for updating multiple parts of the page with AJAX
Hi all, I have a layout that''s evolving, but it looks like there will be several divs. I''m trying to keep everything AJAX-y and avoid full page reloads. My problem is, if I have the login box in a div, I''m going to want two other divs to effectively "refresh" themselves to get data from the server now that there is a user logged in. I''m trying to
2003 Jun 23
3
Ghost Create account: procedure number out of range in Samba
Hello, I would like to clone a Windows XP workstation that's part of a Samba domain using Norton Ghost. In Ghost you need to create an account in the domain to be able to add your domain to the list of supported domains by the Norton Ghost console. When I try to add such an account, I get this error message: Unable to add DOMAIN to the list of supported domains, The procedure number is
2017 Mar 18
0
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi, David Christensen wrote: > I use this USB flash drive for bootable installer images; I do not > attempt to mount it. I don't know that I could, even if I wanted to: mkdir /mnt/iso mount /dev/sdc /mnt/iso or, because partition 1 starts at block 0, you may mount it too mount /dev/sdc1 /mnt/iso > # fdisk -l /dev/sdc > WARNING: GPT (GUID Partition Table) detected on
2011 Jul 29
2
[LLVMdev] sys::getHostTriple failed to recognize ARM correctly
Hi, all It seems that rev. 131463 [1] makes LLVM failed to recognize ARM correctly. My best guess is the variable LLVM_HOSTTRIPLE got something like "armv7l-unknown-linux-gnueabi" when LLVM compiled natively on ARM. Then the Arch (armv7l) is not recognized by LLVM. As you can see from attach (llvm-131463-gcc-4.4.1-native-arm2.log), there are a lot failure while running test cases
2017 Mar 18
4
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
On 03/18/2017 01:18 AM, Ady Ady via Syslinux wrote: > Some of the things you should / could (re)test / (re)try: > > _ Verify the md5sum of the ISO image. SHA256 verified for downloaded image and for contents of USB flash drive (see below). > _ Is this particular USB device _still_ capable of booting newer > computers? Yes. > What happens if you would try _again_ to boot a
2017 Mar 19
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
On 03/18/2017 03:02 PM, Thomas Schmitt via Syslinux wrote: > Hi, > > David Christensen wrote: >> I use this USB flash drive for bootable installer images; I do not >> attempt to mount it. I don't know that I could, even if I wanted to: > > mkdir /mnt/iso > mount /dev/sdc /mnt/iso > > or, because partition 1 starts at block 0, you may mount it too >
2012 May 17
8
[PATCH] libxl: do not overwrite user supplied config when running bootloader
...pbell@citrix.com> diff -r ac45608496cd -r cdb947baea10 tools/libxl/gentest.py --- a/tools/libxl/gentest.py Thu May 17 16:39:51 2012 +0100 +++ b/tools/libxl/gentest.py Thu May 17 17:51:32 2012 +0100 @@ -21,8 +21,7 @@ def randomize_enum(e): return random.choice([v.name for v in e.values]) handcoded = ["libxl_cpumap", "libxl_key_value_list", - "libxl_cpuid_policy_list", "libxl_file_reference", - "libxl_string_list"] + "libxl_cpuid_policy_list", "libxl_string_list"] def gen_rand_init(ty,...
2006 Apr 05
25
How to avoid bunch of <% %> ??
Hello, I would like to know is there is a way to avoid poluting the views with tons of <% %> ? Like this <%= start_form_tag() %> <%= text_field_tag(''category[title]'', category.title, {:size => 20, :maxlength => 128}) %> <% if not category.parent_id.nil? %> <%= select("category", "parent_id", Category.find(:all,