« first day (947 days earlier)      last day (3987 days later) » 

9:00 PM
Where does SO takes money from?
 
user142019
Advertisements.
 
user142019
Careers.
 
may i should turn off adblockplus on so
 
The only advertisement I see are from the stack exchange network
 
Xeo
@Jeffrey Registered peeps see less adverts
(or was it at 15 rep? something like that)
 
user142019
9:02 PM
The more rep you have the less ads you see.
 
user142019
If you have 2k it becomes much less.
 
@rightfold really?
 
user142019
Yes.
 
3:14 PM. See what I did there?
 
user142019
Probably because they don't want to annoy great contributors.
 
9:02 PM
I just logged off and I haven't seen a single external ad...
 
So basically cool people hardly have any ads? /cc @Xeo @Mysticial @JerryCoffin
 
user142019
@Tuntuni meaningless digits.
 
user142019
@Jeffrey disable ABP
 
@rightfold n00b rightfold
 
Xeo
@Borgleader ya, only the careers one on the right
 
9:03 PM
I think it's a lot lower for the adds to be reduce... 1.5 k perhaps
 
@rightfold ABP? I don't have any Ad Block...
 
Xeo
(I have ABP disabled too)
 
user142019
Employers must pay shitloads of money for posting jobs.
 
user142019
I don't have ABP.
 
user142019
I have AdBlock. :P
 
9:03 PM
What is ABP?
 
user142019
Adblock Plus
 
AdBlock Plus
 
Ah
 
user142019
Adblock Plus, not AdBlock Plus
 
One letter difference?
 
user142019
9:04 PM
There is Adblock Plus and there is AdBlock and they do exactly the same thing.
 
Ell
Who wants to help me get permissions from a windows process? :D
 
@rightfold i put them in caps so it would be more obvious where ABP comes from
 
So they don't take money from advertising...
 
@Ell Are you hosting the code online somewhere?
 
Ell
I'll put it up now
 
9:05 PM
And careers was launched very recently...
How did they make their money?
 
Ell
But seriously. The code is terrible. You need a welding mask to see it without being blinded
To give you a clue, it has system("pause"); at the bottom :p
 
user142019
@Jeffrey Ads.
 
user142019
@Jeffrey Like, years ago.
 
@rightfold max 3 years ago
 
user142019
And how old is Stack Exchange? Exactly.
 
9:06 PM
@Ell Oh dear, I better prepare. :P Bitbucket?
 
user142019
So not really that recently.
 
@Ell Aha. I thought it was bigger.
 
Ell
Nah, pretty small
 
user142019
 
user1182183
9:07 PM
so... I updated a whole game from C++6 to VS2012.... finally every subproject compiled fine, 0 errors.... and now... I think I'm going to die.... and this is why. :/
 
@rightfold 2008 I think...
 
@Ell You could use std::cin.get() for pausing.
 
@rightfold and yet I still comprehend what I did before this site :P
 
I rebuilt every god damn package in my system /gnome/kde/qt/gcc/boost in the time it is taking GHC to compile
 
user1182183
6662 linker errors -.-'
 
user142019
9:07 PM
I programmed in PHP before using Stack Overflow.
 
@ThePet LOL. Nuke'd.
 
Ell
@ThePet aww linker errors are the worst :l
 
user142019
I visited Smashing Magazine each day.
 
Me too
 
@rightfold we all have a dark past
 
9:08 PM
@thecoshman toothpaste?
 
user142019
And some other web designing blogs.
 
shh you
 
user1182183
well if anyone wants to help figure out the linker errors........
 
user1182183
appreciated
 
You have to link the libs that your program uses.
No other way.
 
user1182183
9:09 PM
in VC__6 it compiles fine.. XD
 
Ell
@Tuntuni Ahh thanks. Any other ideas about privelages/security. I'm looking through the docs, I don't know how to do this :S
 
@ThePet Then setup your new environment to do the same.
 
did you rebuild?
 
user1182183
hm will try
 
user1182183
ye
 
9:10 PM
The problem may have something to do with warning MSB8012: TargetPath(C:\Files\DR2SRC\appdr2\.\../Debug/appdr2\appdr2.exe) does not match the Linker's OutputFile property value (C:\Files\DR2SRC\Debug\appdr2\dr2.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
 
user1182183
freakin 20 minutes
 
@Ell Ehh I can't remember the last time I used WinAPI. Probs somewhere around summer.
 
Recompile all the libs!
 
