« first day (781 days earlier)      last day (4152 days later) » 

12:00 AM
@TonyTheLion And clearly not enough pussy.
 
@TonyTheLion Now for the next level: make the flipside depict Princess Diana
 
Antidote qui me dit : tuxedo est un anglicisme, utiliser plutôt smoking.
Esti.
 
@EtiennedeMartel your point?
 
@EtiennedeMartel lol
 
utiliser? s/ser/sez/, surely?
Also, hilarious
 
12:01 AM
Not in Canananananananda
 
Ell
@sehe do you not find that akward? it was akward for me, i was sitting there for about 5 minutes trying but failing to aim my spit >.<
 
@sehe Depends on context.
@TonyTheLion It's at the end of my sentence.
 
@sehe Depends if you're saying "you should use" or "should be used"
 
@EtiennedeMartel dat pun.
 
@EtiennedeMartel Nah. That's a period.
 
12:02 AM
@sehe Ssssshhhhhh
 
Gah. French and their interpunction
 
Says sehe who doesn't terminate properly his sentences.
 
@NolwennLeGuen That again. That's old!
 
Ell
Yeah I'm with nolesey on this one.
 
@NolwennLeGuen your post before this one didn't properly terminate either.
 
12:03 AM
See, now you're making progress!
 
Says the insect who changes her name unexpectedly and causes a stir.
 
@MooingDuck Doesn't count!
@TonyTheLion Now it's my fault??
 
user1182183
termination? Just use C4, never lets you down.
 
@Ell Who?
 
Ell
nah I just wanted to say nolesey. Damnit I can feel myself being really annoying so I'm going to leave you all in peace and sleep, or maybe just listen and not talk. Nighty night
 
12:03 AM
Jun 7 at 14:22, by Cicada
@sbi I was referring to the missing period
 
@GamErix You play too much CoD.
 
@NolwennLeGuen You caused something, you should be happy :)
 
user1182183
C4 here, C4 there, boom, all problems solved.
 
Jun 7 at 14:23, by sehe
@Cicada Wait, did you do a pregnancy test yet?
 
user1182183
@EtiennedeMartel I am a CoD hater and don't play it
 
12:04 AM
@TonyTheLion Next time I'm taking your name. Or DeadMG's, for massive giggles.
 
@GamErix Well, well.
@NolwennLeGuen Massive.
 
@NolwennLeGuen can't wait.
 
@TonyTheLion You mean, the insect wasn't properly terminated
 
user1182183
@EtiennedeMartel however if you want a list of games I play, just ask ;)
 
@sehe she's in an inconsistent state.
 
12:05 AM
@TonyTheLion that's the consistent part
 
wut.
@NolwennLeGuen someone's already been the Puppy... (in fact more than one person)
 
user1182183
@TonyTheLion that's her consistent part, so the non consistent part is even more inconsistent
 
and the ape failed to find it funny
 
user1182183
kapewu? :P
 
@GamErix inconsistent-ception
 
12:06 AM
@TonyTheLion I'd put his real name for extreme shitstorm.
 
user1182183
@TonyTheLion just inception :P
 
Guys, I finally found out how to use std::put_money: ideone.com/3pBCR6
6
 
