« first day (822 days earlier)      last day (4125 days later) » 

1:00 PM
@sehe Two.
 
> the name of localities present in the City
 
Xeo
Because that airport is just... fuck it.
 
@R.MartinhoFernandes "have an airport" is satisfied by "having two airports"
he is disappoint
 
@Xeo O... k...
 
3
Q: Is C/C++ one language or two languages?

Scott O'DonnellIs C/C++ one language or two languages? I heard C++ was just C with classes. Is that right?

 
@Feeds dafuq
 
someone recently faq-ed that question?
 
No, Feeds just decided it was interesting
 
1:06 PM
lol
 
Anyway, it is a good question. At least it gives us the fair chance to clarify that once and for all.
Zomg, +17/-13
 
Xeo
Hm.. I just noticed, GCC 4.8 source is finally actually compiled as C++?
 
"Fred Come to Bed" is the title of a song recorded by German eurodance act E-Rotic. It was released in March 1995 as the second single from the album Sex Affairs. Written and composed by David Brandes and John O'Flynn, the song hit success in German-speaking countries where it was a top ten hit. In Germany, the song was ranked for 18 weeks and was a top three hit. In Switzerland, it hit number six and remained in the top 50 for 16 weeks. In Austria, it fell off the top 30 after 14 weeks and a peak at number five. In France and Belgium (Flanders), the song was a top 20 hit. On 15 Septembe...
 
Xeo
Interesting.
 
1:15 PM
0
Q: Calling an overloaded operator from a pointer

donaldHere it is. I have a simple C++ class, that have a char * operator. working find. The thing is, when I'm creating it on the heap, I can't use it. so: test t; printf(t) is ok, but test * t; printf(t); doesn't. anyway around it beside (*t)?

 
If a language cannot be implemented in itself, it isn't worth looking at
 
morning :)
 
@BartekBanachewicz That's silly.
 
@R.MartinhoFernandes Because haskell?
 
@BartekBanachewicz Nope. For the most part, GHC is written in Haskell.
@BartekBanachewicz But consider... GLSL.
 
1:18 PM
hmm.
 
Not all useful languages are general purpose languages.
 
So what if you change "language" to "general purpose language" in the original statement?
 
That's better.
 
Hey, I was just reviewing my repertoire of useless questions posted @ SO, and was wondering why my ASM one didn't get any answers? http://stackoverflow.com/questions/14008597/nasm-outputting-string-after-applying-caesar-cipher
I don't find anything wrong with it, and it has no attempts at an answer.. I do know the early versions of it were filled with crap, no more though I think
 
@GigaBass lemme guess... it's because asm.
 
1:21 PM
(I'm not asking for an answer: just curious why it never got any)
Yeah I thought of that too, but I checked other ASM questions and though less posts, they had a normal feel to them, answer tried and all...
 
@GigaBass My guess is that it's because answering requires debugging the code.
 
In short, because asm.
 
Given how extremely simple the problem was, and how I'm 99.999% my code was right from the beginning, I'll agree on that :P
 
@GigaBass you probably an identifier too
 
@sehe Didn't quite catch what you meant
 
1:25 PM
So, today I have used the Unit Separator control character '\x1F' for something useful. How awesome is that?
 
I confused it with something else :)
 
Why?
 
@wilx Oh gosh, what?
 
Hehe.
Basically, due to silliness of my predecessors, we have (some) comma separated list in a string instead of an array/list in JSON. And it turns out we need to have a list of values inside the comma separated list as elements.
 
@wilx I prefer \v
 
1:29 PM
\x1F seemed suitable.
 
9
A: Does c++ compiler treat "new" in this form as stack memory?

