Displaying 20 results from an estimated 2000 matches similar to: "Modeling complex associations"
2006 Nov 10
3
Move variables from session to ActiveRecord?
Buildings have units. Units have rooms. Rooms have people. I can grab
building, room, and people IDs and store them in a session[:variable].
However, when creating a new unit, I need to give that
session[:building_id] to ActiveRecord for creation. I''m not sure
whether to use hidden fields or do it all in the model
''before_validation'' - in either case I
2013 Feb 20
3
Complex abilities and scoping of records
I have the following scenario.
Users have various levels of ability. They can only view and edit
their own records (their profile). Their managers can only view and
edit their employees records. The regional managers can view and edit
only the people in their regions and the corporate headquarters can
view and edit all records. There are multiple regions so somebody
can be the manager of the
2004 Dec 06
3
OT Linux/Gateway alternative for WAN compression/accelerator
I''m building a 10 branch/1 headquarter network with Shorewall/Linux as
gateway on all locations.
The TI guy asked me if there is a way to ''cache'' TCP/UDP traffic between them.
I crawled on Internet and I only find very expensive solutions for
this. Some of them appeared in this comparison article:
http://www.networkcomputing.com/showitem.jhtml?docid=1524f5
Does anyone
2015 Apr 16
3
Help needed with Tinc Setup on remote hosts and lots of ISPs / Failover Problems between ISPs
Hello Guus,
thank you very much for your suggestions, I could not dive into it further because I was traveling, but now I have time to reconfigure the network.
At first I really like the idea of having 3 Daemons on the headquarter, one for each ISP. The firewall should forward the port 655 from each ISP's public IP Address to my internal server and to the ports 655, 656, 657 respectively,
2015 Mar 21
2
Help needed with Tinc Setup on remote hosts and lots of ISPs / Failover Problems between ISPs
Hello List,
This is our setup which we are trying in a couple of our remote offices:
+---------------------------------------+ +-------------------------------------------------------------+
| | | |
| +----------------+ |
2007 Nov 30
2
Nested resources and _path methods
Hi guys,
I was thinking aboiut this for a while:
If I have nested resource routes, for example /building/1/floor/2/
room/
3 (building has_many floors and so on), I have to call the room_path
method like this:
room_path @room.floor.building, @room.floor, @room
Isn´t there a better way to handle nested routes with foreign keys, or
can I have this method overwritten somewhere?
Greets
Jonas
2009 Mar 26
6
PDC / BDC in a Samba Domain Controller.
Hello
I makeing a Domain Controller with Samba (v3.0.33) and LDAP (v2.4).
I will install a PDC in the headquarter and a BDC in the subsidiary of
the company that I work.
The PDC and the BDC will have his own LDAP data base.
I just install the PDC without problems and my next step is to install
the BDC.
I configured the LDAP that work in multi master mode. I made some test
and the LDAP works
2008 Aug 11
1
Phone system layout suggestions
I am thinking about a change to our company's phone "layout" and would like
to get comments from people who have done something similar.
Currently, we have 3 locations - each with their own Asterisk PBX. The
corporate office has a PRI. Each remote location has a SIP provider for
5 channels of SIP going to their own PBX. Interoffice calls use the PSTN.
Most inbound calls come to
2002 Feb 27
2
transfer users and password form win NTto linux fileserver
Hi people!
I?m a fireman from S?o Paulo Fire Dapartment (Brasil) and I?m encharged to
give support to the Computer System of the headquarter.
We have for about 500 users connected in a fileserver running Red Hat 7.2,
but we are authenticating the users using another machine running win NT. I
would like to turn off the win NT but I don?t known how getting the users
and passwords from the win NT and
2004 Sep 03
3
traffic queueing and ipsec vpn
Hi all, ive been reading lartc howto, im new about traffic shaping/police.
As far as red (chapter 9 complete) i saw that first the packet passes at the
ingress qdisc, then it passes to the ip stack if the packet is directed to
the box or its forwarded (is my case), then it falls to the egress
classifier/s.
Now, i understand if i have an ipsec vpn at the outside interface, the
egress
2005 Nov 10
1
network design - taking advantage of samba+openldap
In the headquarter of my Institution we have some 300 windows PCs,
distributed like this:
domain1: 100 clients in a consolidated samba 3.0.5-2 domain (RH 9.0)
domain2: 20 clients in an incipient samba 3.0.14a-2 domain (FC4)
80 clients to be joined to domain2
without domain: 150 clients beloging to some three workgroups
We outsourced the deployment of a LDAP server and we are in the
2016 Jun 25
1
Sites And Services Setup
Another old thread I’m resurrecting; apologies, but I have also been experiencing this issue. I have 10 international remote sites over very lossy WAN links. Getting traffic to them from HQ is a challenge; them trying to talk directly each other over umpteen paths is even worse. They are able to accomplish this (somewhat) because we have a mesh VPN setup with direct site-to-site connectivity, but
2002 Mar 29
7
"weight" parameter in htb?
Hello,
I''ve been using cbq''s "weight" parameter to influence distribution of
excess bandwidth among sibling classes. Does htb offer something
similar?
So far I think that
- you either use priorities - then excess bandwidth is offered to higher
priority classes first, the rest (if any) is distributed among lower
priority classes
- or you don''t use
2011 May 03
1
Visiting Researcher, species distribution modelling, Cali, Colombia
Dear All,
The Decision and Policy Analysis (DAPA) program of the International Center
for Tropical
Agriculture (CIAT), a not-for-profit agriculture, biodiversity and
ecosystems research center,
supported by the Consultative Group of International Agricultural Research
(CGIAR), with
headquarters in Cali, Colombia is looking for a visiting researcher to work
on various modeling
projects, primarily
2007 May 01
4
is dundi worth pursuing in this situation?
At work, I have 4 branch offices at which I've deployed asterisk.
Call termination/origination at each branch office is handled either
through a frac PRI or 3rd party SIP provider. Soon, I'll be replacing
the legacy PBX at our HQ with asterisk.
Each branch office has between 3 and 20 employees, each with their own
extension and DID, and at headquarters, we have about 70 people, again
2005 Aug 09
1
voip solution with SER, ASTERSIK and CCM
We are planning to install a voip system based on asterisk for 2000-3000 retail locations and up to 6000-8000 sip accounts/users.
Instead of setting up a new, centralized PSTN gateway, we are intend to use a CISCO gateway/router of an existing CISCO voip solution in the headquarter and we must able to call all CISCO based voip phones in the headquarter running together with a CCM.
SIP-Phones
2007 Aug 10
2
need help to manipulate function and time interval
Hi R-users,
I have to define a noise level function L and its energy in the various
moment of the day by:
if time is between 18:00:00 and 23:59:59 then L[j] <- L[j]+5 and W <-
10^((L+5)/10)
if time is between 22:00:00 and 05:59:59 ==> L <- L+10 and W <-
10^((L+10)/10)
else
L=L and W = W
Could someone help me to realize this function please? You will find my
following
2014 Dec 02
4
Samba embedded device?
Hi team!
At work I have several small branch offices with ~5 PCs each. All PCs are
member of a Samba4 domain, whose DCs are on the headquarters (linked by
consumer grade VPNs)
I want to ship "some small, cheap, reliable and magical device" to each
branch, in order to provide just 2 things:
* AD replication
* File shares
That't it, period. Nothing fancy.
Suggestions??? What do you
2005 Jul 26
1
SMB Network design guidelines
Hi:
Can anybody point me to some guidelines about SMB network design or
give some advice? Samba HOWTOs are very detailed recipes, but I need
some general tips, like if we are serving fish or pasta tonight :-)
This is the situation: a WAN with 20 offices with 2 to 30 people in
each, plus a headquarter with 50 people, plus the databases and
central file servers. The organization grew up on a NT4
2009 Jul 23
2
Analog FXO or IAX DIDS for new facility?
I am a Linux sysadmin who has been tasked with developing the phone
system for our nonprofit's new US headquarters building. We cannot
bring our legacy phone system with us, so I am building this completely
from scratch. I have already read "Asterisk: The Future of Telephony"
and done a fair amount of googling. I am completely sold on Asterisk,
and the new building's