similar to: [OT] Sanitizing Characters In Pasted Text

Displaying 20 results from an estimated 1000 matches similar to: "[OT] Sanitizing Characters In Pasted Text"

2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client and by project. There''s a Windows application that allows me to do this, but I''m looking for a cross-platform solution. I looked at ConsultComm but it wouldn''t install on my Mac. Rather than rewriting what seems like a commonly-required app, I wondered if anyone else had something they
2005 Oct 28
4
find_by_sql column types
Hello-- There must be a better way to do this. I have a class method in my model that finds averages and does a few calculations using find_by_sql. The problem I¹m encountering is that all computed columns from MySQL come back as type string. E.g., def self.find_averages(domain_id) if @@domain_average return @@domain_average else @@domain_average =
2010 Apr 15
3
Please help: Shorewall 4.4.8 captures all traffic as "world" on both loc & net on a bridge firewall
Hello All, I¹ve installed the vanilla shorewall F12, I¹ve got it installed on a couple of other servers with no problems. no matter how I define the zones and interfaces, shorewall logs and allows, rejects or drops only traffic to world. ACCEPT:info net:<myip>/32 $FW icmp Shorewall:world2fw:REJECT:IN=br0 ACCEPT:info world:<myip>/32 $FW icmp
2007 Nov 06
3
Keeping Up with Trunk
I have a project with rspec installed as a plugin using svn:externals. Here are my externals: rspec_on_rails svn://rubyforge.org/var/svn/rspec/trunk/ rspec_on_rails rspec svn://rubyforge.org/var/svn/rspec/trunk/ rspec I just did an svn up on both and now have a version mismatch: ########################################################################
2007 Jun 24
6
mocking errors
What is the correct way to mock out the errors on a Rails model? I''m assuming i need to say @mock_thing = mock_model(Thing) @mock_thing_errors = mock("errors") @mock_thing_errors.should_receive(:full_messages).and_return("An error") @mock_thing.should_receive(:errors).and_return(@mock_thing_errors) Just wanted to check the best practice on this kind of thing and how
2006 Aug 10
3
Ruby on Rails with Oracle
Hello everyone, I am trying to convince my colleagues to convert to Ruby on Rails, however I am up against the following problem: Ruby on rails seems to be primarily designed a single database doing a small number of queries. While trying to process a webpage that does thousands of sql queries on Oracle, I get the message that I have used up too many cursors. In Java, I can use stmt.close()
2014 May 05
0
Why is Sanitizing SQL Fragments so Highly Muddled?
I've found there are some times where jumping straight to the database is easier than going through ActiveRecord (for instance: odd calculations being performed or large sets of data being returned that don't need to be instantiated into AR models). I can't find an easy or accepted way to bind variables in a custom SQL clause. sanitize_sql_array is protected, so you would have
2014 May 29
2
[LLVMdev] Module::getOrInsertFunction determinism
Hi Tim, Thank you very much for quick response. What happens in my case is that mixing calls to getOrInsertFunction with linking another bit code module to the current module seems to be sometimes producing different outputs. Difference might be with the ordering of functions in the file (I¹m looking at LLVM IR representation), with numbers used for constant variables, numbers used in the ³dbg²
2018 May 10
1
OT: hardware: sanitizing a dead SSD?
Probably too late for consideration at this point, but there are Enterprise Class SSDs available with DoD/NSA certified/approved self encryption capability. The concept is that encryption is a hardware feature of the drive, when you want to dispose of it, you throw away the key. This allows vendors to receive broken drives back from GOV/MIL clients securely so that failure methods can be
2014 Jun 03
2
[LLVMdev] Module::getOrInsertFunction determinism
Hi Philip, I would like to ask a follow-up question about code generation. Do you know if is expected that if we take the same bit code modules and link them together in the same order (programatically), but on different machines (assuming the same version of LLVM and roughly the same OS), the output may differ with respect to order of function definitions inside module? Thank you very much in
2006 Feb 28
0
help with sanitizing html (comments in blog)
I''ve added this method in my model which is called with each save. It does a good job getting rid of html tags and then emplementing RedCloth. I''m very new at blogs so I''m not sure if this is adequate or not for comments. What do you think? I would love to hear if this is safe, unsafe, or just plain bad form. Also, I don''t think that RedCloth is
2008 Nov 25
0
Sanitizing the New Session Key Format
Facebook''s new session format contains periods and underscores which appear to be breaking mem_cache_store. To get my app working again, I appended the following code to the end of environment.rb class CGI class Session class MemCacheStore def check_id(id) #:nodoc:# id = id.gsub(''-'', '''').gsub(''.'',
2014 Nov 17
0
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
On Mon, Nov 17, 2014 at 10:44:30AM +0100, Cornelia Huck wrote: > On Mon, 17 Nov 2014 11:37:01 +0200 > "Michael S. Tsirkin" <mst at redhat.com> wrote: > > > On Mon, Nov 17, 2014 at 05:17:17PM +0800, Jason Wang wrote: > > > Buggy host may advertised buggy host features (a usual case is that host > > > advertise a feature whose dependencies were
2014 Nov 17
0
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
On Mon, Nov 17, 2014 at 11:20:48AM +0100, Cornelia Huck wrote: > On Mon, 17 Nov 2014 12:11:39 +0200 > "Michael S. Tsirkin" <mst at redhat.com> wrote: > > > On Mon, Nov 17, 2014 at 10:44:30AM +0100, Cornelia Huck wrote: > > > On Mon, 17 Nov 2014 11:37:01 +0200 > > > "Michael S. Tsirkin" <mst at redhat.com> wrote: > > > >
2014 Nov 18
0
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
On Tue, Nov 18, 2014 at 11:23:49AM +0800, Jason Wang wrote: > On 11/17/2014 06:11 PM, Michael S. Tsirkin wrote: > > On Mon, Nov 17, 2014 at 10:44:30AM +0100, Cornelia Huck wrote: > >> On Mon, 17 Nov 2014 11:37:01 +0200 > >> "Michael S. Tsirkin" <mst at redhat.com> wrote: > >> > >>> On Mon, Nov 17, 2014 at 05:17:17PM +0800, Jason Wang
2018 May 08
0
OT: hardware: sanitizing a dead SSD?
On 8 May 2018 at 15:34, <m.roth at 5-cent.us> wrote: > Anyone have any clues about how to sanitize a dead SSD? We haven't had it > yet, but we're sure it's coming. Esp. since I'm a federal contractor, a > dead disk gets deGaussed, but what the hell do you do with a SSD? > SSD disks must be shredded as the data has been written over multiple sectors many times to
2018 May 08
1
OT: hardware: sanitizing a dead SSD?
On Tue, 2018-05-08 at 15:46 -0400, Stephen John Smoogen wrote: > SSD disks must be shredded as the data has been written over multiple > sectors many times to 'even the writes'. This allows for even a 'dead' > disk to be disassembled with 'off-the-shelf' equipment to extract > items from the dead places. Depending on the data involved, there may > be
2018 May 09
0
OT: hardware: sanitizing a dead SSD?
On Wed, 2018-05-09 at 13:00 +0200, Leon Fauster wrote: > > Am 08.05.2018 um 21:46 schrieb Stephen John Smoogen <smooge at gmail.com>: > > > > On 8 May 2018 at 15:34, <m.roth at 5-cent.us> wrote: > > > Anyone have any clues about how to sanitize a dead SSD? We haven't had it > > > yet, but we're sure it's coming. Esp. since I'm a
2018 May 09
0
OT: hardware: sanitizing a dead SSD?
Disclaimer: My $dayjob is with a government contractor, but I am speaking as private citizen. Talk to your organization's computer security people. They will have a standard procedure for getting rid of dead disks. We on the internet can't know what they are. I'm betting it involves some degree of paperwork. Around here, I give the disks to my local computer support who in turn
2018 May 09
0
OT: hardware: sanitizing a dead SSD?
On Wed, 9 May 2018, m.roth at 5-cent.us wrote: > Federal contractor here, too. (I'm the OP). For disks that work, shred or > DBAN is what we use. For dead disks, we do the paperwork, and get them > deGaussed. SSD's are a brand new issue. We haven't had to deal with them > yet, but it's surely coming, so we might as well figure it out now. Does anyone use hdparm's