search for: hadn

Displaying 20 results from an estimated 704 matches for "hadn".

Did you mean: had
2007 Dec 23
6
modules fileserver section
On the module organization wiki, we''re got the following statement: To control access to the files in modules, the fileserver configuration can contain an explicit declaration of a ``modules`` module:: ... however, I thought the fileserver couldn''t define module or any section that is in the module paths. Has anyone tried this? And if it doesn''t work, is there
2004 Feb 24
1
Serial port communication
Hello, I'm trying to use my Visual C++ program under Linux using Wine. My program configurates a serial port, sends and receives data through it. At first everything seemed to be running, but then I noticed a very curious thing: the program running under wine seems to have no notice when a single byte was sent to it to the serial port. If I send two or more bytes - everything OK. With one
2004 Jan 30
5
Graceful shutdown of a virtual domain
Hi All, I''ve been looking through the code and list archives but haven''t found this yet... From dom0, how do you cause a virtual domain to gracefully shutdown? It seems like the machinery is there somewhere, because the hypervisor can do it to dom0... For reference, in UML you do this by putting this in /etc/inittab: ca:12345:ctrlaltdel:/sbin/shutdown -h now ...and then
2005 Mar 02
4
Development without server restart?
...uld argue that for development you should just use webrick, but this wasn''t an option for me last night. I was working on a Rails app that was behind a firewall that only had port 80 open... It took me a while to realize that my "changes" weren''t taking effect because I hadn''t restarted apache. In what environment does development without webserver restarts possible?
2007 Nov 14
6
a few add_index questions..
on previous apps i hadn''t really worried much about adding foreign key indexes on my tables just because they''ve been fairly small and i didn''t really think i needed them. well, i''m working on something now that has the potential to have a lot more data, and a lot more foreign keys. s...
2006 Dec 04
5
should_be_different -- possible implementation
...o Person.create(:name => ''joe'') Person.should_be_different :count do Person.create(:name => ''bob'') end end This has probably already been done, but I thought I''d put it out here for comment in case it hadn''t. Note that if you omit the method, the objects are tested for equality (however the object defines it). If you include the method but omit the difference, then any amount difference is ok. Testing destroy might indicate using -1 for the difference to indicate that the count has g...
2005 Dec 16
3
HTB filters'' parent
Hi I am the author of /etc/net project (http://etcnet.org/), which along with other features provides QoS support. This support is done through a hierarchical configuration tree for each interface, which is translated into ''tc'' command sequence. Filters are supported and for each filter parent is determined automatically during translation: it is the last qdisc seen in the tree.
2007 Oct 04
7
Using Predicates to look at an array..
...I want to see what is in there. In the past I have done: shipping_type.include?(Cart::SHIPPING_TYPE_REGULAR).should be_true This works, but looks really ugly.. It just doesn''t roll of the tongue very well. I then looked up the use of Predicates, which I had been using, but hadn''t realized: shipping_type.should be_include(Cart::SHIPPING_TYPE_REGULAR) This works, however the syntac of be_include looks very odd... Is there any way to do: shipping_type.should_include(Cart::SHIPPING_TYPE_REGULAR) How are other folks looking at the contents of an Array...
2006 Jul 18
9
Displaying HTML pulled directly from a database
How can I get RoR to display html pulled directly from a database, without converting the tags. (e.g. if "<h1>Hello</h1>" is stored (as text) in a database, how can I get RoR NOT to corvert it to "&lt;h1&gt;Hello</h1>", but instead to just pass the tags along so that "Hello" displays in bold. I''m sure it''s just a
2007 Nov 13
3
zpool status can not detect the vdev removed?
...LINE 0 0 0 /export/f3.dat ONLINE 0 0 0 spares /export/f4.dat AVAIL errors: No known data errors after this, I run "rm /export/f1.dat", and I write something, the write operation is normal, but when I check the status of zpool, it hadn''t told me any exception, but the file f1.dat is really removed! and when I scrub the pool, Solaris reboot... what should I consider this? If the system would reboot when I get off a disk from the pool? ____________________________________________________________________________...
2006 Nov 09
6
OptimizedMutex for Mongrel
Hey Zed- I had a user with an app that was leaking memory with mongrel but not lighty/fcgi. I have been doing anything I can to track it down. I already did the Mutex patch to use unshitf and pop instead of shift and push and it didn''t really help much. The mem leak only really shows up when you use the wsess option to httperf. The other day I saw a ruby C extension that
2006 Sep 20
2
Status of MFC security event audit support in RELENG_6?
A few weeks back Robert Watson announced the merge of these features from 7 back into 6-STABLE. I hadn't seen any updates and was curious as to the status. Us 6-STABLE users are curious to test it out. Thanks. --A
2006 Apr 22
6
Friendly Reminder (OT)
Today, I had a tragic hard drive crash. I hadn''t updated anything to SVN in two weeks. I''m posting this here as a reminder to my beloved Rails community. Everyone, right now..... make a backup of your rails work. Make sure its on two disks. Many of you already do that automatically, but just make sure its working. Two near-...
2007 Nov 12
5
Solaris build fix breaks Solaris
16396:055d98aa2dd0 almost works but not quite. LDFLAGS_DIRECT means we end up with: gld -melf_i386 -nostdlib -N -Ttext 0x100000 -o hvmloader.tmp hvmloader.o mp_tables.o util.o smbios.o 32bitbios_support.o acpi/acpi.a Specifying a linker script and asking for -nostdlib is obviously contradictory. Removing $(LDFLAGS_DIRECT) fixes the problem. regards john
2005 Oct 25
6
ipf stopped working on 5.3
...mic IP's. I (reluctantly) opened up SSH to the world. Immediately I started seeing the attacks where bots of some sort would try to break in with a variety of different users. So, I (thought) I closed it up again and told the developers to use a dedicated proxy. They did, but I realized that I hadn't actually closed things off. I was still getting attacked. I had tried, but ipf suddenly wasn't working. Whenever I would change the firewall rules and ipf -D and the ipf -E -f /etc/my.rules it would simply return: 1:ioctl(add/insert rule): No such process I didn't have the time to l...
2007 Dec 18
9
Long-running pages cause mongrel time-outs
Hi all, We use mongrel behind apache (using mod_proxy_balancer) to run an internal app for our business. Lately we''ve been seeing frequent errors from some of our mongrel processes. [Sun Dec 16 08:48:47 2007] [error] [client <CLIENT1>] (70007)The timeout specified has expired: proxy: error reading status line from remote server 127.0.0.1, referer:
2009 Aug 21
1
Ghost files in OCFS2 filesystem
...g ocfs2, OS is RH Linux 5.3. One of the ocfs2 filesystems appears to be 97% full, yet when I look at the files in there they only equal about 13gig (filesystems is 40gig in size). I have seen this sort of thing in HP-UX but that involved a process who's output file was deleted but the process hadn't been stopped properly, once we killed the offending process the space was released, but I can't seem to find any process on this Linux server that is using or writing files to that filesystem. File system: Filesystem Size Used Avail Use% Mounted on /dev/emcpoweri1 40G...
2011 Nov 16
9
extending qemu-dm
Hello, I''m working on a project and trying to pass through a PS/2 mouse + keyboard to a hardware VM. I''ve played with numerous things (including the obvious, using USB), but after finding no alternative, it seems like the best way to approach this would be to modify qemu-dm to pipe through data from /dev/input/eventwhatever to the keyboard/mouse that qemu provides (and then
2006 Jan 16
2
LoginEngine vs. LoginGenerator?
I just saw a mention here of LoginEngine, which I hadn''t heard of before. Last week when I was digging for user-account sample code for my web-app, I instead found the LoginGenerator and started using that: http://wiki.rubyonrails.com/rails/pages/LoginGenerator Is one of these preferred over the other? From skimming the API docs, it do...
2005 Jan 12
1
Shorewall 2.0.15
My sincere apologies for the messed up 2.0.14. I didn''t realize that I had merged a change from 2.2.0 but hadn''t tested it. http://shorewall.net/pub/shorewall/2.0/shorewall-2.0.15 ftp://shorewall.net/pub/shorewall/2.0/shorewall-2.0.15 1. The range of ports opened by the AllowTrcrt action has been expanded to 33434:33524 to allow for a maximum of 30 hops. 2. Code mis-ported from 2.2.0 in releas...