@Ell Can you really check HWND against a nullptr? Isn't there a special INVALID_HANDLE value?
 
Ell
@Tuntuni I think it's just NULL/0
 
9:10 PM
@Tuntuni hwnd is not HANDLE, it's different type
 
@Abyx Of course it is. HWND = WINDOW HANDLE
They're both void*
It is just to make the programmer's life "easier"
 
user142019
ITT terrible untyped APIs.
 
To be able to differentiante between them
@rightfold Spot on.
 
@ThePet I would recreate the project, things like atexit not being there mean there is something really messed up with the linking order
 
user1182183
@Mikhail I'll try to re-add the libraries and reorder the stuff ye
 
9:12 PM
@Ell Does everything work so far?
 
HWND isn't actually a void*. It's some kind of struct IIRC
 
@mwerschy No. It is a void* that points to a struct which we know nothing about. The user can never know what's there, only the OS.
 
Ell
@Tuntuni Everything works, until I try to WriteProcessMemory where I get "Access Denied"
 
@ThePet I think you need to make a new project and import all the C++
 
@mwerschy it's a typedef
 
9:12 PM
its not. one sec ;)
 
user1182183
@Mikhail will try that as second ;f
 
@mwerschy Eh, I hope my memory serves me well. :P
 
Found it. #define DECLARE_HANDLE(name) struct name##__{int unused;}; typedef struct name##__ *name
 
@mwerschy no, it really is.
 
@Ell Aha.
 
9:13 PM
any function that takes a 'HWND' can be passed a void*
 
@mwerschy Cba to substitute.
 
@Tuntuni this
 
Well HWND is DECLARE_HANDLE(HWND) in windef.h. So idk
 
Yeah, which is a macro.
Now s/name/HWND
 
Which makes a struct.
 
9:15 PM
struct HWND__ {int unused;}; typedef struct HWND__ *HWND;
wot
 
Yup.
Exactly that
And you can't actually pass a void* as a HWND. I just tried.
 
hmm...
 
you can pass an int though i think
 
there is some basic type though that is just a void*
 
Yes. You're thinking of HANDLE
 
9:18 PM
@Ell Hmm. Did you try changing PROCESS_VM_OPERATION to PROCESS_ALL_ACCESS?
 
probably am. I just remember the win api being terrible terrible stuff that should have been taken out back years ago
 
Haha
 
^^ I totally agree.
 
I wonder if they are ever going to write it in pure C++.
 
user142019
No.
 
9:19 PM
Had some fun a few days ago with the winapi not supporting thiscall
 
user142019
That would involve spending time and money.
 
Too bad.
 
user1182183
eh shit the order of libraries matters in "input" in "libraries" in VS? :/
 
user142019
Because Windows is closed-source software nobody outside of Microsoft can contribute to.
 
@Tuntuni nope
 
9:20 PM
@rightfold Well, don't they get tired of the shitty C interface?
 
I am sure there is a good C++ wrapper for it somewhere... well maybe not a good one :P
 
@ThePet if s/shit/should, then no
 
user142019
They use .NET.
 
Fuck dat. :3
 
user142019
You should use .NET too.
 
9:22 PM
I did for a while.
C#.
C++ interests me more.
 
user1182183
ok reduced it to 164 linker errors ;f
 
@rightfold the old foo/**/*.o thingy, does foo have to contain stuff, or will gcc look in all folders anyway? so like can I used bin/obj/**/*.o and have compiled code in bin/obj/src/foo/bar etc.
 
user142019
** means recursive lookup.
 
cose shit aint seeing shit!
 
user142019
So yeah bin/obj/foo/bar would work.
 
Ell
9:23 PM
@Tuntuni Aha no exception anymore!
(But also nothing I want xD)
 
Hmm I should probably go and rewrite a plugin I wrote for OllyDbg. It has new and delete[] all over the place, LOL.
 
user142019
@thecoshman Where are you invoking GCC?
 
@Ell Nothing happens?
 
user142019
Because ** and * are shell (Bash/Z shell) things, not GCC things.
 
@rightfold from project root
 
Ell
9:24 PM
@Tuntuni Yeah. But I think that might be my .dll
 
ah...
 
user1182183
ideone.com/C7KQji <- what the hell, ios base linker errors? ; o
 
@Ell What is the dll supposed to do?
 
I though it was gcc doing that magic :P
hmm... need to find out if invoking that shit via perl will allow that expansion...
 
Ell
@Tuntuni MessageBox(nullptr, L"DLL Injection Test", L"Test", MB_OK); atm :P
 
