Displaying 20 results from an estimated 24 matches for "handcod".
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 c...
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...
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
-------...
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
.../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 wik...
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
...stand that INT 13 with AH 8 is used to inquire the C/H/S
factors from the BIOS in line 176 ff. So if the BIOS does not lie then
the computation at label "read_sector_cbios:" should be correct.
Regrettably i still have 4560 pages of the Intel processor manual to read
before i can start to handcode an MBR. ~:o)
Have a nice day :)
Thomas
2011 Jul 29
2
[LLVMdev] sys::getHostTriple failed to recognize ARM correctly
...LVM.
As you can see from attach (llvm-131463-gcc-4.4.1-native-arm2.log),
there are a lot failure while running test cases under ExecutionEngine/.
Those failure are disappeared when I cross compile LLVM. Maybe
LLVM_HOSTTRIPLE got the *right* value, i.e., arm-unknown-linux-gnueabi.
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?
Thanks!
Regards,
chenwj
[1] http://llvm.org/viewvc/llvm-project?view=rev&revision=131463
[2] see attach llvm-131466-fix-gcc-4.4...
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
...H 8 is used to inquire the C/H/S
> factors from the BIOS in line 176 ff. So if the BIOS does not lie then
> the computation at label "read_sector_cbios:" should be correct.
>
> Regrettably i still have 4560 pages of the Intel processor manual to read
> before i can start to handcode an MBR. ~:o)
There is the processor, and then there is the system (chipset, BIOS) in
which the processor resides.
Figuring out why debian-8.7.1-i386-xfce-CD-1.iso works on CD, but
doesn't work on USB, in my D8765GBFLK systems would require more effort
that I am interested in expending....
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(t...
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,