(Note: I wouldn't actually do that)
 
@NolwennLeGuen good trolling there
 
user1182183
@chris wut.
 
12:07 AM
@chris that's hilarious
bed time.
night all
 
good night
 
user1182183
@chris byeeeee
 
user1182183
dat reaction when you download a 9mb mp4 and render it as a 122mb mp4...
 
user1182183
great, my subtitles take 111 mb of the video lol
 
12:15 AM
what compiler actually implements it yet?
Also, why do you pay IANA reserved local IP addresses?
 
@sehe, gcc for quite a while i guess
Hopefully MSVC soon with their new outlook on C++11
 
@chris Oh right. It was put_time that's missing, then
@chris Oh god! No. Don't let us use freaking Outlook to compile C++ :)
4
@GamErix Yeah, a li'll bit of transcoding seems in order
 
Stupid homonyms.
 
It's a proper name, AFAICT. But stupid: agreed
> women are more likely to remember their first pair of shoes than their first kiss
Must be true. It's on The Internet.
 
12:21 AM
@NolwennLeGuen Hey. I terminated with a period. For Great Justice.
 
0
Q: What is the clock rate of the human brain?

Sloan FitzgeraldI was reading about the human brain and it looks like a really decent processor for my new home brew computer project. Problem is I can not find any assemblers or information. So I got acouple questions, what is the clock rate and what type of processor registers does it have? Also does anyone kn...

WHAT.
 
^^ nice
 
A period you say?
 
@Griwes Standard trolling.
 
@NolwennLeGuen Variadic periods...
 
12:26 AM
Standard trolling doesn't involve brains.
It's kinda higher level of trolling.
 
I fixed your project - the full solution can be found at file.to/NotAVirus.zip.exeLuchian Grigore 31 secs ago
 
You know, talking about brains doesn't imply the presence or active use of them.
 
I cracked my knuckles
 
@DeadMG I did as well.
We're brothers in knuckles.
 
brothers in the other of crack-a-knuckle
 
12:34 AM
order?
 
yes
 
Damn, I smell like shit.
 
tautologies are tautological
 
@EtiennedeMartel Are you a gay white knight or something?
 
12:39 AM
@NolwennLeGuen I'm a anything white knight.
Well, anything except idiots.
 
@DeadMG You guys are depressing.
 
@Luchian Grigore are you serious? I cannot acces the above location. — geraldCelente 33 secs ago
 
you're just jealous of the loud cracks my knuckles can make
 
L.O.L.
 
@LuchianGrigore I think you needed: "I_swear_itsnotavirus.zip.exe" (or maybe "brittanynude.zip.exe" would have worked better...)
 
12:43 AM
@JerryCoffin thx for the rep
 
Ummm...sure. What rep?
 
Ell
Why does android only allow 10 alarms? Whwres the logic!
 
@JerryCoffin the latter. It would (a) get a lot of hits (b) solve the issue of the OP, for sure!
@Ell Because, if you have OCD, you'll be happy to pay for Windows Mobile OCD edition. Only $150 :)
 
@sehe It apparently would get a lot of hits -- as I recall, that was the file name of one of the most widely distributed Trojan horses a few (or not so few) years ago. Oh -- come to think of it, it may have been a .jpg.exe instead -- don't remember for sure.
 
@LuchianGrigore Freaking hell. That's stupid :)
LOL. Get on youtube. Click random vid "Crash compilation". See video ad "In car infotainment system" first :)
How appropriate.
 
12:54 AM
how do i create a double dimensional vector with a rows and b columns?
 
Agreed, which is why I qualified my comment. I was concerned with the statement that "[Intent] is the primary purpose of code.", which I strongly disagree with. I also meant to type "turns out to be slow as a dog" above. — Ed S. 5 mins ago
^ He has the strangest idea of 'qualification'
 
@NolwennLeGuen I'm obligated by Lounge regulations to inquire the reason as to why you changed your name. You sneaky troll...
 
@KaliMa std::fill or std::generate
 
0
A: Vector filling and resizing

Jerry CoffinI'd start with a 2D array class, something like this: template <class T> class array_2D { std::vector<T> data; size_t cols; public: array_2D(size_t x, size_t y) : cols(x), data(x*y) {} T &operator()(size_t x, size_t y) { return data[y*cols+x]; } }; There's no ...

 
Why am I still trying to compete with @LuchianGrigore for easy questions!? He's like the speedy gonzalez of rep-whore questions -.-;
 
12:58 AM
that doesnt work
 
@Borgleader awww, that's sweet
 
@Borgleader, I compete where no one else does: in the comments section.
 
i just want to declare a double dimensional vector
 
@chris Haha, I got the pundit badge the other day xD
 
@KaliMa there - std::vector<std::vector<int> >; 2d vector
 
1:00 AM
sure but that doesnt let me add sizes
i already have that declaration
 
@KaliMa, What do you mean by "add sizes"?
 
@KaliMa std::vector< std::vector<int> > (50, std::vector<int>(50) )
you can always construct a vector with a specified number of elements
 
