Displaying 20 results from an estimated 24 matches for "pedrocr".
Did you mean:
pedroc
2010 Feb 20
2
Problems accessing a file share using kerberos
Hi,
I'm trying to access a file share on what I believe is a netapp server
using kerberos authentication. I've done a kinit and gotten
credentials and then ran:
$ smbclient -U pedrocr //gsb-filer2/pedrocr -k -d10
This actually increased the number of credentials klist shows so looks
good in that regard. Howeever, I got the error:
"""
SPNEGO login failed: NT_STATUS_MORE_PROCESSING_REQUIRED
lang_tdb_init: /usr/share/samba/en_US.UTF-8.msg: No such file or directory...
2006 Apr 27
1
Ferret crashing Ruby
...dex.rb:660:in `do_search''
/usr/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/index/index.rb:316:in `search''
/usr/lib/ruby/1.8/monitor.rb:229:in `synchronize''
/usr/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/index/index.rb:315:in `search''
/home/pedrocr/eadexer/config/../app/models/description.rb:233:in
`find_by_text''
/home/pedrocr/eadexer/config/../app/controllers/descr_controller.rb:67:in `find''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in `perform_action_without_filters''...
2006 Jul 05
10
Scalable alternative to #find_all
Is there any scalable alternative to iterating all the records of a
certain model? #find_all seems to load everything into memory. With
500.000 records it will be a swap storm.
Pedro.
2006 Aug 11
6
Running some code right before the app is available to users
I do some indexing using acts_as_ferret in a rails app. I need to do
some preloading of the index''s sort fields so that the first request
that sorts doesn''t take 5 minutes to complete. I tried sticking my
preload code in config/environment.rb and that worked but it gets ran
in rake migrations, tests, etc, when it''s not really needed. Is there
anything specific to
2012 Feb 22
3
Automatic configuration of direct routes behind NAT
Hi,
I've followed the guide at:
http://blogs.operationaldynamics.com/andrew/software/research/using-tinc-vpn
and have a working tinc VPN. Here's my topology:
- CentralNode has a fixed public IP address that everyone connects to
- Leaf1 and Leaf2 may have different IP addresses depending on where
they are, and usually those will be behind NAT (think, two laptops
going around and you get
2006 Jul 13
10
Problem with flashes staying on between pages
I have a login page that redirects to itself if the login is
incorrect. The browser does:
get login
post login, with wrong username and password
redirect back to login
When the post action redirects back to login it sets a flash telling
the user it failed. So far so good. The problem is that if I get
another page after that, the flash is still there. It only disapears
on the second.
2006 Nov 04
1
Calibrating the Battery on an MGE Ellipse Premium 1200
My new MGE Ellipse Premium 1200 is now working fine. I've tested
pulling the plug and the computer shuts down properly and comes back
up when I replug. The only strange behaviour is that when I put the
power back on the battery shows as being at 86%. If it was at 86% it
should have lasted longer. Is there any calibration step I can do? The
only commands the ups seems to support are:
$ upscmd
2006 Jul 11
1
Saving a request in the session
I have a filter that checks if the user is logged in and goes through
the login process if he is not. I''d like to store the complete request
in the session so that I can then replay it exactly, allowing for
post/get to both work. Is this possible at all?
Pedro.
2014 Dec 28
0
[Announcement] Tinc version 1.1pre11 released
Yes, it means exactly that. See
https://github.com/gsliepen/tinc/pull/26 for details.
On Sun, Dec 28, 2014 at 5:57 PM, Pedro C?rte-Real <pedro at pedrocr.net> wrote:
> On Sat, Dec 27, 2014 at 8:41 AM, Guus Sliepen <guus at tinc-vpn.org> wrote:
>> * LocalDiscovery now uses local address learned from other nodes, and
>> is enabled by default.
>
> Does this mean nodes will now lookup their local addresses and send
>...
2014 Dec 28
0
Current state of Tinc 1.1?
...ly optimized (assembly,
tuned for SSE etc.) code for ChaCha-Poly1305, which is a big win for
tinc because it dramatically lowers CPU usage and increases maximum
achievable throughput. See
http://bench.cr.yp.to/impl-stream/chacha20.html
On Sun, Dec 28, 2014 at 6:00 PM, Pedro C?rte-Real <pedro at pedrocr.net> wrote:
> On Mon, Dec 22, 2014 at 9:30 PM, Guus Sliepen <guus at tinc-vpn.org> wrote:
>> Although the cryptography is now separated from the rest of the logic in
>> tinc, it is not really replaceable, since only OpenSSL is supported.
>> However, there is also a new...
2006 Jul 31
1
Running setup code after boot
I''d like to run some caching code for my acts_as_ferret model after
booting but before starting to receive requests. I tried sticking it
into config/environments/production.rb but at that point it still
doesn''t have a logger and plugins are not included yet.
Anyone have any ideas on how do to this?
Thanks,
Pedro.
2006 Aug 18
3
RJS templates for DOM manipulation
I want to do some DOM manipulation with JavaScript. Specifically I
want to implement zoom in/out in a picture by changing it''s
width/height attributes. Is it possible to do this using RJS or should
I write javascript by hand?
All the examples of RJS I''ve seen write the javascript in the result
of an AJAX remote call. Where are the docs for RJS? All I''ve seen are
blog
2006 Aug 01
8
Problem importing lots of records
...ord/callbacks.rb:249:in `create_or_update''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1392:in `save_without_validation''
... 24 levels...
from /usr/lib/ruby/1.8/rexml/document.rb:173:in `parse_stream''
from /home/pedrocr/xmlcodec/lib/stream_parser.rb:74:in `parse''
from ./imports/import-ead:118
from ./imports/import-ead:115
The index is now in this state. There is no process running that could
be holding a lock. Seems like some kind of race condition. I can provide
the index (12MB) if it w...
2014 Dec 28
5
Current state of Tinc 1.1?
On Mon, Dec 22, 2014 at 9:30 PM, Guus Sliepen <guus at tinc-vpn.org> wrote:
> Although the cryptography is now separated from the rest of the logic in
> tinc, it is not really replaceable, since only OpenSSL is supported.
> However, there is also a new protocol in tinc 1.1, which uses Ed25519
> and ChaCha-Poly1305. The code for those algorithms is included in tinc,
> so the
2006 Nov 16
6
FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups & upsd
Hello,
I'm facing problems as I'm installing NUT to monitor a MGE Ellipse
ASR600USBS on a FreeBSD 6.1 box.
UPS is recognized as :
ugen0: MGE UPS SYSTEMS ELLIPSE, rev 1.10/42.41, addr 2
I'm temporarily using root profile (devfs/devd scripts not modified atm).
newhidups starts & runs fine (unplugging mains makes newhidups outputs
lots of data when started with -DDDD flags)
2014 Dec 27
6
[Announcement] Tinc version 1.1pre11 released
With pleasure we announce the release of tinc version 1.1pre11. Here is
a summary of the changes:
* Added a "network" command to list or switch networks.
* Switched to Ed25519 keys and the ChaCha-Poly1305 cipher for the new
protocol.
* AutoConnect is now a boolean option, when enabled tinc always tries
to keep at least three meta-connections open.
* The new protocol now
2014 Dec 27
6
[Announcement] Tinc version 1.1pre11 released
With pleasure we announce the release of tinc version 1.1pre11. Here is
a summary of the changes:
* Added a "network" command to list or switch networks.
* Switched to Ed25519 keys and the ChaCha-Poly1305 cipher for the new
protocol.
* AutoConnect is now a boolean option, when enabled tinc always tries
to keep at least three meta-connections open.
* The new protocol now
2006 Nov 04
19
Mongrel 0.3.13.4 Pre-Release -- Ruby''s LEAK Fixed (Death To Mutex!)
Howdy Folks,
This release is after painstaking analysis of a memory leak that was
reported by Bradley Taylor, reduced by myself, and then fixed after much
work. You should all thank Bradley for finding the bizarre fix.
It turns out the Ruby has a memory leak when you use pretty much any
thread locking primitive other than Sync (Mutex, Monitor, etc.):
http://pastie.caboo.se/10194
The fix (for
2006 Nov 02
1
MGE Ellipse Premium 1200 USB cable only works if plugged after boot
I have an MGE Ellipse Premium 1200 that I connected to my server using
its USB cable. Nut seems to be working fine. I've done a power down
test and it worked and came back up when the UPS had power again. I'm
using the newhidups driver and the USB cable.
The problem I'm having is that if I boot with the cable connected
newhidups says it can't find the UPS. If I unplug and plug in
2006 Jul 10
1
Serializing objects to the database
I have a rails app that has a search mechanism with a bunch of
options. I''ve consolidated all the search parameters into a
SearchQuery class. Now I want to store searches to be recalled later.
I searched the wiki but couldn''t find any pages about how to do this
best. I''m worried that if I just serialize the object I won''t be able
to change the class without