9:25 PM
@Ell In DllMain right?
 
Ell
Yeah
 
Did you also check the fdwReason?
 
user142019
@thecoshman try this:
 
For DLL_PROCESS_ATTACH
 
user142019
$object_files = `echo bin/obj/**/*.o`;
 
Ell
9:25 PM
I also tried before that
 
@rightfold does ** and * work in 'sh' shell?
 
user142019
Yes.
 
user142019
Wait.
 
user142019
I think not.
 
@ThePet I strill say target path should match out path. It tends to fix a bunch of stuff ;)
 
user142019
9:26 PM
Maybe.
 
@Ell Maybe LoadLibrary is failing. I'm not sure how you're supposed to pass the params.
 
hmm... well, according to docs, meta characters are passed to 'system shell' which is bash for me...
 
Ell
@Tuntuni I'm just thinking that, I'm gonna try it on the local process
 
user142019
my $object_files = `bash -c 'echo bin/obj/**/*.o'`;
 
Ell
Hmm LoadLibrary is working locally
 
9:28 PM
@Ell Btw, the code actually looks quite nice, although I prefer curlies on a new line. :)
 
user142019
@Tuntuni Go back to C# you noob.
 
@rightfold NEVAH.
 
Ell
It's sloppy code! I started out writing c++-ish wrapper but couldn't be bothered
also it didn't seem worth it
 
Haha yeah .. that's what always happens.
 
user142019
Use dlopen and Cygwin.
 
user1182183
9:29 PM
fixed linker and output paths, still 164 errs
 
Why bother writting a wraper for a shitty api. better spend your time on actually using the shitty api.
 
Ell
@rightfold that doesn't help :P
@Tuntuni Well, if it was something larger I'd write a wrapper
but 100 LOC it isn't necessary
 
user1182183
drama... got redefinition but when disabling the default library that causes redefinition errors the error count raises from 164 to 6662
 
user142019
~ [ perl                                                             ] 11:30 pm
my $object_files = `bash -c 'echo ./**/*.cpp'`;
print $object_files;
./**/*.cpp
 
user142019
I have no idea what's going on.
 
9:31 PM
@ThePet Oh I remember that. Could be a problem with linking 2 different versions of the runtime library (not sure though).
 
it's like it is not actually letting the shell perform the expansions...
 
user142019
@thecoshman try glob!
 
@Ell You aren't catching the exception anywhere?
 
but why, what sort of selfish thing would do that?
 
user1182183
@Tuntuni I ready it has to do with #include <library.h> and the new #include <library> has to be used
 
user1182183
9:32 PM
well.... back to editing thousands of files again O_O :/
 
sbi
Good evening.
 
Evening.
 
@sbi Hello :)
 
user1182183
@Tuntuni yeah without the good :/
 
@rightfold o_0 it's going to be fun debugging a command that has a 100 or so .o files listed
@sbi ahoy, long time no see
 
9:33 PM
@ThePet Haha, I assure you that was unintentional.
 
user1182183
:p
 
@ThePet Just search & replace in the entire project? Should only take a minute.
 
user1182183
@mwerschy yeah you know how many default and non default libs are mixed with #include <*> ? :F
 
user1182183
anyway recompiling with /MTd and not /MT
 
user1182183
maybe that helps
 
sbi
9:35 PM
So have you guys been naughty again, or why did a mod have to come to the room?
 
user1182183
oh 2 errors
 
Well why do that? Isn't it like a few headers in particular you need to use a new version of?
nice
 
@sbi He thought we were uber cool to hang out with.
 
sbi
@Tuntuni That's about the lamest excuse I ever heard.
 
@sbi Still an excuse though.
 
sbi
9:37 PM
@Tuntuni No. Lame excuses aren't excuses. They are give-aways.
 
class lame_excuse : public std::excuse { };
 
@sbi AFAIK boltclock just likes to think he's clever
 
@sbi Eh, true. :p
 
@sbi rightfold (aka zoidberg, aka daknok, ...) posted a link to a bad question. Downvotes followed. Some guy (other than OP) posted on meta. Mysticial said the question got "Lounged", shitstorm ensued.
 
@sbi oh, I was wanting to ask, how goes your fight for reason with regards to your house/flat?
 
sbi
9:39 PM
Wow, "a question getting lounged" apparently is a thing now. This room has come a very long way.
 
@Borgleader Shitstorm. Lel. Reminds me of Sturm und Drang I was learning about yesterday.
 
