« first day (799 days earlier)      last day (4161 days later) » 

12:00 AM
@Zoidberg'-- The only thing you need for that is to know what a monoid is.
 
user142019
Oh. lol
 
user142019
@Ell since beta 1.3.
 
Ell
Then why haven't we played on multiplayer yet?
 
user142019
I don't know. We should do that once along with Mumble.
 
user142019
I can run a Minecraft server. I already have the port forwarded on my router.
 
user142019
12:04 AM
But I cannot keep it on 24/7. :P
 
Ell
I have an i5 third gen but aweful upload speed
Or alternatively we can use a hosted adventure map server
Aww man its only second gen, I just realised. It's not even that good :/
 
@Zoidberg'-- Categories are things you can compose together
 
Today, I had to go Shopping for Women's clothes.
 
Also I finally moved my ass and wrote 150-character email to get my MSDNAA account
 
Hey all
 
12:15 AM
Why are you Randomly capitalising Words
 
It was horrible. Women's clothing is so complicated.
I also learned what Spanks are.
 
Ell
Do tell
 
I am genuinely concerned about what females deign to wear. =l
 
Ell
Also yeah women's sizes are silly !
What are spanks?
Is that slang?
 
sbi
@ThePhD And have you learned what "polterwang" is?
 
12:16 AM
Oh gawd.
 
sbi
(Note: You might not want to google this.)
 
Why do you keep bringing this up.
 
sbi
@R.MartinhoFernandes Sorry, too late.
 
@sbi Um. No. I will avoid googling.
@Ell Sorry, everyone pronounced it Spanks, but apparently it is called Spanx:
 
Ell
Ima google
 
12:17 AM
Spanx, Inc. is an Atlanta, Georgia, based hosiery company founded in 2000 that mainly manufactures footless pantyhose and other undergarments for women, and since 2010 for men. Spanx specializes in "body shaping" undergarments and bodysuit shapewear, intended to give the wearer a slim and shapely appearance. History Florida State University graduate and former Walt Disney World Resort employee Sara Blakely joined local stationery company Danka on graduation, and began selling fax machines door-to-door. In the heat and humidity of Florida, she tried unsuccessfully to find pantyhose tha...
 
sbi
@R.MartinhoFernandes It's an arcane detail of women's clothing, so id did fit here.
 
@sbi Curiosity rising... must not google, must not google...
 
Ell
Wtf, footless tights? Also wtf, phantom penis effect?
 
sbi
Oh. Now he spilled it.
 
Butt Stallion says hello
 
12:19 AM
Wat.
 
sbi
Anyway, I have one more error I don't understand. Anyone here cares to look at this code?
typedef std::tr1::function<void(X&)> foo;

std::tr1::function<void(X&)> func = std::tr1::bind(&baz::f, this, _1); // compiles
foo x=func;                                                            // fails
error: no match for call to '(std::tr1::function<void ()(X&)>) (X&)'
note: candidates are: _Res std::tr1::function<_Res ()(_T1)>::operator()(_T1) const [with _Res = void, _T1 = X&]
I am baffled.
 
No, not after you brought up polterwang again.
@sbi Are you sure you have the right thing pasted here?
 
sbi
@R.MartinhoFernandes At least I waned!
 
@sbi Missing an angle bracket.
 
The typedef is missing a >
 
12:20 AM
std::tr1::function<void(X&)
 
I'm sure that's relevant
 
And std::tr1::function<void ---->()<---- (X&)>) (X&) is suspicious.
 
sbi
@R.MartinhoFernandes Nope, this is, of course, a boiled down sketch of the real code.
 
yeah
the template param is wrong
 
sbi
@R.MartinhoFernandes Yep. That would make it a function, rather than a function object, right?
 
12:21 AM
void()(X&)?
 
No frakking idea.
All I know is that it is not good.
 
Partial application :v
 
Function returning a function, I would think.
 
sbi
Shit. I think I call it a day and go to bed. It's the last error, and I actually wanted to dig through this, but I am sure the compiler will come up with another million of errors the very moment I have solved this one.
 
12:25 AM
Maybe you simplified the real code too much
 
Sounds like a good plan.
 
