« first day (286 days earlier)      last day (4674 days later) » 

8:00 PM
Existence of MPL suggests it is useful.
 
@hexa IIRC, only signed.
 
I don't know, when size isn't an issue, compile time calculations can speed programs up tremendously.
While offering static reuse.
 
TMP can quickly become write-only code
 
lol
not if done correctly
 
unmaintainable code can still be correct
 
8:01 PM
Perl can too.
 
Note, a moved from object is not guaranteed to be the same as initialized.
 
Perl kind of invented to concept.
 
but then you don't do it correctly. you can program your correct code incorrectly
 
@hexa The general idea of meta-programming is great. The implementation in C++ is...not quite so great. It can still be extremely useful, but relatively trivial tasks can require code that's non-trivial to write, and parts of which are really only understandable to a fairly small percentage of experts.
 
there's more than one kind of correctness I suppose
 
8:03 PM
@StackedCrooked What concept? Unreadable code? Sorry, but Intercal beat it to that by quite a while.
 
@JerryCoffin write-only code
 
Machine code was first.
 
Although BASIC was earlier.
GOTO 10
 
@StackedCrooked You can read INTERCAL?
 
@StackedCrooked Oh, not that either. Do a bit of reading about APL sometime.
 
8:04 PM
@MartinhoFernandes I don't know INTERCAL
 
APL lurks in the shadows and waits to strike again, I tell you.
 
@StackedCrooked It's the canonical joke language -- predecessor of brainfuck and such.
 
It's awesome!
 
my compiler executable is 130MB big in debug build. it's 18 MB big in release builds
 
It has all these operators no other language has!
It has COME FROM!
 
8:05 PM
of course, all that is the template programming
 
@CatPlusPlus Probably -- I'm still confident that the OS for the universe is about 50 lines of APL.
 
There's an implementation that uses COME FROM to do threads!
@JerryCoffin According to XKCD, it's hacked up together in Perl.
 
@MartinhoFernandes Obviously XKCD is wrong (probably too young to have even heard of APL).
 
Is DNA like a programming language then?
 
What's DNA?
 
8:07 PM
deoxyribonucleic acid
 
Would be funny if we discovered that the world was written in Pascal.
 
That double-helix-acid-thing-in-cells?
 
RNA is the one that does the coding, AFAIR.
 
@MartinhoFernandes yep
 
Honestly, anybody who things Perl code is compact really needs to read some well-written (!) APL sometime.
 
8:07 PM
RNA is like XML then?
 
I think DNA is like data.
It's the RNA that "executes" (aka builds proteins)
 
Yeah, but if DNA is data, then were is the code?
 
RNA is like non-RAID. DNA is like RAID1
 
DNA holds the original encoding. RNA translates the DNA into proteins (i.e., does "protein folding").
 
RNA is with the redundancy removed I believe
 
8:08 PM
Or is life like a Von Neumann architecture.
 
DNA is super complex
 
RNA is the machine than interprets the code in DNA.
 
@JerryCoffin Does it have anything to do with Monads, by chance?
 
no its not
 
What's up guys?
 
8:09 PM
@FredOverflow I guess not.
 
dna is just a linked list
 
@ManofOneWay Opposite of down.
 
@hexa Tangled list.
@ManofOneWay A quantum state.
 
I don't even know what a tangled list is
 
cell-division of embryo is like a recursive function
 
8:09 PM
yes the encoding has tons of tricks to compress data and increase error recovery. like, reading the same codes from different offsets yielding different proteins.
 
@FredOverflow Given the double-helix nature, clearly dyads not monads.
 
I really like the graphics in this game
 
every human cell is as complex as if not more complex than a real computer
 
Stolen from the innovative Minecraft graphics.
 
@ManofOneWay The graphics in the ad next to the video looked better to me.
 
8:11 PM
i think it's more complex by far
 
@MartinhoFernandes Are you sure Minecraft came first?
 
@JohannesSchaublitb Ultimately, computers aren't very complex. They mostly have a lot of really simple things (e.g., memory cells) replicated a whole lot of times...
 
Does it matter if it was Xerox who invented the mouse (or something else someone else took credit for)?
 
@ManofOneWay Minecraft: Late 2010; 3D Dot Game Heroes: Late 2009.
 
Didn't Xerox invent rampaging employees?
 
8:13 PM
@MartinhoFernandes You were the one telling they ripped Minecraft =)
 
Because that's how the world will see it.
 
OTOH, modern computers have gotten a lot more complex in ways that most people (even programmers) either don't notice at all, or are aware of only to the most minuscule degree.
 
use this next time your code doesnt work.

http://www.nooooooooooooooo.com/
 
@EtiennedeMartel Have you played 3d dot game heroes? =)
 
@ManofOneWay Nope.
 
8:15 PM
@EtiennedeMartel Me neither
 
But I've heard it's cool if you enjoyed A Link to the Past.
 
@EtiennedeMartel That was a great game, although I enjoyed Ocarina of Time more!
@EtiennedeMartel Best game ever though, FF7!
 
I enjoyed Majora's mask more than Ocarina of time!
 
@ManofOneWay Yeah, as did most people.
 
Chrono Trigger is were it's at
but FF7 is my fav
 
@hexa good choice!
 
OoT is the best game ever.
 
@EtiennedeMartel Yeah OoT and FF7 are my favorites, it's hard to say which one's the best
 
Do you have another favorite programming language besides C++?
 
8:17 PM
@StackedCrooked Haskell.
 
