

User Controls
Posts by Lanny
-
2015-09-22 at 6:06 AM UTC in What's wrong with my class.just responding to OP cuz.
It's the missing comma on line 9. A tailing comma has no semantic significance in a list. It does in a tuple, but only if the tuple has one item (it's how a tuple is distinguished from parentheses indicating operator precedence)). It's taking line 9 as an expression which is expected to evaluate to a function reference and then calling it on the following tuple. Consider:
def inc(x):
return x: 1
mylist = [(inc)(1)]
`mylist` will be `[2]` (a list with the single member, the value of inc(1), that is 2). -
2015-09-22 at 6 AM UTC in The retarded thread: Fuck, §m£ÂgØL made one first editionHow much memantine are you taking these days?
-
2015-09-22 at 5:34 AM UTC in Fedoras: Or how I learned to start worrying and became a self-loathing STEM fagP.S. I'm drunk but I think at least some of that made sense
-
2015-09-22 at 5:33 AM UTC in Fedoras: Or how I learned to start worrying and became a self-loathing STEM fag
This gave me a chuckle. Also Lan Lan, IDK bro, what's wrong with having respect for someone who's good at something you're trying to get into. I'm going to sound like a dick riding suck up for this but i don't give a shit. I'm getting into programming and i think it's pretty challenging, then when i see what you know about it i think jesus fucking christ i still have so much to learn and Lan knows all this shit and i respect you for that especially since like i said programming is very challenging to me, feel blood?
Also, STEM is bauce, i'm an EE typa nigga' by education and physics is a big part of that, and i mean, understanding the fundamentals of the Universe seems pretty significant to me.
Incidentally i actually have the brain for the humanities and general social things, the subjects just make sense to me and understanding comes natural, they 'click' in a way. But then i think who gives a flying fuck what kind of bullshit people do and think about. How the Universe and the brain in example works is what's interesting and then i think coding is awesome because it's extremely useful in infosec which you know i have an interest in because who doesn't like to pwn noobs and break shit nahmean?
Well there's a distinction here I think. The two mindsets I resent are "computer science(programming) is a way to make lots of money" and "If you're not in a STEM field then you don't matter". The former really drains the quality from the community that made me love it in the first place, the mirth and lust for knowledge that characterizes "hacker" (I could rant about that term but w/e) culture. I guess it's an inevitable consequence of professionalization but when people are only here to collect a paycheck it stops being about the fun weekend projects, subverting expectations, doing something really novel, especially in an economic clementine that encourages the most conservative, derivative steps towards what we basically already have (consider the number of "X killer" startups. If you define yourself as trying to fill someone else's market niche better then you've resigned yourself, categorically, to non-novel work). In practice it also undermines the academic pursuit as well, when you're just looking to make a buck the only possible payout for disseminating a novel discovery is a meager PR boost, whereas in the days of yore (although this is a tradition that persists in the infosec world to some extend) the reputation you earn from doing something new and interesting was worth far more than a possible market edge because people fucking cared about the opinions of their peers and advancing the state of the art rather than making a buck.
And the other side, STEM supremacy, so far as I can tell, comes from a mere ignorance of the humanities. It's really astounding to see, and you can probably do this yourself with people you know, to ask someone who dismisses philosophy as a field about why they feel that way. Within three sentences you'll hear a philosophical claim that has been argued and understood in the western philosophical tradition for hundreds of years, which has nothing to do with any STEM field, and yet will be presented as some knockdown argument against philosophy as a field. People who buy into this anti-humanities rhetoric are so ignorant of what they oppose they don't even realize their argument for their own position are straight out of historical works in the humanities themselves.
So yeah, I mean programming is hard no doubt, I don't mean to trivialize the efforts of the novice, but it's this tiny corner of the universe, a formal system that's important only because we can make circuits to emulate it quickly (a historical accident). If you're going to devote your time to it I think it's worth asking if you want to learn it because it's interesting or if it's a mere means to an end.
Being the guilty-capitalistic cunt that I am I've read probably every essay Paul Graham has written and I remember something he said (although I can't remember the particular essay because I have a block against his bullshit) that I really agree with although I didn't fully understand at the time. He said that to be a good hacker(read: programmer) you had to enjoy the practice of actually programming. He went on to say that you didn't have to enjoy it so much that it's the your first priority all the time, because even the most devoted programmer will prefer to fuck some hot chick or chill on a Hawaiian beach or something at some point, but the important point was that if you had to choose between watching TV or some other mundane thing you can do every day for a quick hit of pleasure and programming, you would choose programming. And I tend to agree with that, I think that's a good litmus test, if you can't enjoy the material act of plying your trade more than something that's constantly available to you then you're probably better off finding something you like more to spend your life on.
Now you personally, Soph, I have high hopes for you. You're on here, you're on stack overflow, you're asking questions and stumbling your way through real projects when you could be watching something or taking drugs or whatever. God knows I cave to the desire to get drunk, eat icecream, and watch shitty slice of life anime sometimes. Programming as a trade may be secondary to your interests in information security but you have something you're willing to invest the time in getting good at and that's a fucking asset like no other. For whatever reason this field is pretty democratic, people are generally willing to share their knowledge with those who are willing to put in the time, so the blocker is caring enough to put in the time and so far you've done pretty damn well at that. I certainly don't think I'm owed any special respect for whatever level of skill I have in this field but it's not people like you who I'm criticizing here, it's people who are drawn to this field because it's a "good job" and who don't have the spine to say "fuck it" and go get a degree in history or something.
Do you remember the poster ond? He had a lot of alts because he got banned a lot. Fascinating person, in a lot of ways, but there was this period where he was basically teaching me programming. This was back when I was in highschool and like my first year of college, I had muddled around with some BS stuff here and there but wasn't anywhere close to a professional level while he had landed a dev job. We had this little project we both worked on, I'd do some stuff, he'd make it better, I'd ask him why and he'd explain. He worked with me for a month or so, we talked on IRC pretty often, and in that time I learned an incredible amount, but the most important thing I learned by far (and which to this day I think many developers don't know) is the self confidence to dive into problems or source code I don't understand with the conviction that I'll come out the other side with enough understanding to do what I want to. To this day I owe my success in academia to him, and my career to a large extend. He was the person who showed me how to either hack it or recognize inevitable defeat in the face of any odds. His instruction showed me that I was cut out for this, something I wan't sure of before.
Anyway I guess my point, besides dickriding one of the most hated niggers in this community, is that there's a certain constitution you need to be good at this particular thing. If you're not that's fine, there are many other things humans can do, many of which are far more important to us as a species, but to find out if this particular corner of the world is the place for you, you have to charge headlong at the hardest problems you find interesting. It doesn't much matter if you succeed or fail, the important question is if when you get to the other side, when you realize if you can solve your problem or not, if you're ready to go another round, to jump back into the fray and get you ass beat again, if you can enjoy the thrill of the chase regardless of where it lands you then you're made of the same stuff that every world class computer scientist, programmer, and hacker ever was. -
2015-09-22 at 4:23 AM UTC in The retarded thread: Fuck, §m£ÂgØL made one first edition
I remember the first time I took shrooms I had an unstoppable surge of rapid thoughts, a constant stream of them. Afterward my brain had a very distinct worn out feeling I had never felt before that reminded me a lot of muscle soreness that can occur after intensive physical exercise, lifting weights.
Yeah, almost every trip I've had has left me feeling very mentally tired, often physically too since I tend to move around a lot, tensing muscles or just kinda moving around to see what it feels like.What are your doses usually like? Are you being a pansy and using them gingerly? Any plans to experiment with high dose trips? I'm only joking, I certainly wouldn't fault you for apprehension since I understand what can occur and have rarely tripped due to my experiences having often been negative and being terrified of what my mind may be able to produce. Good idea to build experience and become fully familiar with the level experiences first, but my word can you get fascinating experiences at high level doses and with more potent substances. I'd love to read a detailed trip report by you to know what the experience is generally like for you.
http://www.shroomery.org/9067/What-d...s-Lvl-1-5-mean
The highest dose I've taken is 375ug, lowest 150, the mean is probably a little under 300. My first experience was at 250ug which was probably a little too high for a first time, it happened because I ordered that much but was too much of a pussy to take it for a few weeks and then when I did I forgot how much the quantity was. It was only afterwards that I looked up the quantity but to this day it was the most pleasurable trip I've had.
Based on that link I've had two trips that reached level 5, the rest either 3 or 4, only once have I had an experience that was just I would call just "stoned". The first time I totally lost any sense of time I wasn't ready for it, it got pretty dark, I couldn't really see anything because the hallucination was a more powerful visual signal of what I was looking at. I saw a pyramid made of bones, a kind of abstract pattern that looks like it looks when you press your hand too hard against a plasma monitor (very distinct though, not just any pattern), and teeth, molars, of a child I think. Those three things have been a recurrent theme in every deep trip I've had since. I'm not some new age pussy of course but I'm thinking they tie into a repressed memory somehow, there's definitely a sensation of childhood. In all my memories before being 7 or so the dominant component is confusion, I just remember being confused a lot, and that same kind of confusion is what marks these three themes. In that first super-intense trip I tried to bear with it for a while but ended up freaking out and thought I was dying or something so I took some etizolam to bring it down. I kinda regret doing that because I feel like there was something there I could have figured out if I had stuck with it.
One interesting thing is that while I describe all three of those recurring elements as kind of a visual thing they're not. I'm pretty auditory/non-visual just in the day-to-day and it comes through in that my psychedelic experiences are like that, always words or pre-words and sounds, not particularly visual. Like I see visuals now and then of course, but the dominant mode is auditory. There's actually this one sound that's persistent across the whole experience, it's almost a pair of pure tones but there's something else in it too, like a really low frequency oscillation of the amplitude of both tones. Sounds like something out of a Boards of Canada song. I've tried to synthesize it from memory since it's pretty simple but no dice, probably just a perception I can only have under the influence.
I think I'm going to try piracetam or noopept again. The time I had to take etiz I took piracetam beforehand so I've been kinda weary since but it frustrates me that I tend to forget details, important ideas and stuff. I write stuff down sometimes but when I'm peaking it's hard to even work a pen, what comes out is really only marginally articulate. I think a racetam might help with that recall (the more intense trips I've had with piracetam/noopept are the most vivid in my memory).
re:showering on the comeup, I actually have before. Felt nice but I felt uncomfortably hot for a bit afterwards. Temperature control seems to be kinda wonky in general under the influence of psychedelics but I do think being too hot is better than being too cold. My first trip, at the peak, I curled up under a blanket listening to music and had the distinct sensation of being too hot but it was like when you have a fever, you realize you're uncomfortably warm but you still want to get warmer but not in the unpleasant fever way, I was under the impression my spirit or soul or something was in some kind of purifying fire and it was a kind of tactile pleasantness that I liked. Sometimes worry about overheating though, could probably do some brain damage in the absence of normal homeostatic impulses. -
2015-09-22 at 3:38 AM UTC in Do you use Chrome?Daily reminder null terminated strings were probably the single worst decision in the history of computer programming and Denis Richie's death _almost_ deserved to be ignored in the wake of Jobs biting it for that curse upon the world.
-
2015-09-22 at 3:32 AM UTC in WHO'S THAT POKÉMON!?So do these "models" have stage names like other porn actresses or is it generally assumed these are given names?
-
2015-09-21 at 5:06 PM UTC in It's 13:37 my time currently.it's 10:04 here, which I take to mean LOOA and I suppose that means it's the best time to write lua scripts or something.
Oh wait, it's 10:05 now. COME ONE EVERYBODY, GET LOOS -
2015-09-21 at 3:28 AM UTC in Freedom or Security
I don't see what the Hobbesian Trap has to do with being able to take care of yourself without needing someone else to do it for you.
Specifically it illustrates why decentralization of security responsibility is a bad idea. The reason I brought it up though was that the idea that we all need to have lethal force usable at personal discretion (as opposed to something like a military which requires some non-personal (usually) decision process to be used) relies on the notion that such "defense" is necessary, this is Hobbes' controversial point. You usually land in the wing nut libertarian camp so it's ironic that on this issue you, like me, accept the Hobbesian premise, you just don't grasp what it implies (that strong central government is necessary as opposed to, as you would believe, that we all just need bigger sticks to defend ourselves from each other) -
2015-09-21 at 2:14 AM UTC in Do you use an IDE, if so, which one?
It appears to me, that being able to type fast and 'only use the keyboard', is the choice of professionals. I made a thread about this on either Zoklet or RDFRN, asking if I should try to stop using my mouse.
I've never used VIM, but I think if I tried anything else, that would be the first thing I looked at.
Yeah, the action of moving your dominant hand from your keyboard to your mouse too often, aside from just being kinda slow, can lead to RSI and stuff.It seems like it either just happens to some people or it doesn't for whatever reason. Things like a 10 keyless board help but some people (like me) strongly prefer having a number pad and there's still some strain there, just less. To be fair you can probably rig up mouseless workflows in most IDEs I imagine but they generally involve some kind of emacs-like combination of modifier keys which poses its own RSI risks and (and obviously I'm a bit biased here) I don't think you can capture the same power of composable commands that you get with VIM's modal design. -
2015-09-21 at 1:55 AM UTC in The retarded thread: Fuck, §m£ÂgØL made one first editionSo I took some AL-LAD and smoked some weed right before the peak and by the time I put down my pipe I was like "well that was a mistake". Spent the following hour or so curled up on my bed watching spirited away, couldn't follow it at all of course but the visual progression was the only way I could perceive the passage of time. I had like a "meta" thought, like thinking about the nature of what I was feeling then but then I started thinking about thinking about what I was thinking so on to the point that I was thinking about the last thing I was thinking uncountably fast, it felt like perpetually falling upwards but swung back and forth between being terrifying and sublime. If I really focused I could process some small piece of information before I went to the next meta-frame so I could coordinate stumbling around a little bit but I would like get somewhere and have to just do this super-short planning process again.
Good shit. -
2015-09-21 at 1:03 AM UTC in Freedom or Security
Defending ones life is never murder. I don't believe in shooting looters or killing people for stealing stuff; but I see nothing wrong with a man or a woman defending their home, where they lay their head and raise their family, with lethal force.
Murder is a legal term and many (perhaps most) jurisdictions have situations under which self defense with lethal force constitutes murder. -
2015-09-20 at 11:19 PM UTC in Freedom or Security
No man should need another man to protect him.
Only dumb beta pussies are so scared of the world that they think literally every member of the citizenry needs to be able to murder at the drop of a hat. Like I always catch flack for having a Hobbesian outlook but you do too, you're just too oblivious to realize what it entails. -
2015-09-19 at 9:22 PM UTC in Fedoras: Or how I learned to start worrying and became a self-loathing STEM fagbrave bird x pitysex collab is pretty good tho
-
2015-09-19 at 9:22 PM UTC in Fedoras: Or how I learned to start worrying and became a self-loathing STEM fagomg senpai noticed me
-
2015-09-19 at 9:15 PM UTC in Fedoras: Or how I learned to start worrying and became a self-loathing STEM fag
I can't see my PMs or create threads and haven't been able to for hours. Fix it fix it fix iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiitttttt now!!! *bangs on desk in alternating rapid succession*
I wasn't able to reproduce it on the usual test account. I dropped the system cache which is what usually fixes this problem but since I couldn't observe it in the first place I have no way to verify if it did anything. Is it still happening?BTW, what's in your system? Just curious if you generally only write like this while stimmed up.
2-FMA and booze.are you really self-loathing, Lanny? from what I understand, you are getting your education and living your life right, what's to loathe about that?
Nah, not really. I just strongly identify with a specific sub-culture but then resent some of the emerging trends within it. -
2015-09-19 at 6:10 PM UTC in Fedoras: Or how I learned to start worrying and became a self-loathing STEM fagGod damnit, which page were you trying to get to? Create a post or a PM?
-
2015-09-19 at 4:14 AM UTC in Best programming language for infosec?Hard to say there's an obvious best. If there were no learning curve involved I'd probably say C since on some level it's easier to build high-level programs out of low level ones than it is to go the other way, but then there is a learning curve. If you asked which I'd actually want to write an exploit in the answer is Python unless I know beforehand that it requires deeply magical bit bashing.
Ruby, Python, and Perl occupy basically the exact same space in terms of what they're each good/bad at. I'm a python fan because I like it's language designs the most out of the three, but perl is probably the classically more "hackerish" language (not good per se, just more popular in that circle historically). The largest schism between Ruby and Python is that Python represents a more structured language design, with an emphasis on having "one right solution" in the sense that there should be one obvious way to do a thing while ruby is more permissive in syntax/semantics and the designers are willing to create a pitfall for the benefit of some other system or feature or what-have-you. I've had multiple people describe Ruby as "you can write anything and it just works (but not always the way you expect)" and I'm sympathetic to that, not so much that it's fault tolerant as there are a number of "tricks" or shorthands in the language but they don't always play together well. Perl exists mostly as a confluence of historical forces. Its advocates will make claims about things like "good for prototyping" or "good with string manipulation" but the truth is that it's unnecessarily opaque and it's loved for the fact that you can make fun-but-incomprehensible one-liners with it.
As for assembly, I'm not sure. There is basically never a good reason to write ASM instead of C, but then knowing C is basically a prerequisite for ASM (I don't know if this is a physical law or whatever, but I've never heard of someone learning ASM without knowing at least _some_ C, the famous P&H textbook assumes students have a grasp on C and it seems like everyone takes there cues from there). The idea of assembly is, in an academic setting, almost always as a compile-target. You learn it to understand you compiler and CPU better, not to write it. -
2015-09-19 at 3:32 AM UTC in Do you use an IDE, if so, which one?I've hopped around on IDEs a lot in the past. 3~4 years ago I switched to using vim for 100% of my programming work (and a lot of other stuff since) and am still on that, it's been my longest running setup for programming, although I've certainly gone through a lot of vimrc configurations in that time (in the last month or so I added NERDTree, then wrote a series of macros linking `find` and `mvim` and since uninstalled it).
For whatever it's worth, in my experience probably 60% of programmers I've run into in the workforce use some sort of IDE with the remaining split between sublime/atom/vim/emacs but obviously that number fluctuates from workplace to workplace. To some degree an IDE or text editor is the most trivial part of a development setup but I mean if you're going to spend hours and hours of your life with the fucking thing even small things are worth finding a comfortable fit and I mean tricking out your shit is just pretty fun on its own.
I chose my vim setup for a number of reasons. The primary one is that at some point I had internalized the vim keybinds enough that I can't type as fast on anything else and I expect to die that way. People sometimes question if there's really anything meaningful to be gained by the archaic modal editor paradigm and it's a fair question but for me, personally, the answer is a resounding yes. I mean even if it's not any faster, the frustration of using the simpler universal set of editor controls makes me facepalm enough that the time spent on that is enough to tip the scales in my favor. A lot of people point out that (sublime|eclipse|atom|emacs|whatever) has vim-like keybinds but so far I've yet to see one that isn't at least subtly wrong in some way and it always bugs the shit out of me, one point of wrong behaviour is enough to throw off my entire "flow" I've found.
I've always worked in dynamic languages, so even heroic efforts like we see from jet brains means static analysis is pretty mediocre. A decent jump-to plugin and some experience with picking up new code bases makes SA unnecessary. People will argue that that's just learning to compensate for an editor failure and it may be true but even then I'm happy to give it up for superior text editing. You only need to learn call signatures/types once while you'll need to jocky around lines of text until you die or quit programming.
Anyway, yeah, I like the "editor separate from tooling" approach and use vim exclusively. IDEs have some cool features but there aren't a lot of thing that aren't implemented as a plugin to your editor of choice, so the question becomes "which is the best text editor" and I think vim wins that battle.
Oh, soph, if you don't know python has a nice simple debugger built in. Just stick `import pdb; pdb.set_trace()` on a line, and when that line gets executed you'll be dropped into an environment that's a lot like the REPL but in the context of the line being executed (so you can interact with/inspect locals and stuff). In 3 years of doing python dev every day I never needed more than that (well a few times I did, used "rdb" which is the same thing except for communicating with processes that don't have a STDIN/OUT (daemons) via a local TCP connection). -
2015-09-19 at 2:57 AM UTC in Someone explain this hexdump function to me.Happy to help blood, I feel bad that I leave threads in this forum unreplied to (among other things) either out of laziness or a lack of domain knowledge so it's nice if I can be helpful now and then. Feel free to ask follow ups on anything you don't understand, for any reason. Obviously some things are easier to just google but some questions are hard to google for like "ternary operator". I remember trying to google for the ternary operator the first time I saw it (not knowing it was called that) and "?:" or "X?Y:Z" don't return useful results (interestingly "colon question mark" does actually have some valid results). Similar situation with list comprehensions, string interpolation, tuple unpacking etc. (and just for python). And of course there are some things that are just easier to talk through/ask about than read through.