« first day (965 days earlier)      last day (3999 days later) » 

4:00 PM
Too bad the gameplay sucks. Makes going through it just to get the gem that is the plot a pretty painful experience.
I mostly play games for the story now.
That too.
But it's mostly part of the immersion factor.
Can't enjoy the plot if you're not immersed in it.
Metroid Prime was better.
But sure, get your nostalgia on.
MP did better because of the first person perspective.
 
ohai
hi @ScottW <3
 
@EtiennedeMartel I played the hell out of Skyrim (probably close to 100 hours now), and never made any story progress beyond the very minimum to get access to the cool stuff.
 
@R.MartinhoFernandes In that regard, I enjoyed Fallout: New Vegas a hell of a lot more than Skyrim.
Skyrim was better, technologically wise, but the whole world felt bland.
Also, I disliked the fact that violence was the only option.
 
@EtiennedeMartel Haven't played that yet.
 
4:10 PM
looks like a funny movie
 
In New Vegas, I went the diplomacy route.
i.e. "Let's talk, but if you get cranky, may I remind you that I have a gauss rifle?"
 
@ScottW I played it for 10 mins and haven't touched it since, so I agree with you.
 
@ScottW <3 <3 You have touched me deeply baby
 
@R.MartinhoFernandes It's filled with bugs, but it's so fucking engaging.
Save often.
 
