« first day (860 days earlier)      last day (4314 days later) » 

00:00
erhm.. I don't like this though {Obj * obj = new Obj (...); obj.member = ...;
yeah sure, the use of operator. vs operator-> isn't exactly optimal in C++, but I'm soo used to it
Xeo
Xeo
1
A: C++ index of type during variadic template expansion

XeoIndices trick, yay~ template<class T, class... Args, std::size_t... Is> T* create(U* p, indices<Is...>){ return new T(static_cast<Args>(p[Is])...); } template<class T, class... Args> T* create(U* p, std::size_t num_args){ assert(num_args == sizeof...(Args)); return...

Indices trick, yay~
sometimes I forget about the technical knowledge that my father possess.. he's gonna lead a talk about cloud services and the mobile network in barcelona starting tomorrow, and he came into the room I'm currently sitting in (pitch black, the only lightsource is my laptop screen)
@Mysticial: how did your interviews go?
00:05
Variadic Template Master Xeo
and says; "filip, you've been working with cloud services right?" my reply is "yes, of course.. why?", "well, listen to this" and he starts talking about.. well, I'm impressed
very impressed
@Borgleader The one in Chicago went pretty well I think. The one in New York isn't going to happen.
I think it was too last minute for them.
@LightnessRacesinOrbit I'm a swedish nigger, I don't know much about nothing.
The Chicago one was SomethingFacts?
I'm blanking out on the name =.=;
FactSet
They are literally in the highest floors in a building across the street from the Sears tower.
00:07
@refp You've been on the internet for long enough to know what "cba" means.
What company was it in New York?
So it's got a nice view on 3 sides, and a wall of windows on the 4th.
looks up FactSet
@Borgleader I won't mention the name, but it's one of those hedge funds.
00:08
@LightnessRacesinOrbit I don't normally interact with people using acronyms like that.. a reason as good as any.
speaking of acronyms.. I hate SMH.
the sucker who came up with that should get a null-pointer dereferenced in his right eye
Xeo
Xeo
Fuck off Adobe Reader... why the fuck do I need to restart my PC for you to install your stupid updates. :|
No standardese answers for a while, it seems~
we ran out of fucks to give
@Xeo why the fcuk are you still on winblowz?
Ell
Ell
Tomalak
I too have not seen a standard-heavy C++ q&a in some time, though I concede that I haven't been looking much
00:12
@refp I think a good chunk of us use Windows.
Including myself.
Xeo
Xeo
Hah, killing the process made it obey.
Ell
Ell
I use win and linux
by the way.. what are you guys opinion on that [d] uses operator. for both stack objects and pointers? smart-pointers can't be implemented without an itermediate step, but that's almost the only downside I see
Ell
Ell
Girls, y u so underconfident!?
"stack objects"
just for that, I'm leaving
00:13
oh fuck
wait
how do I undo an edit? by editing it again
@LightnessRacesinOrbit you sure know what I mean by that, stop being a prick about it
@refp ok
then you go say it in front of someone who doesn't know what you mean, and you confuse the fuck out of them, and then we have 20 more shitty SO questions
not to mention more bad code hiding out there in the world
honestly the question isn't aimed towards those who doesn't understand, I'm sick (literally) and tired, and lazy.. mostly lazy
00:16
oh now I see what's going on.. I keep forgetting @LightnessRacesinOrbit is Tomalak
@LightnessRacesinOrbit I don't like your "new" nick, it doesn't register well with my brain
Psssst.
Quick poll of everyone here: GLEW, glload, or some other alternative?
@ThePhD LOTR, gollum..
Xeo
Xeo
@ThePhD std::cout.
Is what I do, anyways. :)
Okay, so 2 for GLEW.
@Xeo please, std::clog!
it's not used enough, I tell you that much
Xeo
Xeo
00:19
@refp Because it's utterly useless or something? I mean, it might be useful if you redirect the output to somewhere else and consistently use std::clog for logging, but eh... there are better solutions.
Also, it's not as internally-synchronized as I'd like.
@Xeo I've never been tempted to use it.. but a 0% usage rate must mean that it isn't used enough
Hey guys, do you use #ifndef in classes AND struct?
Or maybe it's just useless.
@Mysticial perhaps.
or do you need it in All header files regardless of type?
00:20
@Howdy_McGee elaborate.
Ell
Ell
@thephd glew Is really quick. Just glewInit();
Xeo
Xeo
@Howdy_McGee What the... I don't even... wat.
Ell
Ell
But I failed to get it to play nicer With c++ earlier
3 for GLEW.
@Howdy_McGee include-guards belong to .h's, not to a "certain type"
00:20
@refp ah ok
@ThePhD it's spelled glue, thank you.
@refp 2 coders 1 glue.
why is the standard io module in D named stdio, and located under std.. isn't that a bit odd? import std.stdio
I think it's a bit odd.
Xeo
Xeo
import ... drool
Alright, I'm glad we all weighed in ehre
Looks like I'm going to use glload.
Ell
Ell
00:24
Howcome?
Because people suggested glew? :P
Xeo
Xeo
I suggested good ol' console. :<
I wonder how this is actually implemented.. if it's a cool trick or just lazy "function calling member-function of object" writef (...) prints to stdout and is therefore equivalent to stdout.writef
Ell
Ell
Gl extension loading is a bit crazy imho.
Hm.
user1357851
Why the unsubscribe button NEVER works
user1357851
00:29
when I press the unsubscribe and be confirmed I expect no more junk mail from you
user1357851
why insists on sending me your spams!!!
Ell
Ell
:3
Where did the term spam come from?
What has sir tim Berners lee got against
SPAM
Xeo
Xeo
@Ell Monthy Python ad.
@Telkitty Because they now know that you actually exist.
user1357851
true
user1357851
I hope now I can sue them for the spamming. But spam is such a trivial crime
user1357851
00:32
nobody would pay attention to it
Also they're probably in Somalia
user1357851
Algeria?
user1357851
they are famous for computer literated scammers
user1357851
I watched this TV program, the scammer told the reporter that scam is hard work
Algeria. OK, they get added to my list of places for mass nuclear disarmament. Algeria, DPRK, Somalia, West Ham, Old Trafford.
user1357851
00:43
I have this fantasy - to scam the scammers
user1357851
Once I played around with some scammers, I told them 'promising things'
user1357851
too bad they insisted on calling me during work
user1357851
otherwise I would 'have fun' with them
Xeo
Xeo
00:54
I'll hit the sack, g'night.
@Aditi - The underlying problem is that some new users don't ask proper questions in their comments, but offer us cheap brand handbags and shoes, or really affordable second mortgages on our houses. Therefore you need to have just a few upvoted posts to prove that you are serious about this. — Bo Persson 11 hours ago
^^ hehe
@Xeo night
Ell
Ell
@xeo night
Did they just change the design of the tags?
Ell
Ell
No idea
They look different now than the did an hour ago.
00:59
I am incompetent at chat
The tags don't look quite as 3D as they did an hour ago.
Xeo
Xeo
@Mysticial Yeah, on the main page, the shadows are lighter it seems.
I see what you mean
It's like I notice these subtle changes, whereas the cat wouldn't know if his arm got cut off...
Ell
Ell
Damn I'm hungry for junk again
01:06
What is the strategy to achieve O(N*N*sqrt(N)) on an insertion sort?
Xeo
Xeo
25
Q: Cyber bullies stole my identity, lunch money

