« first day (951 days earlier)      last day (4012 days later) » 

7:04 PM
Now that's going too far.
You need to pay me lunch before you can fuck me.
 
@EtiennedeMartel Then you're cheap. :)
 
System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
 
I need to fuck you before you buy me lunch.
 
@Mysticial I'm not. You should see how much I spend each week in high quality microbrews.
 
@ScottW <3
 
7:07 PM
@EtiennedeMartel OK, now I'm in love...
..or maybe just thirsty.
 
@Mysticial cool, what parts of C++11 are you using?
 
I, for example, use a lot of C++11
 
Anyone have a copy of Microsoft Word 2013 to confirm a bug before I figure out how to report it? I only have 2007.
 
@bamboon The unicode support mostly. But I started doing some rvalue stuff.
 
7:12 PM
I also needed the RAII for a whole bunch of things at the top layer.
 
new powerline up and running
 
why does a numerics program need unicode?
 
@CodesInChaos filenames
 
I wonder about these though
 
@CodesInChaos I'm implementing checkpoint restart, and I need to properly serialize the locations of all the swap files - which will be on unicode paths.
 
7:19 PM
can I somehow inspect .o file?
because I've tried to generate it from Terra, but gcc fails to find my function inside
 
@Mysticial Is there a practical advantage of unicode filenames in that context?
 
@CodesInChaos Yeah, because people in Japan will be running the program. :)
Or rather, it was something that I half-assed supported in old versions. I wanted to do it properly.
But the real reason I moved to C++ was for the RAII and std::vector. I upped it to C++11 to get the unicode stuff.
 
oh come on.
I've even used extern C
Y U NO LINK
 
Turns out that the program no longer compiles on the ICC that I have. (I haven't tested GCC yet.) So I had to completely migrate my entire build-chain to only MSVC.
 
oh wait
ahahahahhahah
I am en evil genius
 
7:25 PM
extern "C" or extern C?
 
If and when I get a suitable ICC, I'll see what I can do.
 
IT WORKS
 
@Magtheridon96 First.
 
@Mysticial hi :)
 
@Mysticial copy binary data from command line, pass directly to OS, do not examine, do not pass go.
 
7:25 PM
Now really, you can get 30-day eval of ICC13
 
how does the MSVC performance compare against ICC for your program?
 
I find it weird that ICC is paid for.
 
@MooingDuck That's kinda what I did in the old versions - the result was that I couldn't do cross-platform benchmark validations. So I hacked all outputs to UTF-16. Now I'm actually putting a proper conversion layer between it.
 
@Rapptz Linux version is free
 
@Mysticial ah
 
7:27 PM
Then again people pay for MSVC too.
But at least there's Express.
 
@Rapptz And BitTorrent.
 
I wouldn't pay for MSVC
 
@CodesInChaos It used to be significant, but the gap narrowed a lot between VS2010 and V2012. To the point that my AVX version is faster with VS2012 than with ICC11.
 
@EtiennedeMartel ?
I use qBittorrent as my torrenting client so.
 
@Mysticial it's 2 versions behind :P
 
7:28 PM
I meant illegaly downloading VS.
 
Oh.
 
I wrote an Asteroid Collision Simulator for school last night. My professor moved the dead line from the 29th to the 24th. I had no sleep at all ;_;
The experience did teach me a few things however:
1) Resolution is a dick
2) My GUITextBox doesn't work properly (Fixed it though.)
3) I like this_convention better than thisOne ;___;
 
Now I'm actually gonna migrate the build chain back to VS2012 entirely since the difference between VS2012 and ICC11 is less than 1% for all the binaries.
 
Why do you cross compile with ICC?
 
@EtiennedeMartel I can get VS for free easily from school. (I'm not in school anymore, but I still have it.)
ICC is different.
 
7:30 PM
@Mysticial I could do that too, but I don't need to.
 
oops.
 
It couldn't even pirate it even if I wanted to because there are simply no torrents for it.
 
My employer pays for VS anyway.
 
Really?
I find that hard to believe.
 
@Mysticial A friend of mine once dumped an ISO of VS2012 ultimate on a share somewhere. He told me he torrented it.
 
7:31 PM
Microsoft is convinced I'm still a student so they give me free stuffs :D
 
@EtiennedeMartel VS is easy to torrent. ICC isn't.
 
Oh ICC.
 
I'd give you a link to a VS2012 torrent with at least 30 seeders, but I don't want to get hit in the face with a penis of justice
 
@Mysticial Oh. Right.
 
7:32 PM
I figure I can get you a bit more angry :3
 
Well, you could ask our friend Bartek here...
I'm sure he doesn't mind losing his job for you.
 
yeah sure.
 
@Mysticial After reading your answer about Branch Prediction, I'm leaning more towards ICC
 
@Xeo No, even longer ago and further away than that! (sorry 'bout the late reply -- had to do some of that horrible "work" stuff).
 
@EtiennedeMartel he can always come and work at Intel :P
 
7:34 PM
I found a lot of torrents for ICC 13 and 11
 
posted on May 24, 2013 by Herb Sutter

As mentioned in my GotW kickoff post, I’m experimenting with software and a workflow that lets me maintain a single source document and use it to produce the work in multiple targets, in particular to post to the blog here, to produce print books, and to produce e-books. However, there have been kinks. In particular, […]

 
@BartekBanachewicz He could. I'm sure he would have no trouble landing that job.
 
Jun 30 '12 at 16:18, by Etienne de Martel
ICC does optimize very well. It's almost as if Intel also made processors...
 
Ell
I get free stuff from autodesk
I have maya and 3ds max
But I never use them :P
 
wow
@Ell grr.
well not that I'm really much of 3d artist anyway
 
Ell
7:35 PM
I use blender when I 3d model. Which is pretty much never because I suck xD
 
I use Sketchup and it's amazing
 
Ell
You are a student right, howcome you can't get it?
 
The closest I'll get to making a 3D model is taking a shit.
 
Ell
or do you just not choose to?
 
@Ell can I?
@Magtheridon96 have you ever tried sketchup?
 
Ell
7:35 PM
@BartekBanachewicz I think so. All I did was type in my school name, etc.
 
oh funky
 
@BartekBanachewicz Never heard of it before
 
@Magtheridon96 o.O
you should totally give it a try when you have some time
 
Yes I live in a cave
 
7:37 PM
@BartekBanachewicz Come to think of it, I think I've seen children at my school use that program in the IT labs before
 
Google Ketchup.
 
@EtiennedeMartel apparently it's not google anymore
 
Ketchups
 
> On April 26, 2012, Trimble announced it would buy SketchUp from Google.[11] The two companies will "collaborate on running and further developing SketchUp’s 3D Warehouse."[12] On June 1, 2012, Trimble completed the acquisition of SketchUp from Google.[13]
 
@BartekBanachewicz Wikipedia seems to agree. It's owned by Trimble now.
 
7:39 PM
Ah! Yes! That's it, Google Sketchup, I recall this
 
and it's free
 
@Magtheridon96 Which prompts a big question. Which is better: a cave with a good connection, or a luxury hotel without? I'm thinking cave, though I'll admit I have to think about it a little more than I did, say, 10 years ago...
 
I mean community made the missing functionality as plugins for free version
aaaaanyway
now that I compiled C++ and terra code together
hm
 
@JerryCoffin I'd lean towards the cave in such a case. I can't do much without internet no matter how luxurious my house would be :D
Unfortunately,
 
oh fuck I broke minicraft build
 
Ell
7:42 PM
ouch
 
hm okey it works
I think I will finish Ambient Occlusion and work at the engine for a while
 
or hm, maybe I should just fuck Ambient Occlusion for now
 
Apparently my kids are using close to 3 MB/s for the video they're watching.
 
I see we're showing off our e-penises. :)
4
 
7:45 PM
@Mysticial totally
 
@Mysticial Every couple of months, it just has to happen. You're just pissed 'cuz your not at the college any more, so you can't show your 250 gigabits/second result.
 
@JerryCoffin I assume you're exaggerating a bit?
 
Ell
 
Anyone here a room owner? I want to ask another room a question, (well, I want opinion)
 
@BenjaminGruenbaum yes owners are here (not me)
 
7:47 PM
@BenjaminGruenbaum just ask.
 
@BenjaminGruenbaum People whose names are in italics are room owners.
 
@Mysticial Time to whip it out eh?
 
:(
I see you've had e-penis reduction surgery.
 
7:49 PM
hmmm... I created a git branch, made some changes in it, then merged it to master, then 'closed' the branch. Now that I have pushed to github, that branch appears to still be open...
 
@BartekBanachewicz Thanks, I was making sure I wasn't bm or anything. I've heard you too had some annoying one time users being annoying and problems just like us in the JS room. We're considering changing the JS room to gallery mode, having a bot give write access to anyone coming in, effectively giving room owners the ability to ban users with /ban username [reason] [period] . Do you think it's a fair idea, or do you think it could turn into a shitfest?
 
(That's not really fair, I'm at work)
 
@MartinJames Ah, here it is:
 
@EtiennedeMartel oh fuck
 
7:50 PM
You (and php) are the only two widely active room, with you being the most active, so I really want to hear what you think
 
My e-penis is quite small, I 'm trying to torrent down some non-copyrighted, non-porn material and now you're all posting gifs/jpegs :(
 
I just wanted to say that I'm winning
but 469Mbps :/
 
@BenjaminGruenbaum I like it
 
@BenjaminGruenbaum Nah, we've discussed this before I think. Turning the whole room into gallery room would be lame.
 
@BenjaminGruenbaum if someone is really retarded, get a bunch of 10k users and flag him. Each flag is 30 minutes official ban
 
Ell
7:51 PM
@thecoshman "closed" the branch?
 
@BartekBanachewicz we've seen dozens of times that doesn't happen
 
@MooingDuck what?
 
@BartekBanachewicz As I said, it's not exactly fair, because it's my work connection.
 
@BartekBanachewicz It's 6 flags to autoban
 
@Rapptz The default behavior wouldn't change since the script would automatically grant them write access.
 
7:51 PM
@EtiennedeMartel oh.
 
10k or not.
 
@Ell git branch -d 'branch'
 
@BartekBanachewicz my keyboard moved one key to the left, I swear.
 
@BenjaminGruenbaum Eh, we like it in principle, but showing gallery mode is a turnoff for new users, permission-giving bot or not.
 
@MooingDuck :)
@EtiennedeMartel ADVA had 10Gbe but I've never managed to get results like that. QoS :(
 
7:52 PM
@DeadMG I don't want to sound daft, but why? Users wouldn't have to interact at all, just entering the room would grant them write access
 
@MooingDuck It has happened multiple times.
 
@BenjaminGruenbaum because they don't know that
 
@BenjaminGruenbaum before they even enter the room it looks closed to them
 
@BenjaminGruenbaum I personally dislike it becaue it's a "assume everyone is a troll in disguise" approach.
 
@Rapptz yes, both banning and not banning have happened a lot.
 
7:53 PM
@MooingDuck Ah, you mean gallery mode rooms don't show in the listing?
 
@BenjaminGruenbaum They're too stupid to check the room's rules before posting, what makes you think they'll check to see if a bot grants them access?
 
@EtiennedeMartel it's the internet, it's a good approach.
 
@BenjaminGruenbaum they show with padlock
 
@MooingDuck You don't follow, it's 6 flags to ban.
automatically happens.
Let me find it again on meta.
 
@Rapptz I follow
 
7:53 PM
@MooingDuck What is up with that usual pessimistic view?
 
@Rapptz We not only discussed it, but tried it. It was painful enough for everybody involved that it only lasted about a half hour.
 
@EtiennedeMartel It makes me feel really uneasy too
 
How did this go from Lounge<C++> to My Little Lounge<C++> ?
 
but we've had wars and put this room into lockdown mode because people weren't validating flags, and the trolling just continued.
 
@DemCodeLines C++ is Magic
 
7:54 PM
@DemCodeLines I happened.
 
10
Q: How many chat flags are required to remove a message/ban a user?

DeadMGIn this question, Moderation controls for Public Chat Rooms, balpha says that moderation flags can automatically ban a user and remove a message. I'd like to know exactly how many flags are required, because I've seen chat entries accrue a good six or seven flags and remain just where they were a...

 
@EtiennedeMartel I treat people nice, but I don't let them in my house.
 
@MooingDuck It's not your house, it's a public space.
 
@DeadMG If I enter a gallery room, and am given write access the minute I enter, all they see is the bottom "enter message" part fade in, the padlock might be discouraging
 
might as well just change it to "The Leisure Suit Lounge"
 
7:55 PM
That would be like saying "I treat people nice, but I don't let them in a park when I'm there".
 
@BenjaminGruenbaum But will you even enter the gallery room if you have no fucking idea that you will be granted write access?
 
@EtiennedeMartel my point is that I can treat people nicely and help them, but I still want the option to ban trolls.
 
@DeadMG That's an interesting point, I'll raise it
 
@CaptainObvlious Hmm....the land of the lounge lizards. Have to keep that in mind for a future edit of the room name...
 
@BenjaminGruenbaum their point is people won't enter in the first place because they don't know it automatically grants write access. It looks like a normal gallery room.
 
7:56 PM
Well, thanks everyone, you've been a lot of help.
 
@EtiennedeMartel How about "I treat people nice, but that doesn't mean I trust them"
 
@MooingDuck Sucks to be you, then.
 
@BenjaminGruenbaum BTW, I don't think the idea is bad in principle either.
 
oooh, I see what is going on. I have deleted the branch from my local git repo, but it is still open on github. what was confusing me was the way the 'network' thing did not show a separate time line for that branch like I am used to on bitbucket, because between making the branch and merging it nothing changed on 'master'
 
Me and @Mysticial had this idea for a procedure: when an owner spots a troll that needs to be banned, he should pin a message tellling people to flag a specific message.
 
user142019
7:57 PM
Hi.
 
@MooingDuck Trust is death
 
That way we can focus flag something and get the guy banned incredibly quickly.
 
user142019
Who?
 
@CodesInChaos Trust is the foundation of any society.
 
user142019
Did some troll happen again?
 
7:58 PM
@rightfold No. We were discussing anti-troll measures.
 
@EtiennedeMartel that would work
 
user142019
@EtiennedeMartel OH I SEE!!!11
 
user142019
@TonyTheLion Hi sweety.
 
@Rapptz Thanks, we're just getting a surge of stupid fucks, don't know if you remember but even @LightnessRacesinOrbit was complaining about the amount of stupid retarded flags we get. We don't want to ping the two mods we have for every thin, and we want to deal with repeat offenders in a good way. The padlock is a good point.
 
7:58 PM
@MooingDuck Yes. Then, when the guy is banned, the owner can unpin the message and move on.
 
@EtiennedeMartel Or just spin up ten flagbots.
 
ok this whole switch/case with strings thing lit a fire under my anus so I'm working on a full solution. Since the source and description are fairly long is it more appropriate to do it as a wiki entry since I'll answer my own Q?
 
user142019
I don't think flagbots are such a good idea.
 
@DeadMG We only need six flags. I can't believe we can't have at least six 10k users in the room at one time.
 
@TonyTheLion No, no no. We were talking about trolls, not sex. Did something go wrong with your filter?
3
 
7:59 PM
@JerryCoffin It's friday.
 
@EtiennedeMartel Er, that happens all the time.
 
user142019
@EtiennedeMartel Yes. We should all go to Six Flags.
 
@DeadMG Not now. So it's not "all".
 
well not literally "all"
 
How do you like my pedantry, hmmm?
 
7:59 PM
but it's quite common
 
Define "quite common".
 
user142019
It happens quite often.
 
Can I get a bit of help with this please?
 
@EtiennedeMartel Enough to be annoying, especially after the Europeans go to bed.
 
@CaptainObvlious switch/case with strings came up several times. You're talking about C++ or something else?
 
8:00 PM
@Moshe Sure...if you post it on SO as a question
@MooingDuck yes for C++11 and beyond
 
user142019
Breakfast at Tiffany's is one happy song.
 
@CaptainObvlious found the conversation trying to find the links...
 
@rightfold Moon River?
 
@Moshe Maybe a few hints anyway: 1: quit using printf; 2) quit doing everything in main; 3) don't cast the result from malloc; 4) if it's supposed to be C++, don't use malloc at all; 5) if it's not supposed to be C++...change it so it is. :-)
 
@JerryCoffin It's not like we get that many trolls anyway.
 
user142019
lolwut
 
@rightfold Oh hai, slowpoke.
 
user142019
I'm so confused.
 
user142019
Help.
 
@EtiennedeMartel Thankfully, no, not often.
 
8:03 PM
 
@JerryCoffin So, I don't see why we should get our knickers in a twist for the edge case.
 
@JerryCoffin It's C. :p
 
@JerryCoffin printf is one of my favourite parts of C.
:(
 
@rightfold At least as I interpret things: although he originally said he was going to quite entirely for a while, sehe decided to continue contributing to the boost-spirit tag.
 
@MooingDuck hmmm...I'm takign a different approach than that. Essentially this one breaks down to SwitchSet set = {"hello", "world"}; switch(set.value("dddd")) { case "hello"_C: break; case "world"_C; break}
 
8:05 PM
Which is why I use the variadic version of it
 
@JerryCoffin We had plonkman, (ShuklaThingy), on again today!
 
Xeo
@rightfold lol, already up to 1k rep
 
@CaptainObvlious that works too. Basically a string enum.
 
@Rapptz Actually, if I'm writing C, I like printf pretty well. When I'm writing C++, I still miss the ability to format data decently without 54 lines of code and encoding all of it into the program structure.
 
@MooingDuck be back in a few...company...i'll post it on ideone so you can take a gander
 
8:07 PM
printf is quite nice, I just wish we had a nice C++-esque version of it with formatting and all (i.e. .2f)
 
Ell
not-sehe is sehe :P
He has linked his github there
 
user142019
@JerryCoffin OIC
 
@Rapptz There is boost format but it's pretty slow.
 
user142019
I'm hungry as Africa.
 
Fuck printf - no way to pass a void* param to the underlying putchar.
 
8:08 PM
@JerryCoffin Quite ugly as well.
 
user142019
@MartinJames What do you want to achieve?
 
user142019
I like Boost.Format better than fugly <<.
 
@rightfold fwrite, from the sound of things.
 
I use the variadic template version but it doesn't have the floating point precision aspect of it
 
@rightfold I want to 'override' putchar so that the chars go the the I/O handler I want.
 
user142019
8:10 PM
OIC.
 
user142019
fprintf :P
 
@rightfold Almost done.
0
Q: Print in order of termination?

MosheI've got a program which generates a random number, n, then loops n times. On each iteration, it randomizes the value of sleeptime, and calls fork. The child process sleeps for sleeptime seconds, then exits with the value of the index variable. The parent then loops again, waiting for each proc...

 
user142019
@Moshe Can't you use sort?
 
@rightfold No fprintf on my embedded stuff and my I/O does not generally have a file interface anyway :(
 
8:14 PM
@rightfold What am I sorting?
 
user142019
Sort the pids by sleeptime.
 
user142019
By the way, you have a memory leak.
 
Interesting.
 
user142019
You call malloc but you never free the pointer.
 
I know about the leak. :-)
 
user142019
8:15 PM
@Moshe Yeah brainfart.
 
Let the professor's computer suffer. :p
 
MALLOC IT ALL. ALL I SAY.
 
user142019
Free the mallocs!
6
 
According to his output, they're not supposed to be sorted.
 
user142019
> Order of termination.
 
8:19 PM
Right, I suppose
But both the pid and the childid aren not sorted.
 
user142019
@Moshe Can I give you an off-topic recommendation?
 
user142019
if (processIdentifier == -1) {
    printf("Error: %i", errno);
}
 
user142019
Turn this into this:
 
@rightfold Sure.
 
user142019
if (processIdentifier == -1) {
    perror("fork");
    return 1;
}
 
user142019
8:20 PM
perror reads errno and formats it as a human-readable string.
 
Turn it into simply printf("Error: %i", errno)
 
Oh XBox one is called one to honor the solitary user of Bing search
 
@Moshe uh wait....
 
Because fuck everyone
 
@MooingDuck Moo?
 
8:21 PM
@Moshe "The pids are printing in order" Is that the problem?
 
Happy drinking.
 
@MooingDuck Yea, not talking about the first printout. I'm referring to the termination. I don't think they're terminating in order.
 
@Moshe what does the waitpid function do?
 
@MooingDuck It causes the parent to wait until the specific (by-pid) child changes signal, aka terminates
 
@Moshe actually, I'll write an answer and get points instead
 
8:24 PM
@MooingDuck Please. :-)
 
Anyone ever heard of the esoteric sleep** sort?
Algorithm: Iterate over an array of integers and invoke a timer that waits (value) seconds. Each timer will call a function that prints the corresponding value
 
@Magtheridon96 sleep sort
 
Yeah, that was the name! Last time I saw the name was 5 months ago
 
@Magtheridon96 It's well-known.
 
As I said: I live in a cave ;_;
 
8:28 PM
@MooingDuck - Fantastic, thanks!
I must have overlooked it.
Moral dilema: I "know" Mooing Duck from this room, but someone else answered first. Who gets the checkmark?
 
@Moshe Which is the better answer?
 
Flip a coin. Play Rock, Paper, Scissors with yourself and see who wins! ;_;
 
@JerryCoffin attempting to look at them objectively, mine seems easier to read, but far more snarky. It's not immediately clear to me if mine is better.
@Moshe knowing me shouldn't count for anything'
 
@Magtheridon96 I did all of those. Then, I had a beer, and then ran a program that simulates the entire world from creation through destruction, looking for the right answer. Then I made my decision arbitrarily.
3
 
ahhh that was fun
@MooingDuck My current progress - ideone.com/sL3txv
 
user142019
8:43 PM
@Moshe I rewrote that exercise in Go using goroutines instead of fork(). :) play.golang.org/p/g7grLRdR6i
 
lol @ goroutines
 
I don't know Go, but I'll look anyway.
 
user142019
If you click Run it will run the code.
 
Ah, sweet!
 
user142019
(The website caches the result so it will "run" instantly but that isn't supposed to happen.)
 
8:45 PM
time to head to DMV. c-ya'll
peace
 
user142019
func pauser(id, duration int, channel chan<- [2]int);
 
user142019
I wish C++ had this for specifying consecutive arguments with the same type.
 
user142019
Like void swap(T& a, b).
 
eh
 
user142019
Won't work if b is a type though. :P
 
8:47 PM
@CaptainObvlious wait, you have a map of strings to strings? What is this?
 
user142019
play.golang.org is funny.
 
user142019
Its random number generator always returns the same sequence, since its time is always set to Go's first release date.
 
user142019
@CaptainObvlious That's how they call threads. :v
 
return 4; // guaranteed to be random
 
user142019
@Moshe your teacher lets you implement sleepsort!
 
8:51 PM
@rightfold C used to let you do something like that: int f(a, b) int a, b; {...
 
user142019
@JerryCoffin I did know of the out-of-parameter-list types, but not that.
 
Still allowed, of course, though strongly recommended against.
 
user142019
Coooool.
 
@CaptainObvlious ideone.com/t3Umos
 
@rightfold ?
 
user142019
8:53 PM
@Moshe You basically sort a list of values by spawning threads or processes, let them sleep for N seconds and then print the values.
 
user142019
It's from here dis.4chan.org/read/prog/1295544154 (may be NSFW).
 
@rightfold claims to be O(N), but realistically it's actually dependent on the OS.
 
user142019
Well, depends on the complexity of sleep, not?
 
@rightfold bingo
 
user142019
Sleep is weird.
 
user142019
8:54 PM
It's not really an algorithm. :|
 
wtf my work blocks reddit but not 4chan?
 
user142019
_4chan := make(chan chan chan chan porn) // why Go is awesome
 
user142019
@MooingDuck How about 4chan.org?
 
user142019
Maybe it doesn't block subdomains.
 
@MooingDuck Which is most likely to lead to wasted time?
 
8:58 PM
@rightfold not blocked
 
user142019
Those flags wtf.
 
user142019
inb4 DeadMG banned.
 
No! They can't ban my puppy!
 

« first day (951 days earlier)      last day (4012 days later) »