User Controls

  1. 1
  2. 2
  3. 3
  4. ...
  5. 81
  6. 82
  7. 83
  8. 84
  9. 85
  10. 86
  11. ...
  12. 109
  13. 110
  14. 111
  15. 112

Posts That Were Thanked by GGG

  1. D4NG0 motherfucker
    Originally posted by GGG Congratulations man! I'm happy for you. How'd you pop the question?

    Thanks! After a night out we were walking through town looking at Christmas decorations and when we got to a certain...landmark I just asked her. I had been thoughtfully steering the conversation leading up to it, and had a stupid little speech planned out (a short one. Not one of those long, "I knew since the day I met you" cringy bullshit).

    Originally posted by Ghost Divorce her and take all her stuff

    She doesn't have 'stuff'. I'm basically providing for her in exchange for sex, cooking and cleaning, and childcare. Isn't that what marriage is?
    The following users say it would be alright if the author of this post didn't die in a fire!
  2. Lanny Bird of Courage
    Originally posted by gadzooks DAMNIT, I'm stuck here…


    for (j = 6; j < h.length; j++) {
    for (i = 0; i < h[j].length; i++) {
    xs = h[j].charAt(i)
    if (x.indexOf(xs) >= 0) {
    i++;
    xs = xs + h[j].charAt(i);
    c = parseInt(xs, 16);
    } else c = t.indexOf(xs);
    c = c ^ 44 ^ t.indexOf(pw.charAt(m));
    m++;
    if (m == n) m = 0;
    if (c == 13) {
    document.writeln(s);
    s = '';
    } else if (c == 10) {;
    } else s = s + t.charAt(c);
    }
    }


    I'm converting it all to python.

    It's all syntactically correct….

    But it's trying to turn a letter "t" to a hex value….

    FUCK…

    I will get this…

    Don't waste your time, it's not a complete program. "ZOKLock" and "h" are never defined. Spectroll has been posting this same code fragment as if he understands what it does for many years now. I can say with confidence that he does not, the guy has no idea how to program because he things being a call center tech support dude for a billion years somehow makes him know anything about anything.
    The following users say it would be alright if the author of this post didn't die in a fire!
  3. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    Ohh, ohh, Lanny, feature request!

    Add syntax highlighting when using code tags.

    https://highlightjs.org/ would probably be pretty straightfoward to add in a future iteration.

    Then again, though, how many people on this site would really use it?

    So I understand if it would be low priority, but maybe just add it to the product roadmap? Make an issue in Jira or a pull request in Github? (Which I guess I could do... I've actually never contributed to another github repo (except obviously when collaborating at work... Maybe I will "fork you hard".)
    The following users say it would be alright if the author of this post didn't die in a fire!
  4. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    Also, after just like two drinks in me, the whims of my ADHD have once again blown in yet another direction.

    I'm going to give a short Python tutorial based off of your slave trade code example above...

    I've modified it slightly to demonstrate some more Python (and general programming) principles that you can maybe benefit from.


    print("Due to an overwhelming number of people purchasing slaves simply for homoerotic sexual activities, we now charge for each slave by penis length.")

    # Note that I capitalize these variable names.
    # It is not necessary, but common practice to capitalize what are called CONSTANTS - they are assigned a value once, and this value is not altered anywhere.

    PRICE_PER_AFRICAN_SLAVE = 3.50
    FIVE_DOLLAR_OFF_COUPON = 5
    AVERAGE_PENIS_LENGTH = 6.0

    # The following is a list of slaves with unique attributes (in this case, penis length, in inches).

    list_of_slaves_by_penis_length = [
    8.5,
    4.8,
    6.0,
    6.5,
    7.0,
    3.9,
    9.5
    ]

    # You can get the total number of slaves, even though it is irrelevant for this version of the program, by using Python's built in LEN function.

    total_number_of_slaves = len(list_of_slaves_by_penis_length)

    # Note that this also works for strings...

    print(len("This is a sentence."))

    # Outputs: 19 (since there are 19 characters in the string).


    # Next, we will define a function that will contain an IF... ELIF... ELSE... conditional statement, and some simple math to calculate the penis length surcharge we will be applying to each slave.

    # The penis surcharge is basically a measure of how much bigger, or smaller, they are than an arbitrarily chosen average length. If they are under that length, they cost less. If they are over that average length, they cost more.
    def calculate_penis_surcharge(penis_length):
    if penis_length > AVERAGE_PENIS_LENGTH:
    return 1 * (abs(penis_length - AVERAGE_PENIS_LENGTH)) / AVERAGE_PENIS_LENGTH
    elif penis_length < AVERAGE_PENIS_LENGTH:
    return -1 * (abs(penis_length - AVERAGE_PENIS_LENGTH)) / AVERAGE_PENIS_LENGTH
    else:
    return 0


    # Next, we use a "for each" type loop to iterate through the initial list of slaves (by penis length)...

    total_cost = 0
    for slave in list_of_slaves_by_penis_length:
    final_price = price_of_african_slave + price_of_african_slave * calculate_penis_surcharge(slave)
    # Note that the total cost is accumulatively added to with each final price.
    total_cost += final_price

    print("Total cost of these slaves, after accounting for penis length surcharge and five dollars off coupon, comes out to " , end="")
    print(total_cost - five_dollars_off_coupon, end="")
    print(" dollars.")

    # Outputs: "Total cost of these slaves, after accounting for penis length surcharge and five dollars off coupon, comes out to 21.95 dollars."


    So there you have some new and potentially useful concepts, and framed in the same context as your original code, thus keeping things consistent.
    The following users say it would be alright if the author of this post didn't die in a fire!
  5. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    Originally posted by GGG Did you start with Python? You might've told me before, I forget.

    Actually, I didn't discover Python for quite a while.

    I started with some very basic essentials when I was kid using QBASIC.

    It was a procedural language that had things like "GOTO LINE 40" to skip around and create what is known as "control flow" in programming.

    It was fun for making the computer make random beeping sounds or to print ASCII cocks and stuff like that.

    Then I didn't really do any programming for years, maybe even a decade total.

    I started getting back into it via web development (HTML and CSS mostly), but then you always want to incorporate some "client-side" scripting using JavaScript. So JavaScript was where I picked up most of the fundamental syntax.

    I also bought a book on Ruby at one time and worked my way through it.

    I honestly haven't written a single line of Ruby code since, but, it was still helpful, since programming languages all share certain universal commonalities (for the most part - I don't want to digress into imperative or functional languages yet, or even how object-oriented languages work, which constitute the vast majority, including Python and JS - you'll get there when you're ready).

    But when I discovered Python, I fell in love with it.

    I have had to write code in Java (note: Java and JavaScript have absolutely nothing to do with each other, and I think whoever named JavaScript pulled off the world's most confusing troll job), as well as C, C++, C#, etc (and even assembly, but we are not going to go there yet).

    There's a lot more boilerplate code for those languages (basically, you have to write a lot more code to see the same results that you get with simpler languages like Python).

    So virtually all my hobby and web projects are done in Python, as well as any scripts I write to automate tasks for work.

    I use Python for like 90% of my hobby and personal projects, and then for work, I mostly use JavaScript.

    You will pretty much need to learn JavaScript at some point, but stick with Python for now, the transition will be relatively seamless.
    The following users say it would be alright if the author of this post didn't die in a fire!
  6. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    Originally posted by GGG This is about as complex as I can get right now. I just got home so I'm hoping to do more than just lines of text and numbers by tonight.

    price_of_african_slave = 3.50
    number_of_slaves = 10
    five_dollars_off_coupon = 5

    print("total cost of these slaves comes out to " , end="")
    print(price_of_african_slave * number_of_slaves - five_dollars_off_coupon , end="")
    print(" dollars.")

    african_string_1 = "We should give every Asaian male"
    african_string_2 = 2
    african_string_3 = "strong african slaves cause they deserve it man"
    african_string_final = african_string_1 + " " + str(african_string_2) + " " + african_string_3
    print(african_string_final)


    Question, what is better to do when I want to add a space? "something" + " " + "something" ORRRR "something " + "something"

    Is there any reason to do one or the other?

    Well, there's actually a third way that's even better in this particular case, but perhaps not always.

    You can do any of the following:


    print("The following number " + str(integer) + " is cool.")

    # Or...

    print("The following number", integer, "is cool.")

    # Notice how you're not even converting the integer to a string.
    # Python, at least Python 3.x, handles multiple arguments for the built-in print function.

    # Now, if you were to do the following...

    print("The following number " + integer + " is cool.")

    # You would get an error.


    Anyway, as a general rule, though, I wouldn't bother separating strings from each other unless you need to place something variable in between.

    Later on, you'll learn about string formatting, which will also be very relevant when (not if, when you start learning about Flask and the Jinja template engine).

    But let's leave some of that for later.

    Master the fundamentals first, then gradually work your way up.

    And most importantly, have fun along the way.
    The following users say it would be alright if the author of this post didn't die in a fire!
  7. Dark humor is like Bill Krozby's daughter, it never gets old.
    The following users say it would be alright if the author of this post didn't die in a fire!
  8. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    Originally posted by -SpectraL He deciphered it perfectly and posted the whole script that's well obfuscated within the script I made and posted above. That's why I'm convinced he actually works for some kind of very high-level law enforcement cyber outfit. Only a handful of people could have done it. The obfuscated script is actually a clever fork bomb written in standard html and should still work on all browsers.

    Well, this is the bulk of the code "unminified":


    var pw = 'default';
    var t = '\00\01\02\03\04\05\06\07\010\t\n\013\014\r\016\017\020\021\022\023\024\025\026\027\030\031\032' +
    '\033\034\035\036\037\040!\042#$%&\047()*+,-./0123456789:;\074=\076?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\134]^_`abcdefghijkl' +
    'mnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—˜™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПР' +
    'СТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя';
    var x = '0123456789ABCDEF';
    var i, j, xs;
    var c = 0;
    for (i = 0; i < pw.length; i++) c = c ^ t.indexOf(pw.charAt(i));
    if (c != parseInt(h[5].charAt(0) + h[5].charAt(1), 16)) {}
    for (i = 0; i < 5; i++) document.writeln(h[i]);
    for (i = 0; i < 40; i++) document.writeln();
    var n = pw.length;
    var m = 0;
    var s = '';
    for (j = 6; j < h.length; j++) {
    for (i = 0; i < h[j].length; i++) {
    xs = h[j].charAt(i)
    if (x.indexOf(xs) >= 0) {
    i++;
    xs = xs + h[j].charAt(i);
    c = parseInt(xs, 16);
    } else c = t.indexOf(xs);
    c = c ^ 44 ^ t.indexOf(pw.charAt(m));
    m++;
    if (m == n) m = 0;
    if (c == 13) {
    document.writeln(s);
    s = '';
    } else if (c == 10) {;
    } else s = s + t.charAt(c);
    }
    }


    I was able to convert it almost all to Python because I'm versatile in JS as well as Python.

    Basically, all it's doing is using that variable t...


    var t = '\00\01\02\03\04\05\06\07\010\t\n\013\014\r\016\017\020\021\022\023\024\025\026\027\030\031\032' +
    '\033\034\035\036\037\040!\042#$%&\047()*+,-./0123456789:;\074=\076?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\134]^_`abcdefghijkl' +
    'mnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—˜™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПР' +
    'СТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя';


    and the variable pw...


    var pw = 'default';


    As well as the arbitrarily chosen integer 44 to do some bit shifting, incorporating both the t string and the pw string...


    c = c ^ 44 ^ t.indexOf(pw.charAt(m));


    I'm telling you, I'm damn close.

    I suppose I could just run it in JS as is.

    But I really wanna transpile it to Python.
    The following users say it would be alright if the author of this post didn't die in a fire!
  9. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    It's also worth noting that the original meatspin had a counter that would iteratively count each spin, and keep track of how many full spins you actually watched consecutively without, you know, closing the tab/window.
    The following users say it would be alright if the author of this post didn't die in a fire!
  10. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    I tried to track down all these old shock site images...

    Click below, if you dare, to see how many I successfully found...

    WARNING: NSFW (fucking DUH! but it has to be said since people instinctively click spoiler tags)

    The following users say it would be alright if the author of this post didn't die in a fire!
  11. aldra JIDF Controlled Opposition
    python is for latent homosexuals

    §m£ÂgØL will be extra good at it because he's a blatant homosexual, putting him ahead of his peers
    The following users say it would be alright if the author of this post didn't die in a fire!
  12. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    For the rest of NIS: Also, for the record, I did not start him on this faggotry theme. But I did encourage him to make programming more fun/humorous/entertaining to help motivate yourself to learn. It works for a lot people, especially myself.
    The following users say it would be alright if the author of this post didn't die in a fire!
  13. gadzooks Dark Matter [keratinize my mild-tasting blossoming]
    For the rest of NIS: I am officially mentoring GGG in Python.

    But GGG, one bit of feedback here...

    Since "faggots" isn't wrapped in quotation marks, it's technically not a string.

    So if you haven't assigned a value earlier to the variable/object
    faggots
    , you're gonna get some kind of "Undefined" error.

    But other than that, keep it up.
    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 vindicktive vinny meh, thats nothing.

    you have no idea how hard it is to convey your thoughts and ideas in a language you dont even use or speak irl.

    now thats … the real test.

    No, given how bad you are at it we all have a pretty good idea of how hard it is.
    The following users say it would be alright if the author of this post didn't die in a fire!
  15. WellHung Black Hole
    Apparently, they got better stuff to do.
    The following users say it would be alright if the author of this post didn't die in a fire!
  16. RisiR † 29 Autism
    Originally posted by totse3.com acecamedphin

    Lolwut?
    The following users say it would be alright if the author of this post didn't die in a fire!
  17. totse3.com Space Nigga
    Yoda Fountain.. we can get Pizza at Avellinos. I know SpectraL is really you and I know your the one who had copies of the Manifestos you were shit talking me on Zoklet it seems back in 2013. Who are you.. multiple people
    The following users say it would be alright if the author of this post didn't die in a fire!
  18. RisiR † 29 Autism
    This is the first Christamasse since I was a child that I'm actually able to be grateful for the things I got.

    I ain't got much but I got love and that's everything. I'm grateful for technology because it connects me to wonderful people around the world. I got people that care for me and I want to be a better person for them. I got motivation. I got time to reflect on things and I got goals to focus on to keep me busy when things seem bleak. I got a little bit of weed that I've been saving. I got enough food to keep me FAT and shelter to keep me from freezing to death.

    Last year around this time I tried being homeless for a couple of days and was reading Nietzsche under streetlights at night, carrying two bags full of clothes and books and damn fuck, it sucked. I remember reading my favorite parts of Thus Spoke lit by the Christsmas lights of a really nice house. I was completely lost.

    I'm grateful someone found me and made me find love within myself. I'm lucky. I'm grateful.

    Sieg heil to all of you.
    The following users say it would be alright if the author of this post didn't die in a fire!
  19. Originally posted by mmQ Since a babby doesn't remember shit anyway I wonder why it's seemingly so much more atrocious to hurt them. Like who gives a fuck? Like if I was blackout drunk for a year straight and people beat the shit out of me and raped me and then one day I come out of my blackout and don't remember any of it, why the hell would I care what they did?=


    Good point..lets have a few drinks and discuss further...
    The following users say it would be alright if the author of this post didn't die in a fire!
  20. D4NG0 motherfucker
    Originally posted by GGG Didn't say you did nigga. I said some people. They think being numb and just content/okay is some special mental illness.

    Then they need to learn life isn't about them and their feels. Let's drop them in a warzone.
    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. 81
  6. 82
  7. 83
  8. 84
  9. 85
  10. 86
  11. ...
  12. 109
  13. 110
  14. 111
  15. 112
Jump to Top