Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python

Name: Anonymous 2013-07-21 16:07

I am kind of a n00b but I am studying and learning the Python programming language, can someone tell me what it is capable of apart from graphical design? Can it for instance hack? Another question: has anonymous done any major cyber attacks lately?

Name: Anonymous 2013-07-23 0:27

>>40
we had one but it was deleted.

Name: Anonymous 2013-07-23 0:56

But who have a sense of ``masculinity'' or ``femininity'' need to need to stop being faggots (as a general insult) and gain a sense of INDIVIDUALITY.

Name: Anonymous 2013-07-23 0:56

also tomboyish girls are best girls

Name: David 2013-07-23 10:19

So... shitthread?

Name: Anonymous 2013-07-23 11:08

learn assembly or go ho

Name: Anonymous 2013-07-23 11:56

>>1

Lambda's are not well supported, there is a retarded one line constrained. And threading support is horrible.

Name: David 2013-07-23 13:53

>>46 Thanks man! Finally someone actually in his (or her) place in programming!

Name: Anonymous 2013-07-23 15:41

>>47
That is because of Nikita and his minions.


For other tasks Python is fine. The OO system is pretty rough. There is no private modifier.  Simplicity seems to be the higher goal in Python. Multiple inheritance is possible though.

It is definitely more thought out than PHP, but less than Ruby. I don't dislike it too much.

Name: Anonymous 2013-07-23 16:09

>>48
Nothing can be less thought out than Ruby, ``faggot''

Name: Anonymous 2013-07-23 23:28

>>47 you actually expect a question like >>1 to get a serious response? Kill yourself.

Name: David 2013-07-24 5:18

>>48 You see I am new, Nikita? Russian I assume? You seem like a good person not part of the troll community and most of all you know what you are doing. Thanks again.

Name: Anonymous 2013-07-24 6:06

Python's good, learn Python.
Start with version 3.3, then if you need 2.7 (and you will), it shouldn't be too hard to learn. Don't be one of those idiots who plebiscit retro-compatibility.
Innovation > compatibility

Nikita is a russian racist who has his own shitty language, Symta and who has no job. If you see anyone saying ''Shalom, Hymie !", that's him.

Name: David 2013-07-24 6:15

>>52 Thanks my friend! I am learning it now from some books, do you know the language and if so could I ask you something? Well thank you at least you know how it is done, may I ask how you got your experience and what on god's green earth convinced you to get up so early?

David isn't my real name...

Name: Anonymous 2013-07-24 6:32

>>53
How do you know he just got up.

Name: David 2013-07-24 7:09

>>54 Pulled an all-nighter then. But I assume these servers run on Washington or New York time?

Name: Anonymous 2013-07-24 7:11

>>54
They sleep together.

Name: Anonymous 2013-07-24 7:11