sbi
@CatPlusPlus Maybe. There isn't much more to it, though.
 
Ell
@sbi nighty night :)
 
Get some sleep and look at it again
 
sbi
Yes, daddy. I will. Not yet, though.
Replacing a few identifiers to protect the innocent, this is my real code:
std::tr1::function<void(X&)> func = std::tr1::bind(&baz::f, this, _1);
X::Y::foo x = func;
And when I Ctrl-Click on foo, it takes me straight to typedef std::tr1::function<void(X&)> foo.
And this is just two lines out of four into which I ripped a complex statement to find out what the compiler actually chokes on.
Mhmm. Does assignment not work with std::function()?
 
12:32 AM
It works.
 
It'd complain about lack of operator=
Not ()
 
sbi
Because X::Y::foo x = std::tr1::bind(&baz::f, this, _1); now all of a sudden compiles.
 
Can you reproduce the error with this minimised example?
 
@sbi That's not assignment and neither is the one above.
 
sbi
@R.MartinhoFernandes Yeah, that's right.
I really should go to bed.
Mhmm. I don't know what I have done, but now it all compiles.
 
12:35 AM
Tomorrow it won't.
You should make sacrifices just in case.
 
sbi
@LucDanton Did you just volunteer?
 
Well.
 
You need a goat
 
Ell
We're all havin' a wonderful Christmas time!
 
Anyone from Microsoft on here?
 
12:40 AM
@IDWMaster Why do you think Microsoft would have someone in this room?
Do you know all the shit we'd give that person?
 
@ThePhD Why?
@ThePhD Perhaps to communicate with the developer community.
 
Just because they're from Microsoft, of course!
There's always shit to fling at a mega-corporate conglomerate.
 
Ahhh.
 
I started reading Modern C++ Design by Andrei Alexandrescu. The more pages I read the stupider I feel.
 
> Sorry, we're down for maintenance We'll be back up shortly. Check status.github.com or follow @github for updates
 
Ell
12:41 AM
Nah I don't think so
 
;_; what
 
sbi
@ThePhD That's just childish nonsense. Jared Parson is from Microsoft. Would you fling poo at him in comment discussions?
 
Anyways; if anyone from Microsoft is here, they should know that they should patch their security holes that THEY KNOW ABOUT in Windows 8 before somebody posts it on an online forum like xda-developers somewhere and becomes (IN)-FAMOUS for it
 
Ell
I would.be quite interested in talking to a Microsoft employee
 
@IDWMaster Just wait for next Windows Update or next Windows 8 Service Pack (1) in like 20000 years.
 
12:44 AM
@IDWMaster s/somebody/you?
 
@ThePhD It's been a month!
Still not patched!
 
@IDWMaster It's not high enough on the SCRUM bug board.
 
@ThePhD Well; it should be. It shouldn't take them so long to "research" the patch I sent them in source format!
FRSecure recommends going public with this
I've also talked to some independent security researchers
And have been told by Microsoft that they can't talk about it.
 
@sbi I just might. Thankfully I don't answer lots of questions, so we'd never meet and his face is spared my poop.
 
sbi
That's just infantile.
 
12:48 AM
@sbi But fun!
 
Kids these days...
 
I'm going to publish now and then link my post here (so nobody else steals it and takes the credit)
Note that it's the EASIEST exploit you could possibly think of!
And it works!
 
Just post it up.
 
Maybe it's less severity than you think
Also wait for the full patch cycle before you publish exploits
 
Probably is.
 
12:48 AM
Nothing gets something done faster than lighting a fire up under someone's ass.
 
Breaking out of their "sandbox" that they promised their customers?
 
Remote exploits are high severity, exploits that require local access are lower
 
By the way; this also affects Windows Server 2012 and Windows Phone 8
 
If I ever found an exploit I'd post it up immediately.
I mean, what're they gonna do, DMCA me about it?
 
That's not really responsible
 
12:50 AM
You freak people out for nothing if the patch comes out a few days later.
 
It's not about that
 
@Borgleader It's good if they patch it a few days later -- it means they finally got the message.
 
You punish people using the software you exploited if you don't give the vendor a chance to fix it
 
@IDWMaster What if the patch was already done and they just waited a few of them to do a patch cycle?
 