FredOverflowWhat you probably wanted to write was this: int main() { int& i = *new int; // note the reference type delete &i; return 0; } But be aware that nobody in their right mind would hire you if he saw that code.

 
Interesting.
 
1
Q: static constexpr member function in templated using expression not found

WalterFor the following code #include <array> template<unsigned MaxP, typename type> struct kernel { static constexpr unsigned max_pole(unsigned P) { return P>MaxP? MaxP:P; } template<unsigned P> using array = std::array<type,max_pole(P)>; // wrong? tem...

isn't that normal behaviour?
shouldn't static names always be qualified?
or am I imagining things?
 
@TonyTheLion No? Not in class scope AFAIK.
 
1:40 PM
Anyone up for a game? I have to do something else before I'll dig into that uni BS
 
game of what?
 
whatever
Go?
 
@BartekBanachewicz Wanna play Dominion?
 
I've never played whatever
or Go
I don't know what you play. Only thing I got on my PC is Dota2/HoN/LoL
 
@GigaBass Dominion shall it be then
you guys have TS3?
 
1:44 PM
@GigaBass Has anybody ever implemented Go (the game) in Go (the language)? :)
 
yup, ts3
only a quick game though, I REALLY have to go study
 
@BartekBanachewicz there are two piles of 1 matchstick each. you're first. each player has to draw at least 1 stick from exactly 1 pile. the one to take last stick wins.
2
 
nearly 1k slides for a class I've never attended, exam tomorrow morning. :>
I have no fucking clue what you said @FredOverflow :D
 
@BartekBanachewicz Was that a response to me? Anyway, here is the link to the game: dominion.isotropic.org/play
 
@Pubby You're on EUNE, right?
@Pubby oh crap. I thought you was talking about LoL dominion mode
 
1:45 PM
Heh, I think there is a misunderstanding. Dominion the card game!
 
@GigaBass Have you ever written a game in a programming language? Like, Tetris in C++? You can also implement Go in Go.
 
@Pubby never played before.
@GigaBass he's talking about Google Go language
 
@BartekBanachewicz It is pretty fun and doesn't take very long to play or learn. Wanna give it a shot? @GigaBass can play too if he wants.
 
I've written shitwrecks in java and a "game" in c++ lol. I see
 
@Pubby why not. Teamspeak question is still active though.
 
1:47 PM
So like, I'm up for anything, 30 or so time limit. TS3's up, give the server
 
tomalka.no-ip.org
 
I like Go (the game).
 
Oh, I don't have TS, nor a mic. Anyway, go to the link, and go to the "secret chamber" room.
 
wait then it's not LoL?
 
1:48 PM
I thought by Dominion you meant LoL, lol
 
@GigaBass he's showing us the other dominion
 
oh I see.
 
hehe
 
LoL is that thing with the...? I really don't know.
 
@R.MartinhoFernandes Massive Online Battle Arena. Destroy oposing nexus killing minions on 3 lanes.
 
1:50 PM
Imagine StarCraft.
You control only one big guy.
 
I.e. it's nothing like StarCraft.
 
@GigaBass Comparing starcraft to LoL is really bad.
 
Precisely. That's the point.
 
That made all the sense, didn't it
 
1:51 PM
@R.MartinhoFernandes well, first MOBA game was a map in starcraft.
They require completely different skill tho
@Pubby what do i do next
 
@BartekBanachewicz Are you in the secret chamber room? I don't see you there. (what's your name?)
 
@Pubby bananu7 :P
 
gigabass
 
oh wat
it changed it itself, i swear
 
Ok, I see both of you
 
1:53 PM
@BartekBanachewicz Are you sure the M stands for "massive"? From what I gathered from hearing my brother play that, you play in two teams of 4? 6? players. Doesn't sound very massive.
 
@R.MartinhoFernandes 5v5 or 3v3. Massive because it's played mostly with random teams
And shitload of people play these
 
@BartekBanachewicz Cursory googling suggests "multiplayer".
 
@R.MartinhoFernandes whatever.
 
user142019
Il pleut.
 
I got bored of it anyway, I'm back to SC
 
1:57 PM
@Zoidberg in NL?
It's freezing.
 
Xeo
@BartekBanachewicz Don't you mean DotA in Warcraft?
 
user142019
@StackedCrooked no, just somewhere on Earth.
 
