User Controls
Thanked Posts by gadzooks
-
2018-12-14 at 11:14 PM UTC in The meaning of life is to give life meaning.
Originally posted by vindicktive vinny so your saying our purpose is to solely reproduce ?
nothing else ?
I was being somewhat facetious...
But essentially, depending on how you frame the question, then, yes, our sole purpose is to reproduce, merely from a biological/evolutionary perspective.
Humans can, however, analyze the world through different paradigms and thus draw different conclusions from the same reality.
Like Nietzsche said: "There are no facts; only interpretations." -
2018-12-15 at 3:01 AM UTC in Lanny_loves = faggotsAlso, 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. -
2018-12-15 at 1:18 AM UTC in Lanny_loves = faggots
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. -
2018-12-15 at 1:28 AM UTC in Lanny_loves = faggots
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. -
2018-12-14 at 8:58 PM UTC in Lanny_loves = faggotsFor 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.
-
2018-12-14 at 8:38 PM UTC in Lanny_loves = faggotsFor 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/objectfaggots
But other than that, keep it up. -
2018-12-15 at 12:37 AM UTC in Lanny_loves = faggots
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. -
2018-12-14 at 9:03 PM UTC in If someone offered you $10,000If I were particularly desperate, like going through heroin withdrawals back in the day, then probably, yeah.
When I'm thinking straight, which is, believe it or not, most of the time, then probably not.
And actually, there are two main reasons for why I would (typically) lean towards "no":
1. Ethical reasons: The first thing that popped into my head was the movie Se7en...
2. Practical reasons: This could just be a ruse all about getting me personally killed, or it could be some ultra-dangerous mission where you just straight up stand no chance of surviving and staying out of jail or any other kind of trouble that would make $10,000 not even remotely worth it. -
2018-12-14 at 10:57 PM UTC in ITT: We speak only mono-syllabically
Originally posted by mmQ Yeah but why have I not had those who made posts in this thread give me their dad's 'mail 'dress?
You broke a few rules here. You can not use long word with quote mark to cut out part of the word. :(
But you do put in work to try to post by rules, so I can not fault you too much.
Those dads' web node mail points will come. As a wise man once said: "ask for it and you will get it". I think it might have been the son of 'God', though I can not say his full name due to length of it. -
2018-12-14 at 4:36 AM UTC in Does anybody else notice that everybody who abused bundy as a teenager is essentially retarded?For what it's worth...
Neurotoxicity of dextrorphan
Ortiz GG1, Guerrero JM, Reiter RJ, Poeggeler BH, Bitzer-Quintero OK, Feria-Velasco A.
Author information
Abstract
BACKGROUND:
The noncompetitive NMDA antagonists phencyclidine (PCP) and dizocilpine (MK-801) have been considered for use as neuroprotective therapeutic agents, although both produce injury in neurons of cingulate and retrosplenial cortices in rodents. The low-affinity, noncompetitive NMDA antagonist dextrorphan has been considered for use as a neuroprotective therapeutic drug. The aim of the present work was to evaluate the neurotoxicity of dextrorphan.
METHODS:
Sprague-Dawley male rats were used and injected with either saline or dextrorphan (30 mg/kg i.p.). The animals were sacrificed 30 min later, and the brain was examined for histopathological changes.
RESULTS:
After systemic administration of the drug, hyperchromatic and shrunken nuclei with chromatin condensation and disruption were observed. Also, granular and vacuolated cytoplasm was apparent in pyramidal neurons in the retrosplenial (posterior cingulate) cortex. Status spongiosus (spongy degeneration) of the neuropil was also detected.
CONCLUSIONS:
Morphological changes are similar to those described previously, which are induced by high-affinity, noncompetitive NMDA antagonists, such as MK-801. -
2018-12-14 at 5:04 AM UTC in Some things are so hard to say, even though you say them every day.
-
2018-11-29 at 3:55 PM UTC in NIS Statistics
-
2018-12-14 at 4:28 AM UTC in ITT: We speak only mono-syllabically
Originally posted by mmQ What do I love, you ask? Well, I love to drink, smoke, and fuck. I drink ale when I want to FEEL. I smoke cigs to calm my nerves. And when I fuck… I fuck to be the man I know I need to be, my flow of cum tells a tale of my life's past; a rich tale of sin and pain as well as pride and joy. My hot seed yearns to brings forth life, but all it does is bring forth strife. And the kids weep.
Ohhhh how they weep.
You did it!
I must put forth my thanks for your words in this thread.
We all must come forth and bring our words to this thread so that we may be more rich and wise by the time it ends its course.
I am rich for I have friends who can make their thoughts known when held back by such rules that are not at all a need for good talk. -
2018-12-14 at 4:16 AM UTC in The meaning of life is to give life meaning.
Originally posted by ohfralala Do them little niggas even have smart phones?
I did not even think of Patrick when I was thinking of how advanced starfish are as a species.
Well whodathunkit, that Patrick is the pinnacle of evolution?
Originally posted by ohfralala You do realize I wasn’t disagreeing with you by asking more questions, right?
We just talkin' is all.
It's healthy human discourse.
We may have been on the exact same page all along. -
2018-12-14 at 3:58 AM UTC in The meaning of life is to give life meaning.
Originally posted by Flatulant_bomb Why is everyone searching for the meaning of life? Just live niggas! You have life so LIVE! The fuck who cares what the meaning is?
That is kinda in line with what I was saying.
Intrinsic meaning is up for grabs.
But people do assign meaning in one way or another, just not necessarily consciously.
When you wake up, you (and everyone else) get out of bed for a reason.
That reason is the meaning of life.
It will differ on a case-by-case basis, but we all assign some kind of meaning to life as we know it.
So-called nihilists are really just un-self-aware frauds. -
2018-12-14 at 3:16 AM UTC in When you're at the store buying liquor and walk into the 'mixer' aisle
-
2018-12-14 at 2:09 AM UTC in When you're at the store buying liquor and walk into the 'mixer' aisle
Originally posted by GGG What are some brands you'd recommend?
Glenfiddich is decent.
I haven't tried every brand of Single Malt Scotch out there, admittedly.
In fact, I haven't even tried every type (they vary based on where in Scotland they come from).
But as a general rule, the more aged, the better, and single malt is always superior to blended scotch.
Other than that, personal taste will become a factor.
Some prefer Speyside single malts (such as Glenfiddich), whereas others prefer Islay or Highland brands.
Scotch is an interesting type of liquor, with a lot of history, and some pretentious zealots / over-the-top fanatics out there.
I sometimes can't even tell if they're just utterly full of it, or really able to distinguish between such subtle nuances as how floral vs how fruity a certain scotch is, or if it's slightly more nutty than it is malty.
Scotch enthusiasts can be pretty precise with their alleged flavor profiles.
Say what you want about me being a pleb or what have you, but I just like it aged well and single malt. Beyond that, those subtle nuances are beyond my palette's detection. -
2018-12-14 at 1:46 AM UTC in Seasonal Affective Disorder
Originally posted by Ghost Bisexuals are smart because they have an unlimited dating pool.
The ultimate combo is women/lolis/trannies though.
I'd probably proceed with extreme caution there.
There's having an unlimited dating pool, and then there's, you know, legal, ethical, and practical limitations.
Also, you forgot farm and jungle animals.
There be some fine ass female non-human primates. Bonobo bitches be fine as hell. -
2018-12-14 at 2:33 AM UTC in The meaning of life is to give life meaning.
Originally posted by ohfralala Why were we given meaningful emotions if life was meant to be meaningless?
Evolutionary byproduct, maybe?
We need emotions to guide our behavior.
But, much like viruses and other disease causing organisms, they are just a product of evolution.
Consciousness may truly be vestigial. -
2018-12-13 at 6:24 PM UTC in The girl in the pink dress from the "Friday" music video