@ThePhD Why? To screw people over?
 
12:51 AM
@CatPlusPlus They are well aware of the bug and have had over 1 month to fix it.
 
@R.MartinhoFernandes It'd gauruntee it gets fixed fast.
 
Ask them if it's in the backlog or waiting to be deploed
They deploy hotfixes immediately only on very high severity bugs
 
Goog guy @CatPlusPlus.
 
@ThePhD At the cost of screwing more people than if you did things right? Well done.
 
Problem with exploits is releasing them to the public is unfortunately the best way to get people's attention about it
 
12:53 AM
Nope
 
Yes. It has almost always been that way. Even when it comes to something minimal like gaming software, someone publishing a hack or exploit for it tends to get attention much quicker
 
Because it causes malware people to actively use it
 
@Rapptz Or not at all (see Rakion and its early days).
 
There's even a healthy market for zero days.
 
But that really only hurts users
 
12:55 AM
@CatPlusPlus Which is the point, it causes them to gain attention about it and causes them to publish a fix quicker. The moral obligation is there, sure. "Should I release it?" is completely different from "Releasing it will increase awareness about it"
 
Rakion had some of the worst hackers on their servers.
It was so bad.
 
Yes, helping malware spread is wonderful point to make
Bravo
 
Hacks went unpatched for sometimes as far as a year.
 
@Rapptz Well, you could always send it to the vendor and warn them you'll make it public if they don't address it quickly.
 
Unless the zero-day is already being used, and the vendor is unresponsive
 
12:55 AM
No, it's the point I'm trying to make with my argument. Which you disagreed on.
 
Then publicising it is helpful
 
I didn't state the moral obligation of releasing it vs other methods.
 
@EtiennedeMartel I actually like this.
"FIX IT FIX IT OR I HACK EVERYTHING."
"Your Friend, J. Coder."
 
sbi
@Rapptz How do you know that? I mean, since we all only ever hear about the published hacks, how do we know they are not handling the majority of unpublished hacks just fine?
 
SOP on this is to contact vendor's security team, and publish it only if they're not responsive for long periods of time
 
12:57 AM
@sbi Are you talking about Apple?
 
Because I've hacked software for a large portion of my coding life.
It's what got me to code in C++ in the first place
 
sbi
@R.MartinhoFernandes Nope. I am talking about vendors in general.
 
@EtiennedeMartel Yes, that is a decent alternative -- if they take you seriously.
 
Ell
@rapptz tea h me !
 
Anyway, I'm betting the terrible bug you discovered isn't as terrible as you think
And that's why there are no emergency hotfixes deployed
 
sbi
12:58 AM
Anyway, I need to go to bed.
 
@Rapptz Why wouldn't they? If their team isn't staffed by idiots, they'll be able to accurately assess how serious the exploit is.
 
@EtiennedeMartel There are a couple reasons why they wouldn't take you seriously. One of the ones I can think of is if you do a bad job describing it and use the ultimatum you referenced earlier. "Fix this or I will release it!" is easy to dismiss if you don't explain it well.
 
Anyway, @IDWMaster describe the preconditions for the exploit at least
 
Anyway, likewise, I don't think releasing it will be the smartest thing to do anyway. Whatever the hell it is.
 
@CatPlusPlus The user must download infected software from the Windows Store. However, this exploit is capable of passing their automated cert kit.
It is not detected by their automated tools.
 
1:02 AM
If you're new and don't want to be hated, read the rules.
22
 
Ell
Ehh?
 
Just refreshing the pinned message.
Curry on.
 
So the exploit is "user must install a virus"?
You're right, this is the simplest exploit ever
You can't really hotfix people, though
 
@CatPlusPlus Yes. However, what's disturbing is the fact that it is possible to break out of the Windows 8 sandbox.
 
In what way?
 
1:04 AM
You could hotfix by patching the bug that allows malicious code to break out of the sandbox.
 