user142019
I assume.
 
@Xeo dota was the 2nd one, after the SC one :)
 
Xeo
Oh, I see.
 
1:59 PM
"But most students, even in college, aren't getting that"
 
I have so no idea what im doing
 
@Cheersandhth.-Alf lol don't they know that 'x' is a letter and not a number
 
@BartekBanachewicz you're sitting at a computer (or maybe mobile phone or something) writing in the c++ lounge chat on stack overflow
 
@Cheersandhth.-Alf I'm playing something.
 
user142019
@StackedCrooked X is a number, however.
 
user142019
2:02 PM
@StackedCrooked also depends on notation and base used.
 
@Cheersandhth.-Alf Sigh.
 
@Zoidberg but how's using base 33 etc. nowadays? only old babylonians, that's who!
 
user142019
@Cheersandhth.-Alf or Roman numerals.
 
only romans!
 
What's Q in Roman numerals?
 
2:05 PM
? 50, or was that D. Well, Wikipedia to the rescue
 
user142019
50 was L I think.
 
user142019
Or no that was 500.
 
user142019
No 50 is L.
 
@Zoidberg That's what I mean. Also: your memory is too good. I hate that
 
user142019
Q and D are both 500.
 
2:06 PM
@Zoidberg wrong answer buzzer
 
@Cheersandhth.-Alf "You can't know until you know value of x"
 
user142019
Ïš is 6.
 
user142019
S and Z are 7.
 
user142019
TIL a lot of new things. All at home.
 
user142019
And at school I learned a total of zero things!
 
user142019
2:06 PM
@R.MartinhoFernandes Wikipedia says so.
 
@BartekBanachewicz Is that your answer?
 
@StackedCrooked that's one of the answers students gave
 
user142019
Medieval abbreviation :P
 
@Zoidberg Q could stand for 500000.
 
user142019
Oh Ancient Roman notation!
 
2:07 PM
I was close then
 
Q is for quocksuckers
 
Jan 8 at 12:59, by R. Martinho Fernandes
> As a side note on non-standard Roman numeral, I've seen 80,000 written IVXXM (like quatre vingt mille) in an old french edition of the Arthurial cycle.
 
user142019
â…§ vs VIII
 
user142019
@sehe Q is for queue. A lock-free atomic one, that is.
 
2:09 PM
Q is also a character in a TV-series.
 
user142019
Q is also a letter.
 
Q is a fictional character who appears in the television series Star Trek: The Next Generation, Star Trek: Deep Space Nine and Star Trek: Voyager, as well as in related products. In all of these programs, he is usually played by John de Lancie. The name "Q" also applies to all other individuals of the Q Continuum. Q is said to be omnipotent, and is continually evasive regarding his motivations. His home, the Q Continuum, is accessible to the Q and their guests, and the true nature of it is said to be beyond the comprehension of "lesser beings" such as humans so it is only shown to hum...
 
IVXXX = 90 (quatre vingt dix :P)
 
Q is also the name of a person on... oook Tony beat me to it
 
user142019
2:10 PM
@TonyTheLion fictional my ass.
 
user142019
The picture is way too realistic.
 
@Zoidberg if your ass was fictional, you'd not be sitting right now
 
@R.MartinhoFernandes wtf
 
user142019
@TonyTheLion I am not sitting right now.
 
user142019
I'm laying on my belly.
 
2:11 PM
oh whatever
 
user142019
:P
 
suck a dick
 
@LucDanton Ok, that one was totally made up. The 80000 one wasn't.
 
I know, still wtf.
 
user142019
I'm a fucking idiot.
 
2:13 PM
It's sad that Roman numerals are far more interesting than shit I'm doing right now
 
user142019
Well, shit is also quite interesting. It's full of micro-organisms and chemicals!
 
and nitrogen
 
user142019
IMO nitrogen is a chemical.
 
so can make explosives
 
user142019
Exploding shit. Wonderful.
 
2:16 PM
Building is starting to vibrate from roadwork. That will lull me nicely to sleep.
 