SandwelbogI was taking a leisurely scroll down Regex Road, heading toward HTML Avenue in the (as I had thought) great city of Stack Overflow when suddenly a band of hoodlums dressed in Larry Wall masks appeared out of a universal serial schoolbus and had me surrounded faster than parentheses surround funct...

@CaptainGiraffe You do a normal insertion sort, then loop N*N*sqrt(N) times.
Xeo
Xeo
I just stumbled across this masterpiece.
@Mysticial I wish It was that simple. I have benign looking sorting code that adds the extra sqrt all by itself. My jaw has dropped plenty
Xeo
Xeo
01:09
@Mysticial, can you make me 2 images, one of the tags in the chat, one on the main site?
My upload is tooo slow to do that. :|
question guys
im doing a graphical test on my engine
now im wondering when i scroll around the map i read blurring the graphics will improve the performance whilst moving around
is this true ? and if so how does it improve performance exactly
Old followed by new.
Xeo
Xeo
Wait, from when is that old one?
Why do you have that?!
01:12
They're both off the month tabs.
I just happened to have a screenie from a month ago.
Xeo
Xeo
lol
It's a very subtle difference. But very noticeable at a glance.
Xeo
Xeo
0
Q: Who stole the tag shadows?

XeoJust an hour ago, they were still there! Now, it seems, somebody took 'em far away. Luckily, I had a unicorn-powered time machine in the backyard, so I can deliver proof of the evil deeds: Before: After: On a personal note, I liked those shadows. Good buddies. Can haz back?