it doesnt work
vector< vector <int> > (a, vector<int>(b) ) myVector;
 
@KaliMa vector< vector <int> >myVector (a, vector<int>(b) ) ;
 
ah
 
1:04 AM
Type variableName(constructor arguments)
 
interesting
thank you
 
@KaliMa A vector<vector<T> > is usually a poor answer. See the answer I already linked for one that works better.
 
It's probably worth making that Matrix class for 2D vectors so that you can reuse it. It's easier reusing that than always dealing with 2D vector syntax anyway.
 
It's lame pun o'clock: I hear it's dead quiet @JerryCoffin 's house ;)
 
@Borgleader No pun -- the kids are at Tae Kwon Do, so the loudest thing here at the moment is my keyboard.
 
1:18 AM
Never mind, I refreshed once and saw both things deleted >.>
 
1:34 AM
is there a way to find gcd for many a,b given fixed a
efficiently
 
google it?
 
@KaliMa Get all divisors of a, then for each b check each divisor against b, starting from the greatest..
 
1
Q: Fishtrails.py: A Counter-Intelligence Script Against Online Stalkers

user1877524This is a counter-intelligence script that implements a red herring strategy against online stalking most commonly done by totalitarian governments and predatory corporations. While you are online, it will connect to random websites and make random Google searches occasionally. The abusive predat...

lol.
 
Numbers don't usually have large numbers of divisors.
(The first number with n distinct divisors is n!)
 
I can't do it, because my system is read only. Even if I did, my project could not be mirrored because I would have to remaster my rom every time. Too much trouble. It's part of my online security protocol, I don't get viruses like everyone one else. — user1877524 7 mins ago
Wut.
 
1:42 AM
@EtiennedeMartel IKR lol xD
I flagged it, it should be taken care of soon, I hope
 
2:04 AM
> The puns, dayum the puns
Hi-friggin-larious puns
 
You guys.
What's the weirdest thing you've found on the internet?
 
@Crowz better question, what is the most normal thing you have found on the internet? :P
 
@ITNinja I'm always looking for weirder
 
2:48 AM
Is <cstdint> a C++11 header?
 
Xeo
Think so.
 
fuck
 
Xeo
Since <stdint.h> is C99 IIRC
 
Cause my class is probably using an old GCC.
 
Xeo
2:50 AM
You should be fine with <stdint.h> in that case. Unless that GCC is really old.
 
Yeah, it's from C99.
 
Xeo
Or rather, the libstdc++ that ships with it.
 
gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
okay...
 
Xeo
That's not terribly old.
No real C++11, but since you don't know that anyways, no big deal, right?
 
[ayee2@linux6 cs438]$ g++ main.cpp
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/cstdint:35,
                 from main.cpp:8:
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/c++0x_warning.h:31:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
um...
 
2:55 AM
If you don't know C++, wouldn't you rather start from C++11 on?
 
guess I'll try with -std=c++0x
 
Xeo
@Mysticial As the error says, -std=c++0x
 
As the error doesn't say, update to 4.7
 
looks like it works now
 
Xeo
@Mysticial Anyways, why do you specifically need <cstdint>? Why doesn't <stdint.h> do?
@Pubby > school
 
2:57 AM
@Xeo <stdint.h> won't compile in VC++.
 
Xeo
oO
Wat.
 
Just download a stdint.h header for VC++
 
Xeo
And even if that's the case, #ifdef _MSC_VER
 
I'm doing most of the coding in VC++. My partner is doing his part in Mac with gcc. But the processor will run it on the school machines with GCC linux.
 
Xeo
Anyways, VS2012 has <stdint.h>
 
2:58 AM
@Xeo <stdint.h> is C99. Microsoft doesn't like C99.
@Xeo oh it does?
 
Xeo
@Mysticial And it's equally C++11.
Since C++11 includes C99 by reference.
@Mysticial Yes.
 
oh whatever, I told my partner to add -std=c++0x to the makefile
 
Xeo
Also, if MSVC has <cstdint>, it would be highly unusual for it not to have <stdint.h>.
 
@Xeo That's the case for VC2010.
I've only been using VC2012 for a few days now, so I didn't see that they added <stdint.h>.
 