(Also I'm pretty sure they have a manual verification step and not only rely on automatic tools for store approval)
 
Simply disable in the .NET framework Marshal.GetDelegateForFunctionPointer
A virus could be time-activated.
Only run at a certain time, after a certain period of time.
Which would be hard to manually detect
The point is that users should not blindly trust apps downloaded from the Windows Store.
 
Yeah, maybe
 
They are NOT inherently secure.
 
@IDWMaster A fine point you make, Sir.
 
1:08 AM
Users should not blindly trust any apps
 
Nobody thinks of the apps.
 
But then again you couldn't use anything
 
Exactly.
 
The thing about signed apps is that malware can be traced
People behind malware rarely want to be traceable
 
Signing is a strong mechanism.
 
user1182183
hm, can you make a if statement in a paremeter? like this
:
` D3DXMatrixTransformation2D(if(params[1] == -1){ NULL }else{ &D3DXMatrixes[params[1]]},&D3DXVectors2[params[2]],amx_ctof(params[3]),&D3DXVectors2[params[4]],&D3DXVectors2[params[5]],amx_ctof(params[6]),&D3DXVectors2[params[7]]);
`

the if is actually giving me a error >_>
 
user1182183
and I don't want 99999 if()else 's
 
No
if is not an expression
You can use ternary conditional though
 
There. It is now "in the wild".
I'll let Microsoft decide what to do next.
 
I'm glad we had that little chat about waiting for definitive vendor's response
 
1:13 AM
Feel free to look at the code
I recommend running it in a VM for obvious reasons.
 
user1182183
you mean like this: (params[1] == -1) ? NULL : &D3DXMatrixes[params[1]] and it should work? :D
 
A "real" VM.
 
Ell
I'd laugh if it just doesn't work :L
 
Not Microsoft's sad excuse for one.
 
Also no phone runs apps in VM
I don't know why would you expect that
It'd make devices more expensive
 
1:14 AM
Java?
 
Same class of VM as CLI
 
Ell
I wonder if there are any viruses that can escape a vm
 
At a Microsoft development conference they said that "All Metro-style apps are securely sandboxed within a VM" or something like that.
It's not a VM
 
Agreed. I'd call it "a phone running on a VM" though
 
Well, yeah, I meant full virtualisation thingy
 
1:15 AM
@Ell Yes, there are. GPU-based exploits usually.
 
Have you heard about minimising code
Why is this thing 6MB
 
@CatPlusPlus I included the compiled binaries
It's surprisingly simple
Calls a restricted function by its offset
LoadLibrary is a "forbidden" function
Yet I am able to call it and get around their automated verification thing just like this.
 
2 messages moved to bin
Yeah, no walls of code
 
1:38 AM
Anyone here ever tried using Loki?
 
@Borgleader You mean the ultimate example of template wankery?
 
The C++ library...
 
Ell
Speaking of wankery.
 
@Ell We don't want to know about your wanking habits.
 
Ell
Hah, its not a habit if you never stop.
its a compulsion.
 
1:49 AM
tmi
 
Whenever I build boost using msvc it always ends up taking a ridiculous amount of space on my HDD, I hear this is not the case for gcc. Is there a way I can tell the MSVC compiler to dial it down on debug information?
 
Don't build all the targets.
It builds for all the CRTs, AFAIK.
Or whatever you call those things.
 
targets?
 
It builds for multithreaded and single thread CRT, for debug and non-debug and all whatever combinations there are of that thing.
 
1:57 AM
Oh
 
Ell
Boost is always massive for me
 
IIRC there are options to pick which ones to build in the boost build system.
 
Ell
B2
 
I'm trying to wrap my head around this "Policy Based Design" with templates
T_T
 
Do you have the book Modern C++ Design?
 
2:04 AM
Yes
That's what I started reading yesterday
 
Ell
Oh. Think twice.
 
What?
 
@Ell Are you singing 80s music or something?
 
Ell
Indeed I am
I think Phil Collins is 80s anyway :P
 
Can you feel it in the air tonight?
 
2:14 AM
Oh.
 
lol
 
Ell
Nah another day for you and me.in paradise or whatwve its called
 
Not enough RAM for PS2 :f
 
Game crashed
 
2:19 AM
He can't run PlanetSide 2
 
Oh I thought he was talking about pcsx2.net
 
I can run it, but it runs out of memory :.
 
I uninstalled that now. I am tired of it crashing after five minutes.
 
16GB on Thursday
Ho ho
 
2:20 AM
@R.MartinhoFernandes You uninstalled Planetside 2? :(
 
I might even run games AND Chrome at the same time!
 
Quite an accomplishment
 
Chrome has been acting strange lately.
 
Hi, how can I get the width / height in percentage? I mean CSS
It should work even when browser was resized
 
2:21 AM
lol
 
We don't care
 
I sure as hell don't
 
I don't understand the thought process that leads to asking CSS questions in C++ room
Not that we'd answer a C++ question
 
OOps
 
2:23 AM
Well CXX is close to CSS in some sick twisted way
 
I was in the wrong room! ..
 
Yeah, there's lots of wrong in this room.
How do you backup your documents on your computer. Esp if you need to reinstall. Do you have your home folder on a different partition or drive?
Or do you just copy the files to another disk before reinstalling.
 
Cloud Storage, External HDD?
 
I only need to reinstall when the disk dies or something.
Have a different partition would gain me absolutely nothing.
 
Yeah, all my written documents are on the cloud. However, all my photos, music and anime don't fit the free 5-10 GB.
 
2:29 AM
Use an external then. 1 TB is pretty dirt cheap.
 
Photos are really important because they are lost forever. Music can always be downloaded again.
@Rapptz I have a 1 TB and a 2 TB externals.
+1TB local HD.
 
Yeah my dad thinks I'm weird that I value my photos and screenshots a lot more than other files
 
Which other files? io.sys and the likes?
 
100GB on Dropbox is 100$/year
But yeah, external drive
I wouldn't backup anime of all things :v
Or music
Only backup things that can't be easily reacquired/recreated
 
I've lost terabytes of anime over all my reinstalls..
 
Ell
2:36 AM
Id backup real life memory stuff
 
@StackedCrooked Things that I can't recreate or get again.
 
Why are reinstalling OSes
 
@CatPlusPlus People are crazy like that.
 
Music is annoying to loose. A music collection is something that takes time to create.
 
Separate partition for data is nice if you're multibooting
 
2:37 AM
Yeah my music collection is about 5k songs so it'd be annoying to redownload
 
Apart from that, you're literally terrible if you reinstall OS
5k songs is what
50GB?
 
give or take a few
The annoying part isn't file size, it's finding them again
 
Make a list and backup that :v
@StackedCrooked Your mom is loose
 
lol
 
Yep, 2 minutes have passed..
 
Ell
2:39 AM
I need to reinstall OS. I find its good becsuse it gets rid if all the junk
Speeds it up again
 
What junk
 
What are you doing to your OS that makes it slow
Well, slower over time at least
Stop putting everything into autorun maybe
Or don't turn off the PC I guess
 
maybe that's why you run out of memory
 
I run out of memory because 4GB is not enough
I keep things in background, but that's hardly junk
 
2:41 AM
What's Apple Push?
 
Besides you can turn off background crap without reinstalling an OS
 
Why do you even accumulate background crap.
 
They sort of do it on their own half the time if you're being careless.
 
My amount of background processes is constant I don't know about them :v
 
Like this Apple Push thing.
 
2:42 AM
I just kill everything I didn't put there.
 
People are bad at OS maintenance ITT
 
Apparently I need this for iOS' shit
 
It's probably a service, and if it's a service, it can be shut down and started when it's needed
 
Well I turned it off anyway, I only checked since we were discussing it and it felt appropriate :P
 
Ell
I don't know how I accumulate crap
Remnants of old installers and uninstallers
 
2:49 AM
Only crap I keep are old installers.
 
Ell
i never reinstall windows
 
They sit in my downloads folder to rot until I decide to clean up.
 
Ell
But linux I don't know how to clean up as well, so I tend to reinstall that
 
@Ell What do you mean? Those don't run. If you need the space just nuke the files.
 
Damn, SC4 is hard.
I just keep failing like a noob.
 
Ell
2:52 AM
I mean uninstallers which don't uninstall properly
or half finished installations
Or stuff my family downloads
I found PriceGong installed the other day, I was just like wtf
 
@Ell Oh well... there you go.
 

« first day (799 days earlier)      last day (4161 days later) »