search for: neatest

Displaying 20 results from an estimated 43 matches for "neatest".

Did you mean: nearest
2006 Apr 22
4
Multiple sites sharing a single application
Quick question: Say i have a few shopping sites that i want to run on the same application code but have seperate databases and layout/design, what would be the neatest ''Rails'' way of doing this? Cheers, Steve
2014 Jan 13
2
[LLVMdev] How to print a list of used LLVM APIs in a given open source project?
Hi, Assume there's an open source compiler implementation based on LLVM/Clang. What is the neatest way to print a list of LLVM APIs used in that open source project? Thanks. Best, Jiading
2007 Jan 15
6
Instantiating middleman and worker from inside a model?
...My specific situation: I have an ''Image'' model in my application. An actual image file associated with the model is being stored on amazons s3 system. I''d like to use a worker to handle each s3 operation (eg. deleting the image from s3). The Image model seems the neatest place to set the worker going but I''m a little stumped as to how i should modify my model to enable the instantiation of middleman within it. thanks in advance for any pointers! (apologies in advance if this message gets posted twice; i think my previous attempt didn''t wor...
2006 Nov 06
2
[LLVMdev] LLVM code emittion and C++ compiler compatibily
...t). I could create special really small wrappers for each of these JIT-ed function, that would make the conversion to the common format (being either GCC or VC++). This wrapper could also extract all return values correctly and pass them to native C++ code as required. I think this would be the neatest solution, but would require a speed penalty. The actual wrapper code could be OS dependant:) Is there any interest for llvm to have such features, such as integration directly to GCC compiled code, or VC++ compiled code (at the same time)? Because maybe it could be the part of llvm instead of...
2009 May 18
1
[RFC] virtio: orphan skbs if we're relying on timer to free them
...ks which fill their sockbuf. Not much difference with TSO, but measurable with large numbers of packets. There are a finite number of packets which can be in the transmission queue. We could fire the timer more than every 100ms, but that would just hurt performance for a corner case. This seems neatest. With interrupt when Tx ring empty: Seconds TxPkts TxIRQs 1G TCP Guest->Host: 3.76 32833 32758 1M normal pings: 111 1000008 997463 1M 1k pings (-l 120): 55 1000007 488920 Without interrupt, without orphaning: 1G TCP Guest->Host: 3.64 32806 1 1M normal pings: 106 1000008 1 1M...
2009 May 18
1
[RFC] virtio: orphan skbs if we're relying on timer to free them
...ks which fill their sockbuf. Not much difference with TSO, but measurable with large numbers of packets. There are a finite number of packets which can be in the transmission queue. We could fire the timer more than every 100ms, but that would just hurt performance for a corner case. This seems neatest. With interrupt when Tx ring empty: Seconds TxPkts TxIRQs 1G TCP Guest->Host: 3.76 32833 32758 1M normal pings: 111 1000008 997463 1M 1k pings (-l 120): 55 1000007 488920 Without interrupt, without orphaning: 1G TCP Guest->Host: 3.64 32806 1 1M normal pings: 106 1000008 1 1M...
2006 Nov 06
0
[LLVMdev] LLVM code emittion and C++ compiler compatibily
...pecial really small wrappers for each of these > JIT-ed function, that would make the conversion to the common format > (being either GCC or VC++). This wrapper could also extract all return > values correctly and pass them to native C++ code as required. I think > this would be the neatest solution, but would require a speed penalty. > The actual wrapper code could be OS dependant:) Seems feasible. > Is there any interest for llvm to have such features, such as > integration directly to GCC compiled code, or VC++ compiled code (at the > same time)? Because maybe it cou...
2006 Jan 22
23
calculate users age
i know it''s probably really simple, how do i work out someone''s age if i have their d.o.b. stored as a date in my db. cheers -- Posted via http://www.ruby-forum.com/.
2015 Jun 03
4
RES: RES: How to invoke a binary file from the dial plan?
Hi Kevin. Thank you very much for the hint! It worked very well! Your example ' exten => 1234,1,System(echo "This is a test" >> /var/log/asterisk/test.txt) ' executes when the SIP client (my softphone Jitsi) sends a SIP INVITE to asterisk. So, the softphone tries to establish a session with target 1234. Now, lets suppose my softphone rings and I answer a
2015 Jun 03
1
RES: RES: How to invoke a binary file from the dial plan?
> I love this question, simply because it allows me to talk about one > of the neatest features I programmed into my system that barely > anyone knows exists. Plus it lines up pretty much exactly with what > you are trying to do. > > We have our gate control system tied into our Asterisk phone system > so it is possible to dial a code on the phone and open the ent...
2012 Feb 03
16
neatest way to determine a major version of centos/linux?
Just started a rollout of centos 6.x across our Puppet deployment (100-odd servers). what fact would people suggest I use to distinguish 5.x from 6.x (quite a lot of subsystems are different between major releases)? lsb* facts don''t seem to be present on centos 6 - is this an EPEL bug, or have they just been removed in Facter? Thanks! -- You received this message because you are
2014 Jul 01
7
[LLVMdev] [lld] [mach-o]: RFC: representing LC_REEXPORT_DYLIB
...nt the dependency and create the actual nodes when we get back to MachOFileNode::parse. I'm still very new to lld, so which of these fits in better with our goals? Or has someone else already thought about it and have a cunning plan? I'm happy to implement anyone's idea if it's the neatest way to go. Cheers. Tim. [*] It's the last barrier to "lld -flavor darwin -arch x86_64 -macosx_version_min 10.9 hello_world.o /usr/lib/libSystem.dylib -ohello_world" working, I think! Using /usr/lib/system/libsystem_c.dylib already does.
2006 Jun 12
1
Instant Rails and your own applications
...However, when you run this locally, you can create a "localhost" project > but then you run out without access to a dns domain pointing at you or > editing your hosts file. > > I guess, I could script it when running locally to update the host file - > just looking for the neatest solution. > > Regards, > Ian Connor > > PS here is the project with SVN location as it has now been released to > open source: > > http://ianconnor.blogspot.com/2006/06/projectlounge-lite-released-to-open.html > > > On 6/2/06, Tim Uckun <timuckun at gmail.com>...
2006 Jul 13
0
Re: Xen Roadmap proposal and Mini-OS C library
Ian, Thank you for your detailed report. > As a user space application, Qemu can''t run in the stub domain > directly, but requires an operating system kernel. The neatest way of > doing this would be to link qemu against `minios'', which is > effectively a library operating system for just this purpose. Since > minios makes use of a broad range of libc calls, it is likely that > minios will take some time to reach the required level of support. I...
2000 Aug 29
1
variable value in mathplot
I'm putting a title over different plots, where 'that' varies. How do I make the value appear? Example: that <- 1 plot(1:10) title(expression(paste(hat(theta),'= ',that))) Yudi Pawitan yudi at stat.ucc.ie Department of Statistics UCC Cork, Ireland Ph 353-21-490 2906 Fax 353-21-427 1040 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2007 Dec 10
1
Extracting clusters from Data Frame
Hello, I have a large data frame (1006222 rows), which I subject to a crude clustering attempt that results in a vector stating whether the datapoint represented by a row belongs to a cluster or not. Conceptually this looks something like this: Value Cluster? 0.01 FALSE 0.03 TRUE 0.04 TRUE 0.05 TRUE 0.07 FALSE ... What I'm looking for is an efficient strategy to extract all
2007 Jun 05
1
Mapping/linking Samba share to Windows FOLDER
This one is driving me nuts. There has got to be some way to do it. I have a Windows application that is very limited on the folders it will use. It is installed in a base folder like C:\Program Files\Application\app.exe. It uses multiple folders under that, like C:\Program Files\Application\myfile, C:\Program Files\Application\yourfile, C:\Program Files\Application\bobsfile, etc. Here's
2003 Apr 23
1
R scripting patches for R-1.7.0
I've patched R so that it can be used as a scripting language, i.e. you can (on Unix-like systems) write files containing R code and execute them non-interactively, e.g.: #!/usr/local/lib/R/bin/R.bin --script cat("Hello World!\n") I've updated the patches for R-1.7.0; if you're interested in the patches, e-mail me at mckay@gmr.com, and I'll send them to you. --
2010 Jul 14
1
ActiveRecord::Observer, update_all and has_many
Hi, I''m using an ActiveRecord::Observer to log users changing data in my application. However, I''ve noted that adding an item to a has_many relationship gets logged, but removing the item does not. That is: @product.users << user is logged, but: @product.users.delete(user) is not. I''ve dug into ActiveRecord and found that the underlying issue is that the
2005 Sep 19
0
Sortables and not-Sortables
...ains for now: The first list (it happens to be a <UL>) is not sortable, but I want to drag to a sortable list. Setting up both lists as Sortables and setting constraints to prevent dragging from the first list to itself (blocking sorting/re-ordering) didn''t work, but would be the neatest workaround. Failing that, I''m left with making Draggables with the first list''s list items, and dynamically adding Sortable members when the drag affects the second list. Ugh. If this is even possible, its not going to be pretty. Has anyone tackled anything similar? Any though...