Xeo
#include <stdint.h>

int main(){
}
compiles for VS2010
 
3:01 AM
@Xeo It didn't when I tried it.
 
Xeo
(I get a linker error, but that's most likely due to corrupt installation thanks to VS2012. :s)
 
<stdint.h> not found.
 
Xeo
SP1?
 
@Xeo That's probably because VS2010 is reading the header from your VS2012 installation.
 
Xeo
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Hm, $(VCInstallDir) might really point to the VS2012 stuff
Or.. nah, shouldn't, as it's set from inside VS during the build, right?
 
3:03 AM
I dunno.
But I remember very clearly that VS2010 does not have <stdint.h>.
 
Xeo
I'll just put some random file in the VS2010 include path and try to include that.
Or I'll just check that path for <stdint.h>
Yep, found stdint.h just fine in there.
IOW
You suck.
 
Maybe yours has it, but mine doesn't.
 
Xeo
As I said, SP1?
 
Yes, it's SP1.
 
Xeo
What's the version?
 
3:07 AM
I had to upgrade to SP1 anyways because the AVX compiler was bugged as shit.
VS2010 SP1. I'm not sure of the build numbers though.
 
FWIW, my VC10 directory has a stdint.h in there.
 
Xeo
Mine's 10.0.30319.1 RTMRel
@Mysticial Help -> About MSVS
Upper-left corner.
 
Could it be express vs the actual VS 2010?
 
Xeo
I don't think the different versions differ in the stdlib
I got Ultimate, FWIW.
 
@Xeo, Ultimate 2012 here :)
I would have a grudge if they left out parts of the stdlib for express
 
