Displaying 20 results from an estimated 200 matches similar to: "Best way to implement?"
2006 Mar 02
3
Left Joins with Rails?
Everyone,
I have two tables (assuming their most logical types):
apartments
id
address
bedrooms
bathrooms
googlemaps_id
googlemaps
id
url
the models:
class Apartment < ActiveRecord::Base
has_one :googlemap
end
class Googlemap < ActiveRecord::Base
belongs_to :listing
end
I would like to find_all by searching the attributes in apartment, and
also return the google map
2006 May 30
4
Selectboxes and Rails
Hey was wondering how to setup a select box that when I call
Model.new(params[:model]) it will automatically putit into the db...
I tried
<select name="home_bedrooms" id="home_bedrooms">
<option value="0">0</option>
...
</select>
then when I do @home = Home.new(params[:home]) that field doesnt insert
into the db.. any ideas?
-Ray
2020 Mar 08
6
System Time
A few years ago, one of our interns was curious about system
time keeping features in computer systems.? This intern was
also the proud owner of an inexpensive Radio-Controlled Clock.
The intern wondered why computer motherboards were not just
equipped with a chip like the ones in the RCC so that their
system time would always be correct.
I posted a question about this on the CentOS email list
2011 Aug 25
2
Using write.table i have a table with two columns i would like to save it as an excel file
Using write.table i would like to save data as an excel file to a folder. I
am not too sure how to write the file path or what to name the file. I would
appreciate any feedback.
> write.table(x, file = "", append = FALSE, quote = TRUE, sep = " ",
+ eol = "\n", na = "NA", dec = ".", row.names = TRUE,
+ col.names =
2006 Jan 31
11
ez_where plugin updated features.
Friends-
I wanted to let people know that there is a new experimental release
of this plugin. I would love feedback on syntax and features. There
is now a full test suite with fixtures that covers all the available
syntax. Look at the test suite for more syntax possibilities. There
have been many additions since my last release. Fabien Atelier has
been working on this with me and has
2009 Nov 30
1
how to solve a problem in R this problem?can someone help me
Census from 1990 california in USA. It?s a data frame with data from 20640
zones from Calif?rnia. Zones are chosen as being geograficly near, wich one
with 1500 persons (mean).
For each zone are provided several informations in the colums from data
frame:
- longitude e latitude from the geografic centre
- median age of houses in the zone (housingMedianAge)
- total number of houses in the na zone
2007 Oct 11
1
Silence Beeper => Which small UPS's actually support it?
Hello,
I'm looking for a UPS that the beeper can be silenced with nut
via ups.beeper.status variable for a HTPC close to bedrooms.
I have googled extensively and there is not a lot of information
about which UPS's actually support this feature. There are few
references to UPS's that apparently list ups.beeper.status as being
available, but without actually being
2010 May 25
2
help required to melt a data frame
I have the raw data with 9 column and 197977 row:
> dummy
State Months Bedroom
1 xxx Jan 1
2 xxx Jan 2
3 xxx Jan 1
4 yyy Jan 1
5 yyy Jan 2
6 yyy Jan 1
7 zzz Jan 3
8 zzz Jan 1
9 zzz Jan 2
10 xxx Feb 3
11 xxx Feb 4
12 xxx Feb 2
13 yyy Feb 1
14
2010 Dec 30
2
require membership to two groups
I have some shares on a media server that are considdered "Local,
offline content", namely they should be accessible if the rest of the
network is down, and each system has it's own group of users who are
allowed to maintain it. the media servers in the livingroom are only
for my wife and I, but each person can modify the one in their own
bedroom and noone elses bedroom.
2005 Mar 30
1
Omega 2 boolean values.
Morning All,
I have a boolean value called:
countyid with the i.d. of XL
Is it possible to give a unique entry two values so if I search for XL1
or XL2 this unique entry is shown in both queries?
Cheers
John
2024 Jul 04
1
anonymous ldap search, how disable it?
On 4/07/24 17:38, Joachim Lindenberg via samba wrote:
> Afaik or understand, enum4linux uses samba-tool (https://www.kali.org/tools/enum4linux/) and not ldap. Did you try enum4linux on a member (probably after some authentication) or some other non-member linux?
I don't think that is quite the right distinction, because samba-tool
would probably use ldap for this.
Also, I see ldapsearch
2011 Aug 09
3
OT: headless fanless silent 2 HDs micro server/pc...
Hey,
A bit out of topic but I am looking for a micro server/pc if anyone knows a descent one...
I found many nice NAS but I would like to have full access to the OS (install CentOS, etc).
Dream one would be
- Very quiet (fanless) since it will sit in my bedroom.
- Headless
- Small.
- 2/3 HDs (2.5" are ok) for RAID1 (hardware RAID would be nice, and with BBC even more).- 1 or 2 GB NICs
-
2024 Jul 04
1
anonymous ldap search, how disable it?
Afaik or understand, enum4linux uses samba-tool (https://www.kali.org/tools/enum4linux/) and not ldap. Did you try enum4linux on a member (probably after some authentication) or some other non-member linux?
Regards,
Joachim
2024 Jun 28
2
Looking for Python docs/examples to modify DNS via keytab
Hello all,
I am looking to rewrite the shell script here (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records) in Python.
Is anyone aware of any resources (docs, existing code, etc.) that may be useful in doing so? I?m not finding any introductory docs or simple code examples that show things like instantiating a DNS server connection with a keytab.
Thanks,
CB
2024 Jun 29
1
Looking for Python docs/examples to modify DNS via keytab
On 6/28/24 10:07 PM, christian baltini via samba wrote:
> Hello all,
>
> I am looking to rewrite the shell script here (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records) in Python.
>
> Is anyone aware of any resources (docs, existing code, etc.) that may be useful in doing so? I?m not finding any introductory docs or simple code examples that show things like
2005 Oct 05
1
Auto-assign CallerID for all my FXS Interfaces
As far as I can tell, in order to have caller ID show up for calls from other
internal phones, I have to set the caller ID on each channel in zapata.conf.
This is tedious, and redundant (since Asterisk knows which extension is
making the call, and it could look up the name from the voicemail
configuration--if the extension matched the mailbox).
Is there a way to set the caller ID for these calls
2024 Mar 07
1
Opus 1.5 is out -- now with ML
FYI, the README file section on building for Windows says to see the README.md files in the cmake or meson subdirectories, but there are no README files in either of those subdirectories.
-----Original Message-----
From: opus <opus-bounces at xiph.org> On Behalf Of Jean-Marc Valin
Sent: Monday, March 4, 2024 12:52 PM
To: opus at xiph.org
Subject: Re: [opus] Opus 1.5 is out -- now with ML
2024 Sep 02
2
[PATCH v2 3/8] rust: drm: add driver abstractions
On Wed, Jun 19, 2024 at 01:31:39AM +0200, Danilo Krummrich wrote:
> Implement the DRM driver abstractions.
>
> The `Driver` trait provides the interface to the actual driver to fill
> in the driver specific data, such as the `DriverInfo`, driver features
> and IOCTLs.
>
> Co-developed-by: Asahi Lina <lina at asahilina.net>
> Signed-off-by: Asahi Lina <lina at
2006 Feb 22
8
filtering "tags" via checkboxes - HABTM
First post/newbie post... bear with me.
What I''m trying to achive (music site):
A system containing tracks and moods with a HABTM relationship. I''ve
got all that set up and functioning in the admin environment - i.e.
admins can apply a variety of moods to a particular track via a
series of checkboxes. Join table works just fine.
I''m currently stuck on allowing
2024 May 28
1
SAMBA_VERSION_VENDOR_SUFFIX in VERSION
Kia Ora Samba packagers,
I just wanted to ask nicely if you could fill
in SAMBA_VERSION_VENDOR_SUFFIX in the VERSION file when you build
Samba?
Debian does it like this:
https://salsa.debian.org/samba-team/samba/-/blob/master/debian/rules?ref_type=heads#L163
(that is, a simple sed on the VERSION file)
Likewise if you are a Samba user and use a Samba package that doesn't
do this, can you