sbi
@thecoshman Three-way negotiations have started between the company, community politicians, and us renters.
IOW: They are down to one knee, giving in to two of our four main demands. Now we keep kicking at the other shin to make them bend that knee, too. :)
 
Ell
@tuntuni I have no way to deal with it so no
Hi @sbi :)
 
@sbi Nice :) I hope you get all of what you're asking for/deserve
 
sbi
Lo @Ell.
 
9:42 PM
@Ell try/catch block in main?
 
Ell
@tuntuni but I would just exit anyway, this is useful for debugging
 
@sbi well, that sounds like good news :)
 
@Ell Yeah but instead of the program crashing you could catch the exception and print it.
 
user142019
 
Ell
I could, but that wouldn't be much use. Here I csnm step into with debugger
 
9:44 PM
@Ell Oh, like that. Ok
 
sbi
@Borgleader Well, we're nine houses now, 200 people, we've got all the community's (2nd biggest in Germany, I was told) influential politicians behind us, and are now working at getting more support in Berlin's senate. The other day I tweeted that 200 Davids got Goliath down to one knee. :)
 
@rightfold damn perl, always takes time to digest :P
 
sbi
@thecoshman Halfway there. Now, however, I really need us to get them to go the other half, too. I leaned way too far out of the window for not getting noticed, and I am sure there's a few people working in that company who harbor a grudge against me. If we don't get this watertight, I am pretty much fucked.
 
user142019
Note that in the lambda, $_ is the base name of the file and $File::Find::name is the relative path from the current directory.
 
user142019
lel no
 
9:47 PM
@sbi ah you see, traditionally you grab them by the balls
 
user142019
Unix programmers grep them by the balls.
 
@ScottW of course not, lel
@ScottW Brian isn't.
 
sbi
@thecoshman Given the twisted face the guy who leads the local branch (several hundred employees) made when I last told him what I think about his work, I must have grabbed him pretty hard.
 
@ScottW Never been there.
 
sbi
@ScottW Who posts porn?
 
9:48 PM
@sbi Brian.
 
sbi
@Tuntuni Who's Brian?
 
@sbi Bad Luck Brian of course.
 
@rightfold The savior is here.
 
sbi
@Tuntuni Oh, the one from "always stay on the bright side..."?
 
9:49 PM
@sbi I have sent our code robot friend a gift... he may need some help coping with it :P
 
@sbi Don't think so.
 
sbi
Anyway, once you're posting nasty things anyway, lemme interject with a link that's going to lower the reputation of this room considerably and will bring the mods storming this room, if anyone flags it: This is probably the most enticing piece of porn I've ever seen. It doesn't even show a nipple, yet it's way more sexy than any oversized stud mindlessly banging on a busty blonde. And, yes, there's six more of those.
Oh, it being porn, it's NSFW, of course.
I now have 9:20 in which I can post anything, but nobody will be going to read it until that clip is over...
 
¬_¬ erm...
 
@sbi Lol, you're wrong there. :D
 
sbi
@Tuntuni Oh, you skipped ahead?
 
9:53 PM
you aimed to high their bud
 
@sbi It is in the background. But FYI I don't find oversized studs mindlessly banging busty blondes attractive or sexy either.
It became so generic, like a fucking template.
 
sbi
@Tuntuni You put a clip of a woman having an orgasm into the background? I pity you.
@thecoshman I what?
 
@sbi Wat lol. The woman is reading a book.
 
sbi
@Tuntuni Look closely.
Hint: There's someone under that table.
 
@sbi O lol, it started.
 
9:54 PM
@sbi expected our ADHD to hold out for more then a minute
 
sbi
@thecoshman Oh, now I got it: "You aimed to high, there, bud." Yeah, that would indeed make sense.
 
user142019
Imagine you go to a restaurant, you order the Meal of the Day and you get a hamburger with maggots.
 
oh, and s/to/too/
 
sbi
@Tuntuni Well, young man, if I say it's porn, you'd better believe it is.
@ScottW Did it make you too horny to stay at work?
 
haha
 
sbi
9:57 PM
We had a holiday today, BTW. I spent it in the garden.
 
Scott couldn't hide his b0n3r.
 
user142019
> Think of the President of the United States: a messy, inconvenient bag of blood and bones.
 
user142019
LOL
 
@sbi Oh, someone's under the table? So it wasn't her imagination?
@rightfold Seems legit.
 
sbi
@Tuntuni See here.
5
 

« first day (947 days earlier)      last day (3987 days later) »