On Wed, 11 May 2011 20:16:01 -0700 (PDT), alex23
wrote:
: Hans Georg Schaathun wrote:
: > Revolutionary indeed, so why don't we exploit the revolution
: > and write the programs to be as accessible as possible?
:
: Where do you draw the line, though?
I said that, "as poss
On Thu, 12 May 2011 17:44:07 +1200, Gregory Ewing
wrote:
: Roy Smith wrote:
: > Hans Georg Schaathun wrote:
: >>If both are numbers, they are converted to a common type. Otherwise,
: >>objects of different types always compare unequal
Actually, I did not.
:-- hg
--
http://
without programming skills, polyglot programmers etc.
Only very narrow-purpose applications can be created by one of
these groups on their own, and to collaborate their abilities
must be overlapping.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
eader when you
go down that route.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
typewriters and entertainment theatres does in no way reduce the
need of those who actually need /computers/.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 12 May 2011 16:46:38 +1000, Ben Finney
wrote:
: Hans Georg Schaathun writes:
:
: > On Wed, 11 May 2011 20:31:45 -0700 (PDT), alex23
: >wrote:
: > : On May 12, 7:24 am, harrismh777 wrote:
: > : > We need to move away from 'canned apps' to a new day whe
eeded.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
ing the top floor,
and still much less than the concrete engineer.
And the main difference here, is that the civil engineers have a much
better language to share information. The best programmers have is
the programmming language, and we ought to make that as good as
possible.
--
:-- Hans Georg
attack, it also reduces risk,
and thereby provides some level of security.
Obviously, if your threat sources are dedicated hackers or maybe MI5,
there is no point bothering with obfuscation, but if your threat source
is script kiddies, then it might be quite effective.
--
:-- Hans Georg
--
http://
w Mac OS X has maintained the folder concept of older mac generations,
and Windows has cloned it. They do not want the user to understand
recursive data structures, and therefore, naturally, avoid the word.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
times the
node is visited.
This node requires no stack. The only state space is constant,
regardless of the size of the tree, requiring just the two pointers
to previous and current.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 18 May 2011 09:54:30 -0700, geremy condra
wrote:
: On Wed, May 18, 2011 at 12:36 AM, Hans Georg Schaathun
wrote:
: > But then, nothing is secure in any absolute sense.
:
: If you're talking security and not philosophy, there is such a thing
: as a secure system. As a devel
ent pointers of some description;
but it does demonstrate that tree walks can be done iteratively,
without keeping a stack of any sort.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
call
stack, and not really a significant expense in context.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
aybe it is right to say that the theory and skills do exist, but the
money to gather it all in one project to demonstrate the security of
a single system does not :-)
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
ar operation, possibly. For other tree
: operations, a single parent pointer may not be sufficient.
Que? What tree operations do you have in mind? We have covered
all the standard textbook tree walks by now.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
ildren for each node, one way or another.
The only thing I am assuming is that the children can be inspected in
the same order every time the node is visited.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
saying that, but whenever you try to back the claim, you
keep referring to limited components and not systems at all.
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
out what it takes to do it, before spend the resources
barking up the wrong tree. For each successful attack, there probably
is a number of failed ones.
Thanks for the reference.
BTW. That's not the only attack on MIFARE. I cannot remember the
details of the other.
--
:-- Hans Georg
-
Obviously, if you were implying
that no system passes the lower levels, then of course they won't pass
the higher levels, but then, if that's the case, we would all know that
we cannot even design /seemingly/ secure systems. And nobody has
suggested that so far.
¹ e.g. Dieter Gollmann
methods do not help on that step. It takes
more than a non-idiot to avoid misunderstandings on the interface
betweeen professions.
Either way, the assumption that your system will not be handled by
idiots is only reasonable if you yourself is the only user.
--
:-- Hans Georg
--
http
On Thu, 19 May 2011 23:21:30 +0200, Rikishi42
wrote:
: On 2011-05-18, Hans Georg Schaathun wrote:
: > Now Mac OS X has maintained the folder concept of older mac generations,
: > and Windows has cloned it. They do not want the user to understand
: > recursive data structures, and
timates the
: intelligence of lay people and over-estimates the difficulty of
: understanding recursion.
Could we then say that «recursion is a technical word that should
not /unnecessarily/ be foisted onto lay users»?
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
On 20 May 2011 07:04:27 GMT, Steven D'Aprano
wrote:
: On Fri, 20 May 2011 05:48:50 +0100, Hans Georg Schaathun wrote:
:
: > Either way, the assumption that your system will not be handled by
: > idiots is only reasonable if you yourself is the only user.
:
: Nonsense. How do y
p):
self.this = _umddevice.new_UMDMResult(tup[0],tup[1],tup[2],tup[3])
self.thisown=1
(self.Z0,self.Eta0,self.t)=[i for i in tup[4:]]
%}
}
regards
Hans Georg Krauthaeuser
--
http://mail.python.org/mailman/listinfo/python-list
eburg, Germany).
If someone is interested: contact me by email, please.
Best regards
Hans Georg Krauthaeuser
--
http://mail.python.org/mailman/listinfo/python-list
malv schrieb:
> Hans Georg Krauthaeuser wrote:
>
>>Dear all,
>>
>>for the measurements in our labs we have developed python scripts that
>>are pretty fine for our needs. Basically, we have classes and call the
>>appropriate methods from the command line (or by
Mingus Tsai schrieb:
> Hello- please help with unpickling problem:
>
> I am using Python version 2.3.4 with IDLE version 1.0.3 on a Windows
> XPhome system.
>
> My problem is with using cPickle to deserialize my pickled arrays of
> datetime.datetime instances. The following is the code I have wr
the title of your mail I would answer
http://rgruet.free.fr/PQR24/PQR2.4.html
But history? Sorry
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
found this http://my.execpc.com/~geezer/software/kbhit.c C
source that has a kbhit() and a getch() for linux/unix that I can SWIG
to python.
Are there other (more simple, pure python, true platform independent)
possibilities?
Best regards
Hans Georg Krauthaeuser
--
www.uni-magdeburg.de/krauthae
--
ges\pyTTS\__init__.py", line
28, in Create
raise ValueError('"%s" not supported' % api)
ValueError: "SAPI" not supported
...
The TTSFast.py file is missing in the 2.3 distribution. I made a copy
from the 2.4 dist and everything worked fine for me.
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
Peter wrote:
I released a new version of the Windows installer for Python 2.3 that
includes the missing _TTSFast.pyd file.
Unfortunenately, the file TTSFast.py is missing, not _TTSFast.pyd.
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
ed manually). From
Tkinter, passing a PhotoImage as a parameter actually only sends the
str() of the image object to the Tcl side: this is just a string, the
randomly-generated name assigned when the object was created. "No
reference to the image itself" means "no reference counti
array and check that the colour
channels are equal.
I'll be grateful for any pointers,
TIA
--
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
...:
254 254
255 255
256 0
257 1
258 2
Is there any possibility to avoid the overflow?
BTW:
Python 2.3.5 (#2, Aug 30 2005, 15:50:26)
[GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2
scipy_version.scipy_version --> '0.3.2'
Thanks and best regards
Hans Georg Krauthäuser
Hans Georg Krauthaeuser schrieb:
> Hi All,
>
> I was playing with scipy.stats.itemfreq when I observed the following
> overflow:
>
> In [119]:for i in [254,255,256,257,258]:
>.:l=[0]*i
>.:print i, stats.itemfreq(l), l.count(0)
>.:
&
Hans Georg Krauthaeuser schrieb:
> Hans Georg Krauthaeuser schrieb:
>
>> Hi All,
>>
>> I was playing with scipy.stats.itemfreq when I observed the following
>> overflow:
>>
>> In [119]:for i in [254,255,256,257,258]:
>>.:l=[0]*i
>&
m the 80s.
http://www.uni-weimar.de/~mildenbe/spass/vatical/vatical.html
It's in German only and I'm not aware of a English translation.
Please be aware that content of that page is not political correct and
may offend your religious sensibilities.
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
>
> Can objects be saved and reloaded by "Pickle" ? I have tried but no
> success.
>
Yes, that's the intended use of pickle/cPickle. There are examples in
the docs:
http://docs.python.org/lib/module-pickle.html
What have you tried and wh
[EMAIL PROTECTED] wrote:
> Hans Georg Krauthaeuser wrote:
>> [EMAIL PROTECTED] wrote:
>>
>>> Can objects be saved and reloaded by "Pickle" ? I have tried but no
>>> success.
>>>
>>>
>> Yes, that's the inten
x27;os': 'linux-gnu', 'svn
rev': '36812', 'system': 'i486, linux-gnu', 'month': '12', 'platform':
'i486-pc-linux-gnu', 'year': '2005', 'arch': 'i486', 'day': '20',
'minor': '2.1'}
Seems to be a problem with your installation...
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
n [9]:del d2
In [10]:pfile=file('test.p','rb')
In [11]:d1=pickle.load(pfile)
In [12]:d1
Out[12]:{'a': 1}
In [13]:d2=pickle.load(pfile)
In [14]:d2
Out[14]:{'b': 2}
If your data is *really* large, have a look to PyTables
(http://www.pytables.org/moin).
Regards,
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
else:
break
finally:
del frame
del outerframes
del caller
del ccframe
return cmd, sdict
if __name__ == '__main__':
c=CLS()
c.fun(5)
c.fun(5, arg_three=['a', 'b'])
c.fun(5, 'something')
c.fun(5,
'something')
a=c.fun
a(4)
Best Regards
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
d)=Carbon.Evt.GetNextEvent(0x0008)
[1]
#
# The message (msg) contains the ASCII char which is
# extracted with the 0x00FF charCodeMask; this
# number is converted to an ASCII character with chr()
and
# returned
#
(what,msg,w
>
> says 'hello'.
>
> Is there something similar in Windows and/or Linux?
> (If it's there in Linux presumably it only works if there
> happens to be a speech engine available...)
>
> David C. Ullrich
In Windows -> pyTTS
http://www.mindtrove.info/articles/p
LabWINC wrote:
> Hi all,
> i'm looking for a module to implement a digital FIR filter!
> Can anyone help me?
>
> Thanks,
>
> Vincent
>
gnuradio?
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
LabWINC wrote:
> What's gnuradio?
>
http://www.gnu.org/software/gnuradio/
It's a c++ lib with a python wrapper.
BTW, thats the first hit in google ...
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
LabWINC wrote:
> I can't understand how gnuradio can help me...
> I find scipy is the only way to implement a good FIR.
Well, then do it with scipy...
gnuradio has a module for FIR. I never used it. I just wanted to share
that information.
Hans Georg
--
http://mail.python.org/mailm
== '__main__':
a=0
b="test"
c=42
cmd=func(a)
print cmd
cmd=func(a,
b,
c)
print cmd
output:
cmd=func(a)
cmd=func(a,
b,
c)
Regards
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
I am looking for a 2-D DCT transform function for use in python.
Does anyone have any good pointers?
I see that one is promised in scipy 0.8.0, but I cannot find any
details on how close that is to being released. I am not sure if
running bleeding-edge scipy would solve my problem; I should hav
On Wed, 07 Oct 2009 18:44:03 +0200, Jean-Michel Pichavant
wrote:
: When opposing vi to emacs, there's is no possibility you get
: constructive and objective answer, because basically, what can do with
: one, you can also do it with the other.
You seem rather negative. I could not see any
wrong? What is the
right/best way to save/convert two-tone images?
I have not managed to find proper documentation for the
Image.fromarray() method; the docstring seems to be empty )-:
TIA
:-- Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
Admittedly not the strongest reason, but yet an important one,
for switching from Matlab to python/numpy/scipy/matplotlib,
is that Matlab is very cumbersome to run in batch.
Now I discover that some of the matplotlib.pyplot functions
(incl. plot and contour) insist on opening an X11 window
(just
On Fri, 04 Jun 2010 22:27:33 -, exar...@twistedmatrix.com
wrote:
: It's possible to plot with matplotlib without a display. I'm not
: surprised you didn't figure out how, though, it's not all that obvious.
Thank you very much. That's a good start. Do you know of any good
documentatio
On Sat, 5 Jun 2010 16:10:01 + (UTC), Tim Harig
wrote:
: On 2010-06-05, Hans Georg Schaathun wrote:
: > Raster graphics is not good enough, I will need a backend which
: > does vector graphics and pdf output. AFAICS from the FAQ at
: > sourceforge, agg only supports raster and pn
Does anyone know how to handle TIFF images in Python?
The pylab support uses PIL, and using either pylab or PIL directly,
it messes up the colour scheme. It may look as if it loads CMY believing
that it is RGB, but I am not absolutely sure.
I have no problem handling Microsoft BMP colour images
I wonder if someone knows of an API with the features I need...
random.Random and numpy.random each have only half of it...
My application includes an object to hold a pseudo-randomly
generated matrix too large to be kept in memory. Hence I
try to store only the seed, and generate the numbers on
On Thu, 10 Sep 2009 02:53:33 -0700 (PDT), sturlamolden
wrote:
: On 10 Sep, 10:50, Hans Georg Schaathun wrote:
:
: > Can anyone recommend a PRNG which supported multiple instances
: > with independent states, and that also can return numpy.array (or
: > something similar) ef
https://www.heise.de/newsticker/meldung/WannaCry-Microsoft-liefert-Sicherheits-Patches-fuer-veraltete-Windows-Versionen-3713417.html
--
https://mail.python.org/mailman/listinfo/python-list
401 - 459 of 459 matches
Mail list logo