Any idea where the sqrt N comes from? ideone.com/VfeKP8 (yes it is a node struct)
Insertion sort should not have a sqrt(N) term.
01:16
@Mysticial I know that what is bothering me. And I have never seen a sqrt term in the wild before.
@CaptainGiraffe Well then add it to your pokedex.
svn prop add pokedex:Sqrt(N) not in the wild
guessing no one knows then :(
Xeo
Xeo
@Mysticial Y'know, we should've added free-hand circles. :/
@Xeo lol
01:22
Here is the silly linked list time measurement. Well the yellow is a fitted curve to n*n*sqrt(n)
Xeo
Xeo
Shog is awesome.
You literally have to be either under the influence or non-human (cat for Anna) to work for SE.
@Mysticial Whats SE's policy on the Ballmer peak?
@CaptainGiraffe I'm not sure. Just ask Shog. Though I'm not sure how much to trust his answer since he's clearly intoxicated right now.
Xeo
Xeo
Anyways, till tomorrow.
Which reminds me, new Kotoura-san tomorrow \o/
01:28
night, lol
I'm
still no closer to the mystery of the squirt
Jin
Jin
@Mysticial I can confirm that
02:11
Woooooooooooooooo
Windows 8 development sucks so much dick. :D
Defaulting alllllll the DirectX libraries to Windows 8-only libraries!
-1
Q: Which is the Best book for intro to object oriented programming and Java?

user2043564I'm planning to participate in ACM ICPC, Google code Jam or Facebook Hacker cup, and they say that Java is better than c++ for those competitions, so I decided to lean Java rather than c++. I was wondering which is the Best book for intro to object oriented programming and Java?, I already know h...

:(
@Xeo Already seen it :D
And the latest Boku wa tomodachi ga sukunai
The lastest what?
"I don't have many friends" is the literal transation.
, also known as , is a Japanese light novel series written by Yomi Hirasaka, illustrated by Buriki, and published by Media Factory. It has twice been given manga adaptations; the first incarnation, its title and basic plot unchanged, began serialization in 2010; it was written and illustrated by Itachi and published in Monthly Comic Alive. A second adaptation with a different story, written by Misaki Harukawa and illustrated by Shōichi Taguchi, was called Boku wa Tomodachi ga Sukunai + and published in Jump Square. A 12-episode anime adaptation by AIC Build aired in Japan betwee...
okay...
02:44
@StackedCrooked That is an amazing show...
Yeah, it's good :D
With shitty poop vampires.
(Latest episode has many fights between Kobato and Maria.)
I kinda like Mondaiji-tachi, but it's a little early to tell.
Well, now I have x86 and x64 static libs of GLEW and glload so I can change which one I want on the fly.
Very good.
YAY for windows!
@Jab Yay! :D
02:51
hmm?
@CCI random stuff
...I don't know
err
hmmm
wrong room I guess
"/o"
@Telkitty lol
03:17
@StackedCrooked Is it me or most manga/anime series involving high school students always have at least one transfer student in the main cast?
Is it that common?
user1357851
well, it is all logical
user1357851
like if you have the same bunch of people in the same class whatever would happen would have already happened
user1357851
If you have a transfer student
@Borgleader There's always a transfer student.
@Telkitty Somehow I can't help but think this statement is flawed.
user1357851
03:19
it would be a whole new dynamic amongst key roles in the manga/anime
Hmm, it's not on Crunchyroll, I would've given it a try if it had been.
03:38
hello there
On windows, what's the most "standard compliant" C++11 compiler?
MinGW and Clang
Though truthfully I could never get Clang to work, as much as I wanted to. I might be stupid.
@emartel Oh hi :) I heard you're going to make us a presentation next week on Thief's AI
@Borgleader hi ;) nah not thief ai, that's still secret :P I was asked to give the same presentation I gave last year, which was about RTS games
Oh right.
Whoa, you have ST2 plugins.
03:43
@emartel moodle.polymtl.ca: "Présentation sur l'AI par Éric Martel, Lead Programmer AI sur Thief 4"
@Rapptz ok thanks, just tried MinGW with std=c++11 and I get weird errors, bleh :P
What are the exact rules for when you can do ... on a function call that contains an unexpanded parameter pack? Like we do with forward std::forward<Args>(args)...?
@emartel Which errors?
@Borgleader yeah, that's my title but that's not what I'll talk about :)
@Rapptz hehe yeah I wrote a few plugins
Yeah, that's what got me confused. Or rather I assumed you'd talk about Thief.
Should be fun. Barring meteorites, sickness or amputation. I'll be there!
03:44
undefined reference to `__gxx_personality_sj0'
never got that before o.o
Quick google search
6
Q: undefined reference to `__gxx_personality_sj0

