Re: [Spark SQL]: unpredictable errors: java.io.IOException: can not read class org.apache.parquet.format.PageHeader

2022-12-19 Thread Eric Hanchrow
We’ve discovered a workaround for this; it’s described 
here<https://issues.apache.org/jira/browse/HADOOP-18521>.

From: Eric Hanchrow 
Date: Thursday, December 8, 2022 at 17:03
To: user@spark.apache.org 
Subject: [Spark SQL]: unpredictable errors: java.io.IOException: can not read 
class org.apache.parquet.format.PageHeader
My company runs java code that uses Spark to read from, and write to, Azure 
Blob storage.  This code runs more or less 24x7.

Recently we've noticed a few failures that leave stack traces in our logs; what 
they have in common are exceptions that look variously like

Caused by: java.io.IOException: can not read class 
org.apache.parquet.format.PageHeader: Unrecognized type 0
Caused by: java.io.IOException: can not read class 
org.apache.parquet.format.PageHeader : don't know what type: 14
Caused by: java.io.IOException: can not read class 
org.apache.parquet.format.PageHeader Required field 'num_values' was not found 
in serialized data!
Caused by: java.io.IOException: can not read class 
org.apache.parquet.format.PageHeader Required field 'uncompressed_page_size' 
was not found in serialized data!

I searched 
https://stackoverflow.com/search?q=%5Bapache-spark%5D+java.io.IOException+can+not+read+class+org.apache.parquet.format.PageHeader
 and found exactly one marginally-relevant hit -- 
https://stackoverflow.com/questions/47211392/required-field-uncompressed-page-size-was-not-found-in-serialized-data-parque
It contains a suggested workaround which I haven't yet tried, but intend to 
soon.

I searched the ASF archive for 
user@spark.apache.org<mailto:user@spark.apache.org>; the only hit is 
https://lists.apache.org/list?user@spark.apache.org:2022-9:can%20not%20read%20class%20org.apache.parquet.format.PageHeader
 which is relevant but unhelpful.

It cites https://issues.apache.org/jira/browse/SPARK-11844 which is quite 
relevant, but again unhelpful.

Unfortunately, we cannot provide the relevant parquet file to the mailing list, 
since it of course contains proprietary data.

I've posted the stack trace at 
https://gist.github.com/erich-truveta/f30d77441186a8c30c5f22f9c44bf59f

Here are various maven dependencies that might be relevant (gotten from the 
output of `mvn dependency:tree`):

org.apache.hadoop.thirdparty:hadoop-shaded-guava:jar:1.1.1
org.apache.hadoop.thirdparty:hadoop-shaded-protobuf_3_7 :jar:1.1.1

org.apache.hadoop:hadoop-annotations:jar:3.3.4
org.apache.hadoop:hadoop-auth   :jar:3.3.4
org.apache.hadoop:hadoop-azure  :jar:3.3.4
org.apache.hadoop:hadoop-client-api :jar:3.3.4
org.apache.hadoop:hadoop-client-runtime :jar:3.3.4
org.apache.hadoop:hadoop-client :jar:3.3.4
org.apache.hadoop:hadoop-common :jar:3.3.4
org.apache.hadoop:hadoop-hdfs-client:jar:3.3.4
org.apache.hadoop:hadoop-mapreduce-client-common:jar:3.3.4
org.apache.hadoop:hadoop-mapreduce-client-core  :jar:3.3.4
org.apache.hadoop:hadoop-mapreduce-client-jobclient :jar:3.3.4
org.apache.hadoop:hadoop-yarn-api   :jar:3.3.4
org.apache.hadoop:hadoop-yarn-client:jar:3.3.4
org.apache.hadoop:hadoop-yarn-common:jar:3.3.4

org.apache.hive:hive-storage-api :jar:2.7.2

org.apache.parquet:parquet-column:jar:1.12.2
org.apache.parquet:parquet-common:jar:1.12.2
org.apache.parquet:parquet-encoding  :jar:1.12.2
org.apache.parquet:parquet-format-structures :jar:1.12.2
org.apache.parquet:parquet-hadoop:jar:1.12.2
org.apache.parquet:parquet-jackson   :jar:1.12.2

org.apache.spark:spark-catalyst_2.12:jar:3.3.1
org.apache.spark:spark-core_2.12:jar:3.3.1
org.apache.spark:spark-kvstore_2.12 :jar:3.3.1
org.apache.spark:spark-launcher_2.12:jar:3.3.1
org.apache.spark:spark-network-common_2.12  :jar:3.3.1
org.apache.spark:spark-network-shuffle_2.12 :jar:3.3.1
org.apache.spark:spark-sketch_2.12  :jar:3.3.1
org.apache.spark:spark-sql_2.12 :jar:3.3.1
org.apache.spark:spark-tags_2.12:jar:3.3.1
org.apache.spark:spark-unsafe_2.12  :jar:3.3.1

Thank you for any help you can provide!


[Spark SQL]: unpredictable errors: java.io.IOException: can not read class org.apache.parquet.format.PageHeader

2022-12-08 Thread Eric Hanchrow
My company runs java code that uses Spark to read from, and write to, Azure 
Blob storage.  This code runs more or less 24x7.

Recently we've noticed a few failures that leave stack traces in our logs; what 
they have in common are exceptions that look variously like

Caused by: java.io.IOException: can not read class 
org.apache.parquet.format.PageHeader: Unrecognized type 0
Caused by: java.io.IOException: can not read class 
org.apache.parquet.format.PageHeader : don't know what type: 14
Caused by: java.io.IOException: can not read class 
org.apache.parquet.format.PageHeader Required field 'num_values' was not found 
in serialized data!
Caused by: java.io.IOException: can not read class 
org.apache.parquet.format.PageHeader Required field 'uncompressed_page_size' 
was not found in serialized data!

I searched 
https://stackoverflow.com/search?q=%5Bapache-spark%5D+java.io.IOException+can+not+read+class+org.apache.parquet.format.PageHeader
 and found exactly one marginally-relevant hit -- 
https://stackoverflow.com/questions/47211392/required-field-uncompressed-page-size-was-not-found-in-serialized-data-parque
It contains a suggested workaround which I haven't yet tried, but intend to 
soon.

I searched the ASF archive for 
user@spark.apache.org; the only hit is 
https://lists.apache.org/list?user@spark.apache.org:2022-9:can%20not%20read%20class%20org.apache.parquet.format.PageHeader
 which is relevant but unhelpful.

It cites https://issues.apache.org/jira/browse/SPARK-11844 which is quite 
relevant, but again unhelpful.

Unfortunately, we cannot provide the relevant parquet file to the mailing list, 
since it of course contains proprietary data.

I've posted the stack trace at 
https://gist.github.com/erich-truveta/f30d77441186a8c30c5f22f9c44bf59f

Here are various maven dependencies that might be relevant (gotten from the 
output of `mvn dependency:tree`):

org.apache.hadoop.thirdparty:hadoop-shaded-guava:jar:1.1.1
org.apache.hadoop.thirdparty:hadoop-shaded-protobuf_3_7 :jar:1.1.1

org.apache.hadoop:hadoop-annotations:jar:3.3.4
org.apache.hadoop:hadoop-auth   :jar:3.3.4
org.apache.hadoop:hadoop-azure  :jar:3.3.4
org.apache.hadoop:hadoop-client-api :jar:3.3.4
org.apache.hadoop:hadoop-client-runtime :jar:3.3.4
org.apache.hadoop:hadoop-client :jar:3.3.4
org.apache.hadoop:hadoop-common :jar:3.3.4
org.apache.hadoop:hadoop-hdfs-client:jar:3.3.4
org.apache.hadoop:hadoop-mapreduce-client-common:jar:3.3.4
org.apache.hadoop:hadoop-mapreduce-client-core  :jar:3.3.4
org.apache.hadoop:hadoop-mapreduce-client-jobclient :jar:3.3.4
org.apache.hadoop:hadoop-yarn-api   :jar:3.3.4
org.apache.hadoop:hadoop-yarn-client:jar:3.3.4
org.apache.hadoop:hadoop-yarn-common:jar:3.3.4

org.apache.hive:hive-storage-api :jar:2.7.2

org.apache.parquet:parquet-column:jar:1.12.2
org.apache.parquet:parquet-common:jar:1.12.2
org.apache.parquet:parquet-encoding  :jar:1.12.2
org.apache.parquet:parquet-format-structures :jar:1.12.2
org.apache.parquet:parquet-hadoop:jar:1.12.2
org.apache.parquet:parquet-jackson   :jar:1.12.2

org.apache.spark:spark-catalyst_2.12:jar:3.3.1
org.apache.spark:spark-core_2.12:jar:3.3.1
org.apache.spark:spark-kvstore_2.12 :jar:3.3.1
org.apache.spark:spark-launcher_2.12:jar:3.3.1
org.apache.spark:spark-network-common_2.12  :jar:3.3.1
org.apache.spark:spark-network-shuffle_2.12 :jar:3.3.1
org.apache.spark:spark-sketch_2.12  :jar:3.3.1
org.apache.spark:spark-sql_2.12 :jar:3.3.1
org.apache.spark:spark-tags_2.12:jar:3.3.1
org.apache.spark:spark-unsafe_2.12  :jar:3.3.1

Thank you for any help you can provide!


[issue15873] datetime: add ability to parse RFC 3339 dates and times

2016-04-24 Thread Eric Hanchrow

Changes by Eric Hanchrow <eric.hanch...@gmail.com>:


--
nosy: +Eric.Hanchrow

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15873>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: [pylons-discuss] fine-tuning a deployment under uwsgi + supervisord

2015-11-07 Thread Eric Hanchrow
On Sat, Nov 7, 2015 at 12:56 PM, Jonathan Vanasco 
wrote:

>
>
> On Saturday, November 7, 2015 at 12:22:40 AM UTC-5, Mike Orr wrote:
>>
>> The ideal way would be to have a different INI file for different kinds
>> of deployment
>>
>
> I used to believe that... but as projects progressed, ini files got larger
> and more difficult to maintain.  It's hard enough keeping
> Production/Staging/Dev in step with one another.
>
> Splitting this out into "production-admin.ini" and
> "production-non_admin.ini" files to declare a single variable would mean
> having another file to update whenever other ini settings change.
>
> I assume that this is exactly why http://12factor.net/config says "
Store config in the environment".

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.


bug#21705: 25.0.50; error while entering trivial Python program

2015-10-18 Thread Eric Hanchrow
C-x C-f /tmp/wat.py RET
M-x toggle-debug-on-error RET
x = [ RET

That leads to this error:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p
nil)
  python-indent-context()
  python-indent--calculate-indentation()
  python-indent-calculate-indentation(nil)
  python-indent-line(nil)
  python-indent-line-function()
  indent-according-to-mode()
  electric-indent-post-self-insert-function()
  self-insert-command(1)
  newline(nil 1)
  funcall-interactively(newline nil 1)
  call-interactively(newline nil nil)
  command-execute(newline)



In GNU Emacs 25.0.50.3 (x86_64-apple-darwin15.0.0, NS appkit-1404.11
Version 10.11 (Build 15A284))
 of 2015-10-14
Repository revision: e0fa4e48c9e50b662e81dcceaa41c2842af69d6c
Windowing system distributor 'Apple', version 10.3.1404
Configured using:
 'configure --with-ns'

Configured features:
JPEG RSVG ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  global-hl-line-mode: t
  pyvenv-mode: t
  projectile-global-mode: t
  projectile-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  diff-auto-refine-mode: t
  ido-everywhere: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
guile is /usr/local/bin/guile
Making completion list... [2 times]
Starting Geiser REPL for guile ...
There is no ElDoc support in this buffer
Starting Geiser REPL for guile ... [2 times]
Guile REPL up and running!
Truncate long lines enabled
Mark set
(New file)
Can’t guess python-indent-offset, using defaults: 4
python-indent--calculate-indentation: Wrong type argument:
number-or-marker-p, nil

Load-path shadows:
/Users/erichanchrow/.emacs.d/elpa/shorten-20150306.517/shorten hides
/Users/erichanchrow/.emacs.d/elpa/tracking-20150724.1403/shorten

