@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> hi!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<1> http://www.ormusic.com/ecard/matisyahu/player.html | http://en.wikipedia.org/wiki/Matisyahu_%28reggae_artist%29
<2> Hasidic Jewish reggae artist.
<2> That's special.
<3> hey, i was planning to study design patterns but then i read that their use is still controversial
<3> now, my question is : is there something else before/ instead of design patterns that i can read about to make my applications better designed?
<4> controversial how?
<4> some people prefer not to use them, that doesn't really make them "controversial"
<4> design patterns apply to pretty much any OO language
<4> you can use them or not use them, it's up to you
<3> but ppl who dont use them use what?



<4> they just come up with cl*** designs on their own
<4> i.e., probably use something resembling them but don't realize it
<3> i mean, which tecniques one can use to architecture apps that are not desgin patterns
<3> i see
<4> design patterns are just a specification of certain types of common patterns that you see in cl*** design
<4> you don't have to use design patterns to come up with them, and you can come up with them independently even if you don't know anything about them
<4> there's nothing magical about them
<3> yea i know, they are some kind of consolidation/documentation of best pratices etc
<3> do you have any references or links or anything for me to take a look at by any chance
<4> for what
<4> design pattenrs?
<4> google: design patterns
<3> that would help me architecture better my apps
<3> no, software architecture in general
<4> that's way too big a concept to point you to specific web sites
<3> i see
<3> more like relationships between cl***es etc
<3> making it scalable
<4> google: object oriented design
<3> awright thanks
<4> sure
<5> hund: Hello. Do me a favour please. Go and check there http://transltr.homelinux.org/ and tell me if you have browsed the page successfully. Thanks a lot.
<5> Or anybody else's help would be really welcome, too.
<5> Why in some folders of a Python project, there is a file called __init__.py ? Does it have a special use or functionality?
<4> packages
<5> xihr: that means?
<4> google: python package
<4> it's a module within a module
<5> ok
<5> xihr: I tried to read something about Python Packages, but I am not a native english speaker, so I didn't understand many things, like "namespace" and "structuring".
<5> xihr: I would be really glad, if you could explain me in simplw words.
<4> it's a module within a module
<5> a module is a Python file that has some useful function and/or cl***es.
<5> so, what do you mean a module withing a module?
<4> any objects
<5> how can a file be in aother file?
<4> a package is a module that can contain other modules
<4> they're not files, they're modules
<5> a package is a folder that contains files
<4> if there's a file a.py, then import a imports it
<4> yes
<4> a directory, that is
<5> ok
<4> and __init__.py signals that a directory is a package



<5> a, ok
<5> so, we can import it?
<4> yes
<5> and when the code in __init__.py runs?
<4> when the package is imported
<5> a, ok
<5> fine
<5> thank you very much :-)
<4> sure
<5> Why they make a variable named __all__ that is a list, and what does it contain?
<5> xihr: I was wondering, if you know :-)
<4> it's a list of the modules in the package which are automatically imported
<5> xihr: automatically imported means, if you just import package, you use them directly instead of package.module ?
<4> yes
<5> ok
<6> where do i get win32gui ?
<4> win32all
<6> how do i define global ?
<6> global irc = irclib.IRC()
<6> global server = irc.server()
<6> shouldne wrok right ?:\
<6> shouldnt*
<6> someone?
<6> nvm im ok :]
<6> any one knows what does irc.process_once means ?
<6> on irclib.py
<6> NeededGames = "UstawZegar\(\)(.*?)LadujMecz\(0, 0, new Array\(\'\'\)"
<6> PlayedGames = re.findall(NeededGames,File)
<6> why do i get []
<6> if this string is inside the variable File
<4> no way we can tell since you don't say what you're trying to match
<6> UstawZegar() - (.*?) - LadujMecz(0, 0, new Array('')
<6> all between UstawZegar() and LadujMecz(0, 0, new Array('')
<6> xihr ?:\
<4> you want to match something that says (.*?)
<4> ?
<6> no
<6> i want to match all the stuff btw
<4> well you'll have to show an actual example of something you want to match, since you're not getting it right
<6>
<6> ok*
<6> http://www.futbol24.com/match.php?a=now
<6> go here, see the source
<4> huh?
<7> I challenge you in a game of Chess. Warning: I am undefeated.
<6> ill paste in of pastebin holdon
<4> all I need to know is the single string you're trying to match, you haven't shown that yet
<6> i want to search "UstawZegar();"
<6> this string
<7> gString();
<4> you don't need regular expressions for that
<6> and i want to take all the text after it untill i see :LadujMecz(0, 0, new Array(''):
<4> r"UstawZegar\(\)(.*)LadujMecz\(0, 0, new Array\(''\)"


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #python
or
Go to some related logs:

#nhl
#politics
Pilchard IDM
#politics
142 billion dollars on health
singapore mod_rewrite external
7gay
#opengl
#beginner
What Does HEMI mean?



Home  |  disclaimer  |  contact  |  submit quotes