smallBWith gcc 4.6 when trying to execute this code: #include <iostream> using namespace std; #include <bitset> int main() { //Int<> a; long long min = std::numeric_limits<int>::min(); unsigned long long max = std::numeric_limits<int>::max(); cout <...

@Borgleader nice, looking forward to meet you IRL ;)
@emartel Speaking of which. I went to the Tomb Raider IGDA presentation. I didn't expect to see so many people from Eidos.
well f-it, my code was very simple, I'll stick to liveworkspace.org for now
@emartel Can I see your code?
03:46
@Borgleader hehe well its free for all Eidos employees :P
I think this might be your issue
I fixed that. What I've had wrong was in toolchain as a compiler I've had i686-pc-mingw32-gcc-4.6.0.exe but as a linker: mingw32-g++.exe. I've change it to i686-pc-mingw32-g++.exe and problem is solved. Thanks. — smallB Oct 13 '11 at 9:06
Hehe, true. It was only 5$ for me anyway. And I got the chance to poke my supervisor about a possible internship this summer. crosses-fingers
might be my problem, first time I ever use GCC :)
@emartel I recommend this distro, all you have to do is download it and extract it then set your paths accordingly.
it was a simple test: pastebin.com/tzasjSkf
03:48
It comes with pre-built libraries too.
great, thanks!
@Borgleader do you have any requests you'd want me to talk about?
if you have questions about thief, I'd have no problem explaining a bit the code :)
@emartel Wasn't that free for IGDA members? I know Eidos employees get IGDA membership for free, but still, they're not the only ones to get the benefit.
Not specifically, I'm into RTS so it should be really cool :) My 3rd assignment for the AI class was to make an AI for SCBW
Is Montreal filled with game developers?
@Rapptz Ubisoft, THQ, Eidos, Bioware, EA, ...
03:51
@EtiennedeMartel I know, but since its free and a few blocks away, a lot of them show up
@Rapptz I'd say around 4-5000 of them hehe
@Rapptz Gotta thank those tax breaks.
@emartel Half of which are Ubisoft xD
@Borgleader Hey, without those guys, the Mile-End would still be a fucking wasteland.
Your code compiled fine with me by the way.
@EtiennedeMartel So true
03:52
@EtiennedeMartel its not only tax breaks, there are a lot of good universities, the "european style" in america and now lots of experienced people, that's why THQ, Warner and the likes opened studios here
@Rapptz thanks, I had it working on the website, I'll try your distro
I actually gotta thank Ubisoft. My 4th yearly project for school is their game contest.
@emartel Too bad most people aren't aware how important the games industry is to the city.
I didn't make the distro!
I guess it'll look nice on a CV
@Rapptz yeah but you liked it to me :)
linked
03:54
True true.
@EtiennedeMartel yeah I know, with the mayor of the plateau begging Ubi to stay there and when the lease is signed install parco-jour everywhere, that was a shitty move
parco-jour?
@Borgleader wow my presentation looks shitty haha, do you guys have a project to build? like a game?
They changed the way tags look. on the main site anyway.
03:56
For the ubisoft contest? Yeah. We're doing a game in UDK.
@Borgleader but for the class I'll be presenting in?
Yeah that one too. In a custom engine by the teacher.
I see :)
It's actually really interesting to see how engines are built.
@Borgleader With code. And tears. And a little bit of unicorn blood.
03:57
yeah, I was lucky enough to be part of the team building Scimitar @Ubi
@EtiennedeMartel that's when you're using Code Warrior :)
On TR it took me a while to get used to how much data drives "real" game engines.
@emartel Isn't that the "official" IDE for the Wii?
ahh crap
it was blood sweat and code
@EtiennedeMartel yeah I think so, but never worked on a Wii project myself
At work, in our engine, there's lot of crappy stuff that's mostly there because we had to support the Wii at one point.
For instance, we test every pointer for null before deleting it.
Because deleting a null pointer on the Wii is a segfault (IIRC).
@Borgleader yeah, that's usually what makes them flexible
nice
04:00
We also replicated a part of the standard containers, because the Wii's stdlib didn't have them.
Because legacy code is hard to kill, we have to lug that shit around even though we no longer support the damn thing.
Yeah, Nintendo makes crap SDKs.
most projects I worked on rolled their own containers, because STL is "too slow" (but eh, they never profiled code written with the STL, they barely know how to customize the containers and prefer writing their own containers that contain bugs)
That reminds me of something I saw on gamedev.se
75
Q: STL for games, yea or nay?

