Displaying 20 results from an estimated 23 matches for "serial_number".
2006 Mar 21
1
Form Validation
Hi,
I''ve got an interesting one here :)
I have a form with three fields :
serial_number
initial
surname
now, if serial_number is entered, it must be between 1 and 64000. If
it''s filled in, the other two fields must be blank. If serial_number is
left blank then the other two boxes must be filled.
Any suggestions?
--
Posted via http://www.ruby-forum.com/.
2011 Nov 24
0
legacy MTI schema
Hi all,
In a legacy ''immutable'' schema I have MTI inheritance setting:
<<TABLE systems>>
id<<PK>> ( NOT database generated)
installation_date
manufacturer
serial_number
<<TABLE lifters>>
id<<PK>><<FK>> ( NOT database generated )
max_weight
drive
In my model I have implemented the semantic of inheritance between
System and Lifter in this way:
class System < ActiveRecord::Base
has_one :lifter
:foreign_key=>:id...
2006 Jan 13
0
Form element that is not an AR object attribute
...table products (id int not null auto_increment, name
varchar(255), primary key (id));
create table batches (id int not null auto_increment, product_id int
not null, quantity int not null, price decimal(10,2) not null, primary
key (id), foreign key (product_id) references products(id));
create table serial_numbers (id int not null auto_increment, batch_id
int not null, sn varchar(255), status char(1), primary key (id),
foreign key (batch_id) references batches(id));
app/models
-----------------
class Batch < ActiveRecord::Base
belongs_to :product
has_many :serial_numbers
end
class SerialNumber <...
2011 Apr 27
1
Filtering feature dump_filter
Good morning,
Now that hdt is capable of dumping system information it would be nice if there was some sort of filtering system which filters out unwanted information prior to dumping output.
For example one could add the command:
append nomenu auto=dump mac_address serial_number bios_version;
And ultimately dumping output to a plain text file like:
mac_address : 00:11:22:33:44
serial_number : abc123
bios_version : v03
Would this be possible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/hdt/attachment...
2018 Aug 29
1
Panic / EL6 / KVM / kernel-2.6.32-754.2.1.el6.x86_64
...y>
<entry name='version'>Not Specified</entry>
<entry name='external_clock'>1333 MHz</entry>
<entry name='max_speed'>5200 MHz</entry>
<entry name='status'>Populated, Enabled</entry>
<entry name='serial_number'>Not Specified</entry>
<entry name='part_number'>Not Specified</entry>
</processor>
<memory_device>
<entry name='size'>2048 MB</entry>
<entry name='form_factor'>DIMM</entry>
<entry name='locato...
2018 Aug 29
7
Panic / EL6 / KVM / kernel-2.6.32-754.2.1.el6.x86_64
Since the update from kernel-2.6.32-754.2.1.el6.x86_64
to kernel-2.6.32-754.3.5.el6.x86_64 I can not boot my
KVM guests anymore!? The workstation panics immediately!
I would not have expected this behavior now (last phase of OS).
It was very robust until now (Optiplex Workstation). I see some KVM
related lines in the changelog.diff. Before swimming upstream:
Does some one have problems
2006 Jun 18
2
Table Relationship for Select option list
...ted a table to hold information on each device with
the following (model refers to the manufacturer''s model number):
create table devices (
id int not null auto_increment,
hostname varchar(64) null,
mfg_model_id int not null,
serial_number varchar(20) null,
location varchar(20) not null,
shipped_on date null,
purchase_price decimal(10,2) not null,
purchased_on date null,
quote_name varchar(20) null,
purchase_order_name varchar(20) null,...
2017 Nov 16
2
USB Serial Ports
We have several CentOS 6 systems that are used in various configurations
of test equipment.? One of the primary functions of these systems is the
connectivity to serial ports of some operational systems that have serial
port control requirements.? Lack of interface bus slots led us to the use
of USB connected serial ports on these CentOS 6 systems.
We first used these USB connected serial ports
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
...lysis_mode=0, aopts=
{do_residual_text = 0, do_residual_gnuplot = 1}, options=
{common = {continue_through_decode_errors = 0, replaygain_synthesis_spec = {apply = 0, use_album_gain = 1, limiter = RGSS_LIMIT__HARD, noise_shaping = NOISE_SHAPING_LOW, preamp = 0}, is_ogg = 0, use_first_serial_number = 1, serial_number = 0, skip_specification = {is_relative = 0, value_is_samples = 1, value = {seconds = 0, samples = 0}}, until_specification = {is_relative = 0, value_is_samples = 1, value = {seconds = 0, samples = 0}}, has_cue_specification = 0, cue_specification = {has_start_point = -1207954168...
2006 Jul 20
5
How can I make has_many prevent a delete that would lead to orphans?
e.g.
class Asset < ActiveRecord::Base
validates_presence_of :asset_number, :make, :model, :location,
:name, :serial_number
validates_numericality_of :asset_number
validates_uniqueness_of :asset_number
belongs_to :user
belongs_to :location
belongs_to :asset_type, :foreign_key => ''type_id''
end
class Location < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :n...
2017 Nov 17
0
USB Serial Ports
...gt; some underlying factor that has solved this problem for us.? Any ideas on
> what to check would be greatly appreciated.
>
I have no idea why it is working better under 6, but it is possible to use UDEV rules to force them to be at expected /dev/my_tty* locations using vendor_ID/device_ID/serial_number combinations. Once you figure that out, you should even be able to use the same (or at least similar) rules under 7.
--
Even when this disclaimer is not here:
I am not a contracting officer. I do not have authority to make or modify the terms of any contract.
2006 Jun 04
0
Re: flac with >4GB raw still does not work (CVS)
...06\b?\233\006\b\bZ?0?3\b",
lookahead_length=0, options=
{common = {skip_specification = {is_relative = 0,
value_is_samples = 1, value = {seconds = 0, samples = 0}},
until_specification = {is_relative = 0, value_is_samples = 1, value =
{seconds = 0, samples = 0}}, verify = 0, use_ogg = 0, serial_number =
1139381067, lax = 0, do_mid_side = 0, loose_mid_side = 0,
do_exhaustive_model_search = 0, do_escape_coding = 0,
do_qlp_coeff_prec_search = 0, min_residual_partition_order = 2,
max_residual_partition_order = 2, rice_parameter_search_dist = 0,
apodizations = 0x8311d6c "", max_lpc_order =...
2013 Oct 18
0
Identity change between pkinit and TGS
Hi,
I'm trying to setup the following configuration but encounter a problem.
I'm not sure if it's a normal behavior for samba 4.
I have a smartcard provided with a user principal name looking like
serial_number at domain. The serial number is in the form of
0000-0000-0000-0000. The domain, let's say "upn.example.com", doesn't
match my Samba Realm, that would be "realm.com". What's happening here
is during Kerberos pre-auth, it checks for 0000-0000-0000-0000
\@upn.example.co...
2006 Jun 03
2
flac with >4GB raw still does not work (CVS)
I'm attempting to flac a 18GB raw file, and as per 1328191 I compiled
CVS, when it gets to 4GB it doesn't continue. I've tried stracing and
get no output after a certain point. I also have tried oggflac and it
is no different. I configured with no options or special CFLAGS and
this is on a x86 machine. Is there anything special I need to do to
get this to work?
I have also tried with
2014 Sep 26
0
Patch to add buffering to decoding too
...--------
diff --git a/src/flac/decode.c b/src/flac/decode.c
index 5e5e17a..90e0b1a 100644
--- a/src/flac/decode.c
+++ b/src/flac/decode.c
@@ -101,7 +101,7 @@ static FLAC__bool is_big_endian_host_;
static FLAC__bool DecoderSession_construct(DecoderSession *d, FLAC__bool is_ogg, FLAC__bool use_first_serial_number, long serial_number, FileFormat format, FLAC__bool treat_warnings_as_errors, FLAC__bool continue_through_decode_errors, FLAC__bool channel_map_none, replaygain_synthesis_spec_t replaygain_synthesis_spec, FLAC__bool analysis_mode, analysis_options aopts, utils__SkipUntilSpecification *skip_specifica...
2014 Sep 26
3
Patch to add buffering to decoding too
Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently
memory usage of FLAC decoding is about 1MB, so this patch is
increasing memory usage tenfold, also for platforms that do not
need this. It is a non-problem on my system anyway.
Op 26-09-14 om 10:36 schreef Janne Hyv?rinen:
> I made some changes to the previous patch. I don't know why I
> originally didn't put the
2015 Sep 02
1
USB HID Spec help (passing strings)
No, just as a variable string descriptor.
By ?variable string descriptor?, do you mean what is contained in the example in the App Note? I?m just asking for clarification, in case variable string descriptor is something different than shown there.
The way they do the string descriptors in the example is how I have mine now. They return a size and address, but it is to something that was
2014 Sep 25
2
Patch to add buffering to decoding too
Decoding flac files is also prone to producing fragmented files. NTFS
has the ability to completely avoid fragmentation if it is told the file
size before hand, but that would require using special Windows-only
functions. Increasing the write buffer from the default 512 bytes to 10
MB already reduces the problem tremendously.
-------------- next part --------------
diff --git
2014 Sep 26
4
Patch to add buffering to decoding too
...--------
diff --git a/src/flac/decode.c b/src/flac/decode.c
index 5e5e17a..7705107 100644
--- a/src/flac/decode.c
+++ b/src/flac/decode.c
@@ -101,7 +101,7 @@ static FLAC__bool is_big_endian_host_;
static FLAC__bool DecoderSession_construct(DecoderSession *d, FLAC__bool is_ogg, FLAC__bool use_first_serial_number, long serial_number, FileFormat format, FLAC__bool treat_warnings_as_errors, FLAC__bool continue_through_decode_errors, FLAC__bool channel_map_none, replaygain_synthesis_spec_t replaygain_synthesis_spec, FLAC__bool analysis_mode, analysis_options aopts, utils__SkipUntilSpecification *skip_specifica...
2006 Aug 28
2
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
doing "make check" on flac-1.1.2, I get a segmentation fault
././test_metaflac.sh: line 51: 17370 Segmentation fault flac $*
when running this portion of the test/test_metaflac.sh script:
(set -x && run_metaflac --preserve-modtime --add-padding=12345 $flacfile)
check_exit
check_flac <---------------- where the segfault happens
All other tests in