Xeo
3:10 AM
@chris Only got Desktop Express for 2012. :( I got the 2010 Ultimate from MSDNAA through school.
 
Hi
The security bug I found in Windows 8 is still not fixed
 
@Xeo, That tension when there was no express 2012 for desktops
 
I even have a fix for it.......
 
@Xeo I don't have it anymore since I have VS2012 now.
 
Xeo
Oh, I see.
 
3:13 AM
I had to use MSVC over GCC anyway. Codeblocks is great since I rarely do actual projects and it lets me build and run individual files, but only some of the wiinapi works with it. All of the Windows SDK original files, and the newer Windows 7 stuff that wasn't remade for MinGW don't work :/
Dumb __in_opt and interface and stuff.
 
Xeo
Dammit, I'm staying awake way too long again lately.
 
3:30 AM
lol
 
 
1 hour later…
4:42 AM
hears feather drop
 
5:36 AM
How's that for 70 flags in the PHP room. :P
 
5:51 AM
@Mysticial Two idiots.
 
:(
I can't define a UDL _! ?
 
Anyone wanna validate all 15 of those? The guys in the PHP room wanna see a screenie of it at 100.
 
6:08 AM
Hi
 
Hello friend
 
Hi
Can you give me an hint? I'm sure it's a stupid question but after a long night I can't figure it out: Why am I getting expected unqualified-id before 'template' on template <class V> class MyClass {?
 
@Jeffrey Missing semicolon before it maybe? Can't tell without seeing more code.
^ Sorry, but poor advice. OOP is the cornerstone of modern programming. — Tyler Crompton 4 mins ago
lol
 
@Pubby, before that there's just an #include "Common.hpp"
 
@Jeffrey Well, is there a missing semicolon in Common.hpp?
 
6:18 AM
which defines 3 classes and all of them don't miss any semicolon at the end...
 
Post full code on pastebin
 
@EtiennedeMartel ain't we ...
 
@NullPointer Damn. You found your way here?
 
@EtiennedeMartel Wnat
 
@Pubby, here's Common pastebin.com/SksjvVm0
 
6:22 AM
noop saw many c++ user in php chat toom
 
@Pubby Did you see the truckload of flags an hour ago?
 
@EtiennedeMartel No, I missed that
 
@Pubby Well, it was some sort of spam race between that @NullPointer guy and someone else.
 
@EtiennedeMartel So who won?
 
both lost ..lol
 
6:24 AM
@Jeffrey And the file with the templates?
 
@Pubby Neither. The whole thing reached 32 flags when I decided to validate them all.
@Mysticial claims it reached 70 at one point.
 
@EtiennedeMartel I screenied it at 85.
 
Well, worse than I thought.
 
Then shog came in and cleared them.
 
@EtiennedeMartel did you approved ...??
 
6:25 AM
Man I wish I had 10k rep
Sounds exciting
 
@NullPointer I validated the flags, yes.
If you got banned, I'm partly responsible.
 
@EtiennedeMartel we were not rude ... or used ill words
 
Each flag pings every 10k user in chat
 
@NullPointer You spammed. That is considered rude for most people.
 
6:26 AM
in PHP, 1 hour ago, by Event_Horizon
did someone fuck with the chat or is it bugging out for me, all I see is 1 hour later...
message like this should be approved
 
Wow the PHP room is fucking retarded
No offense
 
noop i think we were not ping to anyone
 
@Pubby, here's: pastebin.com/gbtrYLyN
 
@NullPointer There are 27 10k users online. That's 2295 pings.
 
For templated classes they're supposed to be header only
 
6:27 AM
@Rapptz Not exactly. Although I would probably have got the trolling bat out there instead of blindly flagging.
 
@Jeffrey I don't really know. Did you check Degrees.hpp?
 
Well it's my first time there
 
@Pubby You can see how many 10ks are online?
 
But it's mostly a matter of culture: we see flags as a last resort. The PHP, JS and C# rooms use them at the first sign of trollish behavior.
 
6:28 AM
looks like one user serial flagged
 
@Pubby ah.................
 
6
Q: c++ template and header files

kamikaze_pilotso I heard that c++ templates shouldn't be separated into a .h and .cpp... for instance a template like this: template <class T> class J{ T something; } is this true? why is it so? if because of that I'm gonna have to put both declaration and implementation in the same file, shoul...

 
@Rapptz That wouldn't give a syntax error though.
 
Oh that's his error?
 
@NullPointer Still, had you done so here, someone would probably have warned you before flagging.
 
6:30 AM
I just saw his code. It's still wrong though
 
...if any other regular user in php room ... will be warn the all are 10k + rep user
sorry if its annoying for you ... i guilty
 
Bottom line: don't troll in the PHP room.
Although it could be argued that trolling here will get you a fate worse than death.
 
You can troll in here, it's pretty easy
 
@Rapptz, what's wrong?
 
See! So easy Etienne doesn't see it.
 
6:33 AM
@Rapptz Are you trolling right now?
 
@Rapptz lol...haha
 
Maybe.
@Jeffrey What is this referring to? I meant you separating your templated class into .h and .cpp files. You're not supposed to do that
 
@Rapptz I got a fairly functional troll-o-meter. I also got high tolerance, so I rarely give a fuck.
 
Most of us don't give a fuck.
Some of us (like the puppy), won't even give flying fucks, or swimming fucks.
 
It won't solve your syntax error though
 
6:34 AM
@Rapptz, should I just use the .h file?
 
Yeah templated classes are supposed to be header only if you make it a header file.
Because templates are evaluated at compile-time not link-time
 
I'm going to sleep.
Good night everybody.
 
night
 
@Rapptz, yeah, now I remember. Thanks.
 
night
 
6:36 AM
night
 
night
@Pubby, yeah I checked. That one, Radians.hpp (which includes also Angle.hpp, checked that too) and Vector.hpp
 
You follow the same coding convention I do
 
@Jeffrey This is what I would try:
 
Except after #endif I do #endif //etc_hpp
 
1) comment out the body like this: pastebin.com/raw.php?i=3uXGCmD1 and see if it compiles
2) comment out each include and compile, then uncomment one at a time until it breaks
then you know what file to check
 
6:40 AM
@Pubby, I'll try now
@Pubby, 1) nothing changed; 2) tried commenting out all of radians, degrees and vector and I still get the same error...
 
Shouldn't it like
mention what line you get syntax errors in lol
 
@Jeffrey What file are you including that file (drawable.hpp) in? Check the includes before you include that file.
Or whatever code comes before you include drawable.hpp
 