munificentEvery programming language has its standard library of containers, algorithms, and other helpful stuff. With languages like C#, Java, and Python, it's practically inconceivable to use the language without its standard lib. Yet, on many C++ games I've worked on, we either didn't use the STL at al...

@emartel When I was at Ubi, the architect on my team explained that standard container implementations generally behaved poorly with the cache, especially on consoles.
Based on what I read, that's solved by writing your own allocator rather than your own container
Yeah because they don't have virtual memory adressing or something?
04:10
@Rapptz Yeah, but why fix the issue when you can reinvent the wheel?
lol
Back then I was too much of a noob to reply properly.
Maybe today I could come back with some witty banter.
@EtiennedeMartel Memory fragmentation stuff.
yeah providing a pool allocator would mimic what many of the inhouse containers do
@Borgleader do you have any other presentations by people from the industry or I'm the only one presenting?
Well there was this teacher from UdeM who came to talk about sound in games.
He showed us Wwise, it was really sick
04:14
yeah we use that :)
@emartel It depends. Pool allocators are mostly used in small objects. For larger ones, they commonly use stacks and their double-ended variants.
I learned today we reached over 1gb of barks for the NPCs :/
@MarkGarcia Again, it's an allocator problem.
@Borgleader Wwise? That's made by guys just next door to where I work.
@EtiennedeMartel Montreal represent :)
@EtiennedeMartel That's why I don't like reading books about game programming.
04:17
I think the reason why game devs don't use the stdlib that much is the same reason why you see so much C with Classes in the wild: because C++ is poorly taught everywhere.
In games, they have the additional excuse of "performance", so it's a bit harder to argue with them.
@EtiennedeMartel They tend to do more C, despite of their projects' supposed to be OO-based designs.
Does ADL not consider namespaces that have been using namespaced inside the argument's type's namespace?
Also, a lot of programmers don't realize that the tools improve over time, they tested templates back in VC++7.1 and thought they sucked, never used them again and take for granted they didn't improve
@emartel Not just tools, but the language itself.
@emartel My boss hated exceptions because they sucked 20 years ago.
04:24
@MarkGarcia I consider languages as tools :) but yeah
@emartel ...or in some cases VC 5 (at least from the sound/appearance of things). Quite a bit of what's said about them was ancient history even by VC 7.1.
@emartel Oh.
I have to finish a powerpoint, and I can't discipline myself not to look at the chat, so I'll come back later if its not too late, evening gents!
Adios.
@Rapptz btw thanks, got mingw working fine :)
04:27
Ah no problem.
@emartel Same situation here. :)
I hate to ask a yes/no question on SO proper, does anyone know the answer to chat.stackoverflow.com/transcript/message/7862337#7862337
Oh it's Seth. He has the "link-dumping" privilege. Carry on.
:)
When considering an associated namespace, the lookup is the same as the lookup performed when the associated namespace is used as a qualifier (3.4.3.2) except that:
— Any using-directives in the associated namespace are ignored.
05:10
@Mysticial well, it was a comment in the chat, not a question :)
@JerryCoffin so this is a bug in GCC and Clang? liveworkspace.org/code/41uw7K
@SethCarnegie That's a using declaration, not a using directive.
@LucDanton ah, I didn't know the difference
thanks
05:31
@SethCarnegie A using declaration is like using xxx::y;. A using directive is like using namespace xxx;
@JerryCoffin I see. So that's why you can't do using namespace std::rel_ops; but you can do using std::rel_ops::operator<=; ... :)
@SethCarnegie Sounds right.
-9
Q: Need to change the facebook username & url

