User Controls

  1. 1
  2. 2
  3. 3
  4. ...
  5. 63
  6. 64
  7. 65
  8. 66
  9. 67
  10. 68
  11. ...
  12. 117
  13. 118
  14. 119
  15. 120

Posts That Were Thanked by Sophie

  1. Sophisticated Sophist is one of the best posters in the history of posters, maybe ever
    The following users say it would be alright if the author of this post didn't die in a fire!
  2. Women are so easy when you stop trying to pursue them.
    The following users say it would be alright if the author of this post didn't die in a fire!
  3. Originally posted by Bill Krozby I have no idea what my iq is because all i give a fuck about is fucking sex you retard

    Typical of an r selected degenerate
    The following users say it would be alright if the author of this post didn't die in a fire!
  4. GasTheKikesRaceWarNow Houston [this unquestioningly unfrequented clast]

    from:
    http://archive.is/HwLgr
    The following users say it would be alright if the author of this post didn't die in a fire!
  5. aldra JIDF Controlled Opposition
    Originally posted by inb4l0pht I use the same password on every site including this one, and presumably Lanny is storing passwords in plaintext so he can 'hack' me at will.

    the password I use for this site is the same as my home wireless network so I can only assume Lanny is parked outside downloading tranny porn on my connection
    The following users say it would be alright if the author of this post didn't die in a fire!
  6. Zanick motherfucker [my p.a. supernal goa]
    Originally posted by lempoid loompus what do you think 3-4 sd looks like?

    Probably not like William Burroughs teaching geometry on bundy.
    The following users say it would be alright if the author of this post didn't die in a fire!
  7. Zanick motherfucker [my p.a. supernal goa]
    Originally posted by lempoid loompus 150-160

    I think you're more intelligent than the average person your age, and also a lot stupider. I just don't see 3-4 standard deviations in either direction, that's all I'm sure of.
    The following users say it would be alright if the author of this post didn't die in a fire!
  8. Lanny Bird of Courage
    Originally posted by lempoid loompus so when deduction and induction play together as cognitive processes in everyday life there is a harmony in math and science. tell me where your "theories" of """"existence"""" play """"into"""" this

    I haven't said anything "theories of existence". I've just said that mathematics is unfalsifiable and have been dealing with pages of butthurt from you ever since.
    The following users say it would be alright if the author of this post didn't die in a fire!
  9. Case study in leftist hypocrisy:



    The Left when a handsome and well tanned individual commits a terrorist attack - "NOT ALL MUSLIMS!!1!"

    The Left when a white guy shoots up a school - "All white males are socially conditioned to be violent killers"

    I want these people gassed ASAP
    The following users say it would be alright if the author of this post didn't die in a fire!
  10. I didn't lose any so it must not have been anyone that important
    The following users say it would be alright if the author of this post didn't die in a fire!
  11. mmQ Lisa Turtle
    Dive into pools head first, never check for water
    The following users say it would be alright if the author of this post didn't die in a fire!
  12. "Hello, I'm Dr. M. Let's see here... you've been having chest pain it seems?"

    "Yeah, it's this sharp pain right here."

    "Is it a steady pain, or does it come and go?"

    "It comes and goes. It isn't a daily thing or anything."

    "Mhm, and how long has this been going on?"

    "A couple months now."

    "I see. Well, let's check that heartbeat then. If you could just lift up your- there we go."

    ...

    ...

    "It seems like you are having some arrhythmia. I'm going to recommend you go see a specialist, but between you and me?" The doctor leaned in close. "I think you have autism."
    The following users say it would be alright if the author of this post didn't die in a fire!
  13. Zanick motherfucker [my p.a. supernal goa]
    Originally posted by Bill Krozby he never said it would make him smart you dumbass

    Let me walk you through it: Sploo thinks that people who go to college are idiots and that they have poor reasons for enrolling, but that he's different. His plan is to put minimal effort into a four-year liberal arts degree, and the resume he submits for internships is going to look exactly as you'd expect for a candidate who makes decisions like that. When he's finished, he'll be tens of thousands in debt (at a minimum), and he'll be competing in the job market with other people who got more marketable degrees and still managed to maintain a stellar GPA and secure crucial internships. Maybe sitting down with a school counselor would help sort out this mess, but something tells me that Sploo will have a difficult time cooperating in a small office with somebody who displays a degree in social work on the wall.

    The following users say it would be alright if the author of this post didn't die in a fire!
  14. Lanny Bird of Courage
    Originally posted by lempoid loompus and you're the one that responds to paragraphs of post-modern wanking with more wanking and think its creating something useful

    just throw in some buzzwords "epistemological" "qualia" "consciousness" "metaphysical" "ontological" and you totally know what you're talking about. its like a 2 year old scribbling with research paper vocab instead of crayons

    the tests are questionable because they would literally confirm everything people say about you being a pretentious psuedointellectual + ironic hipster wigger/kill yourself loser

    I love how intimidated you are by people using words you don't know. You have to instantly go on the offensive and call them a pseudo intellectual. Clearly it's impossible to know more words than you right?
    The following users say it would be alright if the author of this post didn't die in a fire!
  15. Zanick motherfucker [my p.a. supernal goa]
    We are gathered here today to remember our brother. He was called Captain Falcon, and then simply Jeremus. He might have been very wealthy, or maybe not, but I don't need a screenshot to prove to me that he was the richest among us in spirit. He fought bravely; he touched our hearts. We will never forget him.

    I would have followed you, my brother, my Captain. Be at peace, son of Totse.


    The following users say it would be alright if the author of this post didn't die in a fire!
  16. Lanny Bird of Courage
    Originally posted by Sophie I have some questions but i will get back to it later. But for now, say i have a program with a lot of components. I would like to put each component into a file which i can import so my main python file will not be polluted by a million functions that do all sorts of things. My main question for now would be, what would be the proper way of writing the "libraries" or components that i wish to import into my main python file.

    Do i just put everything in a class and put a bunch of methods in the class that i call with `import MyLib; MyLib.Method(arguments)` or what?

    If you're writing code works reasonably as a collection of functions, then by all means, use functions instead of classes. In Python (and this isn't true of every language) it's perfectly acceptable to make a library that has multiple top level functions.

    You'll want to create a class when you have some kind of data you want to model. So like in ISS we have a `Post` class and we instantiate a Post class for each post in the database. Every post can be moved beween threads so there's a `.move_to_thread()` method defined for all of them. If you have data like this, where there are many instances of the same basic type of thing, then you might want to make a class for that. If you just want to split up your logic it's perfectly fine to just keep top level functions split up across files (in ISS the `utils` file or `iss_bbcode` are good examples of this, just a hodge podge of functions and some classes that are related to each other).
    The following users say it would be alright if the author of this post didn't die in a fire!
  17. Lanny Bird of Courage
    That's kind of a big question to answer in a comprehensive way. The mechanics of classes aren't too complex, it's more that the question digs into deep and varied cultural flows that have been in force in socialized programming for almost half a century now.

    The dry textbook answer of "what is a class" is that it's a specification of a certain kind of object. A class is an archetype with a fixed collection behaviors (methods/functions) and data fields. Classes can be "instantiated" into objects that have actual values in their data fields.

    It's kind of unfortunate that pretty much none of that is literally true in python since classes are objects, objects can dynamically acquire or replace fields or methods, and some classes can not be instantiated. But that's kind of the way you want to think about it, an archetype for objects which hold data and define some set of methods over that data. There's plenty of deep magicks around how classes/objects work but stick to the simple case to start. Like the string class is probably something you've worked with many times before. The string class is the thing that defines string behavior, like the `.split()` method for example. `.split()` is defined once for all strings by the class, but every string instance has different data (e.g. the string "foo" has different data than the string "bar"). A class is the "blueprint" that specifies the things all string instances have in common.

    To individual questions:

    Originally posted by Sophie but what the hell does a class do that a function can't?

    Not much really. Classes are more of an organizational tool than anything else. Consider the file class. In python you can do things like:


    myFile = open('foobar.txt', 'w')
    myFile.write('foo')
    myFile.close()


    Note that `write` and `close` are methods of your file instance. Back in the C days you'd write the same code like:


    int myFile = fopen("foobar.txt", "w");
    write(myFile, "foo", 3);
    fclose(myFile);


    Here you're calling global functions `write` and `fclose` and you have to tell them which file you're operating on as the first arg. The way this looks on the reverse side is something like:


    class File(object):
    def __init__(self, filename, mode):
    self.file_descriptor = open(filename, mode)
    def write(self, input):
    write(self.file_descriptor, input)
    def close(self):
    fclose(self.file_descriptor)

    def open(filename, mode):
    return File(filename, mode)


    Is this use of a File class really any different than using functions where you're continually telling the function which data (file, in this case) you're operating on? I don't think so really. There are some very, uhh, base issues here with namespace pollution. Like if I define a `fopen` method to "forum open" some kind of thing representing a forum then I'm going to have name collision while if I'm using classes I only need to ensure my class name is unique.

    Now mind you we figured out how to do non-shit namespacing sometime between C and Python (and Java falls on this shit side IMO) so it's less of an issue but if you think about like the python REPL you can do `dir(myFile)` to find out all the methods you can call on myFile. There is no equivalent in C, you just have to know which functions operate on file descriptors, so there is a discoverability advantage in classes and OOP but this is a human ergonomics issue, not a technical one.

    But the key idea here is that File objects hold data (like file_descriptor) internally, each file will have its own file_descriptor that it remembers through `self` but they all share their write and close methods.

    Also, if you have a class why do i need to define __self__ and self.object and whatnot

    You as a programmer should never have to manually specify __self__ properties, if you're doing this you're probably failing to instantiate a class first. Can you give us an example of where your'e doing this?

    but if i use a `@staticmethod` decorator i don't. What's the deal with that?

    The staticmethod decorator is kind of an oddity. It's inherited from java. In java "everything is an object" (except some things because java is an ugly hack) derived from a class. If you want a function that isn't a method in Java the only way to do it is to make a static method which can be called without instantiating an associated object. Since python lets you declare functions which are not methods of objects the only reason to use a static method is for namespacing (your <function> is now `<Class>.<function>` so you can have like `File.open()` and `Trashcan.open()` in the same file without name collisions).

    Consider applying the staticmethod decorator to the file class above. The write and close methods won't know which file descriptor to operate on, so you'd have to add an additional argument to communicate to them which file you want to close or write to.
    The following users say it would be alright if the author of this post didn't die in a fire!
  18. RestStop Space Nigga
    Originally posted by Malice I have an idea for performance art in San Francisco.

    Find one of those coin operated mechanical rides for children and just sit on it looking really downcast and completely defeated, holding a bottle of liquor filled with tea or something while wearing a very nice but disheveled suit. Going for a stereotypical alcoholic in order to cope office worker mid life crisis look.

    Below it prop up a cardboard sign written in marker that says, "What the hell am I doing with my life?"

    I actually like the idea but I'd change the writing on the sign to something like "Carnival of rust". Carnival expressing the absolute ridiculousness of the rat race and rust of course representing to the decay of your true self.
    The following users say it would be alright if the author of this post didn't die in a fire!
  19. Originally posted by Sploo (2018) im a good looking guy

    The following users say it would be alright if the author of this post didn't die in a fire!
  20. Originally posted by Daily In my experience, working class people have a far more accurate interpretation of reality (human behaviour + current events, etc) but are not able to articulate themselves well so they get brushed off as retarded. The majority of "educated" middle class people have been culturally programmed by their institutions into rationalising ideas which are not supported by anything but theory. If you listen closely to the way they formulate arguments, it's all a bunch of hypotheticals which hone in on exceptions and anomalies



    Sure, he's drunk and sounds stupid, but everything this gentleman is saying is factually correct. Muslamic ray guns? No, muslamic RAPE gangs, you know, the ones that have been responsible for the rapes of thousands of little girls across the country under the nose of our treacherous law enforcement. This gentleman was ahead of his time. It has taken decades for the "educated" middle class to catch up

    This is true. A trend I've noticed: Dumb people believe x, smart people believe y, really smart people believe x
    The following users say it would be alright if the author of this post didn't die in a fire!
  1. 1
  2. 2
  3. 3
  4. ...
  5. 63
  6. 64
  7. 65
  8. 66
  9. 67
  10. 68
  11. ...
  12. 117
  13. 118
  14. 119
  15. 120
Jump to Top