Displaying 20 results from an estimated 700 matches similar to: "Connect to internet"
2009 Feb 05
2
Non-linear optimisation
Hi there,
I have a piece of Matlab code I use to optimise a trding strategy. If there
are any Matlab/R specialists out there, I would appreciate your help in
doing the exact same optimisation in R.
I suspect I would use nlm() in R but am not sure where to define my
constraints.
I have attached my Matlab code below for reference.
Many thanks.
Constraints
function [c,ceq]=TriskellConstraints(X)
2010 Jan 12
10
Conditional Sampling
Hi,
I am hoping someone can help me with a sampling question.
I am using the following function to sample 10 unique observations: x <-
sample(1:100, 10, replace=F)
Given the first 10 observations, I need to sample another 5 unique
observations from the remainder. I essentially want to do a Monte Carlo type
analysis on the results.
I would appreciate any feedback.
Thanks
--
View this
2005 Mar 21
3
routes.rb question.
I have a simple program that read all HTML files from a directory and
returns parts of the content and the file names which are HREFs to
those file.
I build the HREF string dynamicaly as PATH_TO_DOC_ROOT + "file_name".
My PATH_TO_DOC_ROOT = http://127.0.0.1:3000/docman/public/docs. So,
the final link that I am interested in might look like this:
2006 May 05
6
rake rails:update
This question has been asked before, but I am still can''t run rake
rails:update. I get
rake aborted!
Don''t know how to build task ''rails:update''
My environment: FC4, Ruby 1.8.4, Rails 1.1
Any idea what to do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 19
4
PHP ob_start in Ruby
I need to include Content-Length in each file. In PHP it would be:
<?php
ob_start();
?>
html
<?php
header(''Content-Length: '' . ob_get_length()); ob_end_flush();
?>
How can I do the same in Ruby?
Thanks,
eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2001 Mar 06
3
crashing on receiving connection
Hello,
I got trouble installing tinc daemon. Every time when a connection comes
in, the daemon crashes:
Mar 6 18:32:56 localhost tinc.vpn[20703]: tincd 1.0pre3 (Feb 21 2001 02:32:50) starting, debug level 5
Mar 6 18:32:56 localhost tinc.vpn[20703]: Ready: listening on port 655
Mar 6 18:33:00 localhost tinc.vpn[20703]: Connection from 192.168.0.4 port 1135
Mar 6 18:33:00 localhost
2006 Aug 15
8
AGAIN: file object treated as string
I am trying to implement the uploading of a file to a remote server
I get error while trying to write the file on the server. The error I
get is the following:
undefined method `rewind'' for #<String:0x2aaaad062eb8>
It seems to be treating my file as a string instead of a File object.
--------- Code is below ------------------
VIEW:
<%=
2001 Sep 08
5
Patch
Hallo
short question
how is the Syntax for interactivity.patch ext3-dir-speedup.patch ?
patch -p0 ext3-dir-speedup.patch doesnt work
--
Frank
2005 Aug 12
4
Adding machine to domain fails - check permissions? (ldap)
Dear list,
Whe i trying to add a machine to the domain(ldap/pdc) i get the
following error:
> Error: modifications require authentication at
> /usr/share/perl5/smbldap_tools.pm line 891, <DATA> line 283.
> [2005/08/11 16:46:54, 0]
> rpc_server/srv_samr_nt.c:_samr_create_user(2324)
> _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
>
2002 Nov 20
4
SNAT based on MAC before routing
Hi gurus,
I need a way to do SNAT based on source mac before routing. This is because
hosts attached to my gateway can have duplicate IP addresses, and I have to
distinguish over them.
I tried to use the nat tool that comes with iproute2, but this force to make
a mapping only address to address, and I wanted to do it by mark (I also use
iptables to do that). For example, I tried to
2005 Mar 10
2
NoMethodError in Event_type#create
I am new Ruby on Rails, so excuse me if my question seems pretty obvious.
I am trying to validate uniqueness of a filed:
class EventType < ActiveRecord::Base
belongs_to :sport
validates_uniqueness_of :event_type
end
When I run it, I get this error message:
Showing /event_type/new.rhtml where line #27 raised undefined method
`each'' for nil:NilClass
<select
2004 Jan 30
2
Multihome routing question
Hello,
I am new to network routing and I need help configuring a linux box with
two ethernet cards. In this case it''s a Linux RH 7.3 box, in a cabinet
that already has a couple of Windows servers. The Windows server routing
is below as an example.
The Linux box has an out-of-band interface at 10.130.36.38 and a public
eth at 62.50.8.84. I had to add a route for the private interface so
2006 Feb 01
2
supermicro server model
Hi Guys,
Im planning to purchase Supermicro server but I dont have idea what Motherboard and chipset model will work with TE406P.I read one post here that the chipset should be Intel E7520.Is it true?Is there other recommendation?My requirement by the way is to handle 1000 simultaneous calls.
Does dualcore xeon (single cpu) and 2gig memory can handle this w/o
2001 Sep 22
7
FS locks
Hello,
unfortunately I got some trouble using ext3 - the system hangs when
working in a certain directory. Not completely, I can switch between
consoles and reboot with SysRQ, but cannot do anything which requires
disk IO: not start any applications, not umount, nothing. I could send
the strace output, but I don't think this would help anyone. Sorry, but
I don't have a clue where to start
2019 Aug 08
2
Bazel support
Hi all, trust all is well!
I was wondering if LLVM would have a Bazel integrated build in the future?
I can imagine the benefits this could bring, especially with regards to
remote builds and caching.
I'm thinking of dumping the LLVM source-tree into my code-base and
experiment with building LLVM via Bazel. Will pull requests be accepted for
this? I won't mind contributing my changes
2001 May 25
4
tinc 1.0pre4 released
Hello everybody,
I have just released tinc 1.0pre4. Changes:
- New authentication protocol (better security, and faster too).
- TCPonly and IndirectData are back (but not fully tested).
- Documentation revised, it's really up to date with the released package now.
- tincd -K now stores public/private keys in PEM format, but keys of 1.0pre3
can still be used.
- Faster and more secure
2006 Feb 01
4
REXML::ParseException - but the feed IS valid
I am using Ruby feedparser and when I try to parse this feed:
http://feeds.feedburner.com/Mobilecrunch
I get an error:
REXML::ParseException: Declarations can only occur in the doctype
declaration.
This feed does validate at feedvalidator.org. Any idea why it would raise
an exception?
Thanks,
eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Jul 26
1
theora_info struct question
Hi
I'm evaluating Theora for a video communication system and would like some
info as to what the following struct members (from the theora_info structure)
do and what values one should pass to them:
If there is some documentation somewhere that I've missed, please direct me to
it.
===== Extract from theora.h =====
int quality;
int quick_p; /* quick encode/decode */
2001 Sep 11
2
Best version for packaging
Hello,
I packaged the old ext3 patch for Debian, and now I would like to create
a patch-package of the current version for kernel 2.4.9.
I consider to include Theodore's ext2 and ext3 readdir speedup
patches and modify the 0.9.9 patch as needed to apply it on kernel
2.4.9.
Does anyone (except of me) use all this parts together and report them
to be stable enough?
Gruss/Regards,
Eduard.
--
2001 Aug 20
2
tytso's readdir speedup patch - adoptable?
Hello,
recently Theodory Tso posted a patch for the ext2fs driver, which
improves speed of find and similar programs. Background: the application
access all entries in the directory in the order they are stored on the
disk. The current ext2 (and apparently Ext3) run a lookup function for
each readdir call, starting with the first node! Theodore stores a
refference to the node which was accessed