4:11 PM
@EtiennedeMartel I liked that :S (unless I don't get what you mean)
 
@R.MartinhoFernandes The characters were all flat and shallow. I couldn't understand the motivations of any of the groups.
 
I probably should also note that I don't use fast travel.
@EtiennedeMartel Oh, did I mention no story progress?
 
That explains it.
Because the writing was bad.
And writing is important in a RPG.
 
I just did enough to be able to collect shouts.
 
But really, 100 hours? Holy hell, you're patient.
 
4:13 PM
1 min ago, by R. Martinho Fernandes
I probably should also note that I don't use fast travel.
 
@R.MartinhoFernandes Alright, then, s/patient/insane/.
 
I bought the services of those carriages that take you to other cities a couple of times, but that was it.
 
@R.MartinhoFernandes Roleplaying, eh?
 
so in a std::map, the elements are sorted std::less<Key>, does that mean the map::begin() is the element with the smallest key value?
 
@EtiennedeMartel If you look at it from any other perspective it is outright dumb, especially since I had been there before, and therefore could fast travel for free.
 
4:17 PM
@TonyTheLion Yes (you can specify a different comparison operator, but it'll always be the smallest according to whatever comparison operator you specify).
 
@JerryCoffin ok thanks
 
@TonyTheLion Note that if you want the smallest element, your_map.front() can be marginally simpler than *your_map.begin().
 
good point
 
@JerryCoffin simpler, yes; but if the implementation of front() just calls *begin(), then you've just added an unnecessary function call and its overhead.
 
4:22 PM
@EtiennedeMartel FWIW the primary reasons I haven't played FNV yet are: 1) I was too busy playing Skyrim and 2) I don't want to end up too busy playing FNV.
@ShotgunNinja lolwut
 
Well, I've had enough internet for today.
 
Because I will probably end up doing the same.
 
Unless the function is inlined, in which case it doesn't matter.
 
I really didn't need to learn this. NSFW
 
Optimizing compilers ftw
@TonyTheLion ._.
 
4:24 PM
@ShotgunNinja That's possible in theory, but 1) if it really does so, any halfway competent compiler will generate that code inline, and 2) it's also possible it could be the other way around (begin() could call front(), then create an iterator to it). Bottom line: use the one that makes more sense. Chances of seeing a real difference in speed by using one or the other is minimal at worst.
 
@TonyTheLion ....ugh, humans ._.
 
@TonyTheLion You did feel the need to have us learn about it.
 
inorite
 
@JerryCoffin fair enough. "Sanity Check" defeats "Trying to Sound Smart".
 
@R.MartinhoFernandes I had to share my misery. Sorry.
 
4:27 PM
@R.MartinhoFernandes Reminds me of an episode of Friends, where they're passing something around. Each one is smelling it and saying something like "God that stinks! Here, you smell it."
 
Speaking of misery.
Man, that hurts.
 
Awww poor duckling
Sometimes how I feel in this room :/
trodden on
 
I didn't even see the duckling under the mama's foot for a few seconds.
 
Well, gotta go again. TTYL.
 
4:41 PM
heheh
 
The lounge sired you both? Anyone owning up to be your father/s?
I am willling to give a DNA sample.
@ScottW OK, I'm off the hook for that one, then :)
 
> am extremely new to coding
Let's make an Android app!
 
What is wrong with people these days :(
 
4:55 PM
Is "guided" a past tense of "to guide"?
 
ah ok
 
Xeo
@ScottW Oh gawd
 
I cannot wait for the new album of Chimaira to come out at end of July.
Chimaira <3
 
mornin' y'all
 
5:04 PM
evenin' from where I am
what part of the world are you in?
 
canada
again
 
ohhh nice
 
UK, again :( OTOH, the weather is really good today. Been working hard in the garden with my hoe, (note: garden tool for weeding:). Beer O'clock - 3 hrs...
 
I am from berugi.
 
Hmm, my GCC was not built with LTO
 
5:19 PM
@MartinJames it's raining over here
it was sunny the whole week, but wth, the weekend's just around the corner, why keep it up?
 
@LuchianGrigore You have no floods there?
 
not that I know of
but I don't watch the news or read the paper
I mostly pick up what's important from 9gag & reddit
:D
 
Xeo
Having fun with mIRC colors
 
@LuchianGrigore Germany has had a bad week:( I'm off to Berlin on Tues, but the flooding is way south of there, so I should be OK.
 
Ell
5:33 PM
Hi guys :)
 
@R.MartinhoFernandes Ime it's broken for C++11 these days.
 
At least -flto. I don't bother much with -whopr or the like.
 
So. We went an got some Indian food, and my colleague decided to take the spiciest thing on the menu. He's got plenty of experience with Szechuan cuisine, so he could take it, but at the end he offered me to get a taste. It's been 5 minutes, and I can still taste it.
 // properties that don't dirtify the document if modified
I like my comments. They're so clear and easy to understand.
 
@EtiennedeMartel I get a mini heart attack each time I see: //don't edit this function / this works
 
5:42 PM
@FlorisVelleman Weakling.
 
Hmmm, decltype(temp{}.*ptmo) is M&.
 
Ell
I can only just enjoy a madrass when it comes to hot food
 
No. False alarm.
 
I always want to play Link's Awakening, but when I do, I realize it is way too short.
 
@Morwenn Link to the past took me months though, awakening was pretty much perfect
 
Ell
@EtiennedeMartel again? I swear it's like once a week ;)
 
Link's Awakening may be my favourite game :)
 
@Ell Nostalgia is a harsh mistress.
 
6:01 PM
I beat Link's Awakening in almost 2 hours.
 
@ScottW the one with four swords and palace?
 
Haha, the "get everything" is some harder clause.
 
I can usually do a 100% run of Ocarina of Time in about 10 hours. I'm not very fast.
 
@FlorisVelleman You're probably talking about The Minish Cap.
@FlorisVelleman Or Four Swords Adventures :D
 
6:04 PM
@FlorisVelleman Oh, that's the GBA version of ALTTP combined with Four Swords.
 
I love finding questions with lots of complex answers, and I know an answer that is one line of code.
 
I once wrote a bunch of articles about the bugs in Link's Awakening and he Minish Cap. But the website where they were does not exist anymore :/
 
5
Q: How to protect an array definition againt incomplete initialization with non-zero values?

fork0I have a global array, which is indexed by the values of an enum, which has an element representing number of values. The array must be initialized by a special value, which unfortunately is not a 0. enum { A, B, C, COUNT }; extern const int arr[COUNT]; In a .cpp file: const int arr[COUNT]...

 
Ell
okay I don't know how opengl screen and uv coordinates work :3
I mean, I'm trying to just get a full screen quad but it's drawing wrong. Gimme a sec
const float vertexData[] = {
	//   x,     y,    u,       v
     -0.9f, -0.9f, 0.0f,  0.0f,
     -0.9f,  0.9f, 0.0f,  1.0f,
      0.9f, -0.9f, 1.0f,  0.0f,
      0.9f,  0.9f, 1.0f,  1.0f
};
okay, almost fullscreen
Now let me upload screenie
I'm drawing with GL_TRIANGLE_STRIP
 
6:22 PM
boost fusion is cool
 
Ell
Hmm. I can never seem to get interleaved vertex attributes to work out right
I'm not sure what the pointer & stride should be in my calls to glVertexAttribPointer. At the minute I have:
position attribute: `index = 0`, `stride = sizeof(float)*2`, `pointer = 0`
texoord attribute: `index = 1`, `stride = sizeof(float)*2`, `pointer = sizeof(float*2)`
Any help is appreciated but if you are busy just say and I will stop pinging you :P
 
Hmmm, I get an average write speed on my HDD of 2500 MBytes/sec (with WriteFile()). I suspect something is wrong with my calcs xD
 
Hi
 
As I understand gcc using pthread library to implement C++ threads so one needs to link to -pthread, Is this temporary untill gcc pulls in pthread in to the standard library?
 
Ell
6:30 PM
until it gets put into libstd++ I think
 
Who knows.
Who is the boss of gcc?
 
@StackedCrooked If end user has to still explicitly link to an external library, nothing much has changed for the end user then no?
portability a different beast which is tamed though
@Ell Has any other compiler implementations pulled in threads in to libstd++ already?
 
user142019
Hmm.
 
user142019
What's up.
 
@StackedCrooked I could name some of the main maintainers of libstdc++, but it would be harder for the whole gcc project.
 
6:43 PM
I just read that it's controlled by the steering committee.
 
user142019
I wish I could set a foreign key in PostgreSQL to a column in a table in MySQL.
 
user142019
There is a feature called "foreign tables" but it's kind of crappy terrible.
 
@StackedCrooked I've no idea what the steering committee is.
 
@StackedCrooked John GCC.
 
user142019
6:44 PM
@StackedCrooked God.
 
I asked it here:
0
Q: libstd++ support for C++11 multithreading

Alok SaveWhile using std::thread with gcc 4.7.2 one still needs to explicitly link to pthread because gcc implementation of threads still uses pthread library. As I understand this is a temporary arrangement till gcc pulls in pthread library in to libstd++. C++11 standard provides support for std::thread ...

 
user142019
> Toon Moene (Koninklijk Nederlands Meteorologisch Instituut)
 
@StackedCrooked "The steering committee was founded in 1998 with the intent of preventing any particular individual, group or organization from getting control over the project."
--> That means they took control before other people had the chance to do so.
 
user142019
Programmerende meteorologen!
 
@Morwenn :D
 
6:45 PM
And appart from Stallman, I don't know any of those guys.
 
Ell
I'll try using 0 first
 
> Richard Stallman (Free Software Foundation)
I guess we're screwed.
 
@ScottW <3 <3
 
@ScottW Salt my fries?
That's so romantic.
Should have been "Salt my hash".
 
"Hash my..."
 
6:50 PM
Hache mon steak.
 
@Morwenn Cet aperçu.
 
@EtiennedeMartel Bah, ils auraient pu en avoir un bien meilleur vu les paroles^^"
 
I like it when I download some sample and there's a file named CustomControl1.cs in it.
 
Ell
heh
 
user142019
6:59 PM
My code is bad and I should feel bad.
 
// ... TODO ... right now we use the same behavior of Shit Keyword
4
I wasn't aware of that keyword.
 
user142019
lol C++03
 
@Raindrop Hey there.
 
user142019
lol C++
 
user142019
7:00 PM
Man.
 
user142019
Python is so fucking good.
 
I wasn't aware C++11 changed anything relevent to that code, but apperently they did
 
@rightfold You don't say.
By the way, I suppose you already read this article about addiction to porn.
 
> beginner always have a question stupid (Sorry that ^^). Please help me!. How to convert Unicode consortium to unicode use PHP.
 
user142019
7:03 PM
Yum porn.
 
user142019
I love porn.
 
Here, Yum is a brand of nuts.
 
user142019
Bitches love my nuts.
 
user142019
@MooingDuck Because Wikipedia.
 
7:05 PM
it is however on the service mark symbol page: en.wikipedia.org/wiki/Service_mark_symbol
 
user142019
And it does.
 
oh wait, there it is
fail
 
user142019
> The Trademark Symbol, in Unicode U+2122 â„¢ trade mark sign (HTML: &#8482; &trade;)
 
user142019
First sentence. Buy a pair of glasses you duck!
 
user142019
Also option+2.
 
7:06 PM
@MooingDuck cv qualifiers of the array element type apply to the array.
 
@LucDanton only partially apperently
@LucDanton invalid initialization of non-const reference...
 
@MooingDuck Never read beyond the first error.
 
I created the first error trying to fix the second
 
A compiler extension is involved. That muddies the situation.
 
7:08 PM
@LucDanton what is?
 
@MooingDuck Compound literal.
 
@LucDanton I.... thought that was standard
 
Well, standard C99 and beyond at any rate.
 
@LucDanton ah, C99 but not C++03?
 
@MooingDuck Nope.
 
7:10 PM
@EtiennedeMartel yeah, I found it when rightfold mentioned it
 
Right. Nor C++11. Same thing for designated initializers, too.
 
@MooingDuck I had to use my freehand circle skills.
 
@LucDanton wait not C++11 either?
 
@MooingDuck Neither.
 
7:11 PM
@MooingDuck In c++11, you can write return { 1, 2, 3 }; which suppress the need for compound literals in 95% of the palces they are actually used.
 
if (isViewItemMultipleSelected)
{
     viewItem.IsSelected = isViewItemMultipleSelected;
     AddItemToSelection(viewItem);
}
That code, my lord.
 
@Morwenn The funny thing about that article is that you know that none of the links lead to porn, but you're curious about what Cracked actually did put behind them.
 
@LucDanton oh, I was working on an answer, and that's almost identical to what I wrote was a C++03 workaround.
 
user142019
Sunrise is beautiful.
 
@DeadMG Yeah, that's the worst part. And even if you ignore them just in case, you know by reading further that it wasn't porn and go back to check what it actually was.
 
7:14 PM
The const int(&const ref)[1] attempt is similar to attempting int& const ref btw.
 
@rightfold Praise the Sun.
 
user142019
No.
 
Ell
Euclideon Geoverse is really impressive
 
@Morwenn I've seen that article years ago
 
@MooingDuck No surprise, it was published in 2007.
 
7:31 PM
Does anyone know if any C++ feature has been proposed, such as this: auto x = std::overloads(foo) returns a function object such that x(args...) is the same as foo(args...)?
Perhaps std::defer is a better name.
 
@GManNickG Xeo made such a proposal.
 
@LucDanton Why can't I be the first to propose any features? :(
 
Xeo
Hi.
@GManNickG Can't be done with functions unless you change the basic overload resolution rules.
So I opted for a lambda-like syntax: []foo
 
@LuchianGrigore Tasteful.
 
7:38 PM
I lol'd so hard :))
 
@EtiennedeMartel dat pun
 
@Xeo I was just gonna say compiler magic. :)
 
@ScottW Awww
 
Xeo
@LucDanton: Btw, currently, I have []foo just generate a lambda with a perfect-everything operator() but I was thinking - if I want to make something like overload([]foo, [].foo) or even overload([]a, []b) "work", I can't just have a catch-all signature...
 
Does C++14 add variadic lambdas? [](auto&&... args){}?
 
Xeo
7:39 PM
@GManNickG yes
Can be used to emulate it
With a macro
 
Exactly, then I suppose the utility of this feature is meh.
 
@Xeo Oh yeah.
 
Xeo
@GManNickG "It's not a macro" is a pretty good reason to make it a language feature
Also, I correctly deal with operators
@LucDanton Thoughts? :/
 
me sleepy
 
Eh, I suppose while everyone is gung-ho about adding feature it would be possible.
In the past, "you can write a simple macro" was a valid rejection reason
Good point on operators though
 
7:44 PM
 
Xeo
@GManNickG Also, if you want to take into account such overload(a, b) as above, you can't just make a templated operator() - that would require real compiler magic.
 
Ell
Am I stupid? does cos(pi) == 0?
 
No, it's -1.
 
truth
 
Ell
7:54 PM
Damnit. I mean sin(pi) == 0
 
yes
 
Hmm.
 
you should learn the trigonometry hand trick.
 
I need some sort of mock HTTP server that would accept my testing POST requests. Any ideas?
I do not want to have to setup Apache or such.
 
Ell
mongrel? idk
 
Awesome! Tanks.
lol
Thanks.
 
Echo protocol returns what it receives. Might be what you want.
 
With a bit of thinking you can have the entire unit circle in your fingers.
 
Ell
ahh cool
 
"Room owner election nominations are open"
wut? who's quitting?
 
7:58 PM
Cat++
 
@EtiennedeMartel hi
 
I don't know
 
I don't know either. Even after reading the transcript.
 

« first day (965 days earlier)      last day (3999 days later) »