Displaying 20 results from an estimated 39 matches for "edgecombe".
2006 Jan 23
3
running rake commands from rake migrate
Hi there,
How can I run rake commands from a rake migration? I''m looking to run
rake engine_migrate and others commands from a migration in order to
migrate my engines along with my core app. Any advice is appreciated.
Thanks,
Jason
2006 Jan 27
1
Caching from screen scraping
...result from that screen
scraping as to be polite to the scrapee? I would like to expire the
results daily. In perl, I would use Cache::File. Can I use rails caching
for this? What''s the best way? The screen scrape is used internally in
my app and not viewed directly.
Sincerely,
Jason Edgecombe
2020 Jun 16
1
LUKS layer / best practice
Also, if you want to use deduplication (via VDO) then you must
remember to "dedupe then encrypt"
Storage > LUKS > VDO > LVM
old but good reference to: https://access.redhat.com/articles/2106521
On Tue, Jun 16, 2020 at 3:00 PM Jason Edgecombe <jwedgeco at uncc.edu> wrote:
>
> I recommend having LUKS be "under" LVM. the layers would be:
> /dev/sda -> partition (/dev/sda1) -> LUKS (/dev/sda1_crypt) -> LVM physical
> volume -> volume group -> logical volume -> filesystem
>
> The layers de...
2006 Jul 31
1
Starting backgroundrb from rails and restarting with rails
...to restart backgroundrb if rails itself has
been restarted.
4. I''m lazy. ;)
I''m thinking of having rails store the time that rails started in
backgroundrb and restart backgroundrb if the time if the rails time is
later than the backgroundrb time.
Any pointers?
Thanks,
Jason Edgecombe
2005 Dec 18
3
automatically generate migration from db/SQL?
Hi,
I''d like to use migrations to build my initial database. Is there a gem
or plugin that will generate the migration code for initial db if I
point it at a live database or sql file?
If yes, then can you automatically generate the incremental migrations
as well?
Thanks,
Jason
2020 Jun 16
2
LUKS layer / best practice
Hi all,
with regard to LUKS; should it placed before LVM or after? Any
recommendations? TRIM command fully supported through all layers etc?
--
Leon
2020 Jul 10
1
CentOS 7 rsyslog and ELK
On Fri, 2020-07-10 at 16:44 -0400, Jason Edgecombe wrote:
> I don't use ELK at the moment, but is this helpful?
>
> % journalctl -f --output=json
>
> The above command prints the continuous output of the systemd journal in
> json format.
>
Thanks. The problem is getting that into logstash. But it's actually
quite us...
2006 Jul 27
3
timer service
hi everyone,
I have this case where I need to check some records in the database of a
specific data condition every 5 seconds and do some business logic if
this scenario is true.
Problem is there doesn''t seem to be any timer service in the rails
framework. Anyone have a general idea of how to attack this problem?
thanks,
-dan
--
Posted via http://www.ruby-forum.com/.
2006 Feb 08
1
testing with loginengine and userengine
Hi all,
My unit tests and functional tests are failing because my tests aren''t
authenticated. I''m using using user engine and login engine.
How can I fake authentication to make my tests work properly.
Thanks,
Jason Edgecombe
2006 Jan 31
2
Setting a default order for a model?
Hi,
I''m using a room model throughout my code. I keep doing the following:
@rooms = Room.find(:all, :order => ''buildings.name, room_number'',
:include => :building)
I have to copy this into several of my controllers and I feel that I''m
violating the DRY principle. Can I set this as the default order in my
model? If so, how would I do that?
Thanks,
2010 Dec 01
2
How to draw a rect() behind a hist() ?
Hi,
I have the following code:
hist(gps$heartpercent, breaks=5)
rect(90, par("usr")[3], 100, par("usr")[4], col = "red")
How do I get the rectangle to appear behind the histogram. Barring that,
how can I make certain bars of the histogram to be a certain color?
Thanks,
Jason
2017 Mar 10
1
polkit helper timeout and defunct pkla-check-authorization processes on CentOS 7.3
...:32 myhost polkitd[1018]:
/etc/polkit-1/rules.d/49-polkit-pkla-compat.rules:21: Error: Error spawning
helper: Timed out after 10 seconds (g-io-error-quark, 24)
... (snipped more lines about error evaluating rules)...
---------------------------------------------------------------------------
Jason Edgecombe | Linux Administrator
UNC Charlotte | The William States Lee College of Engineering
9201 University City Blvd. | Charlotte, NC 28223-0001
Phone: 704-687-1943
jwedgeco at uncc.edu | http://engr.uncc.edu | Facebook
---------------------------------------------------------------------------
If you ar...
2006 Jul 14
8
CAS Authentication filter.
Hi
CAS is a centralized authentication service, and the cas_auth filter can
be installed to automatically make your web application authenticate
against a CAS server. The SVN path to the plugin is
http://svn.ki.se/rails/plugins/cas_auth
and a homepage with some information can be found at
http://opensource.ki.se/casauth.html
For use, just install the plugin in your application and set
2005 Dec 14
2
console and webrick problems
Hi,
I''m having errors when running webrick or the console. webrik starts,
but give me an error when I try to load my controller. It give the same
error as the console:
#ruby script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23:in
`exec'': No such file or directory - irb -r irb/completion -r
2018 Dec 04
2
Update failure: Mate requires libgtop-2.0.so.10
> Date: Monday, December 03, 2018 20:41:20 -0600
> From: Frank Cox <theatre at sasktel.net>
>
> I just tried updating this laptop to the shiny new Centos version
> and it appears that Mate doesn't like the new version of libgtop,
> as you can see here:
>
> Error: Package: marco-1.16.1-3.el7.x86_64 (@epel)
> Requires: libgtop-2.0.so.10()(64bit)
>
2017 Oct 30
2
R: dplyr, doBy, and ggplot2 in CentOS7
On Mon, Oct 30, 2017 at 10:56 AM Tony Schreiner <anthony.schreiner at bc.edu>
wrote:
> On Mon, Oct 30, 2017 at 10:27 AM, Larry Martell <larry.martell at gmail.com>
> wrote:
>
> > I have a R script that I am running from python with rpy2. On a debian
> > system I run this:
> >
> > apt-get install R-cran-ggplot2 R-cran-caret
> >
> > And the
2020 Jul 10
5
CentOS 7 rsyslog and ELK
I asked a similar question about a year ago and didn't get any answers.
So I thought I'd try again.
What do people do to get their syslog messages on CentOS 7 into a
remote ELK stack. I've tried lots of things involving rsyslog,
filebeat, redis, logstash and so on in lots of different configurations
but nothing really works.
I can get rsyslog to talk directly to logstash (acting as
2006 Aug 18
7
Linux - Rails - PostgreSQL partitioning
I am getting some larger hard drives and will migrate my intranet
application onto the new hard drives. I am using CentOS 4. The current
setup uses one small boot volume (ext2) and the rest is partitioned into
one big LVM.
Does it make sense to partition /var/lib/pgsql separately? (thinking
mostly in terms of performance)
Craig
2005 Dec 21
4
[OT] server partitioning question (rails + postgres)
Hi,
A bit off-topic, but I''m about to set up a remote Linux server
for Rails, with postgres and probably Lighttpd.
The server has two 120GB hard drives, one of which will just be
for nightly backups of the other.
I don''t intend to have any untrusted user accounts on the server.
The server will be dedicated to my own applications.
I''ll want to support lots of www
2005 Dec 15
13
Fast Bulk Inserts?
I need to insert ~100k rows into the database, but using "Table.new(...).save"
is painfully slow (I notice in the logs that it''s wrapping each insert in a
transaction -- that can''t be fast).
Any suggestions on how I can improve the speed of bulk inserts like this?
Thanks ...
-- Steve