« first day (916 days earlier)      last day (4033 days later) » 

4:10 AM
Sadly it seems there were shots fired at MIT and a police officer was rushed to the hospital :(
 
Shit's turned real...
 
If you can manage to choose u and v such that u = v = x, then the answer is just (1/2)x^2, which is easy to remember. Oh, and add a '+C' or you'll get yelled at.
4
 
heh.
 
@Mysticial You mean sqrt(-shit) ?
 
4:23 AM
@CatPlusPlus I did, but not the full thing. Also, I abandoned the Sunlight Convenant todaty. =[
 
I'm at episode 32
 
I ended up joining that Cat Bitch's stuff.
Just because nobody would summon me as a phantom =[
Feeds has been useful lately.
 
I think I'm gonna buy that stupid controller for this
 
DO IT
DO IT DO IT OH MY GOD
I WOULD PLAY WITH YOU ALL DAY <3
 
Can you play with people you want to?
It seemed like random thing
 
4:26 AM
With the new connectivity fix released by a Modder,
 
@ThePhD Are you talking about Dark Souls?
 
it cycles summon signs and connects them a lot better than before
In my case, I was able to connect with my Brother instantly, where before it as hit-miss and sometiems took up to 40 minutes to get us in the same world.
@Borgleader Yeah
@CatPlusPlus Even back before teh connectivity mod,
I would play with like, people from my clan RoFL
 
I don't know, it kinda feels like the random player thing is in spirit of the game
 
Well, yeagh
 
it is, much like journey i guess
 
4:29 AM
But it's also fun to have a person with you who you know. <3
You can summon up to 3 phantoms, so.
Can always have that third random stranger if you really want.
 
What's a good regular expression to match class methods?
 
I wouldn't want it to be too easy or anything :v:
 
user1357851
how many cores in iphone 5s, anyone knows?
 
@Rapptz Uh what
 
@CatPlusPlus Dark Souls? Easy? Bwahahahahahaha
 
4:31 AM
@CatPlusPlus Lol. Dark Souls is never Easy.
 
If you're trying to parse C++ with regexes then stop
 
The LPs most people do is like, their 5th, 6th playthrough.
AFTER they contributed and consulted to Wikis and shit.
 
I'm not parsing the entire language, just certain bits that are easy to catch.
 
For first timers (like me), the game will bend you over the table and fuck you up. D:
 
Member functions are not easy to catch
Nothing is easy to catch in C++
 
4:33 AM
I already have keywords, namespaces, preprocessor, comment, strings, numbers and containers :|
they weren't bad to catch
 
what are you doing?
 
You can lex C++ with regexes (though there's a whole lexing procedure in the standard)
You can't parse it
It's context-sensitive grammar
You can't parse context-free shit with regexes, and this is a world of hurt and complexity ahead of that
 
meh I already said I'm not parsing
 
You are parsing
 
I am converting a string of characters into tokens.
Hence, catching. :|
 
4:35 AM
That's lexing
 
Hence... not parsing.
 
If you want "containers" then you can't do that with just lexical analysis
Or member functions or whatever
 
user1357851
e ... why can I not see that - across e
 
Just use clang
You're just doing weird things in a weird way that won't do what you want
 
You're making assumptions of what I'm doing. :|
 
4:38 AM
Probably contextful syntax highlighting or something similar
 
No context :S
 
Without context there's no such thing as "member function" there's just "identifier"
 
I figured there'd be a way since they follow the same pattern
 
So yeah either you do basic highlighting based on lexical analysis or full AST analysis
 
i.e. starts after the period and ends with (
 
4:40 AM
You can guess vOv
But guessing highlighters are annoying
Oh hey night is over
Time for a nap
 
user1357851
5:00 AM
One day I am going to have 6 pet huskies & I am going to have a husky cart
 
user1357851
 
user1357851
yeah, online wedding, plus we can adopt a couple of kids here (I am looking you @CatPlusPlus)
 
user1357851
Stepmothers don't have to be significantly older than the kids
 
user1357851
5:29 AM
LaterZzz
 
The appropriate response: "How much longer do you want it?" — Michael Burr 2 hours ago
^^ lol. So many different ways to interpret that. :)
 
I'll take mine as long as possible ty
har har har (im tired)
y u remove it, twas funny
 
It wouldn't make sense for a girl to say, "I'll take mine as long as possible ty".
 
Unless shes shoping for toys
 
...
 
5:42 AM
Every girl I've been with has told me they told don't like it too big.
 
You sound like you've been busy. :P
 
You sound like you accidentally a word
 
@Borgleader Good catch
 
^^ lol
 
5:47 AM
@Telkitty Buhbye!
 
user1357851
@ThePhD I am not going anywhere, it is 3:48pm on a Friday afternoon
 
Oooh.
You said Later.
OH
That was for Scott
@ScottW Buhbye Honeybunches. <333
 
you nub :P
 
user1357851
LOLz
 
=/ running out of colours.
 
5:57 AM
for what?
 
Syntax highlighter
 
Blue Blue-Green Blue-Red
Purple
Shiny Gold
 
Those sound like pokemon versions.
 
You are free to help. :D
I need something for std, built in, and numbers :(
 
i see no green or orange
 
6:03 AM
comments are green
 
Wait, wait. For a moment I thought that syntax highlighting was finally a chat feature. :$
 
Nah, this is a .css thing.
 
@DomagojPandža: look what I found :D :D :D
 
Woah... the 3-star programmer question got bumped to the front page.
 
@Borgleader Looks nifty and it's on software.intel. :D
 
6:07 AM
It's pretty good actually I'm nearly done reading it. That combined with this book should give me a very good place to start.
 
Hopefully, BioShock Infinite doesn't suck.
 
6:21 AM
I was about to say how messed up this room has become for the long time I wasn't here. Then I realized... it already is messed up! Long time no see all.
@Telkitty I hope you haven't done something bad to the place...
 
@Borgleader Looks horrible design wise.
 
user1357851
@MarkGarcia I was going to say "polar bear goes 'gulp, yum yum yum' " ... can't help with that duckling of yours in your avatar :x
 
@Rapptz Really? How so
 
Saw some Singletons and Managers
 
The Singletons are the managers
 
6:24 AM
Yep
 
Lol
 
And they don't really have to be singletons
 
The best worst of both worlds.
 
Have read that book. Somehow it's not fond of the standard libraries.
 
they just mean there has to be one single copy of them, i dont actually have to enforce it with the singleton antipattern
 
6:25 AM
@Telkitty Still haven't changed huh?
 
yeah but Managers are shitty too, it's a pretty vague term that is used as a catch-22 :S
 
There are 14 mentions of singletons throughout the book. :Đ
 
@MarkGarcia Which book?
 
@Borgleader That "Game Engine Arch."
 
user1357851
@MarkGarcia It is that duckling ... begging to be gulped & yum yum yum-ed
 
6:26 AM
Ah well that's not surprising, most of the game industry is scared of them
I'll be using them plenty though
 
Even the books that are considered good for game design look pretty shitty to me.
Maybe it's because they were using DX and I don't like it
 
@Borgleader It still worries much on memory fragmentation. It isn't much a problem on x64 systems.
 
but that's another story :(
 
You can't write a book on such topics, really.
 
@MarkGarcia It's a problem on consoles
 
6:27 AM
@Borgleader Yeah... I'm more on to PC.
 
Don't get me wrong my engine is PC only. I'm just saying the guy who wrote it is from Naughty Dog and they do PS3 stuff
so it stands to reason he'd mention console constraints here and there
especially seeing how most games are cross platform nowadays
 
Yeah I'm sure everyone is just going to buy a console SDK
 
Maybe the book's just covers very broad topics.
 
:|
 
Lol
Console SDKs are so fucking expensive.
 
6:29 AM
It's risky for an indie.
Plus fuck consoles anyway.
 
Why is that network taskbar thingy says I'm not connected?
 
@Rapptz He mentions it, he doesn't spend the entire book on it. y the hate you havent even read the book afaik
 
@Rapptz Join me.
 
@Borgleader Hey hey now.
I haven't even said I hate it.
Oh shit.
The marathon suspect is in a car chase throwing explosives
Sounds fun.
 
LOL. @Feeds got starred.
 
6:31 AM
@Rapptz :O What?
Also did you hear about the MIT shooting?
 
Huh
 
I don't even know anymore.
 
The intel guide says to register service providers.
Sweet deal, I've done that. :O
 
I think reddit crashed it, it wont load for me
 
6:34 AM
 
Also @ThePhD: I'm gonna save 2 months compared to you because I won't have to support .fbx :P
 
@Rapptz What's that fiery thing in the background?
 
@Borgleader Good idea.
@Borgleader Just use ASSIMP.
Should be fine enough.
Also, strangely enough there seems to be an FBX branch in ASSIMP, even though it says it can't support it.
 
Yeah I saw that I'm confused
 
I'm going to guess the License itself is making it incompatible.
Because Assimp is GPL/LGPL, right?
 
6:40 AM
@ThePhD You said before that it doesn't support FBX.
 
I also saw there was a Blender GSoC project last year for an fbx importer. Dunno what happened to that.
@ThePhD No idea
 
But it's not Assimp's official
it's another GSOC
 
Oh it might be the same one actually
 
What I don't get is on their site they say they support it (in the readme on Github)
But on their official sight (assimp.sf.net) it doesn't
What's with the incongruity?
 
6:42 AM
Maybe they forgot to update their site?
 
> The license of the Asset Import Library is based on the modified, 3-clause BSD-License, which is a very liberal license. An informal summary is: do whatever you want, but include Assimp's license text with your product - and don't sue us if our code doesn't work. Note that, unlike LGPLed code, you may link statically to Assimp. For the formal details, see the LICENSE file.
Not LGPL either.
Huh
Best guess is their real website is out of date
Their repo probably has the FBX stuff in there and ready to go.
I'll give it a try.
 
Wouldnt that make you a happy panda? :P
 
Dat Crash
 
@ThePhD I can bet I told you that already
 
And it's for FBX importing q_q
@BartekBanachewicz You told me to "use Assimp", and I pointed out it wasn't on the list on their site.
You checked the list, I checked the list, it wasn't there. I also checked Blender, because it uses Assimp as well.
The only reason it's different now is because we're looking directly at Github
's readme, which says it does support it.
 
6:46 AM
@BartekBanachewicz I just read a 30 page paper on game engine design from a guy working at Intel. Thought you might care.
 
might
 
@Borgleader tell me he works at my site :) gimme the paper.
 
Kthx
Looks worth reading
I read the paper carmack tweeted yesterday, about CISC/RISC
 
6:49 AM
Oh I missed that, gonna look that up.
My twitter tab was not on my homepage yesterday, i missed all them updates
 
Tbh, it help me sleep yesteday. There are still nice things there.
 
This game is fucking incredible. What a delight to just run around.
 
So fucking pretty :D
I'ma have to buy it
 
What game?
BS: Infinite?
 
6:52 AM
Wow
The list on the readme
 
Haven't you olayed yet?
 
Post processing is strong with this one.
 
contains like
10 more file formats than the website.
Why don't they just link the goddamn readme?
The main site is so much more misleading. =/
 
@DomagojPandža They imported BF3 flash light lololol
 
Could've saved me hours just to use assimp...
 
6:53 AM
No shit @thephd
But you never listen to me :3
Also my phone will be there in an hour :3 :3 :3
 
Your Nexus 4?
 
@BartekBanachewicz I do listen to you plenty, but like I said: the format wasn't on it's goddamn website.
And all searches came up null.
It wasn't until recently that I saw Blender had a branch on it, that referred me to ASsimp
Which made me go "What? That's not even right -> OH, recently merged GSoC stuff for FBX. How purdy."
 
Welp g2g, night all
 
Night.
 
@Borgleader yep
 
6:57 AM
@BartekBanachewicz look what I found... Turns out all (y)our abs(abs(n) % m) % m wankery had UB! This article has discusses the proper solution:
> Fine Tuning for lexical_cast 2006
 
Oh god @sehe i knew you shoul make all modulo operands non-negative
 
@BartekBanachewicz ... so you decided not to mention that just for the fun of spending too much time testing and retesting UB :)
 
@sehe No, the version you said was "unreadable" had that flips!
 
I gave up setting up C++ env. I figured out Java way of doing it. But, I will still accept your answer to give you credit for your hard work. — Watt 2 hours ago
^ /cc @Borgleader :)
@BartekBanachewicz But not correctly, izzama point. I know you were doing many ugly flips and offsets, and I know what it was for. My point is not just that my 'simplification' attempt (using mixed-sign moduli) had UB, also n = -n has UB!
 
Wat
(i am still reading the paper)
 
7:03 AM
Just read the article. You don't have to go very far into it to find it
 
Will do
Oh. My. God.
So many codes with UB
I feel a strong disturbance in the force
As if millions of bytes suddencly cried in horror
 
Xeo
Morgen
 
I guess that's why the DirectXMath library subtracts from 0 rather than negates the value...
Who knew so much shit was Implementation Defined =/
Anywho, back to trying to build assimp.
 
7:18 AM
Why are you trying to build and not just building?
Lol @ that xkcd
This is exacly how i was taught
 
@Dukales I know (I addressed that: "Boost is specifically designed to be C++03 friendly, so most libraries don't use the 'goodness' of C++11 by default", also the Fusion example). By now, see my answer as well - HTH — sehe 3 mins ago
@BartekBanachewicz I felt that way too. C++ direly needs more tools to point out (potential) UB in programs
 
Well, it wasn't exactly UB
So much as it was IB
But they may as well be exactly the same thing.
 
@ThePhD Wokay. True
@ThePhD It's not. It's unspecified, but the implementation should define the unspecified behaviour. I.e. you could come a long way with detailed tests for your target compiler/platform :)
 
Errgh
Need boost...
 
@ThePhD and?
boost is pretty much standard for everything
 
7:26 AM
Jsut gotta go build it and shit
 
@sehe I am just gonna repeat my standard line about backwards compatibility
 
Huh
 
that's the source of all the problems
we inherit all the design flaws of the previous generations
:/
 
... Uh.
In Dark Souls, I just killed somebody and got 1.2 Million Souls (currency)... o.0
 
1
Q: Is there a significant impact of the new standard's features on the boost library implementation in C++11?

DukalesIs there a significant impact of the new standard's features on the boost library implementation in C++11? Especially interested in boost::variant (BOOST_VARIANT_LIMIT_TYPES) and boost::spirit parts of the library in light of the presence of variadic templates. Is there a good article about this?

^ darn why did I mark as dupe first, only to find out I had several comments worth of good examples and a Spirit specific answer that isn't covered anywhere else....
 
7:32 AM
Dihydrogen Difluoride
@sehe hey, hey, X3! What about Fusion?
 
Let's hope no one agrees it's a dupe, and perhaps we can lend it some upvotes (the Q)
 
we could close it and reopen again, but there's little people here now
 
morning land blubbers
 
@BartekBanachewicz Huh, that wouldn't help. Unless it was getting closed. Upvotes on the Q will do, I suppose
 
7:35 AM
morning
 
@BartekBanachewicz I don't know. Perhaps some of that was discussed in the wake of this:
Feb 11 at 11:10, by sehe
And in yet other news: Spirit V3 will be C++11 only and move-enabled:
 
Xeo
Hey pups
 
@sehe i am so slowpoke, huh?
 
I retracted my very own 'mark as duplicate'. To my own surprise it turns out that the specific wording of the question made it sollicit quite a bunch of information that isn't covered elsewhere <blush/> Sorry :) — sehe 5 secs ago
@BartekBanachewicz No, I'm more of a Spirit fetishist
 
In other news, toshiba made magnesium ultrabook with retina-like display
@sehe that I am aware of
 
7:39 AM
@BartekBanachewicz Thanks!
 
Lord
Boost takes forever to extract.
I don't even want to build it. :c
 
buy better CPU
I did it in 8 mins on my machine I believe
Project at work I currently work at takes around 6 on our build machines
 
@ThePhD Only on windows. Har har. It's pathethic indeed
 
q_q windows
 
Nov 23 '12 at 20:55, by sehe
WTF. How does extracting the boost zip file take >7 minutes on my i7 2600S, that's Quadcore, Hyperthreading machine with OS on SSD? (Granted I extract to a sata spinning disk, but still. This is ~30 seconds tops on linux)
 
7:43 AM
I wish I knew what it was with Windows and filesystem operations. Often seems so slooooooow compared to any other OS
 
@ThePhD It takes just a few minutes if you only build the relevant release targets.
 
@StackedCrooked however:
Dec 14 '12 at 20:46, by sehe
> boost_1_52_0-vc64-bin.exe - 64 bit (AMD64/Intel EMT64), self-extracting (244MB download, 8.3GB Installed)
 
Xeo
@jalf I don't think extracting tens of thousands of little files is really faster on other filesystems
 
@ThePhD Btw, I never built boost on Windows, I always used this boost installer app.
@sehe nice
 
0
A: In C arrays why is this true? a[5] == 5[a]

Gaurav Patela[5] = *(a+5) and 5[a] = *(5+a). so both are dereferencing same address. same way a[5][4]= ((a+5)+4)

^^ I think that can go.
Doesn't add anything.
 
7:45 AM
@Xeo The number of little files, it's over 9000!
 
@Mysticial Assuming you flagged it already, I -1 ed
@StackedCrooked As if 9000 files is that many
 
Commented and voted delete.
 
@Xeo It is! Extracting 4 versions of boost on my coliru VPS the other day took <2 minutes
That's an underpowered VPS.
 
@sehe It is problematic imo.
 
@Xeo In my experience, working with lots of small files is exactly where it's faster on other systems
if you're just reading or writing 100MB sequentially, there's obviously no difference
 
7:50 AM
If boost is included in your project then checkout from vcs is slow. IDE indexer is slow. Global text search is slow.. All because of boost. (You can find ways to work around each issue, but still it's annoying.)
 
It seems like assimp doesn't like boost.
Or at least, doesn't like boost 1_53_0
 
but compilers reading hundreds of header files, or zip/unzip compressing/extracting tons of small files? Huge difference
 
I wonder if file system compression would be beneficial for boost directory. It would offload disk IO to CPU.
 
Just now, on my workstation:
sehe@desktop:~/custom$ time (echo boost*.bz2 | xargs -trn 1 -P4 tar xC /tmp/q -f)
tar xC /tmp/q -f boost_1_41_0.tar.bz2
tar xC /tmp/q -f boost_1_42_0.tar.bz2
tar xC /tmp/q -f boost_1_49_0.tar.bz2
tar xC /tmp/q -f boost_1_53_0.tar.bz2

real	0m9.245s
user	0m31.656s
sys	0m2.070s
 
Why bother with old boost versions?
 
7:53 AM
See, that's 4 complete boost archives in < 10 seconds
 
What is real and user time again?
 
@StackedCrooked Compatibility...?
 
@StackedCrooked User time is probably wall time. Real time is actual CPU time used for that process
 
Why doesn't it work with bosot 1_53_0 !!!
 
@StackedCrooked real is wallclock (the only thing that matters really)
 
7:54 AM
Aarrrgh
 
@sehe But isn't boost normally backwards compatible?
 
user is userspace, sys is kernel
 
What's user time then?
 
@StackedCrooked hahahahahaha
 
7:55 AM
31.656 + 2.070 > 9.245
 
=/
I guess I need to keep boost_152_0
 
@StackedCrooked Real time: the 2 minutes it takes to compile something. user time: the 5 years it feels like you age while waiting for it
 
@sehe but it says that user took 31 seconds and real is 9 seconds. Seems like user time is the time you have to wait for the task to finish.
 
in LWG now and holy shit it's the boring
 
7:58 AM
@StackedCrooked Why? Why on earth would you be waiting for core 1 to finish after core 2 finishes and so on? What's the point of having a wall-clock time if it wasn't wallclock?
@StackedCrooked Amazing.
 
Arrrrrgggh
 
@R.Mart buzz me when you is around
 
@sehe Ah, I didn't consider that user time would be sum of time on multiple cores.
 
User/sys time is process time, so yeah, per-core
 

« first day (916 days earlier)      last day (4033 days later) »