SelfSolved

Record, recall, share

  • Log in
  • Sign up
  • About
  • What's New
  • Home
  • All Problems
  • SelfSolvers
92049143cabb7ba896d7c06e19906303_thumb
248827 views

Registered: 2009-01-21

Update: 5 months ago

Problems: 58

Solutions: 55

References: 102

Problem views: 248827

Unsolved problem views: 9705

yliu

User

O(n) person in an O(log n) world.

刘一鸣

Recent problems

Atom Feed

#20: Subversion: ignore a version controlled file on commit

on February 18, 2009, 11:02 PM UTC   —   from   92049143cabb7ba896d7c06e19906303_small yliu    ( 614 views )
For my project, I have several runtime configuration files that differs on each machine it's installed on. Each developer that works on the project needs to make changes to the conf file, but I don't want the developer-dependent, custom settings in their individual...
Tags: Subversion, version control, project management, source control, IT
0 solutions | 1 reference     Add Solution | Add Reference    

#14: Setting up trac under mod_wsgi returns NULL result error

on February 12, 2009, 12:29 PM UTC   —   from   92049143cabb7ba896d7c06e19906303_small yliu    ( 815 views )
When accessing the trac URI, a text/plain document is returned with Python errors, ending with SystemError: NULL result without error in PyObject_Call
Tags: Trac, mod_wsgi, error, installation, IT, python
0 solutions | 2 references     Add Solution | Add Reference    

#13: Compiling mod_wsgi fails with relocation error

on February 12, 2009, 08:09 AM UTC   —   from   92049143cabb7ba896d7c06e19906303_small yliu    ( 886 views )
/usr/bin/ld: /usr/local/lib/python2.5/config/libpython2.5.a(node.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad...
Tags: mod_wsgi, IT, compilation, installation, error, python
0 solutions | 1 reference     Add Solution | Add Reference    

#12: Find all words that end in...

on February 11, 2009, 09:07 AM UTC   —   from   92049143cabb7ba896d7c06e19906303_small yliu    ( 628 views )
Given a list of words in a text file, one word per line (such as, /usr/share/dict/words on OS X) there should be a quick way to find all words that end in a substring. Example: Find all words that end in "me" assume consume presume ...
Tags: text processing, UNIX, shell, scripting, grep
0 solutions | 1 reference     Add Solution | Add Reference    

#11: Python formencode doesn't run validations when input is None

on February 07, 2009, 11:29 AM UTC   —   from   92049143cabb7ba896d7c06e19906303_small yliu    ( 817 views )
Using FormEncode 1.0.1, validations don't seem to run when an input value of None is provided to the FancyValidator.to_python or Schema.to_python method. Example validation schema: class ValidToken(formencode.FancyValidator): def _to_python(self, value...
Tags: Pylons, validation, gotcha, programming, python, formencode
0 solutions | 1 reference     Add Solution | Add Reference    
« Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next »
  • About Us
  • Contact
  • Terms of Service
  • Privacy
  • Feedback
  • © 2009-2010 All rights reserved