Displaying 16 results from an estimated 16 matches for "halfgaar".
2019 May 31
9
[Bug 3017] New: ExitOnForwardFailure=yes doesn't work for local forwards (-L)
...s (-L)
Product: Portable OpenSSH
Version: 7.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: wiebe at halfgaar.net
Logging in from an Ubuntu 18.04 machine, OpenSSH 7.6p1-4ubuntu0.3, the
option ExitOnForwardFailure doesn't seem to work. I says 'bind: Address
already in use' and I get a shell:
=======
halfgaar@<localmachine>: ~
$ ssh -L 8080:localhost:22 -o ExitOnForwardFailure=yes root at...
2006 Mar 06
6
Executing SQL in rails, and the types of the data returned
Hi,
Every once in while I have to run SQL by hand, in my models mostly. But
I''m wondering if there is a better way of doing it than I do. And, I
have a question concerning types of the fields in the result the query
produces.
First, about the types. In a certain model, to get and return the value
of a boolean function, I have to do:
result =
2007 Jun 06
7
RadRails vs. Textmate
Is there anyone out there can give me a comparison between RadRails/
Aptana and Textmate? I have been using skEdit for all of my general
coding stuff, but I am now looking into getting a new editor for my
Ruby/Rails work. I know that most Mac users swear by Textmate, but I
would really like to hear some comparisons between RadRails, Textmate,
and even skEdit as well.
What your thoughts and
2006 Mar 25
5
Unit test fails on different line the second time it''s run
I''ve got a very peculiar problem with unit tests. First, I clone my
development database with "rake clone_structure_to_test", then I run my
test with "ruby investment_product_score_override_test.rb". It fails on
line 68. Then, every test run after this, fails consistently on line 34.
How is this possible? I don''t use fixtures and I don''t use
2005 Dec 15
3
define_method with parameters
Hi,
I''m trying to write a macro which defines methods. One of these should
have a parameter, but I can''t get that to work. Something like:
define_method("printstuff") do
puts "blabla"
end
works fine. But, how do I use define_method to create something like:
def printstuff(the_stuff)
puts the_stuff
end
Thanks in advance.
2015 Nov 04
4
Find me macro - calling multiple people to get a hold of one
Hi list,
We're trying to set up a phone number that customers can call to get a hold of anyone of a group of sysadmins (and not their voice mails!). We found the findme example ([1]) that makes the callees press 1 to accept the call. It almost works, but it doesn't work correctly when one of the callees, the sysadmins, hangs up after accepting the call.
We're using this
2006 Mar 25
1
Re: Rails Digest, Vol 18, Issue 656
...the test runs
> are completely separate from each other, because as you said, they are
> running in transactions. Have you watched the test.log file to see whats
> getting spit out while you run the test? It can be very informative.
>
> -Nick
>
> On 3/25/06, Wiebe Cazemier <halfgaar@gmail.com> wrote:
> >
> > I''ve got a very peculiar problem with unit tests. First, I clone my
> > development database with "rake clone_structure_to_test", then I run my
> > test with "ruby investment_product_score_override_test.rb". It fails...
2006 Apr 06
4
using two foreign keys to the same table
i am working on a task manager with ruby on rails. it is my first major
project, so i''m still gettng my feet wet as i learn.
i''ve been trying to use the built in relationships to link my tables
together, but i''m not able to use the same naming conventions. for each
task, it has a field for the creator, and another field for the
assignee. both of these fields
2006 Apr 08
4
Calling validates_inclusion_of out of default namespace
Hi,
I''m trying to run the "validates_inclusion_of" method in a before_save hook,
because the range is dependant on the related data. But I can''t figure out how
to call it. When calling it normally, it says it can''t find it.
I''ve tried several combinations like
"ActiveRecord::Validations.validates_inclusion_of", but I can''t seem to
2006 Mar 25
67
Your Ruby IDE
Just a poll here i am looking for a good IDE for rails and wondering
what you guys use?
features i like in an ide
code highlites
auto code complete
file browser
Currently i am using dreamwever but the code highliting is really bad
its also a pain to set up other doucment types such as .yml data config.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 06
3
Irreversible Migrations
Hi,
To make a migration irreversable, one has to execute "raise
IrreversibleMigration". This is how it''s documented everywhere. However,
when I do that, I get this:
rake aborted!
uninitialized constant IrreversibleMigration
This is the migration (the file is called 022_ldap_fix.rb):
class LdapFix < ActiveRecord::Migration
def self.up
execute File.open(
2006 Apr 08
1
text_field behaviour with validations
Hi,
The text_field method sets the class of the field to "invalid" when the object
you specified is invalid (when using validations). This is to facilitate
working with validations.
Is there anything else it does? In a certain non-standard situation I''m forced
to use text_field_tag, instead of text_field. This means I have to take care
of the validations myself as well.
2006 Mar 03
4
DB data type enforcement in Active Record
I have a question about how ActiveRecord handles data types.
When I enter text in a text_field (meaning, a field in the GUI) which
belongs to a numeric field in the database, Active Record automaticly
converts it to 0, because that''s what the to_f/to_i method of a string
does. Is it also possible to have Active Record enforce the types, so
that when you enter text for a numeric
2007 Mar 19
0
Surround sound and Creative EAX in Wine
Hi,
When using the Alsa output device, is it possible to configure it to
use a surround sound output, like "surround51" or "surround40"? I found
a few references on the internet, but nothing clear. They talked about
the deprecated wine.cfg, or registry keys I don't have. The winecfg
utility also doesn't allow changing any useful audio setting in this
regard.
2007 May 14
0
building and saving has_many and has_one relations
Hi,
I am very confused about an aspect of has_one and has_many relations,
with regard to using the build method, and saving the belongs_to side.
It''s a somewhat long post. so please bear with me :)
First let''s consider the has_one scenario. Let''s say I have a student
who must own exactly one car:
class Student
has_one(:car)
end
class Car
belongs_to(:student)
2007 Jan 03
1
Dune 2000 - no keyboard response - good rendering speed
Hi,
I've installed Dune 2000 and the 1.06 patch in Wine, and it runs very well,
except that it doesn't accept keyboard input. It wasn't any better without the
patch. The entry at the appdb doesn't mention anything about it. Does anybody
know how to fix it?
I've already tried changing all the settings on the "graphics" tab
in "winecfg". Half-Life, for