Anil BezawadaCurrently my Facebook username is anilarchies. I want this to be changed to another username. How can I do that?

just give me your password :P — NullPointer 37 mins ago
Hey guys I had a question about the classic map reduce problem of counting the appearance of every word in a document
MapReduce is a programming model for processing large data sets, and the name of an implementation of the model by Google. MapReduce is typically used to do distributed computing on clusters of computers. The model is inspired by the map and reduce functions commonly used in functional programming, although their purpose in the MapReduce framework is not the same as their original forms. MapReduce libraries have been written in many programming languages. A popular free implementation is Apache Hadoop. Overview MapReduce is a framework for processing parallelizable problems across hug...
Let's say the document is REALLY big
Do the worker nodes perform the map function?
or is that the master node?
05:55
Why ask that in a C++ room?
On 18 February 2013, eight masked gunmen in two cars with police markings stole approximately US$50 million in diamonds from a Swiss-bound Fokker 100 operated by Helvetic Airways on a runway at Brussels Airport, Belgium, just before 8 pm local time. The heist was accomplished without a shot being fired. Robbery The robbers hid in a construction site outside the airport prior to the robbery. The time period between the loading procedure and the moment the plane started to move to take off would only have lasted "a few minutes" according to Caroline De Wolf, a spokeswoman for the Antwerp...
06:25
Lol
That'll learn me for trying to go to sleep.
Nightmares for me.
You know you're fucking pro when they think it's an inside job.
What's an inside job?
Wiki article.
Oooh.
Wow, ultra pro.
06:55
Liberation!
I can now use std::vector inside my API without exporting.
Which means I can do std::vector<ubiquitous_ptr<T>> !

« first day (860 days earlier)      last day (4314 days later) »