@LucDanton Wear a hard hat
 
user142019
@R.MartinhoFernandes lol
 
> The responsibility for getting rid of the carcass was placed on the Oregon State Highway Division, apparently on the theory that highways and whales are very similar in the sense of being large objects.
 
2:21 PM
It's raaaining whale
 
user142019
We should explode Cat so he won't have to suffer from schoolitis anymore.
 
Technically it would work.
 
I don't want to be rained on with bits of Cat brain.
 
user142019
0
Q: Print a line 10 times in Objective-C?

RayI know that print line is NSLog. How do I print a line 10 times in Objective-C?

 
user142019
Those answers are hilarious.
 
2:26 PM
@BartekBanachewicz you there?
 
@Zoidberg lol
 
@Zoidberg, One person has three answers.
 
user142019
lol
 
user142019
Another person has three.
 
@Zoidberg lol
 
2:31 PM
You should use a modification of Duff's device that prints instead of copies! — Zoidberg 5 mins ago
^ nerdy
 
@TonyTheLion Then there is no problem.
 
user142019
#define repeat(n) for(int _i = 0; _i < n; ++_i)
 
@GigaBass "you a word" is a meme for "you forgot a word".
In your sentence you forgot a word, while stating you were 99.9% certain your code was correct (or something like that). Hence my logical followup that you probably forgot an identifier
 
12
A: Print a line 10 times in Objective-C?

Josh CaswellAnother while loop option. // // main.m // Pritner // // Created by Joshua Caswell on 7/19/12. // #import <Foundation/Foundation.h> #import <objc/runtime.h> // A Pritner instance holds and displays a passed-in string. The string is publicly // unchangeable. @interface Pritner : ...

 
user142019
I just posted that, slowpoke.
 
2:36 PM
@Zoidberg I posted an A, not a Q
 
user142019
ok.
 
oh LOL @sehe, I c what u did ther :P
 
@BartekBanachewicz I shall post an O.
Your move.
 
@R.MartinhoFernandes what's an O?
 
user142019
2:39 PM
Oxygen atom.
 
It's too big for an atom silly
 
user142019
'Oxygen' in Erlang. :P
 
Need more winapis.
 
@GigaBass I can almost read 4chan now
 
@sehe LOOOOOOL, that's got to be the funniest thing I've heard all day. Like going through 4chan was a skill
 
2:46 PM
The secret to browsing 4chan is to use filters
filtering everything away works great
 
i do not even as far to know how keyboard no pig type
 
@GigaBass isn't it a skill, to avoid all the crap?
 
haha if you say so
 
2:52 PM
Woah. @Etienne
 
Managers most go on a course or something. How else can the manage to talk for so long and say so little?
 
isn't that what they do normally?
 
user1182183
1>c:\program files (x86)\windows kits\8.0\include\um\winnt.h(301): error C2146: syntax error : missing ';' before identifier 'PVOID64'

typedef void *PVOID;
typedef void * POINTER_64 PVOID64;

wtf
 
isn't that how you get promoted to manager?
 
user1182183
standard MS include files has errors? O_O
 
2:57 PM
ok guys. I need PROLOG fast.
I have to turn it tomorrow and have 0.
Anyone able to help?
 
user1182183
which implementation?
 
@GamErix SWI
 
user1182183
this you mean: swi-prolog.org
 
@GamErix no it doesn't. It means that most likely you have some error in your code
 
@GamErix y
 
user1182183
2:59 PM
@BartekBanachewicz here ya go then: swi-prolog.org/download/stable xD
 
@GamErix ... not funny.
 
user1182183
you need prolog, isn't that prolog?
 
but you said you needed PROLOG fast
 
That was a mental shortcut (direct polish translation, dunno if applicable)
 
@GamErix depends on what you mean by "errors"
many of them don't compile as ISO C++, no
They rely on a number of compiler extensions, sometimes intentionally, sometimes not
 
user1182183
3:07 PM
@jalf well I want to compile a HGE Engine project
 