Features:
(shadow mail-extr emacsbug sendmail geiser-mode geiser-xref
geiser-chicken geiser-racket geiser-guile info-look geiser geiser-repl
geiser-image geiser-compile geiser-debug geiser-company geiser-doc
geiser-menu geiser-edit geiser-completion geiser-autodoc geiser-eval
geiser-connection tq geiser-syntax scheme geiser-log geiser-popup view
geiser-impl geiser-custom geiser-base vc-mtn vc-hg vc-dir ewoc js imenu
ix grapnel apropos github-browse-file url-handlers magit-extras sort
tabify org-table cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs ag s ucs-normalize compare-w pulse
rect find-dired face-remap ruby-mode network-stream nsm starttls
url-http tls url-gw url-auth gravatar url-cache org-element org-rmail
org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr
image-mode org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote
org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint
ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar
cal-loaddefs wdired sh-script smie executable dired-aux ffap
markdown-mode noutline outline conf-mode vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs git-rebase linum dabbrev tramp-cache vc vc-dispatcher
warnings company-files company-oddmuse company-keywords company-etags
company-gtags company-dabbrev-code company-dabbrev company-cmake
company-xcode company-clang company-eclim company-template company-css
company-nxml company-bbdb pcmpl-unix misearch multi-isearch hl-line
elisp-slime-nav bookmark twb-find-dired edit-list pp yasnippet
highlight-indentation flymake company elpy pyvenv elpy-refactor python
json files-x etags xref project cus-edit cus-start cus-load eww mm-url
gnus gnus-ems nnheader url-queue url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
url-vars mailcap shr dom subr-x browse-url projectile thingatpt
magit-blame magit-stash magit-bisect magit-remote magit-commit
magit-sequence magit magit-apply magit-wip magit-log magit-diff
smerge-mode magit-core magit-process magit-popup derived magit-mode
magit-git crm magit-section magit-utils git-commit log-edit message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader
pcvs-util add-log with-editor async-bytecomp async tramp-sh tramp
tramp-compat auth-source cl-seq gnus-util mm-util help-fns mail-prsvr
password-cache tramp-loaddefs trampver shell pcomplete format-spec
advice server dash ws-butler ssh recentf tree-widget wid-edit vc-git
diff-mode ibuf-ext ibuffer ibuf-macs dired-x dired ido seq grep compile
comint ansi-color ring find-func rx edmacro kmacro use-package diminish
cl 

bug#21354: make check failure in 0.8.3

2015-08-26 Thread Eric Hanchrow
I created a Vagrant virtual machine using their ubuntu/trusty64 box (
https://atlas.hashicorp.com/ubuntu/boxes/trusty64).

I connected to it via vagrant ssh; that gave me a shell prompt.  I can't
remember whether that gave me a root prompt or not; if it didn't, then I'd
have typed sudo -s.

I ran aptitude and installed some packages in order to build guix from
source: g++ guile-2.0-dev libbz2-dev libgcrypt11-dev libsqlite3-dev sqlite3

I unpacked the 0.8.3 source tarball into /usr/local/src.

I typed ./configure, then make, then make check.

I saw





Testsuite summary for GNU Guix 0.8.3




# TOTAL: 44

# PASS: 41

# SKIP: 0

# XFAIL: 0

# FAIL: 3

# XPASS: 0

# ERROR: 0




See ./test-suite.log

Please report to bug-guix@gnu.org

So ... here I am, reporting it!


test-suite.log
Description: Binary data


Re: [pylons-discuss] tutorial with bad directory name (json)

2015-08-22 Thread Eric Hanchrow
I think Mariusz is trying to say: using a directory named json fools
Python into trying to load _that_ directory, rather than the stdlib json
module.

This is more or less the same problem that I described here:

http://stackoverflow.com/questions/28730964/why-does-my-import-requests-fail-with-importerror-no-module-named-requests-p

On Sat, Aug 22, 2015 at 4:44 AM, Mariusz Szot mun...@gmail.com wrote:

 Hi,

 Please,
 Change your directory name json, for example json_renderer,
 json name, causes the python looking json dumps in the directory and not
 site-packages.



 http://docs.pylonsproject.org/projects/pyramid/en/latest/quick_tutorial/json.html


 exc:
 E
 ==
 ERROR: Failure: AttributeError ('module' object has no attribute 'dumps')
 --
 Traceback (most recent call last):
   File /home/ms/env/local/lib/python2.7/site-packages/nose/loader.py,
 line 414, in loadTestsFromName
 addr.filename, addr.module)
   File /home/ms/env/local/lib/python2.7/site-packages/nose/importer.py,
 line 47, in importFromPath
 return self.importFromDir(dir_path, fqname)
   File /home/ms/env/local/lib/python2.7/site-packages/nose/importer.py,
 line 94, in importFromDir
 mod = load_module(part_fqname, fh, filename, desc)
   File /home/ms/PycharmProjects/test_pyramid/json/tutorial/__init__.py,
 line 1, in module
 from pyramid.config import Configurator
   File
 /home/ms/env/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/__init__.py,
 line 65, in module
 from pyramid.config.rendering import RenderingConfiguratorMixin
   File
 /home/ms/env/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/rendering.py,
 line 7, in module
 from pyramid import renderers
   File
 /home/ms/env/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/renderers.py,
 line 173, in module
 class JSON(object):
   File
 /home/ms/env/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/renderers.py,
 line 221, in JSON
 def __init__(self, serializer=json.dumps, adapters=(), **kw):
 AttributeError: 'module' object has no attribute 'dumps'


 Mariusz Szot

 --
 You received this message because you are subscribed to the Google Groups
 pylons-discuss group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to pylons-discuss+unsubscr...@googlegroups.com.
 To post to this group, send email to pylons-discuss@googlegroups.com.
 Visit this group at http://groups.google.com/group/pylons-discuss.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.


Re: [pylons-discuss] Restless api

2015-01-03 Thread Eric Hanchrow
I use pyramid as a REST server, although I'm probably doing it rather
sloppily.  It works well enough.  I don't use an ORM; in fact I don't
talk to a database for much.

On Wed, Dec 31, 2014 at 4:30 AM, Luis Aguirre aguir...@xuar.com.ar wrote:
 mmm.. wait a minute.  If nobody is interested in pyramid/sqlalchemy/rest
 should be a good reason.

 Somebody is using pyramid as a REST server?  If you do, how do you use it?
 Using nosql databases as mongodb?  Some advice about all of this thing?

 Thanks a lot!

 Best regards,

 Luis Aguirre


 2014-12-30 15:34 GMT-03:00 John Anderson son...@gmail.com:



 On Tue, Dec 30, 2014 at 10:04 AM, Paul Everitt paulwever...@gmail.com
 wrote:


 Wichert’s rest_toolkit especially with its SQLAlchemy support is a good
 starting point. It doesn’t, though, introspect models and attempt to make
 endpoints. Anybody interested in working on such a thing?

 —Paul


 I created https://github.com/sontek/sqlalchemy_traversal as a proof of
 concept on how to generate a restful API using SQLAlchemy models.   I have
 no interest in really maintaining it but it would be a good start for anyone
 looking to do the work.

 I haven't used it but https://github.com/cenix/everest is very complete
 and has SQLAlchemy integration as well.



 On Dec 30, 2014, at 12:49 PM, Luis Aguirre aguir...@xuar.com.ar wrote:

 Hi guys,

 I'm wondering if exist some restful service in pyramid that can interface
 with sqlalchemy directly, just like:

 https://flask-restless.readthedocs.org/en/latest/

 Any suggestion?

 Thanks a lot!

 Best regards,

 Luis Aguirre

 --
 You received this message because you are subscribed to the Google Groups
 pylons-discuss group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to pylons-discuss+unsubscr...@googlegroups.com.
 To post to this group, send email to pylons-discuss@googlegroups.com.
 Visit this group at http://groups.google.com/group/pylons-discuss.
 For more options, visit https://groups.google.com/d/optout.


 --
 You received this message because you are subscribed to the Google Groups
 pylons-discuss group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to pylons-discuss+unsubscr...@googlegroups.com.
 To post to this group, send email to pylons-discuss@googlegroups.com.
 Visit this group at http://groups.google.com/group/pylons-discuss.
 For more options, visit https://groups.google.com/d/optout.


 --
 You received this message because you are subscribed to the Google Groups
 pylons-discuss group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to pylons-discuss+unsubscr...@googlegroups.com.
 To post to this group, send email to pylons-discuss@googlegroups.com.
 Visit this group at http://groups.google.com/group/pylons-discuss.
 For more options, visit https://groups.google.com/d/optout.


 --
 You received this message because you are subscribed to the Google Groups
 pylons-discuss group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to pylons-discuss+unsubscr...@googlegroups.com.
 To post to this group, send email to pylons-discuss@googlegroups.com.
 Visit this group at http://groups.google.com/group/pylons-discuss.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.


Re: [racket] eval working in REPL but not in source file

2014-04-26 Thread Eric Hanchrow
I suspect this falls under the rather large umbrella of the top level
is hopeless.  See e.g. the first Google hit for that phrase:
https://gist.github.com/samth/3083053

On Sat, Apr 26, 2014 at 8:50 AM, Philipp Dikmann phil...@dikmann.de wrote:
 When I had a similar problem regarding eval and the REPL, the fine folks of
 this mailing list pointed out that the namespace-argument of eval makes all
 the difference, as explained here
 http://docs.racket-lang.org/guide/eval.html?q=namespace#%28tech._namespace%29

 Have you tried supplying a namespace to eval, possibly obtained using
 define-namespace-anchor after your imports?



 On 26.04.14 14:57, AbdUr-RehMan wrote:


 eval working fine in REPL but gives ask: unbound identifier;
  also, no #%app syntax transformer is bound in: ask error when used in
 source file like

 (require racket/include)
 (include world.rkt)

 (eval '(ask abdur 'go 'north))

 I have seen various questions regarding the same eval issue on racket
 mailing list and in the documentation
 but I didn't came across a case where they touch on case like this
 where I am including another file and the function is defined in that class.

 Any help would be greatly appreciated,
 Thanks


 
   Racket Users list:
   http://lists.racket-lang.org/users



 
   Racket Users list:
   http://lists.racket-lang.org/users


  Racket Users list:
  http://lists.racket-lang.org/users


Re: [pylons-discuss] Starting pyramid with a script and terminate

2014-03-20 Thread Eric Hanchrow
I am not quite sure what you're looking for, but maybe prequest is
it: it runs your code to handle a single request (which you specify at
the command line).

On Tue, Mar 18, 2014 at 6:45 AM, Gerhard Schmidt esta...@augusta.de wrote:
 Hi

 i'm used to develeop with zope. With zope you can use zopectl run
 somescript.py to start zope and run the script in the zopectl debug
 environment and terminate when the script is done.

 With pshell I can get a environment like zopectl debug. Is there a way
 to start pshell with a script to execute and terminate more elegant than
 piping the commands thru stdin

 Regards
   Estartu

 --
 
 Gerhard Schmidt| http://www.augusta.de/~estartu/|
 Fischbachweg 3 || PGP Public Key
 86856 Hiltenfingen | JabberID: esta...@augusta.de   |  auf Anfrage/
 Tel: 08232 77 36 4 ||   on request
 Fax: 08232 77 36 3 ||


-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.


[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-10-31 Thread Eric Hanchrow

Changes by Eric Hanchrow eric.hanch...@gmail.com:


--
nosy:  -Eric.Hanchrow

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19063
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19455] LoggerAdapter class lacks documented setLevel method

2013-10-30 Thread Eric Hanchrow

Changes by Eric Hanchrow eric.hanch...@gmail.com:


--
components: Library (Lib)
nosy: Eric.Hanchrow
priority: normal
severity: normal
status: open
title: LoggerAdapter class lacks documented setLevel method
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19455
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-10-30 Thread Eric Hanchrow

Eric Hanchrow added the comment:

Put the following into a file named repro.py, then type python repro.py at 
your shell.  You'll see ``AttributeError: 'CustomAdapter' object has no 
attribute 'setLevel'``

import logging logging.basicConfig ()

class CustomAdapter(logging.LoggerAdapter):
def process(self, msg, kwargs):
return '[%s] %s' % (self.extra['connid'], msg), kwargs

logger = logging.getLogger(__name__) 
adapter = CustomAdapter(logger, {'connid': '1234'}) 
adapter.setLevel (logging.WARN) 
adapter.warning (Ahoy matey)

--
nosy: +Eric.Hanchrow

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19063
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-10-30 Thread Eric Hanchrow

Eric Hanchrow added the comment:

Gaah, please ignore that last message; I accidentally pasted it into the wrong 
page :-(

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19063
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19455] LoggerAdapter class lacks documented setLevel method

2013-10-30 Thread Eric Hanchrow

New submission from Eric Hanchrow:

Put the following into a file named repro.py, then type python repro.py at 
your shell.  You'll see ``AttributeError: 'CustomAdapter' object has no 
attribute 'setLevel'``

import logging logging.basicConfig ()

class CustomAdapter(logging.LoggerAdapter):
def process(self, msg, kwargs):
return '[%s] %s' % (self.extra['connid'], msg), kwargs

logger = logging.getLogger(__name__) 
adapter = CustomAdapter(logger, {'connid': '1234'}) 
adapter.setLevel (logging.WARN) 
adapter.warning (Ahoy matey)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19455
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19455] LoggerAdapter class lacks documented setLevel method

2013-10-30 Thread Eric Hanchrow

Eric Hanchrow added the comment:

I should have been clearer: the problem is that the docs 
(http://docs.python.org/2/library/logging.html#logging.LoggerAdapter) say 

In addition to the above, LoggerAdapter supports the following methods of 
Logger, i.e. debug(), info(), warning(), error(), exception(), critical(), 
log(), isEnabledFor(), getEffectiveLevel(), setLevel(), hasHandlers(). 

So the code and the docs disagree.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19455
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19455] LoggerAdapter class lacks documented setLevel method

2013-10-30 Thread Eric Hanchrow

Eric Hanchrow added the comment:

Thanks!

On Wed, Oct 30, 2013 at 5:36 PM, Vinay Sajip rep...@bugs.python.org wrote:

 Vinay Sajip added the comment:

 Okay, I see. I can't add the methods to the code (as feature additions aren't 
 allowed in micro releases, and 2.7 is the last 2.x release). So I'll update 
 the documentation.

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue19455
 ___

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19455
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: [racket-dev] [racket] [ANN] RacketCon 2013: 29 September

