search for: mktec

Displaying 20 results from an estimated 43 matches for "mktec".

2006 Jul 11
2
Samba PDC With LDAP Backend, Failed to initialise SAM_ACCOUNT for user
...ldapsam_compat:ldap://127.0.0.1/ (ldapsam_compat) Found pdb backend ldapsam_compat pdb backend ldapsam_compat:ldap://127.0.0.1/ has a valid init Attempting to find an passdb backend to match guest (guest) Found pdb backend guest pdb backend guest has a valid init smbldap_search_ext: base => [dc=mktec,dc=com], filter => [(&(uid=Aries$)(objectclass=sambaAccount))], scope => [2] The connection to the LDAP server was closed smb_ldap_setup_connection: ldap://127.0.0.1/ smbldap_open_connection: connection opened ldap_connect_system: Binding to ldap server ldap://127.0.0.1/ as "cn=admin...
2005 Feb 24
15
New Docs - One and Three Quarter Look
Ok, the link: http://www.mktec.com/dev_www/wxrubydocs/ (try http://www.mktec.com/dev_www/wxruby-docs/ ,it does not work for me, although this is the actual directory, could you email me privately if this does/doesn''t work for you, thx) Updates in this preview of the new docs: - a new RDOC template courtesty of Nic...
2006 Jun 16
3
ActiveRecord, using sql functions for some attributes
Hi. I need to use functions INET_ATON, INET_NTOA for IP address retrieving. Is it possible to make this transparently (without custom SQL for saving, updating and retrieving)?
2006 Aug 11
4
1337 Speak For Ruby and an ActiveRecord 1337 Speak Extension - 0.0.1
...n can be easily used as a Rails plugin, or with a standalone application, with or without ActiveRecord. It contains two components: - L337 , a module for speaking 1337 - ActiveRecord::Base extensions to utilize L337 for all reading all attributes For more information check it out: http://blogs.mktec.com/zdennis/pages/ActiveRecord_1337 Zach -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE2+9yMyx0fW1d8G0RAm2jAJ9VVtG99ekMbaEgzRMHrWuPdn3itwCfZa5W bQ/mL+JRzcdqUaVcQsSCVEw= =e+S+ -----END PGP SIGNATURE-----
2006 Jul 14
18
ActiveRecord Love While We''re At It
...have been focusing on achieving the best API for these enhancements to AR''s performance. Until it is able to be reviewed by the core team when it''s released I''ll be releasing it as the ActiveRecord::Optimizations plugin. I wrote a upcoming post on it here: http://blogs.mktec.com/zdennis/articles/category/ruby Zach [1] http://www.rubyconfmi.org
2006 Aug 10
4
Speeding up ActiveRecord creation?
My completely empty model (no validation callbacks etc etc) takes an average of 0.05 seconds to create, at least according to Benchmark.realtime{200.times{Message.create(:from => "me@here.com", :message_type => ''email'', :subject => "hello", :body => "goodbye", :sent_at => Time.now)}}/200 That''s a little slower than
2006 Apr 20
0
ActiveRecord IO Mode Plugin
...eRecord IO Mode plugin version 0.0.1. It allows you to redirect where sql statements are sent. By default they are sent to a database connection, with the IO Mode plugin you can proxy them wherever you want. They can be sent to any object that responds to the method << The link: http://www.mktec.com/oss/rails-plugins/active_record_io_mode.0.0.1.tgz Once installed in the vendor/plugins directory you can test this by running "ruby script/console" from the RAILS_ROOT, and doing something similar to: # to redirect sql to an array >> arr = [] >> ActiveRecord::Base....
2005 Feb 07
7
New Docs - First Look
Ok, my first complete swipe for the new docs (but still with old rdoc default output templates) can be seen at: http://www.mktec.com/dev_www/wxruby-docs/ Most of the classes/methods documentation came out fine, but I still need finetune because some methods don''t get documented at all, like methods in the classes Bitmap and Frame. Once I can get it so all things get documented I''m going to work on the...
2006 Apr 20
5
How to find the last SQL statement executed in ActiveRecord
Is there a method for retrieving the last SQL statement executed by ActiveRecord? I realize I can open the log file, but I''m looking for a programmatic way. -- Posted via http://www.ruby-forum.com/.
2004 Sep 18
10
wxruby-swig: Converting to REXML
Since I''m setting up my development environment on a new system, I figure now is the time to get rid of one of the extra dependencies: NQXML. It appears that REXML can now parse the whole classes xml file in about 20 seconds on this machine, which is a huge improvement over the many, many minutes it used to take. So I am now updating extract.rb to use REXML instead of NQXML.
2005 Feb 08
5
New Docs - One Look and a Partial Glance
Ok, same url as before: http://www.mktec.com/dev_www/wxruby-docs/ We aren''t at the second look yet (because i dont'' have arguments in the docs yet), but that is coming. This fixes the bug where classes after Image didn''t have any docs, and this fixes the issue where many methods weren''t documented (...
2006 Jul 14
0
Let''s Optimize ActiveRecord!
...#39;ve written a long time ago about ActiveRecord and it''s speed problems. I''ve even written a few plugins that I''ve brought up to the list, and I''m back to say that it can be fixed and will be fixed. Here''s a taste of what is coming... http://blogs.mktec.com/zdennis/articles/category/ruby It''s going live at RubyConf*MI [1] Zach [1] http://www.rubyconfmi.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEt0atMyx0fW1d8G0RApXWAJ9Y+RfzgLSls8Upt8asXRcs...
2006 Jul 14
1
ActiveRecord, can it save more than one row at a time????
Hi, I wonder if there is some fonctions which allow an activeRecord to save more than one row at a time??? As I understand, when we create an object from AC::Base, it represents one row of the table. So if I want to save more than one row, I have to create the object one by one and then save them one by one. If I have 10, it is fine, but if I have more than 1000, so it will a lot of time.... So
2006 Jul 11
1
[Fwd: NDN: Samba PDC With LDAP Backend, Failed to initialise SAM_ACCOUNT for us]
...s an issue that is affected by the samba.org sites being down... but just in case.. Zach - -------- Original Message -------- Subject: NDN: [Samba] Samba PDC With LDAP Backend, Failed to initialise SAM_ACCOUNT for us Date: Tue, 11 Jul 2006 12:54:51 -0500 From: Gateway To: zdennis <zdennis@mktec.com> Sorry. Your message could not be delivered to: samba,Arkansas Urology (The name was not found at the remote site. Check that the name has been entered correctly.) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozd...
2005 Jul 26
0
Lighttpd / Rails / FastCGI - Small Problem and Solution
...r Apache. Our rails app uses libraries outside the ruby standard library paths, and outside our rails application directory. When trying to add those directories to our load path, it was getting screwed up. Here is my posting of the problem in full and the solution we came up with: http://blog.mktec.com/zdennis/ruby/ror_lighttpd_fastcgi_1.rdoc If anyone else knows of a better way to fix this please let me know. Thanks, Zach
2006 Aug 19
3
Activerecord validation problems
Hi everyone, I''m having trouble validating a model. The corresponding table has some boolean columns: create_table :permissions do |t| t.column :project_id, :integer, :null => false t.column :group_id, :integer, :null => false t.column :read, :boolean, :null => false, :default => false t.column :write, :boolean, :null => false, :default =>
2005 Mar 01
5
Open3.popen3 bug
Running this program: require ''win32/open3'' i, o, e, pid = Open3.popen3("c:/ruby/bin/ruby.exe -e\"sleep 10\"") i.close Gives this result: C:\_co\source\build\web\temp>ruby t.rb t.rb:5: [BUG] Segmentation fault ruby 1.8.2 (2004-06-29) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please
2005 Feb 26
7
Symlinks for Windows
Hi all, Dave Burt mentioned the possibility of adding symlinks to the Dir class. http://www.sysinternals.com/ntw2k/source/misc.shtml#junction There is also Autrijus Tang''s symlink Perl module at http://search.cpan.org/~autrijus/Win32-Symlink-0.04/ Looks easy enough, but it only seems to work for directories, not regular files. Should we add this to the Directory class, or simply
2006 Nov 24
7
Anyone know whats going on with PostgreSQL async_exec errors?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anyone know what''s going on with ActiveRecord Edge and 1.2RC1 unit tests. I get 13 failures from the "async_exec" method call. ie: test_callback_rollback_in_save(ConcurrentTransactionTest): ActiveRecord::StatementInvalid: NoMethodError: undefined method `async_exec'' for #<PGconn:0xb75a8754>: SET
2006 Aug 06
0
Rails Core Weekly July 16 - August 6
...ch Dennis is optimizing AR. In Zach''s words: "My main focus is getting AR to better handle inserts, updates and merges when working large sets of data. It can improve improve performance by 400% to 600% in preliminary benchmarks." The code that does that is here: http://blogs.mktec.com/zdennis/files/active_record_optimizations-0.0.1.tgz If you''re interested in making things fly on mysql this is one thread you should definitely check out. [ http://www.ruby-forum.com/topic/73899#new ] Shanti Braford is looking for a better solution the form_tag_remote with multipart...