user1182183
but I keep getting a cannot find libc.lib link error so I deided to compile the library myself
 
user1182183
so I downloaded the directx 8 sdk
 
user1182183
installed it etc..
 
user1182183
hit build
 
user1182183
and boom, winnt.h errors.
 
user1182183
3:09 PM
maybe someone has something that's an equivalent for HGE in 2012 / 2013 edition?
 
@BartekBanachewicz Those who are able would probably rather have a leg cut off than have to write prolog.
 
@GamErix which compiler?
 
user1182183
@jalf Visual C++ 11 (VS2012)
 
well, msvc should be able to compile Microsoft headers :)
assuming you don't disable language extensions
 
it compilers the heck out of me
 
3:11 PM
@JerryCoffin :( that's what I thought
 
also, there are some headers that have to be included in the right order, because Microsoft sucks
 
Compiler? I barely know her
What are you doing in PROLOG?
 
@CatPlusPlus I have to implement check for 3-stack NIM, stacks arent differentiable, rules : take one from arbitrary or take two from two arbitrary (two different ones)
In any normal language I would build the solution from (1,0,0) (from bottom)
However the instruction clearly suggests checking all possible moves from top.
which looks dumb as hell to me.
 
@BartekBanachewicz Some inspiration: lkozma.net/nim.prolog
 
@JerryCoffin thanks, that might help
 
3:18 PM
Incredible things you can find with "nim in prolog" query
 
right now I'm stuck with p(1). p(2).. After typing p(X). it writes just X=1 then stops (?). Works for single p(1) though.
oh. it prints more after I press ; or space or TAB
for fucks sake whoever invented this
 
@BartekBanachewicz Colmaurer and Roussel (sp?), for what little that's worth. As I recall, Colmaurer is probably the main one -- don't hear nearly as much about Roussel.
 
@BartekBanachewicz note that it is well known problem
 
guis guis hey guis hey i just failed the compilation exam too ::::DDDD
 
Xeo
Yay, the command mapping is thrice as fast now with unordered_map
 
user1182183
3:32 PM
does anyone kow a good (modern) alternative to HGE? :X
 
Xeo
From 1.2 micro seconds to 0.4 micro seconds :D
(on average per command)
 
@Xeo What are you building that requires such speed
 
user1182183
@Xeo micro is 1E-6 or 1E-9?
 
Xeo
@NolwennLeGuen MMO game server.
@GamErix -6
 
@Xeo Awesome!! Can I see?
 
user1182183
3:33 PM
@Xeo k :P
 
> .de
no
is it a private server you're doing?
 
Xeo
The nice side-effect with the change is that it's fucking easy to register new commands
 
or is that your own game?
 
Xeo
@NolwennLeGuen There should be an English version out there aswell.
no and no
I'm working at the company that made that game. :P
 
user1182183
3:35 PM
@Xeo oh ok :P
 
quick ! if (nickname == "Cicada") gold = (uint)-1
 
Xeo
Eh, no.
 
user1182183
@Xeo admin plox admin plox admin plox XD
 
user1182183
*kidding
 
@Xeo Since you work on it: on the front page, edit "Mystical" to "Mysticial",and see how long it take before somebody notices. :-) (Yes, I know, you do programming, not artwork -- it'd be cool if you could get away with it though).
 
3:40 PM
cheeky @JerryCoffin
 
stonking great tits
 
Xeo
@JerryCoffin lol
 
@Xeo took more then 10 seconds to load, fail
 
@thecoshman You must have a slow connection. Loaded for me in about 6 seconds.
 
@JerryCoffin yeah, it's fairly shit here at work
 
3:44 PM
It's Flash
 
Xeo
@JerryCoffin Well, we need to send all the graphics shit at the first time.
@CatPlusPlus Well, and that.
My coworker is actually constantly complaining about Flash being slow as fuck.
 
Don't you know cool kids use HTML5 and canvas and/or WebGL these days
 
@Xeo what where you thinking
 
Xeo
This codebase is 3-4 years old from what I heard.
 
> cool kids
lol
@Xeo The one I work is 20 years old in some places
 
3:45 PM
Are you in hell?
 
@Xeo yes, but you don't have to dump the fuck tone on people in one hit
 
Are you doing COBOL?
 
@CatPlusPlus basically
@CatPlusPlus no. C++ or C
 
@TonyTheLion not sure how old this shit is... besides, Java :(
 
20 year old C++
Yeah, I'd take COBOL
 
3:46 PM
something like that
 
@CatPlusPlus Java? yeah, I'd take 20 year old C++
 
@Xeo .php. Y PHP?!
 
No, you wouldn't
 
yes; I would
 
Wanna come to my job?
 
3:49 PM
Bad Java code beats bad C++ code by lightyears
 
@NolwennLeGuen :(
 
@TonyTheLion yes
 
@CatPlusPlus Oh, definitely.
 
@thecoshman sure
 
There is a lot less that you can make bad when you are doing Java.
 
3:50 PM
then I can get the fuck out and have a life again
 
@TonyTheLion get your guys to send my guys me a contract
 
@thecoshman you'd move here? lol
 
Xeo
@Abyx To serve the fucking page?
 
@TonyTheLion probably :P
 
oh woah
 
3:52 PM
@TonyTheLion did I mention I hate this job?
 
@thecoshman We're in the same boat
 
user1182183
should I feel ashamed, someone just edited out the words "fuck" out of my question which I didn't see because they were in the code..
 
user1182183
?
 
@Xeo Well, you could make it a static HTML.
 
Xeo
@CatPlusPlus I have no idea what the index.php is actually doing, and I honestly don't wanna bother.
 
user1182183
3:53 PM
HGE is soo cool but soo old :( can't find any good alternatives to it.
 
@TonyTheLion That be so first mate! that be so
 
You could lighten the load on frontend server if it doesn't need to run PHP
 
@CatPlusPlus Old doesn't always translate directly to bad (you're probably just deceived because I'm such a badass).
 
@CatPlusPlus woah there nelly, don't be go having smart ideas like that
 
C++ usually translates to bad, and old C++ makes it worse
 
3:54 PM
@JerryCoffin cough
 
Cat's negativity is at normal levels.
 
9 mins ago, by Tony The Lion
@CatPlusPlus basically
 
user1182183
@TonyTheLion yet there is no meter for his levels, cuz hiss' are alway OUT_OF_RANGE;
 
You and the pirate have just been complaining about how shitty your jobs are.
 
Yes, I'm not feeling very positive either.
I'll freely admit that
@GamErix lol
 
3:56 PM
@R.MartinhoFernandes because our jobs are shitty
 
user1182183
@thecoshman becoming a soldier isn't an option?
 
@R.MartinhoFernandes ...or Coughin' (no, never heard that one before!)
 
@GamErix hmm...
 
@GamErix I've considered quitting programming field, but I got nowhere else to go.
 
@JerryCoffin Oh boy.
 
3:57 PM
@JerryCoffin This is worse than my puns
Absolutely terrible
 
user1182183
@TonyTheLion the russian army has always some free spots :)
 
@GamErix I don't live in Russia
 
user1182183
+Unlimited alcohol guaranteed
 
also, can't walk properly
 
@TonyTheLion same
 
user1182183
3:58 PM
good reason to move to Russia
 
Walking isn't that hard
Even babies can do it
 
@CatPlusPlus I'l just dip your feet in a meat grinder and see how well you can walk
 
@CatPlusPlus true.
 
@CatPlusPlus they crawl you idiot. toddlers start to toddle
 
user1182183
@thecoshman haha good one, made ma actually laugh : D
 
3:59 PM
@thecoshman Why did you do this to Tony? You are a horrible person.
 
> I often fantasise about looking out my apartment window and seeing a mushroom cloud rising on the horizon. That means I'd get the rest of the week off work.
 

« first day (822 days earlier)      last day (4125 days later) »