[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [Idea]Context Sensitive file dialog
From:       "=?ISO-8859-1?Q?Rafael_Fern=E1ndez_L=F3pez?=" <ereslibre () gmail ! com>
Date:       2006-10-02 17:11:00
Message-ID: 93f85fee0610021011o64af2966pe323edf1bed56234 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I really think extensions should be taken out from operating systems. Each
file knows what represents by first bytes. Why extensions do exist?

I want "mypicture" to be named as "mypicture" not as "mypicture.jpg". He
knows that is a jpeg.

2006/10/2, Christopher Blauvelt <cblauvelt@gmail.com>:
>
> I think it would be better to have the file analyzed up to a certain file
> size and after that fallback on the extension, if it needs to be analyzed at
> all.  Is this really such a problem with people misnaming files that it
> would need to be analyzed?  After all, it is just a recommendation.  It's
> not where they HAVE to put the file.  It just seems like the "file might be
> named incorrectly" is much ado about nothing.
> Chris
>
>
> On 10/2/06, Alessandro Pignotti <alex.pigna@inventati.org> wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Christopher Blauvelt ha scritto:
> > > The only problem with having the file downloaded to a temporary
> > > directory is
> > > that if it's a really large file, like 1GB, then you need to have
> > twice
> > > that
> > > space in order to actually download the file.  This normally isn't a
> > > problem
> > > unless you're getting to the end of your hard drive and you have a
> > large
> > > file but it's happened to me and was VERY frustrating.  How many bytes
> > are
> > > required for the file detection?  If it's not that much it would be
> > > possible
> > > to download the bytes to a buffer for file detection and then flush
> > those
> > > bytes to the file location.
> > >
> > >
> > > On 10/2/06, Rafael Fernández López <ereslibre@gmail.com> wrote:
> > >>
> > >> From my point of view, extensions are not trustable. An executable
> > file
> > >> can be extensioned as JPG. I think the tmp folder, type file study
> > and
> > >> dialog message is the best option.
> > >>
> > >>
> > >>
> > >> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> > >> unsubscribe <<
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > >
> > >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> > unsubscribe <<
> > How may bytes? To check a file signature it may be enough to dl 1K, but
> > we were talking about putting _similar_ files in the same folder. And
> > the similarity can be found only if the whole file is analyzed i think.
> > anyway, to be realistic, download from http/ftp (i think we are talking
> > about those protocol primarly) up to 1GB are not common. To exchange
> > large files, like linux distro, bittorrent is now the most common
> > method, so it shoul not be a concern here. We can always offer the user
> > a choice: if the file is larger that a certain threshold, we alert him
> > that is better not to analyze the file and the user can choose the
> > destination diretory as usually
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.0 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFFINmhqpZfbAQxvfoRAtk0AJoD8L+9uJSzRJvjA9rBN68R+7nxUwCfWrKf
> > NAWEiCHvKywKrpm07dVxUQw=
> > =ZTyh
> > -----END PGP SIGNATURE-----
> >
> > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> > unsubscribe <<
> >
>
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>
>

[Attachment #5 (text/html)]

I really think extensions should be taken out from operating systems. Each file knows \
what represents by first bytes. Why extensions do exist?<br><br>I want \
&quot;mypicture&quot; to be named as &quot;mypicture&quot; not as &quot; \
mypicture.jpg&quot;. He knows that is a jpeg.<br><br><div><span \
class="gmail_quote">2006/10/2, Christopher Blauvelt &lt;<a \
href="mailto:cblauvelt@gmail.com">cblauvelt@gmail.com</a>&gt;:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> <div>I think it would be better to have the file \
analyzed up to a certain file size and after that fallback on the extension, if it \
needs to be analyzed at all.&nbsp; Is this really such a problem with people \
misnaming files that it would need to be analyzed?&nbsp; After all, it is just a \
recommendation.&nbsp; It's not where they HAVE to put the file.&nbsp; It just seems \
like the &quot;file might be named incorrectly&quot; is much ado about nothing. \
</div> <div>Chris<br><br>&nbsp;</div><div><span class="e" id="q_10e0995cd0132d75_1">
<div><span class="gmail_quote">On 10/2/06, <b class="gmail_sendername">Alessandro \
Pignotti</b> &lt;<a href="mailto:alex.pigna@inventati.org" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">alex.pigna@inventati.org \
</a>&gt; wrote:</span> <blockquote class="gmail_quote" style="border-left: 1px solid \
rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">-----BEGIN PGP \
SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Christopher Blauvelt ha scritto:<br> &gt; \
The only problem with having the file downloaded to a temporary <br>&gt; directory \
is<br>&gt; that if it's a really large file, like 1GB, then you need to have \
twice<br>&gt; that<br>&gt; space in order to actually download the \
file.&nbsp;&nbsp;This normally isn't a<br>&gt; problem<br>&gt; unless you're getting \
to the end of your hard drive and you have a large <br>&gt; file but it's happened to \
me and was VERY frustrating.&nbsp;&nbsp;How many bytes are<br>&gt; required for the \
file detection?&nbsp;&nbsp;If it's not that much it would be<br>&gt; possible<br>&gt; \
to download the bytes to a buffer for file detection and then flush those <br>&gt; \
bytes to the file location.<br>&gt;<br>&gt;<br>&gt; On 10/2/06, Rafael Fernández \
López &lt;<a href="mailto:ereslibre@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">ereslibre@gmail.com </a>&gt; \
wrote:<br>&gt;&gt;<br>&gt;&gt; From my point of view, extensions are not trustable. \
An executable file <br>&gt;&gt; can be extensioned as JPG. I think the tmp folder, \
type file study and<br>&gt;&gt; dialog message is the best \
option.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; &gt;&gt; Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">

http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to<br>&gt;&gt; unsubscribe \
&lt;&lt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; \
------------------------------------------------------------------------ \
<br>&gt;<br>&gt;<br>&gt;&gt;&gt; Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">http://mail.kde.org/mailman/listinfo/kde-devel#unsub
 </a> to unsubscribe &lt;&lt;<br>How may bytes? To check a file signature it may be \
enough to dl 1K, but <br>we were talking about putting _similar_ files in the same \
folder. And<br>the similarity can be found only if the whole file is analyzed i \
think.<br>anyway, to be realistic, download from http/ftp (i think we are talking \
<br>about those protocol primarly) up to 1GB are not common. To exchange<br>large \
files, like linux distro, bittorrent is now the most common<br>method, so it shoul \
not be a concern here. We can always offer the user<br> a choice: if the file is \
larger that a certain threshold, we alert him <br>that is better not to analyze the \
file and the user can choose the<br>destination diretory as usually<br>-----BEGIN PGP \
SIGNATURE-----<br>Version: GnuPG v1.4.0 (GNU/Linux)<br>Comment: Using GnuPG with \
Mozilla - <a href="http://enigmail.mozdev.org" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">

http://enigmail.mozdev.org</a><br><br>iD8DBQFFINmhqpZfbAQxvfoRAtk0AJoD8L+9uJSzRJvjA9rBN68R+7nxUwCfWrKf<br>NAWEiCHvKywKrpm07dVxUQw=<br>=ZTyh<br>-----END \
PGP SIGNATURE-----<br><br>&gt;&gt; Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">

http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to unsubscribe \
&lt;&lt;<br></blockquote></div><br>

</span></div><br><br>&gt;&gt; Visit <a onclick="return \
top.js.OpenExtLink(window,event,this)" \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub </a> to \
unsubscribe &lt;&lt;<br><br><br></blockquote></div>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic