« first day (910 days earlier)      last day (4044 days later) » 

user1357851
12:05 PM
ITT, we vote for the biggest nerd in this room!
 
@phil_nash: @bananu7 ah yes. I’ve got sucked into that a while ago, too. I managed to escape, though ;-)
 
@Telkitty fattest?
 
user1357851
can do too, except we have no idea about each others' weights
 
@Telkitty nah, it's ok. you'll win anyway
 
user1357851
lol, how do I know I am really fat?
 
12:17 PM
@Telkitty you don't have a mirror?
well, look in chat history then. as a troll you are really fat
 
user142019
@Xeo It uncurries a function.
 
user1357851
@Abyx you believe a troll? woah there there ...
 
user1357851
lemme take some pics
 
user1357851
should be able to upload some in an hour :x
 
inb4 flags
 
12:24 PM
@Telkitty please no.
 
Mornin'
How goes Lundia @BartekBanachewicz?
 
@Pawnguy7 Lundi*
I am writing tests for it
 
I actually remembered it this time. Not sure how the a got in there.
That reminds me. What are these unit tests I hear about?
 
speaking of which
I finally came across a situation where I could actually really use some tests...
 
thisgunbegud.avi
 
12:40 PM
I need a test case to show on the LLVM channel so I can get some help with it's bigger brother, but I deleted the test case a month ago
and it also turns out that that specific case wasn't committed
 
user142019
Hurray.
 
user142019
I have 30 points on Google Code Jam. 5 to go and I'm through the qualification round.
 
"You are not a resident of Quebec, Saudi Arabia, Cuba, Syria, or anywhere that the contest is prohibited by law.
"
 
user142019
"You are owned."
 
Any ideas why this isn't in Quebec? I can see the rest, but...
 
12:49 PM
why Quebec?
 
user142019
Because the Quebecian government sucks.
 
@Pawnguy7 umm? These are tests that test units
 
That failed to make anything clearer :\
 
@Pawnguy7 but they are exactly that
 
12:53 PM
@Telkitty good photoshop skills?
 
user1357851
thanks for the compliment
 
ho boy
so much stuff to call std::vector<int>() and std::sort.
 
@Telkitty you know, on the first pic head looks bigger than body. that's kinda... uhm, you have such a big head, yeah
 
user1357851
I am taking youtube advice, taking pic from above & you would look thinner
 
user1357851
And yes my head is huge :/
 
user1357851
12:58 PM
Now move on ...
 
@Telkitty yep. huge and almost empty. that's sad
 
user1357851
Thanks, now please align you face in the direction of my fist
 
@Telkitty ok
 
user142019
1:13 PM
Hurray, I have 40 points.
 
hope I wasn't here last night. I was hammered.
 
@LightnessRacesinOrbit I doubt we could tell a difference
fuck it, I'm bored again =\
 
user1357851
1:32 PM
Time time you are hammered, please do tell. I have a bad habit of liking to trick hammered people into doing things ... if you know what I mean :x
 
@BartekBanachewicz Wow!
 
Is there any way to get non-blocking input in C++ ? with MinGW
 
@Abyx You should start a church! The church of the bored again Christians!
 
@LightnessRacesinOrbit Lot of it going around. Band was really tight last night, two drums and the stage looked like it had been invaded by cymbals. Lost count at eight pints.
 
@Darkyen asio
 
1:34 PM
err i dont wanna use any "abstraction" i want to learn it from the ground up
 
@Darkyen gtfo
oh, now I feel better
 
well.... whats wrong in learning ? using a library is easier way out -_-
 
@Darkyen If you don't use a library, you'll end up with OS-specific API calls. Fine, if that's the way you want to go.
 
@Darkyen read msdn and use winapi. it's the lowest level you can get
 
@Darkyen Would you rather program in binary?
 
1:38 PM
:-) @MartinJames i understand that using api's i will rely on the platform completly but just for sake of learning i wish to do that :-) in a really low level :-) ... otherwise libSDL or SFML are good right ?
 
Windows async API, ie IOCP, is non-trivial. Good luck.
 
@Doorknob no not that low (x
 
@MartinJames huh? what's so non-trivial in it?
 
i'd rather javascript it out :x
 
@Abyx Multiple threads processing input buffers from the same socket in an unsynchronized fashion, for one.
 
1:40 PM
holy fucking shit, Clang has the most annoying code generator ever.
 
@MartinJames buffer management is not relevant to IOCP.
@DeadMG llvm bitcode generator?
 
@Abyx Err.. it is.
 
it randomly generates functions with totally the wrong signature and binary interface
 
@DeadMG but it's open-source, so you can fix it!
 
more like, fixing Clang would involve re-writing Clang
 
1:44 PM
isn't it how opensource works?
 
@MartinJames I stopped at nine. Poor show really -- usually I stick to the spirits for this reason.
 
@MartinJames great picture btw :-)
 
@MartinJames you have same problem with, say, asio::async_read
 
@Abyx I thought asio abstracted away the nasty 'ensuring data is delivered in teh corrct order' stuff? Maybe not, don't really know the lib.
 
@MartinJames huh? TCP ensures data order
 
1:47 PM
@Darkyen I will try and find a real picture later. I'm sure I must have taken a few. Need to investigate phone.
 
:-)
 
@Abyx It does, but IOCP callbacks, though they will be posted to the IOCP queue in order for each socket, may not be dequeued by the same handler thread, and so they may get processed out-of-order, unless you explictly prevent that happening.
 
Is it possible with Qt 4.8.4 to use C++11?
 
@MartinJames nope. you can not have two pending reads (or writes/accepts/etc) on same socket.
 
1:58 PM
@Abyx Yes, you certainly can! Try it - you'll see..
 
@MartinJames you certainly can't.
 
I've done it!
 
> Cookies deliver our services. By using this site, you agree to our use of cookies.
^ All Google needed to do to abide by EU cookie law. Such a pointless statute.
 
@LightnessRacesinOrbit Yeah - I get that shit all the time, now. Idiot lawyers.
 
@EtiennedeMartel I liked the animated part.
 
user1357851
2:03 PM
warm, slightly moist cookies <3
 
user1357851
 
Do you guys think C++ will still be used as much as it is now in lets say 5 years?
 
@Abyx It's perfectly legal to issue multiple WSARecv() calls, each with it's own buffer array and OVL block, for the same socket.
 
@MartinJames I was glad to see them try, but they missed the mark.
 
user142019
@Cheiron unfortunately yes.
 
2:15 PM
@Cheiron they said C / C++ wont last for more then 5 years when java was "new" and "shiney" ... they lied
 
user142019
And thank God; Java is retarded as hell.
 
On the other side: Functional languages are much better at multithreading then OO will ever be
Oh well, never say never
And currently they are cranking up the amount of cores
because the clockspeed wont go too much higher
So i'd say functional languages do stand a change at becoming more used the object oriënted.
 
user142019
And how is that related to C++.
 
4 mins ago, by Cheiron
On the other side: Functional languages are much better at multithreading then OO will ever be
haha whut
 
user142019
(C++ supports many functional programming constructs, FYI.)
 
user142019
2:22 PM
Unlike Java, but that's Java.
 
I have read about the theory behind functional programming and as I understand: functional written code is multithreaded per definition, where OO languages like C++ normally do everything in one thread (unless you say otherwse)
 
user142019
That's bullshit.
 
^
 
user142019
In a pure functional language, a compiler can choose to perform certain operations in parallel, but it's not required and certainly not by definition.
 
user142019
Same with C++, actually, if the compiler can prove certain functions are pure.
 
2:28 PM
So, according to you functional languages are not the future?
 
@Cheiron what's that got to do with it?!
 
user142019
I wish there were only functional languages.
2
 
@Zoidberg You'll get over that :)
 
Q: For entering name in highscores, would all caps be acceptable? Debating whether to support shift, but XNA is not cooperating.
 
@Cheiron Functional languages are the future -- always have been and always will be!
8
 
2:34 PM
@Cheiron You seem to confuse "multithreading" with "the future".
 
haha
@Pawnguy7 I think so, but it depends whether you want your game to look like an 80s arcade machine.
-4
Q: Menu Suberfish NO PHP

JesperHere is code for 2 pages . But not Work? Is just to use in my old webpages - so i dont shall make new. !DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>INDEX(Testing Superfish CRAP)</title> <!-- SUPERFISH NEED --> <script type="text/...

^ lulz
@JerryCoffin Have a gold star.
 
user1357851
C++ is going to stay for a long time, just look at cobol
 
I was referring to the fact that CPU's get more cores and are thus better able to handle multithreading then singlecore CPU's
 
@LightnessRacesinOrbit Well, that is the thing, I am making Asteroids, so I am considering it :D I think if I use a bunch of ifs checks I can support this though... in theory.
 
@Pawnguy7 Heh, I did that once :) Def all-caps
> Is just to use in my old webpages - so i dont shall make new.
@Pawnguy7 I still have the code (Java, yikes) but no SDK installed to build it. Wish I could - it was epic
:D
 
2:44 PM
Haha.
That looks fun :D
 
2007
swept the awards with that one
 
Some sort of final project?
 
@Pawnguy7 Does indeed.
 
This is pecular.
XNA does not log any keys when shift is pressed :\
 
wtf
  if (KeyPress(k))
  {
      if (keyboardState.IsKeyDown(Keys.LeftShift) || keyboardState.IsKeyDown(Keys.RightShift)) //if shift is held down
          Text += k.ToString().ToUpper(); //convert the Key enum member to uppercase string
      else
          Text += k.ToString().ToLower(); //convert the Key enum member to lowercase string
  }
 
2:52 PM
I have that part, simple enough.
 
@Pawnguy7 Nah - that came later
My final project was substantially more ambitious.
 
@EtiennedeMartel Blimey
 
I don't know, maybe I am logging this wrong somehow.
 
code plz
 
2:54 PM
I would certainl hope I can shift and get a key at the same time.
Hopefully it is an error on my part.
 
good
 
hm?
 
Hey dude, try a switch
 
I did before.
But...
 
His new girlfriend's hot
 
2:55 PM
What do you switch ON?
 
What would be a reason to still use floats instead of doubles?
 
That was my problem.
@Cheiron same reason to use shorts instead of ints I would say.
 
holy shit, those Intel push-pins on their fan mounts suck
 
Old switch.
Problem was, what to switch on. You want to switch on a letter, but the input could be shift AND a letter, and my attempts to detect which was the letter seemed to not work.
 
so what's wrong with your old code?
 
2:58 PM
It didn't work.
 
...
 
Might be the same problem as this one, I don't know.

Name

Yes.
 
my computer is so broken
 
@Telkitty Go play a certain famous BioWare game and educate yourself.
 
Is it possible to compile for Windows on Linux?
 
3:12 PM
Look up cross-compiling.
 
These are not the unions you're looking for.
 
@Cheiron Theoretically, yes. Though traditionally we do not do that. You traditionally cross-compile for different architectures/CPUs but not different OSs.
@Pawnguy7 Be less vague.
 
user142019
Guess what country the current top contestant of Google Code Jam comes from.
 
@Zoidberg Argentina.
 
user142019
Japan.
 
user142019
3:15 PM
:v
 
So?
Do you have some problem with that?
 
user142019
Did I say I had a problem with it?
 
I know cross compiling exist, but I was just curious if it was practical to setup a Linux installation for Windows compiling.
 
You went to the trouble of raising it so it's clearly of importance to you
Now to determine why
 
user142019
It's typical.
 
3:16 PM
...
You're a disgrace.
 
user142019
You lack a sense of humor.
 
Feel the love.
 
You lack non-racism. What's "humor" about "ugh, Japanese, typical"?
Meanwhile, fuck you Google for using the typical Google favicon for the scoreboard page -- it looks like I have a search results page open but I don't -- minior brainfuck
 
@LightnessRacesinOrbit That is about all I know from when I asked how to do the same thing a week ago.
 
@Pawnguy7 Gain some data, then. Print out some variables. Find out more information. "It doesn't work" is not a good starting point.
 
3:18 PM
@LightnessRacesinOrbit I was referring to cross-compiling. Sorry, the arrow didn't highlight anything.
 
@Pawnguy7 Aha.
@Pawnguy7 Actually it did highlight something; it highlighted the message that I was actually responding to, which was off the top of your screen. You can click on the arrow to follow the trail.
 
Oh. I usually hover and find the gray. Although, hovering over some seems to highlight something AFTER it, so perhaps the gray does not mean what I think it means.
 
Found my error.
 
3:22 PM
To prevent repeats, I... basically made it so if you were pressing a key last step, do nothing.
 
@Pawnguy7 It does mean that, and I've never seen a bug in it.
 
Apparently, I did not press shift and the key at the same step.
It worked when my game was going 2FPS, but not anymore :D
 
I am thinking, after each input, get a list of keys pressed. Discard shifts. Then, after letters are entered, if that letter is in the list, don't add it.
 
@Abyx while msvc is buggy, it has the best std::async in built-in library
 
3:36 PM
@EvgenyPanasyuk ahahaha :rofl: actually it was an std::async bug
 
:)
which one?
 
std::async(f, ...); doesn't compile, while std::async(&f, ...); does -- try std::async(OutputDebugStringA, "...");
 
ok, not critical though (even if &f would not work, use bind/lambda/etc).
@Abyx btw, libstdc++ would just do deferred in such case
 
> Need more than one copy? The team license allows you to share the book with up to 100 people for just $499.
A licence for how many people can read a book?
 
....
Wat.
 
3:44 PM
Oh, it's a PDF. Okay.
Yeah, the ease of copying digital stuff does make things a little different
I mean, if you want to photocopy a physical book 100 times then you probably deserve it for the time it'll take you
 
Pffff.
Crap that shit and pirate it everywhere.
 
@Abyx std::async(OutputDebugStringA, "..."); compiles OK on MSVC11.0.50727.1.RTMREL (old one)
 
great
 
@LightnessRacesinOrbit yes, I said old one
 
3:50 PM
Or you could scan the book once and then copy it 100 times
 
@EvgenyPanasyuk I did not dispute that
 
@EvgenyPanasyuk it's just a funny version string
 
Frame luminance analysis complete, reduction time: 0.05 ms. Good results, in 100,000ths of a second. Still, wonder when we'll be able to come closer to billionths of a second.
 
@LightnessRacesinOrbit What's wrong with it? (actually I made mistake, it is "MSVC11.0.50727.1 RTMREL")
 
3:54 PM
ok, application deadlocks when I use std::thread in DllMain (VC++11)
 
user1357851
 
@BartekBanachewicz Actually, I think "Whoops!" is the subtitle proper there? /cc @Xeo
 
@EvgenyPanasyuk that's bullshit.
 
there is some comment
 
4:01 PM
CreateThread is one of the few things you can do inside DllMain, because it's a call to kernel32 which is guaranteed to be already loaded. — Ben Voigt Feb 6 '10 at 18:24
This. Other comments just state that you should be careful, but what the fuck, that's a fact of life with multithreading.
 
yep.
however std::thread is not CreateThread, probably it does something wrong
 
@Zoidberg I prefer dysfunctional languages, like C++
9
 
Instastar
 
user1357851
I prefer a voice to program language
 
user1357851
I tell what I need and the program writes itself
 
4:11 PM
fuck it. Themida is such a crap =\
 
@Telkitty But you need to program that first...
 
user1357851
I know :(
 
user1357851
The good side is that once it is done without bugs, I will never have to write another program ever again </ends day dreaming> ... although it's 2am
 
The bad side however...
 
@Telkitty do you hate programming?
 
4:16 PM
May 14 '12 at 6:55, by sehe
sudo apt-get install mingw32
i586-mingw32msvc-g++ -std=c++0x test.cpp -o test.exe
 
user1357851
@EvgenyPanasyuk No, I am just lazy
 
user1357851
4:28 PM
I am off to bed ladies
 
user142019
Anyone into a puzzle?
 
Did you write code to create that?
 
@Zoidberg Now I feel compelled to write an image processor which would traverse the path and green mark it.
 
user142019
@Cheiron No.
 
user142019
Though I'm interested in doing such a thing.
 
4:36 PM
Me too.
 
Ell
I need to write java refactoring tool :o
 
user142019
Why are you using Java.
 
user142019
You should feel bad.
 
Ell
I'm trying to hack puzzle pirates client
not that I will get anywhere xD
 
@Zoidberg Apply mold
 
user142019
4:43 PM
@JohanLarsson awesome.
 
@JohanLarsson You know any C++, or just like teh lounge?
 
just a lurker, I don't think I ever wrote anything that compiles in C/C++
 
Just like I'm an owner of the java room yet I've never compiled a java program
 
That is odd.
 
@Zoidberg is tere any language you like except c++?
 
4:50 PM
@Cheiron Plenty.
 
user142019
I don't like C++.
 
@EvgenyPanasyuk It's retarded
 
user142019
I like only Haskell, C#, Elixir, Ruby and Python.
 
user142019
lol
 
4:50 PM
lol++ (had closed the tab now)
 
Ladies and gentlemen, I give you.... a member of the USA right-wing movement.
 
wat? vb is lower than obj-c?!?!
 
user142019
Congratulations. You can read bar charts.
 
I feel js should be sub-zero
 
I want to learn Haskell
 
4:51 PM
> I always suspect that the real reason why homosexuals adopt boys, specifically is because they want to have their own harem of minors that they can rape. Not so deep down, most if not all, are pedophiles as well as homosexuals: Perverts describes them even better.
 
if I find time for it
 
> This is said from personal experience with a close relative, cousin, who abused his first cousin. The abuser was about 19 and the abused was aout 7/8. Thankfully, the abused turned out all right, and thankfully, the abuser died about 12 years later, in 1992 of AIDS.
> They are perverts and there is nothing that will convince me otherwise!
I just... no words.
How are these people allowed to breed?
 
Its called freedom. If we can have our opinion, then they will be allowed to breed
 
@LightnessRacesinOrbit wat
 
What is the issue with it?
 
4:53 PM
@CCInc Not to worry -- the chart has no relationship with reality.
 
lol
 
in PHP, 1 min ago, by igorw
can you reproduce?
in PHP, 52 secs ago, by CC Inc
No, I'm too young
 
> After we saved your French asses in WW2 we should have made English or German mandatory. Mercy.
Wait, I thought the French saved the Americans' asses in their war against the British?
 
@LightnessRacesinOrbit So you think a reasonable response to ignorant, narrow-minded, bigoted homophobia is...ignorant, narrow-minded, bigoted racism?
 
4:56 PM
why German? o_O
 
@JerryCoffin Absolutely not, but it felt good.
@JerryCoffin (For the record, the irony — and what would be hypocrisy were I serious — is not lost upon me.)
 
Is anyone here able to help me out with credential providers?
 
@CCInc I doubt it.
 
@JerryCoffin I can smell the wisdom from here. I'm gonna start thinking you really are a tiny little green man with a cane and hairy ears.
 
Also for the record that was a rare example of actual homophobia. I maintain that being against homosexuality for whatever reason is not at all a "phobia", but the OP's words and non-existent causal logic would seem to indicate that in her case it's an appropriate term.
 
4:58 PM
Wasn't Pawnguy7 asking about credentials yesterday as well?
 
@Borgleader He is....
@JerryCoffin Also note that I did not say "all Americans" ;) For example, I'm sure that you don't go around telling everybody from the UK and Europe that you "saved them"
 
@Borgleader Hmm...if you can smell it from there, perhaps I should take a shower!
 
Credential providers == headbang
 

« first day (910 days earlier)      last day (4044 days later) »