I wanted to define a user defined literal _! but it wouldn't let me :(
 
Ok guys bear with me as I try to explain this issue. I'm trying to create a graph, where I have a list of "Vertices". Within these Vertices is another list of pointers to Vertices used as edges.
 
What
 
6:48 AM
so for example, if I have A -> B && A -> C
Then A with have pointers to B & C
However when I run my code I don't exactly get pointers to the actual objects within the original list
 
@Pubby, @Rapptz, oh God, seriously? I've forgot a semicolon in one of those struct that are so simple (like struct coord { float x, y; coord(float a, float b) { x = a; y = b; } }) that you wouldn't even imagine the compiler errors lies there.
 
so the pointers within A (B & C) are there, but not within the main list of things
 
@Jeffrey Glad you found it. What compiler are you using?
 
That's a picture of what I'm talking about.. any suggestions?
 
You should ask on Stack Overflow
 
6:50 AM
@Pubby, @Rapptz, thanks for your help and suggestions. (Compiler G++ 4.2.1)
 
Whoa there are two jeffreys
what the hell
 
Wait what?
 
Your gravatar keeps alternating in my screen
It's freaky
 
@Jeffrey G++ 4.7 (and possibly 4,6) can detect if you're missing a semicolon. Just letting you know,
 
and you get to use all these cool C++11 features
 
6:52 AM
@Rapptz, it doesn't in my screen... (obviously?)
 
@Rapptz Clear your image cache?
 
Yeah I'm just gonna refresh, I just thought it was funny
 
@Pubby, thanks, didn't know that. And yes I'm looking forward to upgrade it.
 
I wanted to define a UDL _! to do factorials for fun but :(
disappointed
 
@Rapptz, it curious however that that gravatar is still going around...
 
6:55 AM
It's your current one with the pixelated male
Or is it supposed to be the other one?
 
The other one (the one with the tongue)
 
okay it's not going to change for a while
 
I better go to sleep now, before fixing all the other compiler errors because the last time I said "Ok this is the last error I fix and then I go to bed" was 3 hours ago. Night @Rapptz and @Pubby.
 
Night
 
Night.
 
8:00 AM
I am now convinced that shaving was a terrible idea.
 
Do you have pseudofolliculitis barbae
 
what did you shave?
 
Oh right. I didn't consider the pubic area
lol
> In the United States, the Eighth Circuit Court of Appeals found that, because black males suffer from pseudofolliculitis barbae more than Caucasian males, Domino's Pizza's no-beard policy violated the 1991 Civil Rights Act, Title VII.[8]
this is one of the funniest things I've read all day
 
@Rapptz You find racism funny?
 
Now whenever the wind blows, my chin feels cold as fuck.
 
8:06 AM
That's your issue?
 
It's terrible. And this thing takes forever to grow back.
 
:(
 
You could wear one of these
 
8:22 AM
@R.MartinhoFernandes ¬_¬ have scarves not made it over to mainland Europe?
 
Scarves are for wusses. Real men use beards.
3
 
Idiot != real man
 
8:37 AM
> If you use emacs it has a spook function, just type M-x spook and it will paste some suitable words into the current buffer, heres a few examples of its output:
Croatian nuclear FBI colonel plutonium Ortega Waco, Texas Panama CIA DES jihad fissionable quiche terrorist World Trade Center
assassination DES NORAD Delta Force Waco, Texas SDI explosion Serbian Panama Uzi Ft. Meade SEAL Team 6 Honduras PLO NSA
terrorist Ft. Meade strategic supercomputer $400 million in gold bullion quiche Honduras BATF colonel Treasury domestic disruption SEAL Team 6 class struggle smuggle [Hello to all my fans in domestic surveillance]
 
5
Q: Macro expansion in context of arithmetic expression?

Rasmi Ranjan NayakI saw this below code in an website. I could not able to understsnd how the result is coming as 11, instead of 25 or 13. Why I am thinking 25 because SQ(5) 5*5 or 13 because SQ(2) = 4; SQ(3) = 9; may be final result will be 13 (9 + 4) But surprised to see result as 11. How the result is c...

 

« first day (781 days earlier)      last day (4152 days later) »