2013-09-22 Thread Eric Hanchrow
My wife and I will be in Boston a day early (Friday).  Does anyone
have a must-see touristy suggestion for us?

On Wed, May 8, 2013 at 8:49 AM, Asumu Takikawa as...@ccs.neu.edu wrote:
 RacketCon 2013
 --

 We are pleased to announce that (third RacketCon) will take place on
 September 29, 2013 at Northeastern University in Boston.  This year, we
 plan to bring in several speakers from industry, as well as host talks
 from Racket developers and users.

 Lunch will be provided.

 On the Saturday (28th) before RacketCon, we plan to hold a hackathon to work 
 on
 various Racket projects.

 Registration will open during the summer, and we will post a detailed
 schedule of events around the same time. The conference website is at

   http://con.racket-lang.org/

 Asumu Takikawa and PLT

 
   Racket Users list:
   http://lists.racket-lang.org/users
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [SEAPY] App Deployment -- Joint Users Meeting SeaPig + DjangoSeattle -- Weds, July 11th -- 6:30PM

2013-09-20 Thread Eric Hanchrow
Did anyone write up a summary of this meeting, or are there slides or
something somewhere?  I'm investigating deployment options and curious
to see what people are using.

On Fri, Jul 6, 2012 at 9:37 AM, Kevin LaTona li...@studiosola.com wrote:

 Are you looking to automate your Python app deployments?

 SeaPig and Django Seattle is holding a joint meeting so you can learn more.

 Kevin LaTona will moderate a panel discussion that includes Adam Feuer, Alec
 Koumjian, James Cooper,  Jonathan Kay, and Leo Shklovskii.

 These guys will be talking about tools like Fabric, Salt, Ansible, Chef,
 Puppet and Vagrant.

 As well as other options you can use to deploy your Python apps with.

 Be a part of the conversation this Wednesday, July 11th starting at 6:30pm.

 See you there.


 ---

 Networking + Pizza: 6:30 - 7:00 PM

 Meeting: 7:00 - 9:00

 Location: Office Nomads,  1617 Boylston Ave ( Capitol Hill just off Broadway
 )

 Map -- http://goo.gl/lqNwS



 ** And now a quick message from our pizza sponsor  ***

 Do you like Dogs, Django and Python?

 You know you do.

 Rover.com is hiring Django developers.

 http://www.rover.com/jobs/












docs for --execdir confusing

2013-09-02 Thread Eric Hanchrow
In Version: 4.4.2-4ubuntu1, the info doc for --execdir says ``The
command is executed in the directory in which `find' was run.''
However, the doc for --exec says essentially the same thing: ``The
main difference is that the command is executed in the directory from
which `find' was invoked ...''

This is confusing -- I think the doc for --execdir should instead say
``The command is executed in the directory in which the file was
found''.

Also, the docs for --execdir claim that it's somehow more secure, but
it's not at all clear _why_.



Re: [SEAPY] May meeting

2013-05-03 Thread Eric Hanchrow
I haven't attended a Seattle Python meeting in ages.  Where and when are
the meetings?  Does the group have a home page?  Is there a calendar of
meetings?

Thanks.


On Wed, May 1, 2013 at 9:45 PM, Mike Orr sluggos...@gmail.com wrote:

 We've got a lot of topics for the May meeting, so let's get it scheduled.
 Jon, confirm venue?

 1. PyCon discussion
 2. RaspberryPI show  tell
 3. LinuxFest report (did anybody go?)
 4. Python Day discussion
 5. Website software discussion

 That's a lot to fit into one meeting. For RaspberryPI, does anybody have
 anything substantial to show  tell? Should we postpone it to June when
 we'll have more time?

 --
 Mike Orr sluggos...@gmail.com



Re: [Fest-list] 2013 Schedule Released

2013-04-20 Thread Eric Hanchrow
I went to the site, logged in, found a couple of interesting talks, and
clicked Add to my schedule.  Now that I've added a few things to my
schedule, how can I _see_ my schedule? And once I see it, how can I get an
iCal feed from it that I can add to my Google Calendar?


On Sat, Apr 20, 2013 at 1:22 PM, John Blanford jo...@vaultechnology.comwrote:

 The session schedule is now up on the fest web site.

 http://www.linuxfestnorthwest.**org/2013/schedule/sessionshttp://www.linuxfestnorthwest.org/2013/schedule/sessions



 -- John

 --**--**
 John Blanford  jo...@vaultechnology.com
 VAULTechnology, LLC(360) 312-3970
 Bellingham, Washington http://www.vaultechnology.com
 --**--**

 __**_
 Fest-list mailing list
 Fest-list@peakserv.com
 https://www.peakserv.com/**mailman/listinfo/fest-listhttps://www.peakserv.com/mailman/listinfo/fest-list

___
Fest-list mailing list
Fest-list@peakserv.com
https://www.peakserv.com/mailman/listinfo/fest-list


[racket] Cannot log in to the racket bug tracker

2013-04-06 Thread Eric Hanchrow
I recently submitted a bug report, and got the usual email from the bug
tracker, with a link to the new report.  When I clicked the link, I saw a
page that said

default  User: offby1  Access: listdb *Racket
Bugs*http://bugs.racket-lang.org/query/?database=defaultLoginYou
do not have access to database: default.
Please log in to another database

I'm pretty sure that I haven't gotten my password wrong -- I use a password
manager.  I assume something is screwed up with the bug database.

Any suggestions for how I can log in?

  Racket Users list:
  http://lists.racket-lang.org/users


Re: SPUG: SPUG, today?

2013-01-15 Thread Eric Hanchrow
Got a table within view of the stairs.
On Jan 15, 2013 4:25 PM, C.J. Adams-Collier c...@colliertech.org wrote:

 Thems gotsa be sad thoughts these days :-)
 On Jan 15, 2013 3:01 PM, Eric Hanchrow eric.hanch...@gmail.com wrote:

 I might.  Drinking beer, and not thinking about Rails, sound pretty good
 right now :-|


 On Tue, Jan 15, 2013 at 1:08 PM, C.J. Adams-Collier c...@colliertech.org
  wrote:

 I am temporarily in town but should be on a ferry back to Orcas by the
 time the meeting happens.  Someone should invite triddle from magnet #perl.
  On Jan 15, 2013 11:32 AM, Dave Olszewski cx...@pobox.com wrote:

 So ostensibly, today is SPUG.  Is anyone planning on coming?

 I'm going to get the meetings added to
 http://www.geekwire.com/calendar/
 so that people have a better reminder than an email which never seems to
 go out on time.

 Dave
 _
 Seattle Perl Users Group Mailing List
  POST TO: spug-list@pm.org
 SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
 MEETINGS: 3rd Tuesdays
 WEB PAGE: http://seattleperl.org/


 _
 Seattle Perl Users Group Mailing List
  POST TO: spug-list@pm.org
 SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
 MEETINGS: 3rd Tuesdays
 WEB PAGE: http://seattleperl.org/



_
Seattle Perl Users Group Mailing List
 POST TO: spug-list@pm.org
SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
MEETINGS: 3rd Tuesdays
WEB PAGE: http://seattleperl.org/

[racket-dev] Tiny tweak to docs

2012-04-30 Thread Eric Hanchrow
diff --git a/collects/scribblings/reference/sets.scrbl
b/collects/scribblings/reference/sets.scrbl
index d9ea0c6..44cc41d 100644
--- a/collects/scribblings/reference/sets.scrbl
+++ b/collects/scribblings/reference/sets.scrbl
@@ -27,8 +27,8 @@ unpredictable when keys are mutated.
 @defproc[(seteq [v any/c] ...) set?]
 )]{

-Creates a set that uses @racket[equal?], @racket[eq?], or
-@racket[eqv?], respectively, to compare elements.  The given
+Creates a set that uses @racket[equal?], @racket[eqv?], or
+@racket[eq?], respectively, to compare elements.  The given
 @racket[v]s are added to the set. The elements are added in the order
 that they appear as @racket[v]s, so in the first two cases, an earlier
 element that is @racket[equal?] or @racket[eqv?] but not @racket[eq?]
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket] Sandbox needs to access preferences? Why?

2012-03-13 Thread Eric Hanchrow
I've seen this occasionally too from rudybot; I'll see if I can get a
stacktrace next time it happens (doubtful but you never know).

