search for: handcoding

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

Did you mean: endcoding
2003 Nov 24
3
wxImageHandler type?
Hiya, I was trying to figure out how to display PNG files using wxWindows/wxRuby. Google turned up a few things, mainly discussing the wxImageHandler class and it''s children, etc, but there seems to be no mention 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
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 cert...
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
...o see a pure > IR version of a personality function. I don't see why this would not > be possible, although costly in terms of effort. Clang would help. Beyond the scope of the project, I guess. Sounds too far out on the diminishing returns curve for knowledge. If I spend too much time handcoding IR the first extension to the project would be to write a "high-level IR" front-end that provides a 1-1 mapping of the semantics, but with handcoding-friendly syntax and tools. It would actually save time at some level, given that I'm manually #including headers just to reduce the am...
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
...umn with a unique constraint). So I guess I want to add an :insert_sql attribute to the has_and_belongs_to_many relationship, but how do I pass it the value for display_header? display_header can be required, if that makes it easier. I know I can get this to work just by calling find_by_sql and handcoding the insert query instead of using the habtm relationship, but I find myself doing that a lot and would really rather know how to do it The Rails Way. Can anyone help? Thanks -- Posted via http://www.ruby-forum.com/.
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
Hi Seems we ran into what football commentators call a ''run of bad form'', when you can''t get the ball in the net for love nor money, and your defence is leaking goals like an extension library leaks memory. But no bad run lasts forever, so wanted to get your thoughts on what we should focus on next. Apologies for a longish email. Roy''s experiences with
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
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1337273492 -3600 # Node ID cdb947baea102aa6a1d53472f8a3e5f2d6cc485e # Parent ac45608496cd85b0bf1aed6e5b869b4a86ca672f libxl: do not overwrite user supplied config when running bootloader. Currently when running the bootloader libxl will update b_info->u.pv.kernel, .ramdisk, .cmdline and .bootloader. This can
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,