02-20-2020
Very cool.
I did a lot of mucking around with Simulated Annealing and the Metropolis algorithm while in uni. Using it for tasks like fitting various sized files onto minimum numbers of floppy disks, finding optimum solutions for student + classroom + teacher timetables for schools etc.
But given the money to be made in the financial realm, I can't see these algorithms making it to the public domain any time soon.
This User Gave Thanks to Chubler_XL For This Post:
8 More Discussions You Might Find Interesting
1. HP-UX
Hi There,
We've been creating a little program that collects all the performance data available about the processes on a HP-UX system. (running HP-UX 11.11).
And everything works fine apart from 4 fields in the middle of the pst_status record.
Input Blocks (pst_inblock)
Output Blocks... (0 Replies)
Discussion started by: cpiuk
0 Replies
2. Filesystems, Disks and Memory
Hello,
I have a Supermicro server with a P4SCI mother board running Debian Sarge 3.1. This is the "dmidecode" output related to RAM info:
RAM speed information is incomplete.. "Current Speed: Unknown", is there anyway/soft to get the speed of installed RAM modules? thanks!!
Regards :)... (0 Replies)
Discussion started by: Santi
0 Replies
3. UNIX for Advanced & Expert Users
Hi,
Anyone can u give me an idea to clear the network collisions in the unix box(Solaris and Linux)? NIC performance is very low, and it shows collisions, when issuing the command ifconfig -a in the production server. How can i rectify the network collisions in the box. Using netstat and lsof... (4 Replies)
Discussion started by: muthulingaraja
4 Replies
4. Virtualization and Cloud Computing
timbass
Sat, 28 Jul 2007 10:07:53 +0000
Originally posted in Yahoo! CEP-Interest
Here is my follow-up note on posets (partially ordered sets) and tosets (totally or linearly ordered sets) as background set theory for event processing, and in particular CEP and ESP.
In my last note, we... (0 Replies)
Discussion started by: Linux Bot
0 Replies
5. UNIX for Advanced & Expert Users
Hi all. I was able to set up an IBM Ultrium LTO 4 tape drive to use iSCSI (using open-iscsi drivers) to communicate with Red Hat, but it's going really slow, maxing out in tar and dd tests at like 16 MB/s (using a block size of 128k). The thing is rated for 30MB/s. I feel like even though I have... (1 Reply)
Discussion started by: jeriryan87
1 Replies
6. Shell Programming and Scripting
Hi guys,
I have been making a simple script for looking for anagram solutions in a word list (a file of 22k or so words).
At the moment it funtions like so:
User enters an 8 character string (whatever letters you want to find anagrams of, or solve rather)
The script moves all the words... (2 Replies)
Discussion started by: Donthommo
2 Replies
7. Filesystems, Disks and Memory
I analysed disk performance with blktrace and get some data:
read:
8,3 4 2141 2.882115217 3342 Q R 195732187 + 32
8,3 4 2142 2.882116411 3342 G R 195732187 + 32
8,3 4 2144 2.882117647 3342 I R 195732187 + 32
8,3 4 2145 ... (1 Reply)
Discussion started by: W.C.C
1 Replies
8. UNIX for Advanced & Expert Users
I'm trying to compress a directory structure on an external hard drive, connected by eSATA cable to my linux (Ubuntu 10.04) desktop. The total volume is 500Gb with half a million files, ranging from Kb to Mb in size. The drive is 2Tb, with 0.8Tb free space before compression.
running "tar -pcf... (10 Replies)
Discussion started by: omnisppot
10 Replies
LEARN ABOUT DEBIAN
jifty::action::record
Jifty::Action::Record(3pm) User Contributed Perl Documentation Jifty::Action::Record(3pm)
NAME
Jifty::Action::Record -- An action tied to a record in the database.
DESCRIPTION
Represents a web-based action that is a create, update, or delete of a Jifty::Record object. This automatically populates the arguments
method of Jifty::Action so that you don't need to bother.
To actually use this class, you probably want to inherit from one of Jifty::Action::Record::Create, Jifty::Action::Record::Update, or
Jifty::Action::Record::Delete. You may need to override the "record_class" method, if Jifty cannot determine the record class of this
action.
METHODS
record
Access to the underlying Jifty::Record object for this action is through the "record" accessor.
record_class
This method can either be overridden to return a string specifying the name of the record class, or the name of the class can be passed to
the constructor.
report_detailed_messages
If the action returns true for "report_detailed_message", report the message returned by the model classes as the resulting message. For
Update actions, Put the per-field message in "detailed_messages" field of action result content. The default is false.
new PARAMHASH
Construct a new "Jifty::Action::Record" (as mentioned in Jifty::Action, this should only be called by "framework->new_action". The
"record" value, if provided in the PARAMHASH, will be used to load the "record"; otherwise, the primary keys will be loaded from the
action's argument values, and the "record" loaded from those primary keys.
arguments
Overrides the "arguments" in Jifty::Action method, to automatically provide a form field for every writable attribute of the underlying
"record".
This also creates built-in validation and autocompletion methods (validate_$fieldname and autocomplete_$fieldname) for action fields that
are defined "validate" or "autocomplete". These methods can be overridden in any Action which inherits from this class.
Additionally, if our model class defines canonicalize_, validate_, or autocomplete_ FIELD, generate appropriate an appropriate
canonicalizer, validator, or autocompleter that will call that method with the value to be validated, canonicalized, or autocompleted.
"validate_FIELD" should return a (success boolean, message) list.
"autocomplete_FIELD" should return a the same kind of list as Jifty::Action::_autocomplete_argument
"canonicalized_FIELD" should return the canonicalized value.
possible_columns
Returns the list of columns objects on the object that the action can update. This defaults to all of the "containers" or the
non-"private", non-"virtual" and non-"serial" columns of the object.
possible_fields
Returns the list of the "possible_columns"' names.
Usually at the end names are required, however for subclassing column objects are better, or this method in a subclass turns out to be "map
to column" - "filter" - "map to name" chain.
take_action
Throws an error unless it is overridden; use Jifty::Action::Record::Create, ::Update, or ::Delete
SEE ALSO
Jifty::Action, Jifty::Record, Jifty::DBI::Record, Jifty::Action::Record::Create, Jifty::Action::Record::Update,
Jifty::Action::Record::Delete
LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
perl v5.14.2 2011-02-21 Jifty::Action::Record(3pm)