On Tue, Mar 13, 2012 at 1:48 PM, Robby Findler
ro...@eecs.northwestern.edu wrote:
 Do you get a stacktrace with the error?

 Robby

 On Tue, Mar 13, 2012 at 3:06 PM, Jordan Johnson j...@fellowhuman.com wrote:
 Hi all,

 I'm trying to write a checker script for the handin server (which is running 
 on my Mac), and when i try handing an assignment in to it, I am getting the 
 error that read access to my preferences file is denied:

  ERROR: file-or-directory-modify-seconds: 'read' access denied for
    /Users/myusername/Library/Preferences/org.racket-lang.prefs.rktd

 In the checker I am creating two evaluators, one using 
 make-evaluator/submission and the other using make-module-evaluator.  I have 
 determined that this definition is provoking the error:
 ;;
 (define-values (asg-eval solution-eval)
          (parameterize ([sandbox-namespace-specs
                           (list make-base-namespace 'hw/solutions)])
            (values
             (make-evaluator/submission
              '(special intermediate)
              '()
              submission)
             (make-module-evaluator (build-path asg-dir solution.rkt)
 ;;

 submission is bound by the handin server's check: macro, and asg-dir is 
 defined thus:
 (define asg-dir (build-path server-dir my-handin-directory-here))
 where server-dir is also provided by the handin server.  solution.rkt is a 
 file I have written in ISL, which depends only on 2htdp/image and a library 
 I've linked as hw/solutions.

 Can you identify what may be triggering the attempt to read preferences, and 
 how I can either avoid it or grant appropriate read permissions?  Thanks...

 Best,
 Jordan

 
  Racket Users list:
  http://lists.racket-lang.org/users

 
  Racket Users list:
  http://lists.racket-lang.org/users


  Racket Users list:
  http://lists.racket-lang.org/users


bug#10988: stable-2.0 failed to build on a Mac

2012-03-11 Thread Eric Hanchrow
This is a MacBook Air running OS X 10.7.3.

I have macports (http://www.macports.org) installed.

Here's what I did:

$ sudo port install libunistring pkgconfig boehmgc gmp
$ git clone git://git.sv.gnu.org/guile.git
$ cd guile/
$ git checkout stable-2.0
$ ./configure -C --with-libgmp-prefix=/opt/local
--with-libunistring-prefix=/opt/local
$ make

After about 450 lines of output, it fails with
  GENguile-procedures.texi
guile: uncaught throw to unbound-variable: (#f Unbound variable: ~S (mod) #f)

I'd be happy to provide more details on request.  Thanks!





Re: [racket] racket in the cloud

2012-02-07 Thread Eric Hanchrow
  https://github.com/offby1/doodles/tree/master/plt-scheme/web/amazon
 (currently 404 -- does anyone know the new location?)

It should now be visible at that URL; I'd made that repo private for
no particularly good reason, and have now re-published it.


  Racket Users list:
  http://lists.racket-lang.org/users


[racket] Why reference to an identifier before its definition in this program?

2011-12-25 Thread Eric Hanchrow
This is racket v5.2.

#lang racket

(define/contract (x input)
  (y . - . any/c)
  3)

;; (define (x input)
;;   (y)
;;   3)

(define (y)
  #t)

When I run this, I get

racket ./hmm.rkt
reference to an identifier before its definition: y in module: ...

However, if I comment out the first definition of x, and uncomment the
second, I don't get an error.

What is the difference?  Is this a bug?  It'd be nice if I could use a
defined-later-in-the-file function in my contract; otherwise I have to
carefully order the functions in the file, which makes it harder to
read the file.

  Racket Users list:
  http://lists.racket-lang.org/users


[racket-dev] [PATCH 1/3] add missing word

2011-10-22 Thread Eric Hanchrow
---
 collects/scribblings/guide/unit.scrbl |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/collects/scribblings/guide/unit.scrbl 
b/collects/scribblings/guide/unit.scrbl
index d464aa6..7f7ce01 100644
--- a/collects/scribblings/guide/unit.scrbl
+++ b/collects/scribblings/guide/unit.scrbl
@@ -611,7 +611,7 @@ simple application to values---that make them suitable for 
different
 purposes.
 
 The @racket[module] form is more fundamental than the others, in a
-sense. After all, a program fragment cannot reliably refer to
+sense. After all, a program fragment cannot reliably refer to a
 @racket[lambda], @racket[class], or @racket[unit] form without the
 namespace management provided by @racket[module]. At the same time,
 because namespace management is closely related to separate expansion
-- 
1.7.6.348.gbd207

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] [PATCH 2/3] add an s

2011-10-22 Thread Eric Hanchrow
---
 collects/web-server/scribblings/web-server.scrbl |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/collects/web-server/scribblings/web-server.scrbl 
b/collects/web-server/scribblings/web-server.scrbl
index 3bd1910..11c610c 100644
--- a/collects/web-server/scribblings/web-server.scrbl
+++ b/collects/web-server/scribblings/web-server.scrbl
@@ -13,7 +13,7 @@ This manual describes the Racket libraries for building Web 
applications.
 @secref[servlet] use the entire Racket language, but their continuations are 
stored in the Web server's memory.
 @secref[stateless] use a slightly restricted Racket language, but their 
continuation can be stored by the Web client or on a Web server's disk. If you 
can, you want to use @secref[stateless] for the improved scalability.
 
-The @secref[http] section describes the common library function for 
manipulating HTTP requests and creating HTTP responses.
+The @secref[http] section describes the common library functions for 
manipulating HTTP requests and creating HTTP responses.
 In particular, this section covers cookies, authentication, and request 
bindings.
 
 The final five sections (@secref[dispatch], @secref[formlets], 
@secref[templates], @secref[page], and @secref[test]) cover utility 
libraries that ease the creation of typical Web applications.
-- 
1.7.6.348.gbd207

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] [PATCH 3/3] Add missing word

2011-10-22 Thread Eric Hanchrow
---
 collects/scribblings/foreign/intro.scrbl |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/collects/scribblings/foreign/intro.scrbl 
b/collects/scribblings/foreign/intro.scrbl
index ba7912a..963c656 100644
--- a/collects/scribblings/foreign/intro.scrbl
+++ b/collects/scribblings/foreign/intro.scrbl
@@ -478,7 +478,7 @@ terminated.
 
 The @racketmodname[ffi/unsafe/alloc] library provides functions to
 connect resource-allocating functions and resource-releasing
-functions. The library then for finalization to release a resource if
+functions. The library then arranges for finalization to release a resource if
 it becomes inaccessible (according to the GC) before it is explicitly
 released. At the same time, the library handles tricky atomicity
 requirements to ensure that the finalization is properly registered
-- 
1.7.6.348.gbd207

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


How do I apply a downloaded diff to my git repository?

2011-08-12 Thread Eric Hanchrow
I'm looking at a review from a co-worker, and I'd really like to have her 
code on my development machine, so that I can run the unit tests and mess 
around generally.

I figured that I'd be able to download the diff from the review 
(http://our-reviewboard.server/r/123/diff/raw/) and apply that to my local 
git repository, but it doesn't apply:

$ git apply ~/Downloads/bug\ \(1\).patch 
error: patch failed: some/file:7
error: some/file: patch does not apply
error: other/file: No such file or directory


On reflection, this isn't surprising: she probably based her work on some 
commit other than the one that I happen to have checked out.  Perhaps if I 
ask her for that commit ID, I'll be able to apply the diff.  But somehow 
this seems wrong to me: it seems as if reviewboard should somehow provide 
that commit ID automatically.  Am I misunderstanding something?  Is there no 
way that I can get her work onto my machine, without having to get extra 
information from her?

Thanks

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: [racket] another mini-tutorial: a racket slice: munging IRC logs

2011-08-06 Thread Eric Hanchrow
I would like to put in a plug for my dear friend Rudybot, written
partly by Eli but mostly by me, now playing on #racket and #scheme on
Freenode:

https://github.com/offby1/rudybot

On Sat, Aug 6, 2011 at 2:36 AM, Neil Van Dyke n...@neilvandyke.org wrote:
 Danny Yoo wrote at 08/06/2011 02:08 AM:

    http://hashcollision.org/racket-slices/irc-parsing/index.html


 Tutorials like this can certainly help attract new people and get them
 started.

 Perhaps pick a more inspiring hunk of IRC dialogue to use as an example, so
 as not to demotivate with the impression that IRC is futile?

 And if you're going to use real-world IRC dialogue for this tutorial and/or
 other purposes, I suspect you want to anonymize it, lest your human subjects
 board gets all up in your business.  (Although that neilv fellow is
 strikingly handsome.)

 BTW, I suspect someone will find this in Google when they're trying to talk
 with an IRC server from Racket, and be disappointed that this is only about
 parsing a particular log format.  I think that there is some IRC client code
 for Racket, not necessarily released.  I think I've seen a Racket-based bot
 online, perhaps by Eli.  And I wrote an (unreleased) IRC bot in Scheme in
 2001, which supported DCC transfers and corrected people's spelling.  So
 that Googling person should ask around when the time comes.

 --
 http://www.neilvandyke.org/

 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Re: [racket-dev] net/url and https

2011-06-19 Thread Eric Hanchrow
On Sun, Jun 19, 2011 at 3:47 PM, Eli Barzilay e...@barzilay.org wrote:
 Two minutes ago, Neil Van Dyke wrote:

 I also think that Eli's option #1 could be done without breaking
 backward-compatibility, but I'm not sure it's worth the effort in
 code and documentation, and I don't want to discourage him moving
 forward with #1 by making the task harder than it has to be.

 Heh, I just thought about a way to do that, which is likely what
 you're thinking of:

  * `net/url-unit' and `net/url-sig' stay the same.  Code that uses
    them works as before.

  * `net/url' becomes the (non-unit, of course) library that does
    dispatching over https with an ssl connection.

 This might work, but would be very odd.  Specifically, the description
 of `net/url-unit' will need to mumble something about creating a
 result that is *not* like `net/url' in that there is no such dispatch.

 Backwards compatible, but IMO very ugly.  But perhaps it's worth it?

I don't have a strong opinion about which option is best.  I don't
have much code that deals with URLs at all (and let's be blunt; it's
_all_ hobby code).  And I don't understand units enough to comment on
anything involving them.

I do feel strongly that Racket should have a way to deal with https
reasonably painlessly.  I also think that Eli is right about the
awkwardness of the current interface -- in order to get the status
code from the response, I have to parse the headers myself, which
seems silly.

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Re: [racket] retrieving an https url

2011-06-18 Thread Eric Hanchrow
I've wrapped the thing into a PLaneT package at
http://planet.racket-lang.org/display.ss?package=ssl-url.pltowner=offby1.

The documentation is mostly a placeholder; I'd appreciate suggestions
for improvements.
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users


Re: [SEAPY] June meeting

2011-05-31 Thread Eric Hanchrow
That would be

Bigdoor Media Inc
14003 Southeast 43rd Street, Bellevue, WA 98006-2200

?

On Tue, May 31, 2011 at 9:10 PM, Mike Orr sluggos...@gmail.com wrote:
 On Tue, May 31, 2011 at 7:04 PM, Eric Hanchrow eric.hanch...@gmail.com 
 wrote:
 On Tue, May 31, 2011 at 4:53 PM, Mike Orr sluggos...@gmail.com wrote:
 June's meeting is confirmed:  WEDNESDAY June 8 at RedDoor

 Sorry, I meant BigDoor.

 Sigh, why do companies choose such generic names. :(

 --
 Mike Orr sluggos...@gmail.com



Re: [SEAPY] Ever had the needed to write Ruby code from Python

2011-05-28 Thread Eric Hanchrow
On Sat, May 28, 2011 at 5:11 PM, Kevin LaTona li...@studiosola.com wrote:
 If you were in a room for an evening with 100 other Seattle Python, Perl and
 Ruby users.

 Any thoughts on the idea here my follow SeaPig members?

It might be interesting to ask what's one library that doesn't exist
for your favorite language, that you wish did exist?  Then see if we
find that the library exists in one of those languages but not some
other.


Re: [SEAPY] Ever had the needed to write Ruby code from Python

2011-05-24 Thread Eric Hanchrow
Just a link to http://goo.gl/zPOD ... ?
On Tue, May 24, 2011 at 8:12 PM, Brendan Miller catph...@catphive.net wrote:
 Uh, look at the one file in the src directory.

 On Tue, May 24, 2011 at 6:47 PM, Kevin LaTona li...@studiosola.com wrote:

 I came upon this today.

 PyRuby - Some Ruby for your Python!

 https://github.com/danielfm/pyruby

 It is a pretty interesting thought worth looking at if you ever need to
 blend the two languages at times.

 It's only been public for 2 days so check it out but know it's young yet.

 -Kevin








Re: [racket] rackunit positive feedback

2011-05-17 Thread Eric Hanchrow
On Tue, May 17, 2011 at 6:06 AM, Matthew Flatt mfl...@cs.utah.edu wrote:
 I think we would want to implement it as a `#lang' mix-in

  #lang testable racket

That sounds _great_.

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Re: [racket-dev] overwrite

2011-02-27 Thread Eric Hanchrow
 Looking at this code, I'm betting on Neil's suggestion of NTP, though I 
 realize that the mechanism isn't obvious... perhaps the OS adjusts the save 
 times of recently-saved files?

I haven't followed this discussion closely, nor looked at the relevant code.

However :)

From what I know about NTP, it will never make time go backwards, so
I doubt it's the culprit.

(When NTP determines that your clock is later than it should be, it
merely slows it down a bit until the true time catches up with it.)
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] [PATCH 2/2] Add missing asterisk in example

2011-01-25 Thread Eric Hanchrow
 collects/scribblings/reference/regexps.scrbl |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/collects/scribblings/reference/regexps.scrbl
b/collects/scribblings/reference/regexps.scrbl
index aa374e3..db7cf96 100644
--- a/collects/scribblings/reference/regexps.scrbl
+++ b/collects/scribblings/reference/regexps.scrbl
@@ -435,7 +435,7 @@ Like @racket[regexp-match-positions], but returns
multiple matches
 like @racket[regexp-match*].

 @examples[
-(regexp-match-positions #rxx. 12x4x6)
+(regexp-match-positions* #rxx. 12x4x6)
 ]}


-- 
1.7.3.5
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] How about adding this simple list-shuffling procedure to racket?

2010-11-11 Thread Eric Hanchrow
I find myself using this all the time; it seems it'd be handy to have built in.

(define (shuffled list)
  (sort list  #:key (lambda (_) (random)) #:cache-keys? #t))

Thanks.
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] BUG: compile: access from an uncertified context to unexported variable from module: /usr/local/src/racket/collects/racket/contract/private/base.rkt in: apply-contract

2010-11-07 Thread Eric Hanchrow
(Sorry for any duplicaiton; I tried submitting this through DrRacket
but never got a confirmation email)

On Racket v5.0.1.900., Ubuntu 10.10 x86:

Create stuff.rkt with this content:

#! /bin/sh
#| Hey Emacs, this is -*-scheme-*- code!
#$Id$
exec racket -l errortrace --require $0 --main -- ${1+$@}
|#

#lang racket
(require rackunit rackunit/text-ui)

(require racket/date
 (prefix-in srfi-19- srfi/19))

(define-test-suite stuff-tests (check-equal? 2 2))

(provide stuff)
(define (stuff)
  Yep, I'm some stuff, all right
  )

Now create silly.rkt with this content:

#! /bin/sh
#| Hey Emacs, this is -*-scheme-*- code!
#$Id$
exec racket -l errortrace --require $0 --main -- ${1+$@}
|#

#lang web-server/insta

(require stuff.rkt)

(define (start request)
  `(html
(head (title Stuff))
(body
 (p ,(format Here's some stuff: ~a (stuff))

Make silly.rkt executable, and run it.

You _should_ see a message about Your servelet is running, look in
your browser, etc.  Instead you see

./silly.rkt
compile: access from an uncertified context to unexported variable
from module: /usr/local/src/racket/collects/racket/contract/private/base.rkt
in: apply-contract

Now comment out the define-test-suite line in stuff.rkt, and try
again; this time it works.
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket] Emacs-style keybindings in Windows

2010-10-20 Thread Eric Hanchrow
On Wed, Oct 20, 2010 at 10:54 AM, Shriram Krishnamurthi s...@cs.brown.edu 
wrote:
 I turn off menu key bindings:

 Edit | Preferences... | Editing | General | Enable keybindings in menus

Aha!  I think I used to know that ...

... while we're on the subject, I see that M-( does in DrRacket what
it does in Emacs: inserts a () and leaves the insertion point between
them.  Splendid!  But I can't figure out how to do what Emacs does
when I type M-), namely: move point across one closing paren, without
inserting any.  Is there an equivalent for that?
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users


Re: [SEAPY] Android

2010-10-01 Thread Eric Hanchrow
I'd definitely avoid the HTC G1 -- I had one and it was terribly slow.


Re: [racket] Is there a name for: (lambda (x) (x)) ?

2010-09-26 Thread Eric Hanchrow
 (map (curryr apply '())
   (list
(lambda () 1)
(lambda () 2)
(lambda () 3)))

On Thu, Sep 23, 2010 at 1:36 PM, Jos Koot jos.k...@telefonica.net wrote:
 Sorry, I was too hasty.
 Thanks for the correctrion.
 Jos

 -Original Message-
 From: users-boun...@racket-lang.org
 [mailto:users-boun...@racket-lang.org] On Behalf Of David Van Horn
 Sent: 23 September 2010 17:19
 To: users@racket-lang.org
 Subject: Re: [racket] Is there a name for: (lambda (x) (x)) ?

 On 9/23/10 11:02 AM, Jos Koot wrote:
  I often wondered why -identity- is not included in the exports of
  racket/base.
  But which functions would we choose?
  (lambda (x) x)
  or
  (lambda x (apply values x))
  which can simply be wrtitten as
  values
  So -values- may be the identity you are looking for.

 Jos -- your eyes missed a set of parens.  The function in question is:

     (lambda (x) (x))

 not

     (lambda (x) x)

 David
 _
   For list-related administrative tasks:
   http://lists.racket-lang.org/listinfo/users


 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

[plt-dev] [PATCH] Fix some typos

2010-05-30 Thread Eric Hanchrow
From 04bf9ef961ff83a15a72935f74554899a0d5d54c Mon Sep 17 00:00:00 2001
From: Eric Hanchrow eric.hanch...@gmail.com
Date: Sun, 30 May 2010 00:57:02 -0700
Subject: [PATCH] Fix some typos

---
 collects/scribblings/guide/namespaces.scrbl|4 ++--
 collects/scribblings/guide/simple-syntax.scrbl |2 +-
 collects/scribblings/guide/vectors.scrbl   |4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/collects/scribblings/guide/namespaces.scrbl
b/collects/scribblings/guide/namespaces.scrbl
index 17da051..09fc9dd 100644
--- a/collects/scribblings/guide/namespaces.scrbl
+++ b/collects/scribblings/guide/namespaces.scrbl
@@ -125,7 +125,7 @@ argument. More often, the namespace used by a
dynamic operation is the
 @margin-note{See @secref[parameterize] for an introduction to
 parameters.}

-When @racket[eval] is used in a @tech{REPL}, the current is the one
+When @racket[eval] is used in a @tech{REPL}, the current namespace is the one
 that the @tech{REPL} uses for evaluating expressions. That's why the
 following interaction successfully accesses @racket[x] via
 @racket[eval]:
@@ -178,7 +178,7 @@ way to reflect a module into a @tech{namespace}.

 The @racket[module-namespace] function takes a quoted @tech{module
 path} and produces a namespace for evaluating expressions and
-definitions as if they appears in the @racket[module] body:
+definitions as if they appeared in the @racket[module] body:

 @interaction[
 (module m racket/base
diff --git a/collects/scribblings/guide/simple-syntax.scrbl
b/collects/scribblings/guide/simple-syntax.scrbl
index 085f5ef..785bd23 100644
--- a/collects/scribblings/guide/simple-syntax.scrbl
+++ b/collects/scribblings/guide/simple-syntax.scrbl
@@ -117,7 +117,7 @@ Racket programmers prefer to avoid side-effects,
so a definition usually
 has just one expression in its body. It's
 important, though, to understand that multiple expressions are allowed
 in a definition body, because it explains why the following
-...@racket[nobake] function simply returns its argument:
+...@racket[nobake] function fails to return its argument:

 @def+int[
 #:eval ex-eval
diff --git a/collects/scribblings/guide/vectors.scrbl
b/collects/scribblings/guide/vectors.scrbl
index 738ffa9..7a72ce8 100644
--- a/collects/scribblings/guide/vectors.scrbl
+++ b/collects/scribblings/guide/vectors.scrbl
@@ -11,7 +11,7 @@ update of its elements.

 A vector prints similar to a list---as a parenthesized sequence of its
 elements---but a vector is prefixed with @litchar{#} after
-...@litchar{'}, or it uses @schemeresult[vector] of one of its elements
+...@litchar{'}, or it uses @schemeresult[vector] if one of its elements
 cannot be expressed with @racket[quote].

 For a vector as an expression, an optional length can be
@@ -35,7 +35,7 @@ Vector can be converted to lists and vice versa via
 @racket[list-vector] and @racket[vector-list]; such conversions are
 particularly useful in combination with predefined procedures on
 lists. When allocating extra lists seems too expensive, consider
-using looping forms like @racket[fold-for], which recognize vectors as
+using looping forms like @racket[for/fold], which recognize vectors as
 well as lists.

 @examples[
-- 
1.7.0.4
_
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-dev


Re: [SEAPY] September meeting

2009-09-04 Thread Eric Hanchrow
On Fri, Sep 4, 2009 at 1:18 PM, Justin Capposjust...@cs.washington.edu wrote:
 By the way, the SEAPIG meeting next week will be in room 303.   It's
 on the third floor and there will be signs pointing the way.

What time does the meeting start?


Re: [plt-dev] documentation slowing down installs and builds dramatically

2009-05-29 Thread Eric Hanchrow
On Fri, May 29, 2009 at 6:44 PM, Neil Van Dyke n...@neilvandyke.org wrote:
 For me, optimizing these documentation updates is the improvement I'd most
 like to see in PLT Scheme next.

Hear, hear.
_
  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-dev


Bug#507536: libxul-dev did it for me ...

2008-12-12 Thread Eric Hanchrow
... on Ubuntu Intrepid.



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#507536: libxul-dev did it for me ...

2008-12-12 Thread Eric Hanchrow
... on Ubuntu Intrepid.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Surprising difference in behavior between import blah and from blah import thing

2008-05-08 Thread Eric Hanchrow
(This is with Python 2.5.2, on Ubuntu Hardy, if it matters.)

This seems so basic that I'm surprised that I didn't find anything
about it in the FAQ.  (Yes, I am fairly new to Python.)

Here are three tiny files:

 mut.py 

import system
from system import thing

def doit():
printthing is, thing

def do_it_slightly_differently():
print system.thing is, system.thing

 system.py 
thing = I am the original thing!!

 test.py 
import mut
mut.doit()
mut.do_it_slightly_differently()
import system

system.thing = The new improved thing
mut.doit()
mut.do_it_slightly_differently()

When I run python test.py, I see

   thing is I am the original thing!!
system.thing is I am the original thing!!
   thing is I am the original thing!!
system.thing is The new improved thing

What surprises me is that the assignment to system.thing in test.py
only seems to affect the use of system.thing in mut.py, and not
affect the use of just plain thing in that same file.  I would have
expected my assignment to have affected both, or perhaps neither.

I have no idea why these two differ.  Can someone explain?
-- 
Rarely do we find men who willingly engage in hard, solid
thinking.  There is an almost universal quest for easy answers
and half-baked solutions.  Nothing pains some people more
than having to think.
-- Martin Luther King, Jr.
from Strength to Love, 1963.

--
http://mail.python.org/mailman/listinfo/python-list


Re: [tutorial] pct tutorial language: Squaak implementation

2008-03-25 Thread Eric Hanchrow
 Mark == Mark J Reed [EMAIL PROTECTED] writes:

Mark ... confusion with Squeak, which is how I read this subject
Mark at first.  (Smalltalk on Parrot?!  Whoa!).  But maybe
Mark that's just me.  :)

I read it that way too (and had the same reaction :-)

-- 
[T]he main reason Viaweb ended up being server-based was
that we didn't want to have to write Windows apps.
-- Paul Graham



Re: [tutorial] pct tutorial language: Squaak implementation

2008-03-25 Thread Eric Hanchrow
 Mark == Mark J Reed [EMAIL PROTECTED] writes:

Mark ... confusion with Squeak, which is how I read this subject
Mark at first.  (Smalltalk on Parrot?!  Whoa!).  But maybe
Mark that's just me.  :)

I read it that way too (and had the same reaction :-)

-- 
[T]he main reason Viaweb ended up being server-based was
that we didn't want to have to write Windows apps.
-- Paul Graham



[Python-3000] Failure building docs of py3k r30a2

2008-01-13 Thread Eric Hanchrow
On Ubuntu 7.10 Gutsy Gibbon:

Unfortunately I don't really know python, so am unable to debug this.

I checked out by doing

svn co http://svn.python.org/projects/python/tags/r30a2 py3k

Then I built python itself with no apparent trouble.  But building the docs 
fails:

make -k html
mkdir -p build/html build/doctrees
python2.5 tools/sphinx-build.py -bhtml -dbuild/doctrees  . build/html
1mtrying to load pickled env...;49;00m done
1mbuilding [html]:;49;00m targets for 0 source files that are out of date
1mreading, updating environment:;49;00m 0 added, 0 changed, 0 removed 
1m;49;00m
1mcreating index...;49;00m
1mwriting output...;49;00m
;01mcontents.rst;49;00m
1mfinishing...;49;00m
1mwriting additional files...;49;00m
Traceback (most recent call last):
  File tools/sphinx-build.py, line 23, in module
sys.exit(main(sys.argv))
  File /usr/local/src/py3k/Doc/tools/sphinx/__init__.py, line 145, in main
builderobj.build_update()
  File /usr/local/src/py3k/Doc/tools/sphinx/builder.py, line 208, in 
build_update
'out of date' % len(to_build))
  File /usr/local/src/py3k/Doc/tools/sphinx/builder.py, line 244, in build
self.finish()
  File /usr/local/src/py3k/Doc/tools/sphinx/builder.py, line 459, in 
finish
download_base_url = self.config['html_download_base_url'],
KeyError: 'html_download_base_url'
make: *** [build] Error 1
make: Target `html' not remade because of errors.

Compilation exited abnormally with code 2 at Sat Jan 12 08:46:15

-- 
When there's not many discoveries being made, there's nothing left to
do all day but witch-hunt the heretics.
-- Eliezer Yudkowsky
___
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com


docs for Windows HOME fail to mention registry

2007-07-16 Thread Eric Hanchrow
(info (emacs)MS-Windows Registry) describes how Emacs consults the
Windows registry to find various information that, on *nix, would have
been gotten from the environment.  Examples are the user's HOME
directory, the EMACSDATA directory, and others.

The problem is that (info (emacs)Windows HOME) doesn't refer to that
node, and, by not mentioning the registry, implies that the registry
is never consulted, when in fact it is.

In GNU Emacs 22.1.50.5 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-07-14 on debian
configured using `configure  '--enable-maintainer-mode''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-netsplit-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-autojoin-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-log-mode: t
  erc-services-mode: t
  erc-unmorse-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  recentf-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  iswitchb-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
DEL a t SPC w o r k SPC a n d SPC p r e t t y SPC b 
u s y SPC : - | RET C-c C-@ C-c C-@ C-c C-@ C-c C-@ 
g RET RET n ! ESC u q , RET x c y l RET RET q l RET 
C-d RET C-n RET C-n RET C-n RET c y q C-x d d o o TAB 
p l TAB f o o TAB RET g C-n RET C-u C-n C-u C-n C-n 
ESC f C-f C-f C-f C-f C-k 8 SPC 0 C-x C-s ESC x s v 
n - s t TAB RET ESC DEL ESC DEL ESC DEL ESC DEL RET 
? U n n n = n n n = C-x 0 C-x k RET r y e s RET C-x 
k RET C-x k RET C-x v = C-x v l = d C-x 1 C-x k RET 
C-x k RET C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-c 
C-@ C-x b g r o RET g , RET c y l RET x C-n C-n C-n 
C-n C-n C-n RET C-x 1 c y l RET RET c y l RET q l RET 
x c y l RET x c y l RET RET q l RET c y l RET RET ESC 
u RET SPC q z C-c C-@ C-c C-@ C-h r C-s w i n d p o 
w C-a RET 4 C-s r e g C-a C-v C-l u ESC  C-s r e g 
i s t r y C-s C-a RET l l l ESC - C-l u C-s C-s C-s 
C-a RET ESC x r e p o r t - e m TAB b TAB RET

Recent messages:
Expiring articles...done
Mark saved where search started [2 times]
Mark set
Searching subfile emacs-7...
Searching subfile emacs-8...
Mark saved where search started
Searching subfile emacs-7...
Searching subfile emacs-8...
Mark saved where search started
Loading emacsbug...done

-- 
A hacker would consider being asked to write
add x to y giving z
instead of
z = x+y
as something between an insult to his intelligence and a sin against God.
-- Paul Graham (http://paulgraham.com/popular.html)


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: double free or corruption

2007-06-28 Thread Eric Hanchrow
I'm 98% sure they're working on that, but I can't find the article
right now to cite.
-- 
Two degrees in be-bop, a Ph.D. in swing
-- Lowell George, Fred Martin



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: double free or corruption

2007-06-28 Thread Eric Hanchrow
http://permalink.gmane.org/gmane.emacs.devel/73999
-- 
Two degrees in be-bop, a Ph.D. in swing
-- Lowell George, Fred Martin



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


tramp dies with value as variable is void

2007-06-28 Thread Eric Hanchrow
I started emacs with 'emacs -Q -nw'

I typed

C-x C-f / e r i c h @ 1 9 2 . 1 6 8 . 0 . 1 2 6 : RET 

I saw

tramp-find-foreign-file-name-handler: Symbol's value as variable is void: 
cl-struct-tramp-file-name-tags

Here's a stack trace:

Debugger entered--Lisp error: (void-variable cl-struct-tramp-file-name-tags)
  tramp-smb-file-name-p(/[EMAIL PROTECTED]:)
  tramp-find-foreign-file-name-handler(/[EMAIL PROTECTED]:)
  tramp-file-name-handler(substitute-in-file-name /[EMAIL PROTECTED]:)
  read-file-name(Find file:  nil /Users/erich/ nil)
  find-file-read-args(Find file:  nil)
  call-interactively(find-file)

In GNU Emacs 22.1.50.2 (powerpc-apple-darwin7.9.0, Carbon Version 1.6.0)
 of 2007-06-28 on Buster.local
Windowing system distributor `Apple Computers', version 10.3.9
configured using `configure  '--enable-maintainer-mode' '--enable-carbon-app''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  encoded-kbd-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
C-x C-f / e r i c h @ 1 9 2 . 1 6 8 . 0 . 1 2 6 : RET 
ESC x r e p o r t - e m TAB RET

Recent messages:
(/usr/local/bin/emacs -Q)
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading tramp...
Loading regexp-opt...done
Loading tramp...done
tramp-find-foreign-file-name-handler: Symbol's value as variable is void: 
cl-struct-tramp-file-name-tags
Loading emacsbug...done

--43BFB57B177.1183092646/Buster.local--



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: What should I work on at the hackathon tomorrow and Friday?

2007-06-27 Thread Eric Hanchrow
That's a generous offer.

How about activating the TODO test described in
http://rt.perl.org/rt3/Ticket/Display.html?id=42996, and making it
pass?  
-- 
A DRE voting system is one of the simplest computer
applications you could imagine.  It just adds by one.
-- Brit Williams, emeritus professor of computer science



Re: What should I work on at the hackathon tomorrow and Friday?

2007-06-27 Thread Eric Hanchrow
That's a generous offer.

How about activating the TODO test described in
http://rt.perl.org/rt3/Ticket/Display.html?id=42996, and making it
pass?  
-- 
A DRE voting system is one of the simplest computer
applications you could imagine.  It just adds by one.
-- Brit Williams, emeritus professor of computer science



doc string discrepancy in ibuffer-mark-old-buffers

2007-06-26 Thread Eric Hanchrow

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

In ibuffer mode, I read the doc string for the . key, and it said

ibuffer-mark-old-buffers is an interactive compiled Lisp function in 
`ibuf-ext.el'.
(ibuffer-mark-old-buffers)

Mark buffers which have not been viewed in `ibuffer-old-time' days.

[back]

I then followed the link for the `ibuffer-old-time' variable, and
noted that it said

The number of hours before a buffer is considered old.

So I checked the source, and it looks like hours is indeed correct.

Here's the obvious patch to fix it:

--- ibuf-ext.el 20 Jan 2007 19:53:11 -0800  1.53
+++ ibuf-ext.el 26 Jun 2007 11:43:25 -0700  
@@ -1482,7 +1482,7 @@

 ;;;###autoload
 (defun ibuffer-mark-old-buffers ()
-  Mark buffers which have not been viewed in `ibuffer-old-time' days.
+  Mark buffers which have not been viewed in `ibuffer-old-time' hours.
   (interactive)
   (ibuffer-mark-on-buffer
#'(lambda (buf)

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/src/emacs-cvs/etc/DEBUG for instructions.


In GNU Emacs 22.1.50.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-06-13 on debian
configured using `configure  '--enable-maintainer-mode''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  auto-fill-function: do-auto-fill
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-netsplit-mode: t
  eldoc-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-autojoin-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-log-mode: t
  erc-services-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  recentf-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  iswitchb-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
o u SPC r e f e r r i n g SPC t o SPC s o u r c e f 
o r g e . n e t SPC ? ESC b ESC d DEL RET t o _ TAB 
d o SPC y o u SPC i n SPC f a c t SPC _ h a v e _ SPC 
a SPC p o s t - ESC DEL p r e - c ESC / SPC h o o k 
? C-a ESC f ESC f ESC DEL c a n ESC f ESC d ESC d ESC 
d C-d SPC p a s t e ESC d SPC t h e RET C-c C-@ C-c 
C-@ m a y b e ESC DEL y o u SPC w i l l SPC n e e d 
SPC t o SPC f i g u r e SPC o u t SPC w h a t ' s SPC 
i n SPC i t , SPC t o SPC u n d e r s t a n d SPC t 
h i s SPC p r o b l e m . RET i t ' DEL SPC m n i g 
h t C-u C-b C-b C-d C-e C-c C-u C-c C-@ C-x C-b . s 
s C-h l * * RET C-h c C-x C-b C-h c . C-x 1 . D y s 
v . C-h K . q C-h k . C-x o TAB TAB RET TAB TAB TAB 
RET ESC  TAB RET C-n C-e ESC b ESC d h o u r s C-x 
C-s C-x 1 C-x v = C-x 0 ESC x r e p o r t - e m TAB 
b TAB RET

Recent messages:
Type C-x 1 to remove help window.  
mouse-2, RET: find function's definition
mouse-2, RET: describe this variable
mouse-2, RET: find variable's definition
mouse-2, RET: customize variable
mouse-2, RET: go back to previous help buffer
Mark set
mouse-2, RET: find function's definition
Saving file /usr/local/src/emacs-cvs/lisp/ibuf-ext.el...
Wrote /usr/local/src/emacs-cvs/lisp/ibuf-ext.el

-- 
When it comes to electronic voting, most liberals are just plain
old-fashioned nuts.
-- Joe Andrew, former chairman of the Democratic National
   Committee


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


M-%, in query-replace, offers less-than-ideal default replacement text

2007-06-18 Thread Eric Hanchrow

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

* start emacs with emacs -Q -nw

* in the *scratch* buffer, prepare two lines of foo as test data by
  typing F O O RET F O O RET.

* M- C-s foo M-% bar RET SPC q

Thus we have replaced the first foo with bar.  So far, so good.
However:

* C-a C-s foo M-% 

Note that the prompt reads Query replace foo with:, offering no
default text.  Nothing wrong with that ... however, now hit M-p to see
the most-recent value in the command history.  Here's the problem: I'd
expect to see bar here, but instead I see foo.  I have to hit M-p
a second time to see bar.

I don't think it makes sense to see foo here, since foo was never
used as replacement text.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/src/emacs-cvs/etc/DEBUG for instructions.


In GNU Emacs 22.1.50.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-06-13 on debian
configured using `configure  '--enable-maintainer-mode''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-netsplit-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-autojoin-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-log-mode: t
  erc-services-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  recentf-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  iswitchb-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
y . RET  g r i p e  SPC  m o a n  RET SPC  b i 
t c h  RET I SPC k n o w SPC a l l SPC t h o s e SPC 
t o w e DEL DEL DEL DEL w o r d s SPC : - ) RET C-c 
C-@ c h e w y RET C-c C-@ y e a h ! RET t h a t ' s 
SPC p r o b a b l y SPC w h y SPC i t DEL DEL t h e 
SPC w o r d SPC c o DEL DEL o c c u r r i e DEL DEL 
e d SPC t o SPC m e . RET i t SPC c a r p s SPC a n 
d SPC c r o a k s . RET a n d SPC w a r n s SPC a n 
d SPC d i e s . RET w h o SPC k n o w s SPC w h a t 
SPC v DEL c o l u DEL o r f u l SPC v e r b s SPC a 
r e SPC i n SPC s t o r e SPC i n SPC p e r l SPC 6 
. RET C-x b g r o RET g , RET c y l RET q l RET q l 
RET q l RET c y l C-x C-f d r TAB RET ESC x r e p l 
C-g C-h r C-h K C-s C-s % C-s C-a TAB RET C-v q ESC 
x r e p o r t - e m TAB b TAB RET

Recent messages:
Sorting threads...done
Generating summary...done
Mark all unread articles as read? (y or n) 
Exiting summary buffer and applying spam rules
Registering 0  articles with classification spam, check spam-use-gmane
Marking spam as expired without moving it
Auto-saving...done
Quit
Mark saved where search started
Loading emacsbug...done

-- 
People studying literature rarely say anything that would be of the
slightest use to those producing it.
-- Paul Graham


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: [perl #39426] [BUG] Can't build with cygwin.

2007-06-16 Thread Eric Hanchrow
 Paul == Paul Cochrane [EMAIL PROTECTED] writes:

Paul Cygwin is building for me without the PATH setting as of
Paul r19022.  

Not for me, alas:

$ svn up -r19022
$ perl Makefile.PL 
$ make all 
...

Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross your 
fingers
./miniparrot.exe config_lib.pasm  runtime/parrot/include/config.fpmc
make: *** [runtime/parrot/include/config.fpmc] Error 53

-- 
I'm a libertarian with a fascist heart.
-- Jim Blandy



Re: [perl #39426] [BUG] Can't build with cygwin.

2007-06-16 Thread Eric Hanchrow
 Paul == Paul Cochrane [EMAIL PROTECTED] writes:

Paul Cygwin is building for me without the PATH setting as of
Paul r19022.  

Not for me, alas:

$ svn up -r19022
$ perl Makefile.PL 
$ make all 
...

Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross your 
fingers
./miniparrot.exe config_lib.pasm  runtime/parrot/include/config.fpmc
make: *** [runtime/parrot/include/config.fpmc] Error 53

-- 
I'm a libertarian with a fascist heart.
-- Jim Blandy



Re: [HCoop-Discuss] pub-key ssh authentication

2007-06-02 Thread Eric Hanchrow
 Adam == Adam Megacz [EMAIL PROTECTED] writes:

Adam http://wiki.hcoop.net/wiki/RealSecurity

Ah, I read that and installed some kerberos stuff for my home machine
(namely kerberos4kth-clients (1.2.2-11.3ubuntu4)), made sure the
dns_ things weren't in my /etc/krb5.cnf, and then:

$ kinit [EMAIL PROTECTED]
eBones International (debian)
Kerberos Initialization for [EMAIL PROTECTED]
Password: 
kinit: Can't send request (send_to_kdc)
$ 

Now what? :-p

-- 
I'm a libertarian with a fascist heart.
-- Jim Blandy

___
HCoop-Discuss mailing list
HCoop-Discuss@hcoop.net
http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-discuss


Re: [HCoop-Discuss] Test Message #1

2007-05-16 Thread Eric Hanchrow
 Aaron == Aaron Hsu [EMAIL PROTECTED] writes:

Aaron This is a test message.

And it was well received.
-- 
Always code as if the guy who ends up maintaining your code will
be a violent psychopath who knows where you live.
-- John F. Woods

___
HCoop-Discuss mailing list
HCoop-Discuss@hcoop.net
http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-discuss


Re: [HCoop-Discuss] Membership freeze?

2007-05-12 Thread Eric Hanchrow
Without having closely read all the arguments on each side, my gut
tells me that freezing membership applications, in order to make the
admin's lives easier, is the right thing.
-- 
One of the fundamental philosophical questions of our time is
why Goofy is a person and Pluto is a dog.
-- Roger Ebert

___
HCoop-Discuss mailing list
HCoop-Discuss@hcoop.net
http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-discuss


Re: delete-trailing-whitespace misbehaves in scheme-mode

2007-04-11 Thread Eric Hanchrow
 Jose == Jose A Ortega [EMAIL PROTECTED] writes:

Jose In a buffer with scheme-mode active,
Jose delete-trailing-whitespace treats a traling vertical bar
Jose character (|) as trailing whitespace (that is, the character
Jose is deleted when invoking delete-trailing-whitespace, either
Jose interactively or as a write hook).  Other modes (elisp,
Jose lisp, c, fundamental) seem to behave correctly.

Jose This behaviour is also present in Emacs 21.

Jose (tested using emacs -q, both in emacs 22 and 21)

I suspect you're using an older version of quack.el.  If so, upgrade
to Version 0.29 or better.

-- 




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Eric Hanchrow
 Richard == Richard Matthew Stallman [EMAIL PROTECTED] writes:

Richard Should Emacs users always turn off use of ClearType?  If
Richard so, can Emacs do it automatically?

Ugh.  ClearType is a pretty nice feature, and it'd be very frustrating
if using Emacs caused it to be turned off.  

Richard If not, is this documented in PROBLEMS or somewhere
Richard suitable?

It is indeed in PROBLEMS, and I think that's the best way to go; what
I saw of the problem was not very annoying, so I don't think there's a
need to take drastic measures like turning off ClearType.

-- 




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-09 Thread Eric Hanchrow
 Eli == Eli Zaretskii [EMAIL PROTECTED] writes:

 I'm clearly seeing it myself, for what that's worth, using
 Bitstream Vera Sans Mono at 12 pixels.

Eli Do you have ClearType turned on?  

I did.
   
Eli If so, does the problem go away if you turn it off?

It did indeed.

Eli Do you see the problem with the default font selected by
Eli Emacs in emacs -Q?

Yes, if ClearType is on.

-- 
Raffarin said he wants to see secure Internet voting in France
by 2009, and he said if he had a homosexual son, he would love
him ...
-- from the Chicago Tribune


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-08 Thread Eric Hanchrow
I'm clearly seeing it myself, for what that's worth, using Bitstream
Vera Sans Mono at 12 pixels.

If I enlarge the font a lot, to like 24 pixels, I don't see it.
-- 
That sounds like a bunch of baloney, [Feynman] said. Give
me something real to do. So we sent him out to buy some office
supplies.
-- Danny Hillis



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Current State of Building Parrot on Cygwin

2007-04-01 Thread Eric Hanchrow
 Ron == Ron Blaschke [EMAIL PROTECTED] writes:

Ron If you see this error
...
Ron the file has Windows line endings

Dare I suggest that parrot not be so fussy about line endings?

-- 
If you're trying to choose between two theories and one gives
you an excuse for being lazy, the other one is probably right.
-- Paul Graham



Re: Current State of Building Parrot on Cygwin

2007-04-01 Thread Eric Hanchrow
 Ron == Ron Blaschke [EMAIL PROTECTED] writes:

Ron If you see this error
...
Ron the file has Windows line endings

Dare I suggest that parrot not be so fussy about line endings?

-- 
If you're trying to choose between two theories and one gives
you an excuse for being lazy, the other one is probably right.
-- Paul Graham



Re: [perl #37997] r10604 build failure on Cygwin

2007-03-31 Thread Eric Hanchrow
 Ron == Ron Blaschke [EMAIL PROTECTED] writes:
Ron Sorry, I guess there was some mental PATH overloading going
Ron on.  Try adding the absolute path to Fblib/lib to PATH.

Ron export PATH=/path/to/parrot/blib/lib:$PATH

Ron And then make.

OK, that gets me past that failure, but then I run into another; see
attached.
+ svn info
+ egrep '^(URL|Revision)'
URL: svn+ssh://home/home/erich/svn-repos/trunk/doodles/anagrams/c-sharp
Revision: 3457
+ perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
osname=cygwin, osvers=1.5.18(0.13242), archname=cygwin-thread-multi-64int
uname='cygwin_nt-5.1 inspiron 1.5.18(0.13242) 2005-07-02 20:30 i686 unknown 
unknown cygwin '
config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc 
-Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
-I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
-I/usr/local/include'
ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd 
0.125)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
alignbytes=8, prototype=define
  Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -lcrypt -lgdbm_compat
perllibs=-lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES USE_SITECUSTOMIZE
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
  Built under cygwin
  Compiled at Dec 30 2005 02:44:25
  %ENV:
CYGWIN=
  @INC:
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
.
+ cat myconfig
cat: myconfig: No such file or directory
+ which gcc
/bin/gcc
+ gcc -v
Reading specs from /bin/../lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure 
--verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib 
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls 
--without-included-gettext --enable-version-specific-runtime-libs --without-x 
--enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter 
--disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm 
--disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization 
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
+ echo Windows XP SP 2 x86
Windows XP SP 2 x86
+ strings /bin/cygwin1.dll
+ grep -i cygwin-1
+ head -1
/ext/build/netrel/src/cygwin-1.5.24-2/winsup/cygwin/cygheap.cc

#perl Configure.pl  PATH=/usr/local/src/parrot/blib/lib:$PATH make all smoke
Parrot Version 0.4.10 Configure 2.0
Copyright (C) 2001-2007, The Perl Foundation.

Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case it'll prompt you for a few
pieces of info.

Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.

Checking MANIFEST.done.
Setting up Configure's default values.done.
Setting up installation paths.done.
Tweaking settings for miniparrot...skipped.
Loading platform and local hints filesdone.
Determining nongenerated header files.done.
Determining what C compiler and linker to 

Re: [perl #37997] r10604 build failure on Cygwin

2007-03-31 Thread Eric Hanchrow
 Ron == Ron Blaschke [EMAIL PROTECTED] writes:
Ron Sorry, I guess there was some mental PATH overloading going
Ron on.  Try adding the absolute path to Fblib/lib to PATH.

Ron export PATH=/path/to/parrot/blib/lib:$PATH

Ron And then make.

OK, that gets me past that failure, but then I run into another; see
attached.
+ svn info
+ egrep '^(URL|Revision)'
URL: svn+ssh://home/home/erich/svn-repos/trunk/doodles/anagrams/c-sharp
Revision: 3457
+ perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
osname=cygwin, osvers=1.5.18(0.13242), archname=cygwin-thread-multi-64int
uname='cygwin_nt-5.1 inspiron 1.5.18(0.13242) 2005-07-02 20:30 i686 unknown 
unknown cygwin '
config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc 
-Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
-I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
-I/usr/local/include'
ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd 
0.125)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
alignbytes=8, prototype=define
  Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -lcrypt -lgdbm_compat
perllibs=-lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES USE_SITECUSTOMIZE
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
  Built under cygwin
  Compiled at Dec 30 2005 02:44:25
  %ENV:
CYGWIN=
  @INC:
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
.
+ cat myconfig
cat: myconfig: No such file or directory
+ which gcc
/bin/gcc
+ gcc -v
Reading specs from /bin/../lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure 
--verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib 
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls 
--without-included-gettext --enable-version-specific-runtime-libs --without-x 
--enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter 
--disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm 
--disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization 
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
+ echo Windows XP SP 2 x86
Windows XP SP 2 x86
+ strings /bin/cygwin1.dll
+ grep -i cygwin-1
+ head -1
/ext/build/netrel/src/cygwin-1.5.24-2/winsup/cygwin/cygheap.cc

#perl Configure.pl  PATH=/usr/local/src/parrot/blib/lib:$PATH make all smoke
Parrot Version 0.4.10 Configure 2.0
Copyright (C) 2001-2007, The Perl Foundation.

Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case it'll prompt you for a few
pieces of info.

Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.

Checking MANIFEST.done.
Setting up Configure's default values.done.
Setting up installation paths.done.
Tweaking settings for miniparrot...skipped.
Loading platform and local hints filesdone.
Determining nongenerated header files.done.
Determining what C compiler and linker to 

Re: [perl #42170] [PATCH] Report line numbers on trailing_space.t

2007-03-30 Thread Eric Hanchrow
 jerry == jerry gay [EMAIL PROTECTED] writes:

jerry i've never run emacs, so i don't know the lispy analog.
jerry i'm sure somebody will chime in with it.

This does what you think it does:
(setq-default show-trailing-whitespace t)

Emacs 22 users can highlight tabs like this:
(global-hi-lock-mode 1)
(highlight-regexp \t)
--
... apart from the sanitation, the medicine,education, wine,
public order, irrigation, roads, a fresh water system, and public
health, what have the Romans ever done for us?
-- Reg, JPF



Re: [perl #42170] [PATCH] Report line numbers on trailing_space.t

2007-03-30 Thread Eric Hanchrow
 jerry == jerry gay [EMAIL PROTECTED] writes:

jerry i've never run emacs, so i don't know the lispy analog.
jerry i'm sure somebody will chime in with it.

This does what you think it does:
(setq-default show-trailing-whitespace t)

Emacs 22 users can highlight tabs like this:
(global-hi-lock-mode 1)
(highlight-regexp \t)
--
... apart from the sanitation, the medicine,education, wine,
public order, irrigation, roads, a fresh water system, and public
health, what have the Romans ever done for us?
-- Reg, JPF



Re: IRC discussion of smoking and branching

2007-03-29 Thread Eric Hanchrow
 chromatic == chromatic  [EMAIL PROTECTED] writes:

chromatic The line-ending coding standards tests can be a problem
chromatic in some cases, where Windows developers add new files
chromatic with their native format and forget to set the
chromatic svn:eol-style=native property on the files, so those
chromatic standards fail on Unix and Unix-like platforms.

If it helps any: it's possible to fiddle with one's
~/.subversion/config file so that it automatically puts that property
(or any property, really) on newly-added files whose names match a
pattern.  This isn't a foolproof solution, because it requires that
every committer make this change on every box on which they hack, and
I don't know if there's an equivalent mechanism for those who use git
or svk.  But it could be a start.  Here's the relevant bits from my
config file:

[miscellany]
### Set enable-auto-props to 'yes' to enable automatic properties
### for 'svn add' and 'svn import', it defaults to 'no'.
### Automatic properties are defined in the section 'auto-props'.
enable-auto-props = yes

[auto-props]
*.pl = svn:eol-style=native;svn:executable;svn:keywords=Id
*.pm = svn:eol-style=native;svn:keywords=Id

-- 
Покажи мне твой .emacs, и я скажу, кто ты.
-- Russian Proverb



Re: IRC discussion of smoking and branching

2007-03-29 Thread Eric Hanchrow
 chromatic == chromatic  [EMAIL PROTECTED] writes:

chromatic The line-ending coding standards tests can be a problem
chromatic in some cases, where Windows developers add new files
chromatic with their native format and forget to set the
chromatic svn:eol-style=native property on the files, so those
chromatic standards fail on Unix and Unix-like platforms.

If it helps any: it's possible to fiddle with one's
~/.subversion/config file so that it automatically puts that property
(or any property, really) on newly-added files whose names match a
pattern.  This isn't a foolproof solution, because it requires that
every committer make this change on every box on which they hack, and
I don't know if there's an equivalent mechanism for those who use git
or svk.  But it could be a start.  Here's the relevant bits from my
config file:

[miscellany]
### Set enable-auto-props to 'yes' to enable automatic properties
### for 'svn add' and 'svn import', it defaults to 'no'.
### Automatic properties are defined in the section 'auto-props'.
enable-auto-props = yes

[auto-props]
*.pl = svn:eol-style=native;svn:executable;svn:keywords=Id
*.pm = svn:eol-style=native;svn:keywords=Id

-- 
Покажи мне твой .emacs, и я скажу, кто ты.
-- Russian Proverb



Re: [perl #37997] r10604 build failure on Cygwin

2007-03-28 Thread Eric Hanchrow
I use Cygwin and am willing to occasionally test the build on it.
Alas I have no clue how to actually -develop- for Cygwin, so I doubt
I'd be much help fixing any problems that I find.  But I'd be happy to
svn up; perl Configure.pl  make all test and summarize or post the
results.
-- 
I'd like to see Rush Limbaugh tell Omar he can't get
married.
--Alex Kotlowitz.  You hadda be there



Re: [perl #37997] r10604 build failure on Cygwin

2007-03-28 Thread Eric Hanchrow
 Joshua == Joshua Gatcomb [EMAIL PROTECTED] writes:

Joshua Really?  No one on #parrot has been able to get parrot to
Joshua work on Cygwin for months.  The reason has changed since
Joshua this specific ticket but if you have a working cygwin
Joshua build can you please share more details such as:

I doubt this is terribly useful, but I cannot get the cygwin build
working, and here's the output that I see.  This is with r17772, which
someone claimed worked for them.
URL: https://svn.perl.org/parrot/trunk
Revision: 17772
perl Configure.pl  make all smoke
Parrot Version 0.4.10 Configure 2.0
Copyright (C) 2001-2007, The Perl Foundation.

Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case it'll prompt you for a few
pieces of info.

Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.

Checking MANIFEST.done.
Setting up Configure's default values.done.
Setting up installation paths.done.
Tweaking settings for miniparrot...skipped.
Loading platform and local hints filesdone.
Determining nongenerated header files.done.
Determining what C compiler and linker to use.done.
Determining whether make is installed..yes.
Determining whether lex is installed...skipped.
Determining whether yacc is installed..skipped.
Determining if your C compiler is actually gcc.yes.
Determining if your C compiler is actually Visual C++...no.
Enabling optimization...no.
Determining flags for building shared libraries...done.
Determine if parrot should be linked against a shared library..yes.
Determining what charset files should be compiled in..done.
Determining what encoding files should be compiled in.done.
Determining what types Parrot should use..done.
Determining what opcode files should be compiled in...done.
Determining what pmc files should be compiled in..done.
Determining your minimum pointer alignment. 1 byte.
Probing for C headers.done.
Determining some sizesdone.
Computing native byteorder for Parrot's wordsize.little-endian.
Test the type of va_ptr (this test is likely to segfault)..x86.
Figuring out how to pack() Parrot's types.done.
Figuring out what formats should be used for sprintf..done.
Determining if your C library has a working S_ISREGyes.
Determining architecture, OS and JIT capability...done.
Generating CPU specific stuff.done.
Verifying that the compiler supports function pointer castsyes.
Determining whether your compiler supports computed goto...yes.
Determining if your compiler supports inline...yes.
Determining what allocator to use.done.
Determining if your C library supports memalignyes.
Determining some signal stuff.done.
Determining whether there is socklen_t.yes.
Determining if your C library has setenv / unsetenv...both.
Determining if your platform supports AIO...no.
Determining if your platform supports GMP...no.
Determining if your platform supports readline..no.
Determining if your platform supports gdbm.yes.
Testing snprintf..done.
Determining whether perldoc is installed...yes.
Determining whether python is installed.yes, 2.5.0.
Determining whether GNU bc is installed.no.
Determining whether GNU m4 is installed.no.
Running CPU specific stuffdone.
Determining whether ICU is installedno.
Determining Parrot's revision.done.
Generating C headers..done.
Generating core pmc list..done.
Generating 

Re: [perl #37997] r10604 build failure on Cygwin

2007-03-28 Thread Eric Hanchrow
I use Cygwin and am willing to occasionally test the build on it.
Alas I have no clue how to actually -develop- for Cygwin, so I doubt
I'd be much help fixing any problems that I find.  But I'd be happy to
svn up; perl Configure.pl  make all test and summarize or post the
results.
-- 
I'd like to see Rush Limbaugh tell Omar he can't get
married.
--Alex Kotlowitz.  You hadda be there



Re: [perl #37997] r10604 build failure on Cygwin

2007-03-28 Thread Eric Hanchrow
 Joshua == Joshua Gatcomb [EMAIL PROTECTED] writes:

Joshua Really?  No one on #parrot has been able to get parrot to
Joshua work on Cygwin for months.  The reason has changed since
Joshua this specific ticket but if you have a working cygwin
Joshua build can you please share more details such as:

I doubt this is terribly useful, but I cannot get the cygwin build
working, and here's the output that I see.  This is with r17772, which
someone claimed worked for them.
URL: https://svn.perl.org/parrot/trunk
Revision: 17772
perl Configure.pl  make all smoke
Parrot Version 0.4.10 Configure 2.0
Copyright (C) 2001-2007, The Perl Foundation.

Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case it'll prompt you for a few
pieces of info.

Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.

Checking MANIFEST.done.
Setting up Configure's default values.done.
Setting up installation paths.done.
Tweaking settings for miniparrot...skipped.
Loading platform and local hints filesdone.
Determining nongenerated header files.done.
Determining what C compiler and linker to use.done.
Determining whether make is installed..yes.
Determining whether lex is installed...skipped.
Determining whether yacc is installed..skipped.
Determining if your C compiler is actually gcc.yes.
Determining if your C compiler is actually Visual C++...no.
Enabling optimization...no.
Determining flags for building shared libraries...done.
Determine if parrot should be linked against a shared library..yes.
Determining what charset files should be compiled in..done.
Determining what encoding files should be compiled in.done.
Determining what types Parrot should use..done.
Determining what opcode files should be compiled in...done.
Determining what pmc files should be compiled in..done.
Determining your minimum pointer alignment. 1 byte.
Probing for C headers.done.
Determining some sizesdone.
Computing native byteorder for Parrot's wordsize.little-endian.
Test the type of va_ptr (this test is likely to segfault)..x86.
Figuring out how to pack() Parrot's types.done.
Figuring out what formats should be used for sprintf..done.
Determining if your C library has a working S_ISREGyes.
Determining architecture, OS and JIT capability...done.
Generating CPU specific stuff.done.
Verifying that the compiler supports function pointer castsyes.
Determining whether your compiler supports computed goto...yes.
Determining if your compiler supports inline...yes.
Determining what allocator to use.done.
Determining if your C library supports memalignyes.
Determining some signal stuff.done.
Determining whether there is socklen_t.yes.
Determining if your C library has setenv / unsetenv...both.
Determining if your platform supports AIO...no.
Determining if your platform supports GMP...no.
Determining if your platform supports readline..no.
Determining if your platform supports gdbm.yes.
Testing snprintf..done.
Determining whether perldoc is installed...yes.
Determining whether python is installed.yes, 2.5.0.
Determining whether GNU bc is installed.no.
Determining whether GNU m4 is installed.no.
Running CPU specific stuffdone.
Determining whether ICU is installedno.
Determining Parrot's revision.done.
Generating C headers..done.
Generating core pmc list..done.
Generating 

Re: [perl #42106] t/pmc/iterator.t t/src/io.t failed on Linux

2007-03-26 Thread Eric Hanchrow
I think that's my code; I'm looking into it.
-- 
I'd like to see Rush Limbaugh tell Omar he can't get
married.
--Alex Kotlowitz.  You hadda be there



Re: [perl #42106] t/pmc/iterator.t t/src/io.t failed on Linux

2007-03-26 Thread Eric Hanchrow
I think that's my code; I'm looking into it.
-- 
I'd like to see Rush Limbaugh tell Omar he can't get
married.
--Alex Kotlowitz.  You hadda be there



Re: [perl #41617] make test-pir fails on x86 linux, r14402

2007-02-28 Thread Eric Hanchrow
 Audrey == Audrey Tang [EMAIL PROTECTED] writes:

Audrey Thanks, please svn up the pugs tree and try again.

Same problem with r15386.

-- 
Raffarin said he wants to see secure Internet voting in France
by 2009, and he said if he had a homosexual son, he would love
him ...
-- from the Chicago Tribune



Re: [perl #41617] make test-pir fails on x86 linux, r14402

2007-02-28 Thread Eric Hanchrow
 Audrey == Audrey Tang [EMAIL PROTECTED] writes:

Audrey Thanks, please svn up the pugs tree and try again.

Same problem with r15386.

-- 
Raffarin said he wants to see secure Internet voting in France
by 2009, and he said if he had a homosexual son, he would love
him ...
-- from the Chicago Tribune



in PIR, a BigInt is turning into a string against my will -- what am I doing wrong?

2007-02-17 Thread Eric Hanchrow
(This is with parrot built from the subversion trunk, revision 16999)
Here's a bit of PIR that demonstrates my problem:

.sub 'main' :main
load_bytecode 'dumper.pir'
.local ResizablePMCArray fields
split fields, ,, hey,you
_dumper (fields)

.local pmc big
new big, .BigInt
_dumper (big)

set big, 1234567890987654321
_dumper (big)

unshift fields, big
_dumper (fields)
.end
;;
 ./parrot mutate.pir
VAR1 = ResizableStringArray (size:2) [
hey,
you
]
VAR1 = PMC 'BigInt' { ... }
VAR1 = PMC 'BigInt' { ... }
VAR1 = ResizableStringArray (size:3) [
1234567890987654321,
hey,
you
]

;;

what's puzzling is that big starts out as a BigInt, but seems to get
transformed into a string when I put it into the array.  I wanted that
last dumped value to contain a BigInt followed by two strings, but
instead it's three strings.  I would have thought that making my
fields variable be a ResizablePMCArray would have sufficed to ensure
that, but as far as I can tell, fields gets transformed from a
ResizablePMCArray to a ResizableStringArray after I assign the return
value of split from it.  What must I do to get what I want?

Thanks
-- 

 ハ  ハ
ミ^・^ミ
 `~~~´



in PIR, a BigInt is turning into a string against my will -- what am I doing wrong?

2007-02-17 Thread Eric Hanchrow
(This is with parrot built from the subversion trunk, revision 16999)
Here's a bit of PIR that demonstrates my problem:

.sub 'main' :main
load_bytecode 'dumper.pir'
.local ResizablePMCArray fields
split fields, ,, hey,you
_dumper (fields)

.local pmc big
new big, .BigInt
_dumper (big)

set big, 1234567890987654321
_dumper (big)

unshift fields, big
_dumper (fields)
.end
;;
 ./parrot mutate.pir
VAR1 = ResizableStringArray (size:2) [
hey,
you
]
VAR1 = PMC 'BigInt' { ... }
VAR1 = PMC 'BigInt' { ... }
VAR1 = ResizableStringArray (size:3) [
1234567890987654321,
hey,
you
]

;;

what's puzzling is that big starts out as a BigInt, but seems to get
transformed into a string when I put it into the array.  I wanted that
last dumped value to contain a BigInt followed by two strings, but
instead it's three strings.  I would have thought that making my
fields variable be a ResizablePMCArray would have sufficed to ensure
that, but as far as I can tell, fields gets transformed from a
ResizablePMCArray to a ResizableStringArray after I assign the return
value of split from it.  What must I do to get what I want?

Thanks
-- 

 ハ  ハ
ミ^・^ミ
 `~~~´



Bug#160841: xserver-xfree86: [tdfx] exhausts virtual memory and arouses Linux OOM killer when changing video modes on Voodoo5 rev 1

2007-02-12 Thread Eric Hanchrow
 Brice == Brice Goglin [EMAIL PROTECTED] writes:

Brice Hi Eric, Did you have a chance to try to reproduce this
Brice bug?

No; I no longer use that particular video card.

-- 
I ... don't want programming to be really interesting any more than
I want my toaster to be really interesting.  I want my toaster to
get the job done and I do not want to hear about exciting new
tungesten alloys in the heating wires nor do I want to subscribe to
Toaster Today magazine.
-- Daniel Weinreb [EMAIL PROTECTED], ll1 mailing list


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: No X even though DISPLAY is working

2007-02-08 Thread Eric Hanchrow
 Per == Per Starbäck [EMAIL PROTECTED] writes:

Per In GNU Emacs 22.0.93.1 (i686-pc-linux-gnu) of 2007-02-08
Per  configured using `configure
Per  '--prefix=/home/per/emacs/pretest''

If you still have the config.log file, take a look and see if it
contains 

#define HAVE_X_WINDOWS 1

If not, then your system lacks the necessary headers and libraries to
build X support into Emacs, which would explain what you're seeing.
-- 
98% of ... computers is just hacking your way through the jungle
with a blunt machete.  Lisp ... can save you 90% of the
remaining 2%, but alas, that's only 1.8% of the total.
-- Tim Bradshaw



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Bug#229628: xserver-xfree86-dbg: 82845G/GL: Frequent crashes: `Fatal server error: lockup'

2007-01-30 Thread Eric Hanchrow
I haven't repro'd this recently, but I'm 85% sure that if I tried, it
would repro.  It's pretty catastrophic (it forces me to reboot, iirc)
that I don't want to do so unless you really think it'd be helpful.
-- 
Asking the Iraqi people to assume Saddam's debts
is rather like telling a man who has been shot in the head
that he has to pay for the bullet.
-- James Surowiecki


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#229628: xserver-xfree86-dbg: 82845G/GL: Frequent crashes: `Fatal server error: lockup'

2007-01-30 Thread Eric Hanchrow
I haven't repro'd this recently, but I'm 85% sure that if I tried, it
would repro.  It's pretty catastrophic (it forces me to reboot, iirc)
that I don't want to do so unless you really think it'd be helpful.
-- 
Asking the Iraqi people to assume Saddam's debts
is rather like telling a man who has been shot in the head
that he has to pay for the bullet.
-- James Surowiecki


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#229072: xserver-xfree86: 82845G/GL: No devices detected

2007-01-14 Thread Eric Hanchrow
 Brice == Brice Goglin [EMAIL PROTECTED] writes:

Brice Hi, About 3 years ago, you reported a bug to the Debian BTS
Brice regarding a Intel 82845G/GL not being supported by the X
Brice server.  Did you reproduce this problem recently?  

I don't know.  I can't think of a non-intrusive way to test it,
either.  (I.e., I could reinstall Debian to see if it works, but I
really don't want to do that :-|)

-- 
The reason Florence is famous is that in 1450, it was New York.
-- Paul Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#229072: xserver-xfree86: 82845G/GL: No devices detected

2007-01-14 Thread Eric Hanchrow
 Brice == Brice Goglin [EMAIL PROTECTED] writes:

Brice Hi, About 3 years ago, you reported a bug to the Debian BTS
Brice regarding a Intel 82845G/GL not being supported by the X
Brice server.  Did you reproduce this problem recently?  

I don't know.  I can't think of a non-intrusive way to test it,
either.  (I.e., I could reinstall Debian to see if it works, but I
really don't want to do that :-|)

-- 
The reason Florence is famous is that in 1450, it was New York.
-- Paul Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#160841: xserver-xfree86: [tdfx] exhausts virtual memory and arouses Linux OOM killer when changing video modes on Voodoo5 rev 1

2007-01-05 Thread Eric Hanchrow
 Brice == Brice Goglin [EMAIL PROTECTED] writes:

Brice Hi Eric, 4 years ago, you reported a bug to the Debian BTS,
Brice regarding the system oom killing your session when hitting
Brice ctrl-alt-plus to zoom in.  You didn't know how exactly to
Brice reproduce the problem, but it occured sometimes.  Did you
Brice reproduce it recently?  If not, I will close this bug in
Brice the next weeks.

Thanks for checking.

I'm pretty sure I've run into the problem within the last year (I'm
now running Ubuntu 6.06.1 LTS), but to be honest, I don't go out of my
way trying to repro this bug since it's pretty catastrophic.

If you want, I'll clear a little time on my schedule and see if it
repros -- I predict it will.
-- 
[T]he only two jobs at which I have ever earned my living are
soul musician and linguist
Geoffrey K. Pullum


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#160841: xserver-xfree86: [tdfx] exhausts virtual memory and arouses Linux OOM killer when changing video modes on Voodoo5 rev 1

2007-01-05 Thread Eric Hanchrow
 Brice == Brice Goglin [EMAIL PROTECTED] writes:

Brice Hi Eric, 4 years ago, you reported a bug to the Debian BTS,
Brice regarding the system oom killing your session when hitting
Brice ctrl-alt-plus to zoom in.  You didn't know how exactly to
Brice reproduce the problem, but it occured sometimes.  Did you
Brice reproduce it recently?  If not, I will close this bug in
Brice the next weeks.

Thanks for checking.

I'm pretty sure I've run into the problem within the last year (I'm
now running Ubuntu 6.06.1 LTS), but to be honest, I don't go out of my
way trying to repro this bug since it's pretty catastrophic.

If you want, I'll clear a little time on my schedule and see if it
repros -- I predict it will.
-- 
[T]he only two jobs at which I have ever earned my living are
soul musician and linguist
Geoffrey K. Pullum


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



calendar gets wrong end for Daylight Savings Time

2006-11-05 Thread Eric Hanchrow

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I typed M-x calendar, then a.  I saw (among lots of other holidays)

Sunday, November 5, 2006: Daylight Savings Time Ends 2:00am (PDT)

But in fact Daylight Savings Time ended at least a week ago here in
the US.

If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/src/emacs-cvs/etc/DEBUG for instructions.


In GNU Emacs 22.0.90.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-11-02 on debian
configured using `configure '--enable-maintainer-mode' 'CFLAGS=-g -O2 
-Wno-pointer-sign ''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: ERC

Minor modes in effect:
  erc-services-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-netsplit-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  flyspell-mode: t
  erc-list-mode: t
  erc-autojoin-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  iswitchb-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
_ SPC y e a r SPC i t ' l l o DEL SPC e n d SPC o n 
SPC t h e SPC f i u r s t DEL DEL DEL DEL r s t SPC 
S u n d a y SPC i n SPC N o v e m b e r , SPC a c o 
DEL c o r d i n g SPC t o SPC w i k i p e d i a RET 
C-x 1 ESC x ESC d r e p o r TAB b TAB RET

Recent messages:
Loading mule-util...done
Loading holidays...done
Looking up holidays...
Loading cal-julian...done
Loading cal-hebrew...done
Loading cal-islam...done
Loading cal-china...done
Looking up holidays...done
Mark set [2 times]
Loading emacsbug...done

-- 
The reason Florence is famous is that in 1450, it was New York.
-- Paul Graham


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


  1   2   3   >