archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
True
[deleted]
null
[deleted]
null
0
1316645312
False
0
c2lm0dt
t3_kl7h0
null
t1_c2lm0dt
t1_c2l93ly
null
1427630158
7
t5_2fwo
null
null
null
True
[deleted]
null
We commit to a feature-branch or user-branch once the change has passed whatever isolated tests we run while working on it and we believe the code to be correct. After firing up a broader test suite, the coder moves onto whatever is next on their plate while it runs. When those tests pass, the code gets pushed into a branch watched by automated test severs, at this point is typically where other developers will pull the changes into their own branch if they need it. These branches are fluid enough that a particular test case may flag multiple changesets because more than one merge took place since the last time it was run. The merge from that branch into the next branch on the path to release hinges on a code review by a team knowledgeable with that area of the codebase. Once in the branch past the point of code reviews, the review schedule allows for the full test suite to run against those changes before the next round of reviews. It doesn't really hold back development. Once someone is confident enough in the change to merge to a branch with automated testing, they don't even have to think the tests unless a failure report winds up in their inbox. The only time it holds us back is when we need to rush a change from start to release, but that doesn't really consume more developer time, just more time waiting for the package to be ready on the other end. But if we are rushing, QA can start testing that version before our suites finish. I can't say what we're building :(
null
0
1316645417
True
0
c2lm0x2
t3_klypn
null
t1_c2lm0x2
t1_c2lgjc9
null
1427630232
2
t5_2fwo
null
null
null
True
TomorrowPlusX
null
Oh, fuck. Of course - you said as much in the first paragraph :) // I was enjoying your code example and forgot the leadup.
null
0
1316645610
False
0
c2lm1xd
t3_kmshh
null
t1_c2lm1xd
t1_c2llrf4
null
1427630244
3
t5_2fwo
null
null
null
True
Lucas_wedgeworth
null
Nah
null
0
1316645660
False
0
c2lm25t
t3_kmlu2
null
t1_c2lm25t
t3_kmlu2
null
1427630247
-4
t5_2fwo
null
null
null
True
[deleted]
null
http://www.google.com/search?q=old+new+thing+\"It+rather+involved+being+on+the+other+side+of+this+airtight+hatchway\" You'ld be amazed how many people panic and send security vulnerability warnings to Microsoft along the lines of "if an application has full administrator access, it can do this obscure thing which might possibly allow it to do something bad".
null
0
1316645685
False
0
c2lm2a0
t3_kmshh
null
t1_c2lm2a0
t1_c2lk6jc
null
1427630250
16
t5_2fwo
null
null
null
True
gecko
null
It's in between. The GUI libraries are definitely gone. It's easy to track down WinRT's XAML stack and see it sitting directly atop DirectX. So that part's definitely clear. Lower-level stuff isn't quite as clear. Key parts of e.g. `user32.dll` are definitely there, and you can even call them, at least from C++ WinRT applications, by pulling in `windows.h`. I'm actually having a difficult time telling for sure, but I *think* these are proxied over to the existing `user32.dll`, not outright duplicated. And I "know", from speaking to the WinRT devs, that at least some of the asynchronous code (specifically, sockets) is done in terms of existing Win32 APIs (specifically, overlapped I/O). In that sense, they're not fully separate. Medium-level stuff is in between. The console system is gone, as far as I can tell. Copying and pasting (via sharing) appears to be done outside of its old DDE routes, COM apartment event ordering is empirically different on the Metro side v. the Windows 8 side, and so on. I haven't had time to figure out which of these truly are *different*, and which of them are merely heavily wrapped. I'd love for someone to go in and do a full analysis.
null
0
1316645712
False
0
c2lm2fm
t3_kl1qp
null
t1_c2lm2fm
t1_c2lasja
null
1427630252
1
t5_2fwo
null
null
null
True
yogthos
null
He's definitely terrible at doing PR, I'll agree with you there.
null
0
1316645878
False
0
c2lm38o
t3_kl7h0
null
t1_c2lm38o
t1_c2lm0dt
null
1427630262
3
t5_2fwo
null
null
null
True
[deleted]
null
>Bdd is testing it just combines tests with specifications Specification?? So BDD means you're testing that the software does what its supposed to? Any tests that don't do that aren't actually tests.
null
0
1316645979
False
0
c2lm3ra
t3_klypn
null
t1_c2lm3ra
t1_c2lew0u
null
1427630270
3
t5_2fwo
null
null
null
True
JasonMaloney101
null
Several years ago I wrote a few plug-ins for AIM 5.x series which used Windows API hooking. [Info and source code](http://masterjason.com/?page=aim) is available. The interesting stuff is at the bottom of apihook.cpp/h. My approach builds on [Matt Pietrek](http://en.wikipedia.org/wiki/Matt_Pietrek)'s work. It allows you to chain hooks (including those done by other programs), hook delay-loaded APIs, and even cleanly remove hooks when you unload your module. Basically, your Windows program contains a table of all of the function names/ordinals it imports from other modules -- the Import Address Table. When the program is loaded from disk, the loader fills in the IAT with the appropriate function addresses. When your program executes, it uses this table to call imported functions. There are also other ways of importing functions -- delay-loading and raw calls to GetProcAddress(). These are important in cases where, for instance, you are targeting multiple versions of Windows and want to use APIs available in newer versions without your program failing to load on older versions. Delay-load, IIRC, loads the function pointer into the IAT when the API is first called. Using GetProcAddress() allows you to manually obtain a function pointer without using the IAT. It's often important to be able to target all of these methods. The idea is to load a module into a program by some means, and then use that module to rewrite the program's IAT to intercept its calls to APIs with your own functions. From there you can either pass-through to the correct API or return your own result.
null
0
1316646296
False
0
c2lm5bu
t3_kmshh
null
t1_c2lm5bu
t1_c2lkp13
null
1427630291
3
t5_2fwo
null
null
null
True
gatlin
null
This being my first Reddit post I'm likely to seem like a sock puppet, and I can't really dissuade anyone from those feelings, but I embarked on something similar here: https://github.com/gatlin/oyster It only does Perl and only does it server-side. However, this should scale quite well and minimize latency. I'd appreciate comments.
null
0
1316646306
False
0
c2lm5dk
t3_klv3o
null
t1_c2lm5dk
t3_klv3o
null
1427630291
1
t5_2fwo
null
null
null
True
useful_idiot
null
and exactly what i meant.
null
0
1316646354
False
0
c2lm5lo
t3_klrrx
null
t1_c2lm5lo
t1_c2lk03a
null
1427630293
4
t5_2fwo
null
null
null
True
jsprogrammer
null
#N Without this comment you wouldn't know wtf was going on # initialise with un-initialised entries #N Without initialize, @entries required for getEntries won't be initialised
null
0
1316646526
False
0
c2lm6gs
t3_kmk56
null
t1_c2lm6gs
t1_c2lgper
null
1427630305
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316646530
False
0
c2lm6hh
t3_kmmu7
null
t1_c2lm6hh
t1_c2lkri2
null
1427630306
1
t5_2fwo
null
null
null
True
deafbybeheading
null
> ...SQL... (it's special purpose, not turing-complete, for one thing). [Ahem](http://www.valuedlessons.com/2009/08/sql-is-now-turing-complete.html)
null
0
1316646560
False
0
c2lm6mq
t3_kmp73
null
t1_c2lm6mq
t1_c2ll8y6
null
1427630307
5
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316646562
False
0
c2lm6n0
t3_klhlv
null
t1_c2lm6n0
t1_c2li4dj
null
1427630307
1
t5_2fwo
null
null
null
True
stillalone
null
I think you can do something similar with python by replacing the builtins. Not sure how well it works though.
null
0
1316646848
False
0
c2lm81r
t3_kmshh
null
t1_c2lm81r
t1_c2llmu7
null
1427630326
1
t5_2fwo
null
null
null
True
[deleted]
null
Well, that is a recent discovery. For a very long time, your choice was "LAMP pre-installed" or "very expensive host", and most people went with what was affordable and supported everywhere.
null
0
1316646924
False
0
c2lm8fb
t3_kmpyi
null
t1_c2lm8fb
t1_c2lj8so
null
1427630331
2
t5_2fwo
null
null
null
True
[deleted]
null
Use a mutex - two threads/processes accessing the same RAM at the same time is asking for trouble anyway, so you may as well lock it. If you want more complex arrangements and allow multiple simultaneous readers, reader/writer locks can have the first process to commit require a write lock, thus ensuring that once a read lock is granted, the RAM has been initialized appropriately. Late edit: the article implied this, by mentioning that a memory barrier is needed, and that ReleaseMutex does the job.
null
0
1316647114
True
0
c2lm9d1
t3_kmm6g
null
t1_c2lm9d1
t1_c2ll3ke
null
1427630344
1
t5_2fwo
null
null
null
True
agentlame
null
You can escape links with parentheses like so: http://msdn.microsoft.com/en-us/library/windows/desktop/ms644990\(v=vs.85\).aspx Also, [RES](http://reddit.honestbleeps.com) will do it automatically for you.
null
0
1316647297
False
0
c2lma8v
t3_kmshh
null
t1_c2lma8v
t1_c2lkvnf
null
1427630361
2
t5_2fwo
null
null
null
True
AReallyGoodName
null
My first experience with DLL injection was Civ4. Civ4 comes with an SDK that allows you to recreate the main game DLL from source. You can easily could alter that DLL to always reveal the map and you can load that mod in game if you wanted to play single player. For multiplayer you could do DLL injection to replace the real DLL with the modded one on the fly. This meant a multiplayer map hack was trivial to create. Just Google DLL injection for 1000000 tutorials.
null
0
1316647343
False
0
c2lmah3
t3_kmshh
null
t1_c2lmah3
t1_c2lkgd1
null
1427630361
6
t5_2fwo
null
null
null
True
BobAlmighty
null
I'm tired of the LAMP stack, but I don't see my favorite set of stacky-block type listed on the site! I usually go for a [fuck shit stack](http://www.youtube.com/watch?v=tjayrv8HSP4) these days. It's a much smaller footprint with incredible scalability. You should see my wall, it's totally covered in fuck and shit. Basically, all you have to do to utilize this power in your own web apps is to take some fuck and some shit and some fuck and some shit, and throw it in the cloud. BAM. You're leveraging the power of a fuck shit stack in the CLOUD. And as we all know, this is the future.
null
0
1316647366
False
0
c2lmal7
t3_kmpyi
null
t1_c2lmal7
t3_kmpyi
null
1427630361
1
t5_2fwo
null
null
null
True
[deleted]
null
I'd argue that Google didn't invent the map/reduce concept, even though they certainly popularized it under the name MapReduce. It's neat that a lot of old ideas are getting used, but things are being used by people who weren't even born when they were invented - and that's not a revolution.
null
0
1316647514
False
0
c2lmbcq
t3_kks00
null
t1_c2lmbcq
t1_c2l8iqd
null
1427630369
1
t5_2fwo
null
null
null
True
backbob
null
Where is spring, struts? jquery, Prototype.js?
null
0
1316647557
False
0
c2lmbk9
t3_kmpyi
null
t1_c2lmbk9
t3_kmpyi
null
1427630371
1
t5_2fwo
null
null
null
True
Tangled2
null
BTW: more than one app can run at once, look at "snapped" mode.
null
0
1316647727
False
0
c2lmcf1
t3_kl7h0
null
t1_c2lmcf1
t1_c2l74wh
null
1427630382
2
t5_2fwo
null
null
null
True
gc3
null
I want the patents to be source code so the language is exact and not vague. This better describes the process of building a replica. Currently the patents tend to be vague. I would have no problem if the patent applied to things that were not written the exact same way, but the fact that it is source code would make it more exacting and less liable to abuse.
null
0
1316647780
False
0
c2lmcob
t3_klqte
null
t1_c2lmcob
t1_c2lh2dz
null
1427630386
1
t5_2fwo
null
null
null
True
baltaz
null
Some PHP devs may be familiar with this one... > Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM it's so retarded i don't even know where to start.
null
0
1316648048
False
0
c2lmdzg
t3_klhlv
null
t1_c2lmdzg
t3_klhlv
null
1428193538
1
t5_2fwo
null
null
null
True
akoprowski
null
Of course the choice of the language also highly depends on the task at hand. For web-based projects I'd suggest taking a look at the very interesting new kid on the block: Opa (http://opalang.org). It certainly shines when it comes to verbosity of programs hence offering high productivity. Also by presenting unified solution for web technology stack it completely removes many security threats (such as SQL injections, or cross-site scripting, XSS).
null
0
1316648437
False
0
c2lmfw5
t3_kn8ra
null
t1_c2lmfw5
t3_kn8ra
null
1427630437
-6
t5_2fwo
null
null
null
True
grauenwolf
null
Ah yes, I forgot about that.
null
0
1316648464
False
0
c2lmg12
t3_kl7h0
null
t1_c2lmg12
t1_c2lmcf1
null
1427630437
1
t5_2fwo
null
null
null
True
adolfojp
null
What is the intent of this line? UpdateableList<Person> updated = list1.Update(list2); Please don't answer with "I'm just trying to update a list."
null
0
1316648495
False
0
c2lmg6t
t3_kn9oj
null
t1_c2lmg6t
t3_kn9oj
null
1427630440
1
t5_2fwo
null
null
null
True
Tobar7
null
Feature for VIRUS Writers
null
0
1316648567
False
0
c2lmgiv
t3_kmshh
null
t1_c2lmgiv
t1_c2linob
null
1427630445
0
t5_2fwo
null
null
null
True
beforethewind
null
I checked out the comments to this post first, saw this, and was quickly disappointed, thinking your were bombed into oblivion with trolls, but I was pleasantly surprised to learn that the thanks were legitimate. Great work.
null
0
1316648737
False
0
c2lmhcc
t3_klrrx
null
t1_c2lmhcc
t1_c2lej2j
null
1427630457
1
t5_2fwo
null
null
null
True
mvaliente2001
null
> Forth is only unreadable if you use it wrong, And that's one of the reasons why "Starting FORTH" is such a good book. Sadly, it came late to my life. I spent all my college years writing long, unreadable programs for my HP-48S.
null
0
1316648977
False
0
c2lmiik
t3_kkegr
null
t1_c2lmiik
t1_c2l8sgn
null
1427630471
2
t5_2fwo
null
null
null
True
nemec
null
Does it really? I have RES... and it didn't seem to fix it. Anyways, thanks for letting me know, I should have checked my comment over after posting.
null
0
1316649064
False
0
c2lmiy3
t3_kmshh
null
t1_c2lmiy3
t1_c2lma8v
null
1427630481
2
t5_2fwo
null
null
null
True
BobAlmighty
null
It's a sparse list, for sure.
null
0
1316649399
False
0
c2lmkjo
t3_kmpyi
null
t1_c2lmkjo
t1_c2lmbk9
null
1427630491
1
t5_2fwo
null
null
null
True
8-bit_d-boy
null
I love programmer jokes.
null
0
1316649836
False
0
c2lmmoo
t3_knafe
null
t1_c2lmmoo
t3_knafe
null
1427630523
5
t5_2fwo
null
null
null
True
freyrs3
null
[This video](http://www.dailymotion.com/video/xksmk2) does it more justice. Actually looks like a fairly interesting way of manipulating sexps.
null
0
1316649840
False
0
c2lmmpx
t3_kmp75
null
t1_c2lmmpx
t3_kmp75
null
1427630533
6
t5_2fwo
null
null
null
True
ZorbaTHut
null
Without the patent system, they wouldn't. The sheer existence of copyrights and patents is the government allowing them to restrict other people's use of the ideas. I'm fine if there are restrictions on this.
null
0
1316649977
False
0
c2lmnda
t3_klqte
null
t1_c2lmnda
t1_c2llele
null
1427630529
0
t5_2fwo
null
null
null
True
perone
null
May 2010
null
0
1316650023
False
0
c2lmnkc
t3_kna57
null
t1_c2lmnkc
t3_kna57
null
1427630532
-5
t5_2fwo
null
null
null
True
agentlame
null
I phrased that poorly. It would not have helped your comment, rather when you use the link button to convert text to a hyperlink, like [so](http://msdn.microsoft.com/en-us/library/windows/desktop/ms644990\(v=vs.85\).aspx). My bad.
null
0
1316650462
True
0
c2lmplf
t3_kmshh
null
t1_c2lmplf
t1_c2lmiy3
null
1427630555
1
t5_2fwo
null
null
null
True
Amp3r
null
I believe he was agreeing with you along the lines of "wow that is a ridiculous concept. I am officially outraged!"
null
0
1316650500
False
0
c2lmpr8
t3_klqte
null
t1_c2lmpr8
t1_c2lfpyb
null
1427630566
1
t5_2fwo
null
null
null
True
anttirt
null
That's of course very, *very* different because you can actually control (in a coarse-grained manner, admittedly) which implicits you have in scope, as opposed to Ruby monkey-patching where you're just shit out of luck. You can also import implicits into any lexical scope, not just namespace or class scope, so you can have very fine-grained control of where some set of implicits is available and where it's not.
null
0
1316650502
False
0
c2lmprl
t3_kmshh
null
t1_c2lmprl
t1_c2llmu7
null
1427630566
7
t5_2fwo
null
null
null
True
nyamatongwe
null
Thanks for this. I was also under the impression that WinRT was not going to be useable for desktop applications which would make it more difficult to share code between the two environments. The sort of scenario I am thinking of is where you produce a 'pro' variant of an application which offers functionality that can't be sandboxed in a complex UI and a 'safe' variant that has a simplified 'metro' UI and runs within the limitations of the sandbox.' WinRT looks like an improvement over Win32 so should be available for desktop applications which will remain important for quite some time if not forever.
null
0
1316650526
False
0
c2lmpvv
t3_kmsmr
null
t1_c2lmpvv
t3_kmsmr
null
1427630559
4
t5_2fwo
null
null
null
True
[deleted]
null
Hah, alright then Ruby, you win this round....
null
0
1316650561
False
0
c2lmq12
t3_klypn
null
t1_c2lmq12
t1_c2li31y
null
1427630562
1
t5_2fwo
null
null
null
True
Wofiel
null
If you press the Link button it will.
null
0
1316650703
False
0
c2lmqoj
t3_kmshh
null
t1_c2lmqoj
t1_c2lmiy3
null
1427630570
1
t5_2fwo
null
null
null
True
fabiensanglard
null
Gratz on the MSc (which University ?). Regarding the "Programming Black Book" the short answer is "no", you will not benefit directly from reading it if you want to program rasterization based GPUs. BUT I still think it is a very good idea to know how a software renderer work: * Old techniques will power your brain with new ideas (the polygon codec that I wrote for "SHMUP" is a direct extension of Quake PVS. * You can still make a lot of money with software rendering: Michael Abrash made a couple of millions recently writing a software DirectX9 renderer. * Last but not least: Raytracers will end up winning the game engine race, it is always an asset to have an extensive knowledge of different rendering techniques.
null
0
1316650888
True
0
c2lmrk6
t3_klrrx
null
t1_c2lmrk6
t1_c2ll72m
null
1427630584
3
t5_2fwo
null
null
null
True
fabiensanglard
null
Thanks, any website/videos so I can see what you have done so far ?
null
0
1316650988
False
0
c2lms16
t3_klrrx
null
t1_c2lms16
t1_c2lko41
null
1427630591
2
t5_2fwo
null
null
null
True
tau-lepton
null
Sweet, did not know this was coming, can the concept be ported to JavaScript?
null
0
1316651221
True
0
c2lmt3n
t3_kmshh
null
t1_c2lmt3n
t1_c2llm2i
null
1427630603
1
t5_2fwo
null
null
null
True
fabiensanglard
null
I was estatic because so many things are easy to do: * All whitespace characters are conveniently set before "SPACE", if you are writing a lexer and you are writing a skipWhiteSpace method (something very common when you are generating token for the parser) you just have to do a while (currentCharacter < 32) currentCharacter++ * If you want to convert to upperCase or lowerCase: Just subtract or add 32. * Convert from ASCII to integer is just about doing character - '0'. They could have throw all the characters at random but it seems they thought about a lot of tasks you may want to perform and organized the characters in a very convenient way.
null
0
1316651331
False
0
c2lmtmt
t3_klrrx
null
t1_c2lmtmt
t1_c2lel4l
null
1427630609
3
t5_2fwo
null
null
null
True
[deleted]
null
Take a book. It's more efficient.
null
0
1316651424
False
0
c2lmu3f
t3_kn9fk
null
t1_c2lmu3f
t3_kn9fk
null
1427630614
-21
t5_2fwo
null
null
null
True
[deleted]
null
:)
null
0
1316651727
False
0
c2lmvip
t3_klypn
null
t1_c2lmvip
t1_c2lmq12
null
1427630641
1
t5_2fwo
null
null
null
True
sltkr
null
Maybe the processor does not recognize it as a true NOP. That would explain why they use an "obscure" register like EDI instead of something common like EAX: that avoids creating a false register dependency that might hold up the pipeline. (IIRC there are also true multibyte NOP instructions, but they aren't compatible with early x86 processors.)
null
0
1316651790
False
0
c2lmvt3
t3_kmshh
null
t1_c2lmvt3
t1_c2lljas
null
1427630655
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316651893
False
0
c2lmwak
t3_kmshh
null
t1_c2lmwak
t1_c2ll27v
null
1427630654
5
t5_2fwo
null
null
null
True
rossryan
null
The question is, why? Microsoft has C#, which it has been promoting the hell out of for the past several years, and is incredibly addictive for all programmers young and old. It's one of the GOOD things that MS has done recently, and complaints stem mostly from it not being open-source (there's Mono, but it's not complete enough, they complain, plus possible patent issues, they say). And with Sing#, you supposedly can do more low level programming, like in C. So, why are they suddenly switching tunes? They've downplayed Silverlight, removed cut and paste from the Windows Mobile platform, are tuning Windows 8 to be a tablet OS, and now want to go back to C++. Is Ballmer just copying Steve Job's approach? MS doesn't have Objective-C, but it has C++, and that's kind of similar, so let's move the company that way? Next they'll be selling off the Visual Studio division, because they want to invest more money in the DRM division. Or the Office division, because they need more money for the Cloud division. I cannot be sure, but I'd think Gates would have sat Ballmer down, before he left the company, and explained to him that if anything happened to the Windows, Office, or Visual Studio divisions...well, think dark. Someone should inform Ballmer that his efforts should be focused on completing the migration of the Win32 APIs and what not to managed classes. They're part of the way there right now, and no one would argue against their completion; most would openly favor it. MS can focus on other markets after it makes sure that it completes its homework.
null
0
1316651947
False
0
c2lmwl0
t3_klgme
null
t1_c2lmwl0
t1_c2lcr4t
null
1427630659
1
t5_2fwo
null
null
null
True
rossryan
null
Indeed. They need to complete the bloody migration. Or I'll have [Dllimport] statements continuing to litter my code.
null
0
1316652087
False
0
c2lmx9n
t3_klgme
null
t1_c2lmx9n
t1_c2llmup
null
1427630664
1
t5_2fwo
null
null
null
True
vee-eye
null
Personally, I much prefer: int numberOfShotDucks = 0;
null
0
1316652160
False
0
c2lmxo4
t3_kmk56
null
t1_c2lmxo4
t1_c2llv4o
null
1427630667
17
t5_2fwo
null
null
null
True
[deleted]
null
REX isn't redundant, it's used to do things like specify 64-bit operands (most instructions default to 32 bits, even in long mode.) And as far as I know using multiple REX instructions will cause an invalid opcode trap. edit: Ah, I see what you mean, it's entirely possible to create a NOP that includes a REX prefix... but why do that when **mov edi, edi** works in 64 bit mode?
null
0
1316652167
True
0
c2lmxpk
t3_kmshh
null
t1_c2lmxpk
t1_c2lj9jv
null
1427630667
1
t5_2fwo
null
null
null
True
thedude42
null
I hear the song, yet I have no idea where I actually heard it... maybe YTMND? I don't even know if it's late 90's or 200X's.
null
0
1316652495
False
0
c2lmzcq
t3_kmshh
null
t1_c2lmzcq
t1_c2lkgwy
null
1427630686
-2
t5_2fwo
null
null
null
True
[deleted]
null
I know for sure that 2-byte NOPs like 89 FF (**mov di,di** in 16-bit mode, **mov edi,edi** in 32-bit mode) go all the way back to the 8086. You could probably get it up to 4 bytes on an 8086 by doing something like **repne lock mov di,di**, although that would require setting the flags properly and would cause an invalid opcode on the 386+ which only allows LOCK on certain instructions. edit: bobindashadows is referring to the fact that i686 processors introduced an official multi-byte NOP sequence that is recognized and discarded by the instruction decoder.
null
0
1316652641
True
0
c2ln024
t3_kmshh
null
t1_c2ln024
t1_c2llkkv
null
1427630706
5
t5_2fwo
null
null
null
True
deadwisdom
null
Really, have an example?
null
0
1316652760
False
0
c2ln0n0
t3_kmshh
null
t1_c2ln0n0
t1_c2lktv7
null
1427630708
1
t5_2fwo
null
null
null
True
ProudToBeAKraut
null
kids these days, its the outhere brothers and they were in the top10 of the mtv music video charts!
null
0
1316652768
False
0
c2ln0om
t3_kmshh
null
t1_c2ln0om
t1_c2lmzcq
null
1427630709
0
t5_2fwo
null
null
null
True
deadwisdom
null
You have this backwards.
null
0
1316652839
False
0
c2ln10d
t3_kmshh
null
t1_c2ln10d
t1_c2lk4m3
null
1427630712
2
t5_2fwo
null
null
null
True
[deleted]
null
Who the hell downvoted this?!?!
null
0
1316652867
False
0
c2ln15g
t3_kmp75
null
t1_c2ln15g
t1_c2libmn
null
1427630714
-6
t5_2fwo
null
null
null
True
Ph0X
null
[Enjoy.](http://www.youtube.com/watch?v=34z5DGZMf_s)
null
0
1316652947
False
0
c2ln1j4
t3_kmshh
null
t1_c2ln1j4
t1_c2lmzcq
null
1427630717
1
t5_2fwo
null
null
null
True
deadwisdom
null
But as Dxvix says, "but only if nothing else works". For eventlet/greenlets nothing else works, and so you do it, but the documentation is very clear that craziness is happening.
null
0
1316652947
False
0
c2ln1j5
t3_kmshh
null
t1_c2ln1j5
t1_c2lki08
null
1427630717
2
t5_2fwo
null
null
null
True
GTChessplayer
null
Not really. Government only drives the price of education up anyways. Did you know for every dollar of financial aid given by your precious government, it actually *causes* the price of education to rise by more than $1?
null
0
1316653112
False
0
c2ln29h
t3_klqte
null
t1_c2ln29h
t1_c2lledo
null
1427630728
-1
t5_2fwo
null
null
null
True
lighthill
null
So *that's* what Windows people do instead of LD_PRELOAD! I had been wondering. For Windows folks who haven't used it: with Unixy dynamic linkers, if you want to run an application using library A, but replace some of the functions with alternative versions provided in library B, you set an environment variable to tell the dynamic linker to load library B first, and look for functions there before looking in whatever library you'd ordinarily search. It's a lot easier in practice than hotpatching. I'm not trying to put down Windows here, btw: anybody who has the guts to overwrite their library code with machine instructions on the fly is nobody to take lightly. ETA: Oh god it's worse than that; you do this on _running code_.
null
0
1316653307
True
0
c2ln353
t3_kmshh
null
t1_c2ln353
t3_kmshh
null
1427630741
7
t5_2fwo
null
null
null
True
thedude42
null
No, see, I'm old is the deal.
null
0
1316653307
False
0
c2ln354
t3_kmshh
null
t1_c2ln354
t1_c2ln0om
null
1427630741
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316653642
False
0
c2ln4r2
t3_kmshh
null
t1_c2ln4r2
t1_c2linob
null
1427630759
1
t5_2fwo
null
null
null
True
niloc132
null
In fairness, it sounds like that activity is best done in running memory, as opposed to modifying both memory and the dll on disk.
null
0
1316653829
False
0
c2ln5no
t3_kmshh
null
t1_c2ln5no
t1_c2ln4r2
null
1427630769
1
t5_2fwo
null
null
null
True
Nine99
null
No, it's Reel 2 Real feat. The Mad Stuntman.
null
0
1316653992
False
0
c2ln6fw
t3_kmshh
null
t1_c2ln6fw
t1_c2ln0om
null
1427630776
7
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316654306
False
0
c2ln7yo
t3_klhlv
null
t1_c2ln7yo
t1_c2lhf8g
null
1427630801
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316654408
True
0
c2ln8k6
t3_kmshh
null
t1_c2ln8k6
t1_c2ln5no
null
1427630804
2
t5_2fwo
null
null
null
True
ezekiel
null
I comment code so that the next guy who sees the code (a) knows what it does and (b) knows why the code must stay there. I write such comments in positive active voice--implying the negative. Stating a purpose *positively* just seems more direct.
null
0
1316654494
False
0
c2ln8zi
t3_kmk56
null
t1_c2ln8zi
t1_c2lliur
null
1427630819
4
t5_2fwo
null
null
null
True
thealliedhacker
null
... that's why virtual machines exist >_>
null
0
1316654504
False
0
c2ln91f
t3_kmshh
null
t1_c2ln91f
t1_c2lkixt
null
1427630810
2
t5_2fwo
null
null
null
True
badsectoracula
null
To answer his question: AFAIK, FRAPS does hot patching of Direct3D calls to insert its own code for capturing the frames and modifying the frame buffer.
null
0
1316654612
False
0
c2ln9jp
t3_kmshh
null
t1_c2ln9jp
t1_c2linob
null
1427630817
3
t5_2fwo
null
null
null
True
ryancwarren
null
Just an example to show that the updated list only contains one record.
null
0
1316654967
False
0
c2lnb8j
t3_kn9oj
null
t1_c2lnb8j
t3_kn9oj
null
1427630841
1
t5_2fwo
null
null
null
True
badsectoracula
null
In Windows you just place the DLL files at the same place as the executable. Alternatively, you place them somewhere in the PATH environment variable. For something you want to constantly run with custom DLLs you might want to create a batch file like @echo off set oldpath=%path% set path=%cd%\newlibs;%path% theprogram.exe set path=%oldpath% or something like that (i'm in Mac OS X now so i can't test it, but i've seen it in a bunch of programs that distribute their own DLLs in subdirectories instead of the same directory as the executable).
null
0
1316655013
False
0
c2lnbgq
t3_kmshh
null
t1_c2lnbgq
t1_c2ln353
null
1427630842
4
t5_2fwo
null
null
null
True
a_redditor
null
/r/learnprogramming
null
0
1316655228
False
0
c2lncic
t3_kn9oj
null
t1_c2lncic
t3_kn9oj
null
1427630856
3
t5_2fwo
null
null
null
True
adzm
null
I meant in terms of, for example, the REX before the push at the start of a function. It exists only for patching.
null
0
1316655284
False
0
c2lncro
t3_kmshh
null
t1_c2lncro
t1_c2lmxpk
null
1427630859
2
t5_2fwo
null
null
null
True
akkartik
null
No, the negative comment for every comment would be, "But, but.. I have people skills!"
null
0
1316655291
False
0
c2lncsx
t3_kmk56
null
t1_c2lncsx
t1_c2lm6gs
null
1427630859
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316655384
True
0
c2lnd8s
t3_klv9k
null
t1_c2lnd8s
t1_c2lh7nf
null
1427630865
1
t5_2fwo
null
null
null
True
BrianAtDTS
null
Getting developers to even use a relational database is more of a challenge than using indexes these days.
null
0
1316655711
False
0
c2lneri
t3_kmp73
null
t1_c2lneri
t3_kmp73
null
1427630885
-2
t5_2fwo
null
null
null
True
YesButIThink
null
But how can you know without a comment that numberOfShotDucks represents the number of shot ducks?
null
0
1316656065
False
0
c2lnglo
t3_kmk56
null
t1_c2lnglo
t1_c2lmxo4
null
1427630908
7
t5_2fwo
null
null
null
True
null_vector
null
I recommend not using gevent for this very reason. Done.
null
0
1316656169
False
0
c2lnh5v
t3_kmshh
null
t1_c2lnh5v
t1_c2ln0n0
null
1427630915
15
t5_2fwo
null
null
null
True
hackinthebochs
null
It's not that simple. If my hands aren't already at the "home keys" on the keyboard, it usually takes me more time to fumble around before my hands are in the correct initial position for me to be able to accurately tap out a keyboard shortcut. If my hand is already on the mouse, its just a couple of clicks. Most of my development time is spent looking at documentation, searching google, or looking up example code in the code base to pattern my current code after. For those processes, my hand is already on the mouse so two or three clicks will be faster. As an example of this, I use ctrl-c/ctrl-v when my hands are already on the keyboard, and right click when my hand is already on the mouse. Not to mention that my accuracy at hitting ctrl-based keyboard shortcuts leaves a lot to be desired. Even when my hands are on the keyboard I usually have to look to accurately hit ctrl+another key. That might be my own personal quirk though.
null
0
1316656233
False
0
c2lnhi0
t3_klv9k
null
t1_c2lnhi0
t1_c2lnd8s
null
1427630921
1
t5_2fwo
null
null
null
True
[deleted]
null
>RMS has said directly and repeatedly that no one should create proprietary software: That's right. Should does not mean "forced to". The GPL is a voluntary exchange in order to encourage that.
null
0
1316656309
False
0
c2lnhw1
t3_kl7h0
null
t1_c2lnhw1
t1_c2llpat
null
1427630927
1
t5_2fwo
null
null
null
True
acecool
null
it would be nice to have this as a standalone binary like JSDB or DMDscript so that I dont have to be online to use it. Also it would be nice to have it integrated into a window editor like Scite or DrScheme.
null
0
1316656323
False
0
c2lnhyi
t3_klv3o
null
t1_c2lnhyi
t1_c2lczv6
null
1427630927
1
t5_2fwo
null
null
null
True
NTMLVF
null
In the days when I used the alpine mailer my headers were... X-Apparently-From: mars, X-Contents: May contain traces of nuts., X-Originating-IP: 127.0.0.1, X-Mailer: Pidgeon Post, X-Complaints-to: /dev/null
null
0
1316656369
False
0
c2lni7u
t3_kmevq
null
t1_c2lni7u
t3_kmevq
null
1427630930
18
t5_2fwo
null
null
null
True
dmercer
null
I'm sure it does all this, it just doesn't have a nice interface to it: * A nice snippet system * Record and playback macros * Search for text in files in a directory (and subdirectories) * Ability to open a URL
null
0
1316656472
False
0
c2lniqn
t3_k9akm
null
t1_c2lniqn
t1_c2ijhby
null
1427630937
1
t5_2fwo
null
null
null
True
[deleted]
null
>Because he hate license that only gives to those who also gives. That doesn't apply to the GPL. The GPL gives to everybody equally. >Because he gives without forcing other to gives that's why he hate license that only gives by forcing those who takes to gives also. That's not even a proper english sentence. If he likes giving he should like the GPL. BTW GPL does not force anybody to do anything. It's a voluntary exchange. >He feel it is less generous, because it's selfish and only gives to those who are in the same group as it. Well in that case he is wrong and doesn't really know what he is talking about.
null
0
1316656578
False
0
c2lnjas
t3_kl7h0
null
t1_c2lnjas
t1_c2lioj3
null
1427630947
1
t5_2fwo
null
null
null
True
[deleted]
null
>That if it were RMS and hurd that got popular instead of Linux. It would in no time be converted to Affero-GPL once it becomes wide-spread. So that it can force as much software to become GPL infected as possible. Yea again I don't see the point. What is the significance of this line of speculation? >I was talking about RMS's ideal world. If it were up to RMS, he would have wanted that there's no choice that is a closed OS. In my Ideal world I would be swimming in hookers and blow. So what? >Again, I have already said that regarding RMS's ideal world. you know I am getting tired of this shit. Why don't you talk about the real world for a while and see if that gets us anywhere. >But what if, in hypothetical RMS ideal world, practically all infrastructure library are infected by GPL license. What if in hypothetical RMS world monkeys were flying out your butt?
null
0
1316656737
False
0
c2lnk5d
t3_kl7h0
null
t1_c2lnk5d
t1_c2lin0m
null
1427630955
1
t5_2fwo
null
null
null
True
Ralith
null
As much as I love the Linux dynamic linker, Windows has that feature as well, as badsectoracula explains. Not only that, but sometimes you *need* to modify running code—to close a security hole in a server that cannot be halted, for example.
null
0
1316656741
False
0
c2lnk6e
t3_kmshh
null
t1_c2lnk6e
t1_c2ln353
null
1427630956
17
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316656760
False
0
c2lnk8o
t3_kmlu2
null
t1_c2lnk8o
t1_c2lheyt
null
1427630956
0
t5_2fwo
null
null
null
True
[deleted]
null
I am reading your words.
null
0
1316656849
False
0
c2lnkqa
t3_kl7h0
null
t1_c2lnkqa
t1_c2li0st
null
1427630963
0
t5_2fwo
null
null
null
True
[deleted]
null
>Please, explain to me how it sucks. It sucks because any one of a thousand things can go wrong. It's just risky behavior for no gain. It's foolishness.
null
0
1316656954
False
0
c2lnl8n
t3_kgl4f
null
t1_c2lnl8n
t1_c2lht97
null
1427630969
0
t5_2fwo
null
null
null
True
[deleted]
null
That was.... interesting. Like a dental exam.
null
0
1316657163
False
0
c2lnmbr
t3_kmk56
null
t1_c2lnmbr
t3_kmk56
null
1427630983
1
t5_2fwo
null
null
null
True
spit334
null
I have heard that CS50 is awesome.
null
0
1316657257
False
0
c2lnmsz
t3_kn9fk
null
t1_c2lnmsz
t3_kn9fk
null
1427630991
13
t5_2fwo
null
null
null
True
jsully
null
Virtualization in and of itself isn't a solution for making things more secure. An unpatched machine with a 15 year old OS is still an unpatched machine with a 15 year old OS, regardless of whether or not it's virtualized. Your hypervisor will be fine, but your VM (the one that's running your mission critical app) will be owned in no time.
null
0
1316657295
False
0
c2lnn0k
t3_kmshh
null
t1_c2lnn0k
t1_c2ln91f
null
1427630993
11
t5_2fwo
null
null
null
True
[deleted]
null
Honestly nothing impressive in there. Just some throwaway stuff. Still doesn't explain your hatred of the GPL and RMS. Seems like you are an irrational zealot.
null
0
1316657342
False
0
c2lnn80
t3_kl7h0
null
t1_c2lnn80
t1_c2lh4s7
null
1427630995
-1
t5_2fwo
null
null
null
True
teem
null
I'm using Chrome on a Mac. That may be why.
null
0
1316657411
False
0
c2lnnmy
t3_kmshh
null
t1_c2lnnmy
t1_c2lkyh7
null
1427631009
-2
t5_2fwo
null
null
null