>>52
The proponents of Python cite 'indentation' as the worst problem, this is a strawman argument 'this is the worst problem and its not really a problem'. This argument has been voted up presumably by people who like the language, because it is certainly not a good reason not to use Python. I am far from an expert at Python, but I have done a couple of semi-serious projects in the language and will try to recall specifically what I didn't like.
- Broken scoping: Python, like many other scripting languages, does not require variables to be declared, as let (x 123) in Lisp or int x = 123 in C/C++. This means that Python can't even detect a trivial typo - it will produce a program, which will continue working for hours until it reaches the typo - THEN go boom and you lost all unsaved data. Local and global scopes are unintuitive. Having variables leak after a for-loop is confusing. Worse, binding of loop indices can be very confusing; e.g. "for a in list: result.append(lambda: fcn(a))" probably won't do what you think it would. Why nonlocal/global/auto-local scope nonsense? Such shortsighted scoping design leads to Python's faulty package system, which exposes everything, so that, for example, typing time.sleep=4 instead of time.sleep(4) would break the system-wide sleep function, while accidentally assigning some method to time.sleep, and you won't even give a runtime error - just a hard to trace bug. Moreover, dynamic scoping impedes encapsulation and compilation, so everything you write will be open source: no FASLs, DLLs or EXEs, while developer may want to have control over the level of access to prevent exposure of internal implementation, as it may contain proprietary code or because strict interface/implementation decomposition is required.
- Inconvenient syntax: FIOC or Forced Indentation of Code (aka "off-side" rule) impedes using CLI, automatically generating Python code and moving around large code blocks. Editing Python code requires special editors (forget about Word/Notepad), that expand tabs into spaces, while transmitting python code through a web post or email breaks indentation. Absence of block-terminator is so utterly confusing, that you'll find yourself ending blocks with #endif anyway. It's painful to deal with other things that need indenting, such as large SQL queries, or HTML when you're using things like mod_python. And why is there ":" when code almost always has a newline after it? Python's whitespace indentation indulges messy horizontal code (> 80 chars per line), where in Lisp one would use "let" to break computaion into manageable pieces: get used to stuff like self.convertId([(name, uidutil.getId(obj)) for name, obj in container.items() if IContainer.isInstance(obj)]), while logical connectives being lost in a pile of other symbols, like "and" in "if y > 0 or new_width > width and new_height > height or x < 0". Instead of usual "fold" and "map" functions, Python uses "set comprehension" syntax, which has a large collection of underlying linguistic and notational conventions, each with it's own variable binding semantics: good luck discerning [f(z) for y in x for z in gen(y) if pred(z)] from [f(z) if pred(z) for z in gen(y) for y in x]. In addition, you will enjoy cryptic expressions like z(*z(*m.i())[::-1]).
- Crippled support for functional programming. Python's lambda is limited to a single expression and doesn't allow conditionals. Python makes a distinction between expressions and statements, and does not automatically return the last expressions, thus crippling lambdas even more. Assignments are not expressions. Most useful high-order functions were deprecated in Python 3.0 and have to be imported from functools. Creating an object just to call a function, like ''.join(map(str, r)), is just annoying sign of bad language design. No continuations or even tail call optimization: "I don't like reading code that was written by someone trying to use tail recursion." --Guido
- Inconsistent type system: no Numerical Tower, meaning 1/2 would produce 0, instead of 0.5, leading to subtle and dangerous errors. Arithmetics on strings is surprising at best: "2" * 3 is "222", "2"+"3" is "23", while sum(["2", "3"]), "2" * "3" and "2"+3 are type errors. Multiple false values: "", [], (), False, 0, 0.0 - all auto-coerce to false, but 0==False and 1==True, while ""!=False and ()!=False; worser, True/False auto-coerce to integers, so False/True==0 and ['no', 'yes'][False] won't give an error, although ['no', 'yes'][0.0] does give an error. Why have both dictionaries and objects? Why have both types and duck-typing? The Python language reference devotes a whole sub-chapter to "Emulating container types", "Emulating callable Objects", "Emulating numeric types", "Emulating sequences" etc. -- only because arrays, sequences etc. are "special" in Python. Subtle data types (list and tuple, bytes and bytearray) will make you wonder "Do I need the mutable type here?", while Clojure and Haskell manage to do with only immutable data.
- Python has too many confusing non-orthogonal features: references can't be used as hash keys; expressions in default arguments are calculated when the function is defined, not when it’s called. Patterns and anti-patterns are signs of deficiencies inherent in the language. In Python, concatenating strings in a loop is considered an anti-pattern merely because the popular implementation is incapable of producing good code in such a case. The intractability or impossibility of static analysis in Python makes such optimizations difficult or impossible. Quirky triple-quoted strings seem like a syntax-decision from a David Lynch movie, and double-underscores, like __init__, seem appropriate in C, but not in a language that provides list comprehensions. There are better ways to mark certain features as internal or special than just calling it __feature__. self everywhere shows that OOP was bolted on. Poor UTF support and unicode string handling is somewhat awkward.
- Poor performance: Python's GC uses naive reference counting, which is slow and doesn't handle circular references, meaning you have to expect subtle memory leaks and can't easily use arbitrary graphs as your data. In effect Python complicates even simple tasks, like keeping directory tree with symlinks. Global Interpreter Lock (GIL) is a significant barrier to concurrency. Due to signaling with a CPU-bound thread, it can cause a slowdown even on single processor. Reason for employing GIL in Python is to easy the integration of C/C++ libraries. Additionally, CPython interpreter code is not thread-safe, so the only way other threads can do useful work is if they are in some C/C++ routine, which must be thread-safe.
- Python has no well-defined and stable API, making life easier for Guido and tough on everybody else - that's the real cause of Python's "version hell". Python has inherited the installation mentality idea that libraries should be installed, so it in fact is designed to work inside unix package management, which basically contains a fair amount of baggage (library version issues) and reduced portability. Of course it must be possible to package libraries with your application, but its not conventional and can be hard to deploy as a desktop app due to cross platform issues, language version, etc. Open Source projects generally don't care about Windows, most open source developers use Linux because "Windows sucks". Python third-party library licensing is overly complex: licenses like MIT allow you to create derived works as long as you maintain attrubution; GNU GPL, or other 'viral' licenses don't allow derived works without inheriting the same license. To inherit the benefits of an open source culture you also inherit the complexities of the licensing hell.
- No outstanding feature, that makes the language, like the brevity of APL or macros of Lisp. Python doesn’t really give us anything that wasn’t there long ago in Lisp and Smalltalk. "This is a hobby project and I neede my time for other things…" --Guido van Rossum (http://1997.webhistory.org/www.lists/www-talk.1993q1/0060.html)
- Author of Python, Guido van Rossum, is Jewish, so if you dislike Jewish omnipresence and dominance, boycott Python.

Name: Anonymous 2013-07-24 7:14

>>51
"Nikita" is the one, who posts anti-python, anti-perl, anti-linux and anti-php copipes, in effect making an/g/ry de/g/enerates replying their butthurt to /q/ with constant whining about lax moderation.

Name: Anonymous 2013-07-24 7:23

>>55
I'm a European, that's why..

>>57
Don't be a faggot please, not only is LISP old, not only is it used only by neckbeards, but it's a terrible language to learn for a beginner.
Every language has design problems, the point is that Python is a widely used, mostly well designed language, it is used a lot both by the academia and in the "real" world and it is easy to learn.

Don't listen to the language fanatics, a lot of people here will recommend commonlisp or another functionnal language. The point is that you want to start with an imperative language, e.g: Python, C, Java etc..

In my opinion Python is a very good starting point.

Name: David 2013-07-24 7:24

>>56 I wish the guy seems to know what he is doing.

>>57 I assume that wasn't from someone who likes Python very much?

>>51 So instead of letting people help each other he creates chaos?

Name: Anonymous 2013-07-24 7:25

The strongest pipes are always Jewish made ones.

Name: Anonymous 2013-07-24 7:32

>>59
If you think Common Lisp is a functional language, then you aren't worth your salt as a programmer. Then again, that's exactly what one should expect from a Python lover...

Name: Anonymous 2013-07-24 7:34

>>60
Just shut up and get to Python already

Name: Anonymous 2013-07-24 7:42

>>61
Jews don't make pipes, | does.

Name: Anonymous 2013-07-24 7:49

Name: Anonymous 2013-07-24 8:57

Open Source projects generally don't care about Windows, most open source developers use Linux because "Windows sucks". Python third-party library licensing is overly complex: licenses like MIT allow you to create derived works as long as you maintain attrubution; GNU GPL, or other 'viral' licenses don't allow derived works without inheriting the same license. To inherit the benefits of an open source culture you also inherit the complexities of the licensing hell.
Je suis trollé

Name: Anonymous 2013-07-24 9:39

Is Linux easy to use and put on a pc or does it take a lot of memory and is it hard to run?

Name: Anonymous 2013-07-24 9:41

I have come here to chew bubblegum and kick ass…and I'm all out of kick ass.
>>67
[...] and where do I buy the latest version?

Name: Anonymous 2013-07-24 9:46

Can't you just dload it? Or do you HAVE to buy it?

Name: Anonymous 2013-07-24 9:47

Linux is hard, get a Mac instead, it's the easy version of UNIX®.

Name: Anonymous 2013-07-24 9:52

It is very customizable right? Is it worth giving a try? Another question: is backtrack 5 an OS or is it software?

Name: Anonymous 2013-07-24 9:56

Is an OS not software?

Name: Anonymous 2013-07-24 9:59

Well I meant was it an Operating system or actual software that you could use with for instance windows 7 or 8?

Name: Anonymous 2013-07-24 16:03

I am not sure...

Name: David 2013-07-24 16:09

I am having a Python related problem, when I try to put some lines under each other with print making it easier to read for instance:

print("Hello, I am having a problem,
  why can't I do this?")

Now this will work:

print("Hello etc")

as long as it is on the same line, any solutions because I am quite sure there is a solution...

Name: Anonymous 2013-07-24 16:18

>>75
You need to use the escaping character "\" at the end of the first line each time you want to skip a line.

I'd suggest you use stackoverflow to ask questions such as this one.

Name: Anonymous 2013-07-24 16:20

>>75
76 here, if you want to keep the spaces you need to use 3 quotation marks, like so:

print("""Hello, I am having a problem,
  why can't I do this?""")

This will keep all the spaces and indentations.

Name: Anonymous 2013-07-24 16:40

Love you guys!

Name: Anonymous 2013-07-24 16:44

>>76-77
Stop HELPING HIM!

Name: Anonymous 2013-07-24 16:49

>>79 Why?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List