@StackedCrooked C#.
 
C and PHP and mircscripting when i knew how
 
In fact I prefer C# to C++.
 
I seriously think MM was better than OoT
 
8:18 PM
@MartinhoFernandes do you have practical experience with Haskell?
 
Define practical.
 
@ManofOneWay Well, FF7 was an interactive movie more than a game.
 
5 years ago I did the YAHT tutorial on Haskell, but never got beyond doing the exercises.
 
I used it a lot in school projects.
 
@MartinhoFernandes that's practical
 
8:19 PM
Ok.
 
@StackedCrooked I view C++ a bit like the old line about democracy -- it's the worst language possible -- except for all the others that have been tried.
 
@JerryCoffin that's a good analogy
 
hmmm... things are not that horrible about rvalue references... 12.8.10 sort of saves the day
 
@JerryCoffin C++ is the language you use when the ideal language does not exist.
@6502 You again?
 
What was that word?
 
8:20 PM
@EtiennedeMartel Which is to say, pretty close to all the time, yes.
 
Ah, code.
 
@6502 You still haven't shown any code
@JerryCoffin Well, I wouldn't use C++ for anything else than game development these days.
 
@StackedCrooked What made me appreciate and truly understand the language was a Sudoku solver project.
You could try that.
And then do it with monads.
 
@MartinhoFernandes interesting, maybe I should try that.
 
Why are you so obsessed with code? Here is some code to ponder:
void main()
{
    i = i++;
}
;-)
 
8:21 PM
ARGH
void main
 
void main?
 
The goggles! They do nothing!
I wonder if I should flag it.
Because it's obviously innapropriate.
 
It's definitely not for the faint of heart.
 
@EtiennedeMartel I don't know about inappropriate, but certainly offensive!
 
8:23 PM
Wait, I know just the solution:
#define void int
;-)
 
@FredOverflow Crossing the line, twice.
 
@FredOverflow Great fix! :-)
@EtiennedeMartel Remember: two wrongs don't make a right, but three lefts do.
 
the list of cases in which the move constructor is not implictly defined is truly impressive...
 
1
A: Compute the CRC32 table at compile-time

Joey AdamsHere's a plain C solution: crc32table.c #if __COUNTER__ == 0 /* Initial setup */ #define STEP(c) ((c)>>1 ^ ((c)&1 ? 0xedb88320L : 0)) #define CRC(n) STEP(STEP(STEP(STEP(STEP(STEP(STEP(STEP((unsigned long)(n))))))))) #define CRC4(n) CRC(n), CRC(n+1), CRC(n+2), CRC(n+3)...

 
@JerryCoffin Also, two lethal diseases will cure each other.
 
8:27 PM
cool, a C solution :)
 
what does it mean "deprecated" in the following phrase? <<Such implicit declaration is deprecated if the class has a user-declared copy constructor or a user-declared destructor.>>. its from 12.8.19...
 
@FredOverflow I've tried fancy Boost.PP solution, but didn't have time to finish it.
I did manage to hit macro recursion limit. :P
 
@CatPlusPlus where is it?
 
Nowhere.
 
How high is it?
And please don't say "doped beyond recognition" ;-)
 
8:40 PM
Hey guys, just as a reminder, flagging a message enough to delete it will give the poster an automatic 30-minute chat suspension. And the system doesn't know when you're flagging just to be funny.
 
Yeah, because we're the ones flagging all our messages.
Kids playing with flags are pretty common in some rooms, they only moved here recently.
 
lol
who played with flags?
wow what was that. a lot of people left the room
looks like Michael kicked some flaggers out :)
 
0
Q: Why am I blocked from using chat?

Martinho FernandesJust now I got suspended in chat, ending in 28 minutes. I have no idea why. What did I do wrong?

Yeah, unfortunately, there's no way for me to tell who's flagging.
 
8:48 PM
0
Q: Why is my account blocked on chat?

StackedCrooked Possible Duplicate: Why am I blocked from using chat? My account is currently blocked and I don't know why. Is there a way to find out the reason? I don't find this in the faq.

 
i trolled so mayn times and i wasn't suspended from chat. that's not fair
 
Both of them were in this room, and then when I came to check things out, there were a couple of active flags on messages that clearly didn't deserve them. That's all I can tell.
 
indeed i wouldn't be surprised this happened here too
 
Hi! I'm back.
 
8:50 PM
Yay!
 
Can room owners see and clear flags?
 
I think not.
I'm a room owner and all I can do is "valid", "invalid", "not sure".
 
Well, just don't vote "valid" unless it deserves it, I guess. Especially not on your own posts.
Not that anyone would do that, right?
 
whistles
 
8:54 PM
I usually just go with "not sure".
 
@Michael you say "ASP.NET (C#) and Java by day, C++ by night." does that mean you do C++ for a hobby?
i'm not seeing you acting often in the C++ tag
 
No, you guys are way above my level. And fast.
I hardly ever post answers anymore, though.
 
I'm a newbie!
 
@MartinhoFernandes No you're not.
 
I've been on C++ for a few months only.
I'm certainly not an expert.
 
8:58 PM
I don't think anybody can be an expert in that huge organic mess of a language that is C++.
 
@DeadMG is.
An Expertâ„¢.
 
@MartinhoFernandes Oh, the kind of guy who goes on Expert Exchange?
 
I don't know. That's what he claims to be.
 

« first day (286 days earlier)      last day (4674 days later) »