From owner-freebsd-chat@FreeBSD.ORG Sun May 25 20:10:08 2008 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B48EE106566C for ; Sun, 25 May 2008 20:10:08 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 829058FC13 for ; Sun, 25 May 2008 20:10:08 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from ool-435559b8.dyn.optonline.net (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K1F00KRKXCVBAQ0@mta5.srv.hcvlny.cv.net> for freebsd-chat@freebsd.org; Sun, 25 May 2008 16:10:07 -0400 (EDT) Received: from ool-435559b8.dyn.optonline.net (localhost [127.0.0.1]) by ool-435559b8.dyn.optonline.net (8.14.2/8.14.2) with ESMTP id m4PKA6Rf072093 for ; Sun, 25 May 2008 16:10:06 -0400 Date: Sun, 25 May 2008 16:10:01 -0400 From: "Aryeh M. Friedman" To: fbsd_chat Message-id: <4839C799.6020104@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 User-Agent: Thunderbird 2.0.0.14 (X11/20080513) Subject: [OT] looking for a algorithm X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2008 20:10:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lets say I have a string of n bits that needs to be filled by repeatedly applying some function on k strings of m bits where |m|<|n|. Assuming that m(i) is a random string and n needs to also be random what is the best way to do this. Note it is possible that k*|m|>|n|. What I have been thinking so far is: ~ Let m' be the average length of m // this is pre-computable ~ Let n be all 0's ~ for i=0 --> k ~ pos=m'*i ~ xor string k[i] onto n starting at pos // wrap around if needed ~ While this is simple I wonder if it can be attacked (determine what k[i]) if k*|m|>|n| (it is trivial to attack if k*|m|<=|n|). Also is there some way to make attacking hard if k*|m|<=|n|? ~ Ideas? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkg5x5gACgkQk8GFzCrQm4C47wCfVLGiXFwILBsRIoZ3Sx3fpMf7 DrsAn1Fr196aTJ3vMUFJ21+sqM0AZdB8 =UF9N -----END PGP SIGNATURE----- From owner-freebsd-chat@FreeBSD.ORG Sun May 25 20:46:08 2008 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C07F1065690 for ; Sun, 25 May 2008 20:46:08 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: from mail.rwxrwxrwx.net (rwxrwxrwx.net [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id B17EC8FC1C for ; Sun, 25 May 2008 20:46:07 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: from localhost (unknown [127.0.0.1]) by mail.rwxrwxrwx.net (Postfix) with ESMTP id DE7CB6D49C for ; Sun, 25 May 2008 22:28:11 +0200 (CEST) Received: from mail.rwxrwxrwx.net ([127.0.0.1]) by localhost (mail.rwxrwxrwx.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lwMCjqgQTD-x for ; Sun, 25 May 2008 22:28:08 +0200 (CEST) Received: from phong.rwxrwxrwx.net (phong [192.168.100.13]) by mail.rwxrwxrwx.net (Postfix) with SMTP id CBE756D444 for ; Sun, 25 May 2008 22:28:08 +0200 (CEST) Received: by phong.rwxrwxrwx.net (sSMTP sendmail emulation); Sun, 25 May 2008 22:30:53 +0200 From: "Martin Tournoij" Received: by phong.rwxrwxrwx.net (tmda-sendmail, from uid 1001); Sun, 25 May 2008 22:30:53 +0200 Date: Sun, 25 May 2008 22:30:52 +0200 To: freebsd-chat@freebsd.org Message-ID: <20080525203052.GA6996@rwxrwxrwx.net> References: <4839C799.6020104@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4839C799.6020104@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Delivery-Agent: TMDA/1.1.12 (Macallan) Mail-Followup-To: freebsd-chat@freebsd.org, aryeh.friedman@gmail.com Cc: aryeh.friedman@gmail.com Subject: Re: [OT] looking for a algorithm X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2008 20:46:08 -0000 On Sun, May 25, 2008 at 04:10:01PM -0400, Aryeh M. Friedman wrote: > Lets say I have a string of n bits that needs to be filled by repeatedly > applying some function on k strings of m bits where |m|<|n|. Assuming > that m(i) is a random string and n needs to also be random what is the best > way to do this. Note it is possible that k*|m|>|n|. What I have been > thinking so far is: > > ~ Let m' be the average length of m // this is pre-computable > ~ Let n be all 0's > > ~ for i=0 --> k > ~ pos=m'*i > > ~ xor string k[i] onto n starting at pos // wrap around if needed > > ~ While this is simple I wonder if it can be attacked (determine what > k[i]) if k*|m|>|n| (it is trivial to attack if k*|m|<=|n|). Also is there > some way to make attacking hard if k*|m|<=|n|? > > ~ Ideas? So you want us to do your homework...? -- Martin Tournoij carpetsmoker@rwxrwxrwx.net http://www.daemonforums.org Information is the inverse of entropy. From owner-freebsd-chat@FreeBSD.ORG Sun May 25 20:50:15 2008 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 472751065670 for ; Sun, 25 May 2008 20:50:15 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 145BF8FC22 for ; Sun, 25 May 2008 20:50:15 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from ool-435559b8.dyn.optonline.net (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K1F00JJ7Z7QRBS0@mta5.srv.hcvlny.cv.net> for freebsd-chat@freebsd.org; Sun, 25 May 2008 16:50:14 -0400 (EDT) Received: from ool-435559b8.dyn.optonline.net (localhost [127.0.0.1]) by ool-435559b8.dyn.optonline.net (8.14.2/8.14.2) with ESMTP id m4PKoDol078706; Sun, 25 May 2008 16:50:13 -0400 Date: Sun, 25 May 2008 16:50:08 -0400 From: "Aryeh M. Friedman" In-reply-to: <20080525203052.GA6996@rwxrwxrwx.net> To: freebsd-chat@freebsd.org, aryeh.friedman@gmail.com Message-id: <4839D100.30405@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <4839C799.6020104@gmail.com> <20080525203052.GA6996@rwxrwxrwx.net> User-Agent: Thunderbird 2.0.0.14 (X11/20080513) Cc: Subject: Re: [OT] looking for a algorithm X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2008 20:50:15 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin Tournoij wrote: | On Sun, May 25, 2008 at 04:10:01PM -0400, Aryeh M. Friedman wrote: |> Lets say I have a string of n bits that needs to be filled by repeatedly |> applying some function on k strings of m bits where |m|<|n|. Assuming |> that m(i) is a random string and n needs to also be random what is the best |> way to do this. Note it is possible that k*|m|>|n|. What I have been |> thinking so far is: |> |> ~ Let m' be the average length of m // this is pre-computable |> ~ Let n be all 0's |> |> ~ for i=0 --> k |> ~ pos=m'*i |> |> ~ xor string k[i] onto n starting at pos // wrap around if needed |> |> ~ While this is simple I wonder if it can be attacked (determine what |> k[i]) if k*|m|>|n| (it is trivial to attack if k*|m|<=|n|). Also is there |> some way to make attacking hard if k*|m|<=|n|? |> |> ~ Ideas? | | So you want us to do your homework...? | If this was homework I would just use the above and take the b or what ever I would get on it but I need this for something else where any attack is not good. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkg50QAACgkQk8GFzCrQm4BA2ACcC3s3JmVzqKwFDi+l1TtwsKXe e1QAoMTBCmZi0rQueLkrGMJrzjVggWGR =1954 -----END PGP SIGNATURE----- From owner-freebsd-chat@FreeBSD.ORG Mon May 26 10:19:15 2008 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FA341065679 for ; Mon, 26 May 2008 10:19:15 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 11B3F8FC2D for ; Mon, 26 May 2008 10:19:14 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from amilo.cenkes.org (ppp85-140-151-10.pppoe.mtu-net.ru [85.140.151.10]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTPSA id 3C532242F843; Mon, 26 May 2008 14:19:12 +0400 (MSD) Date: Mon, 26 May 2008 14:19:08 +0400 From: Andrew Pantyukhin To: "Aryeh M. Friedman" Message-ID: <20080526101906.GQ92161@amilo.cenkes.org> References: <4839C799.6020104@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4839C799.6020104@gmail.com> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: fbsd_chat Subject: Re: [OT] looking for a algorithm X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 10:19:15 -0000 On Sun, May 25, 2008 at 04:10:01PM -0400, Aryeh M. Friedman wrote: > While this is simple I wonder if it can be attacked ... Check out SHA-related RFC's and especially the reading referenced (both within IETF and outside) in them. From owner-freebsd-chat@FreeBSD.ORG Thu May 29 01:16:09 2008 Return-Path: Delivered-To: chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D65031065670 for ; Thu, 29 May 2008 01:16:09 +0000 (UTC) (envelope-from leadamc1@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id BF7D48FC13 for ; Thu, 29 May 2008 01:16:09 +0000 (UTC) (envelope-from leadamc1@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so3150728wah.3 for ; Wed, 28 May 2008 18:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:cc:references:in-reply-to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=ne2tIwmQyKg7SRslGHG2CO6gnmAiND0F81p9WOycHIQ=; b=cCGLDJaMWzecKjmGgPBEGH0jIzE91HCREMZ52oXcM6YVIKyRCDJnh1CN2YZexZ8hRMwyw9crSbv0+RHUPhCGaugxF5FB/UzhYgHmL1ktccZGHpISLqpwTqY7zW5JEw6yKPCzxrYqIy7kWb39PZm61Dkdw4i6wZ7PHAQNmj7mMx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:cc:references:in-reply-to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=r89jnDhF41XeEnQuvMwyzND76cB6JU1TnGZyd3wQ2APWhcMifDiaPpnd4kxeaJdZj1QLUeT9j2UzD1sqt/T0pHEDW2+WJBSYaKvHsTOFMm/PFrfeTLo08xs7K09cF4SpG2JrjrvZ4qgdEj+tRziRmYtPqMmvoyck33K0q67uSPY= Received: by 10.114.183.1 with SMTP id g1mr3578193waf.3.1212022255041; Wed, 28 May 2008 17:50:55 -0700 (PDT) Received: from PowerWS ( [124.243.156.192]) by mx.google.com with ESMTPS id k39sm118861wah.3.2008.05.28.17.50.52 (version=SSLv3 cipher=RC4-MD5); Wed, 28 May 2008 17:50:54 -0700 (PDT) Message-ID: <2E1DF18942294996AD68EBCD8EDD8D48@PowerWS> From: "Lei Chen" To: "Michael Hernandez" References: In-Reply-To: Date: Thu, 29 May 2008 10:20:37 +0930 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 Cc: chat@freebsd.org Subject: Re: where is a lightweight, simple word processor? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 01:16:09 -0000 > On May 6, 2008, at 5:31 PM, Jeremy C. Reed wrote: > >> I have been looking for a simple word processor that supports >> formatted >> text, different fonts and maybe bullet lists. And is close to >> WYSIWYG. I >> don't care about format it can save or import as long as I can find an >> intermediate tool to do my conversions. I don't need tables. But if >> it can >> plug into another speller that would be nice but not required. Also >> images >> not required, but okay. Support for multiple languages would be nice >> but >> required right now. I will accept losing formatting attributes when >> importing. Page breaks would be nice but not required. >> >> (I often receive and send press releases and other documents that >> are in >> different formats. I don't like losing all the formatting when I >> send back >> an edited document. I don't mind losing hidden metadata.) >> >> I found gwp but old 1999 code uses old gnome-libs. >> >> I found 1998 maxwell, but haven't figured out build yet on modern >> system. >> >> siag's pw has crashed a few times on me. And I don't know if >> maintained. >> >> Ted has worked for me sometimes and failed for me sometimes. I don't >> know >> if still maintained. >> >> abiword is too big. kword is too big. oowriter is too big. LyX is >> too big. >> I don't want to require KDE libraries, libgnome, teTeX, or other big >> dependencies. I don't need hundreds of features just to be able to >> edit >> and provide simple document that has some formatted text. I don't >> want to >> manually type in RTF, XML, or OpenDocument formats. >> >> Maybe there is some GTK widget that provides a rich formatting editor? >> >> Maybe some rich format editor can be stripped out of some email >> client or >> HTML editor to be a standalone simple light word processor? >> > > If you were using OS X I'd suggest Bean... Not sure what to tell you! > > --Mike H Thanks, Bean is pretty good, just tried it. From owner-freebsd-chat@FreeBSD.ORG Thu May 29 16:02:44 2008 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA961065676 for ; Thu, 29 May 2008 16:02:44 +0000 (UTC) (envelope-from olexandr.syd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 07C838FC15 for ; Thu, 29 May 2008 16:02:43 +0000 (UTC) (envelope-from olexandr.syd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2389376fgb.35 for ; Thu, 29 May 2008 09:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; bh=elTlTBKWWQHQ2s2f2WPNU7mD3joz6FZaDxvvIdPJADk=; b=hXGqII5f08tN5gnhQsnWbmjLQ8oIje3DKF2RcVWEJEJOJcFHgMlcwGq1zv+oRCdAj8pSJ//DKZRVQhGxLPlIdV7pvt3FMLLbE9RXZiAaTuntbMoWCqtlzm0zPVWLSvhvrqbKk52Vy82ew3F0Li4Da9VZ05h496KbxCsfcslzKRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=kqaN8lgY/PYBPecvid/4loPAWl7cTfysvPQcOuBLbxayDP8Op+8yThXIKHnyCw/GxxEMOtea+XhvC98qSm9lV6hQDFaoOe1mu70XNf9+4OHCCEKMwmtySg/Yqz/fCRg61WeDIjHHSXLh5JIVGHpW9b1iG3IQcotdDtRy7ODwH8U= Received: by 10.86.52.6 with SMTP id z6mr902969fgz.18.1212075355852; Thu, 29 May 2008 08:35:55 -0700 (PDT) Received: from osprey.skynet.if.ua ( [89.162.243.18]) by mx.google.com with ESMTPS id 31sm1925961fkt.2.2008.05.29.08.35.54 (version=SSLv3 cipher=RC4-MD5); Thu, 29 May 2008 08:35:55 -0700 (PDT) Date: Thu, 29 May 2008 18:35:50 +0300 From: Olexandr Sydorchuk To: freebsd-chat@freebsd.org Message-ID: <20080529183550.72c24fc5@osprey.skynet.if.ua> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Disk io priority X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 16:02:44 -0000 Hi all, Is it any option for kernel that change priority for disk io? I use freebsd as desktop, and under X its not comfortable when some process exec massive disk io to/from hd ( for example dd if=/dev/ad2s2 of=/dev/null vary hard for my cpu =)). -- regards, Olexandr