« first day (1619 days earlier)      last day (3319 days later) » 

6:00 AM
Friends in the private region are the best \o/
Morning.
 
though I haven't put anything in there lately because >documentation
 
@wilx Evening
 
I'm so lazy with documentation
 
Do you need help lol?
 
Erm.. Is it normal for GCC to eat 1.5GB of ram?
 
6:00 AM
@Cinch It's not an easy task.
@Nican Depends on what you're compiling.
 
@Nican …sort of
 
My computer just went to swap, and everything is freezing now. :(
 
rip in processes
 
Over 1.5 GB? o.o
 
Well documentation just requires formatting and testing sooo
 
6:01 AM
My condolences m8
 
Well, my own code, using pcl, opencv, eigen, etc..
 
@Cinch wot
Documentation needs.. you know.
 
1.5GB x -j8 = 12GB?
 
The actual documentation.
 
Is it a parallel build?
oic
 
6:02 AM
The content is annoying, not the formatting.
 
Well I mean documentation is just basically how to , how, and why
 
I delegate the formatting to Sphinx.
 
Hmm... What IS the best formatting?
 
@Nican IIRC Eigen has expression templates
 
Doc? Doxygen? Sphinx?
 
6:03 AM
that’s the sort of stuff that can make GCC hungry
 
Having used both Sphinx and Doxygen.
Sphinx > Doxygen by a good mile.
 
@LucDanton Eigen + PCL both lllooovvvveeesss templates.
 
But Doxygen more popular?
 
For C++ yes.
 
And then I need a better make system
 
6:04 AM
But popularity != good.
 
Maybe I should look into precompiled headers. Yes?
 
make isn't that great
 
Use ninja.
 
@Nican Not just templates though. Expression templates go 'deep', I think that’s what eats the memory. Never really investigated though.
 
Is there a list somewhere?
 
6:04 AM
@Rapptz Is that towards me? :p
 
@Nican No but you should use ninja too.
 
@Nican For GCC I wouldn’t bother. I suppose I did try it a few major version numbers back though.
 
Is it backwards compatible to Cmake? Or do I have to manually work on all of my libraries too?
@LucDanton Alright. ;o
 
Have to start from scratch.
 
Oh. CMake.
My condolences yet again.
 
6:06 AM
:)
You are going to love my project. One executable links against Qt4, and another against Qt5.
 
Qt is up 5.4 now.
 
that doesn’t seem error-prone at all
 
The last time I used it, it was 5.1.
 
<3 Qt.
 
I like Qt but I have to suspend some of my C++ ideologies a bit when I use it.
 
6:08 AM
Yeah, but I love the signals/slot system for multithreaded work loads.
 
Um isn't CMake a meta-build system? Ninja is more like Make or CMake?
 
ninja is a bit more comparable to make I guess.
but not really
 
what's the benefit?
 
I really liked Scons, and the idea of using python as the build system, but I rarely see it used. :(
 
make allows you to execute shell stuff and assign that to variables.
 
6:09 AM
Ninja itself is more like Make, but due to the workflow you shape it as you want, so there’s a bit of CMake territory (in the workflow, not the tool itself).
 
@Nican You'd like ninja then. You use python to generate the .ninja files and then use ninja on that.
 
@Nican Most of the Lounge ninja-ers tried to make-do with SCons but moved on.
@Rapptz Yeah I liked SCons and that description would have horrified me at the time.
 
Oh~ Fun!
 
@LucDanton But it's so nice :p
 
I don’t like self-modifying stuff.
 
6:11 AM
That's why I wrap it up in a library.
 
wot
You have a generator rule right?
 
yes
 
Self-modifying!
 
I have a library thing to remove the boilerplate of making ninja files.
 
Mar 7 at 11:18, by Luc Danton
@Rapptz You’re no ninja master!
 
6:13 AM
I am the original ninja master.
 
mmmh I thought that was in context
 
Actually, I remember one of the talks from cppcon talking about a game company making their compilation faster by removing templating in parts of the code. I should take a look at that again.
 
how many templates are you making?
o.o
 
I guess you never seen Eigen?
 
I have
and I use expression templates myself
 
6:16 AM
Don’t underestimate our ability to make GCC blow up.
 
Alright then.
But yeah, I am doing lots of math. I even got a video today: youtube.com/watch?v=zgOf1X7BgJs :)
(Best watched in 2880p)
 
I also have a handful of Clang kills, although it’s mostly older versions.
 
Well to aid in your compile time issues
How are you including Eigen?
 
#include <eigen3/Eigen/Dense>
 
6:20 AM
Just discovered this fun song.
 
Oh I guess you're good then
 
:)
@StackedCrooked You changed songs?
 
other one was crap quality
 
@Nican I love how it's just impossible to watch that in any reasonable way unless you have a eyefinity-ed or sourround-ed screen setup :/
 
The point is really just to watch the first 2 screens. There is nothing really interesting going on the 3rd. >.>
 
6:31 AM
@Nican even so. I can't resize the video across two screens to not have a tiny image, and fullscreen only works on one :p
 
@melak47 youtube.com/embed/zgOf1X7BgJs There, now you drag your tab to be 2 screens wide.
 
yaay!
 
Well now that I finished the parsing thing.
Time for the boring PTSD triggering parts
Like addition, multiplication and.. shudder division.
 
aka actual functionality :Þ
 
ikr
but division man!
that's just torture waiting to happen
on the bright side I imagine this to be easier than doing my arbitrary precision integer.
 
7:03 AM
Ninja looks interesting
I was skeptical at first but I just read the creator's writeup and I like the way he talks about it and the fact that I know it can scale makes me hopeful
 
Hell yes! Object detection.
 
@Nican neat, what is that'
oh man i just came across the most whack c++ syntax
template<class T> void g()
{
   A<T> a;
   a.template f<3>();  // call templated member
}
 
On the right window, the top right image is the depth field; The bottom right field is the point cloud; And the main part is the robot location with the possible obstacle that is the box.
Building a robot for wp.wpi.edu/challenge
 
@Pris lol you think that's whack
so kawaii m8
 
what lang / frameworks
@Rapptz one day ill grow up and be old and grizzled like you lot just wait
 
7:15 AM
All C++.
Using PCL/Qt5/Qt4/OpenCV/Gazebosim/libfreenect2/box2d/Eigen.
 
neat
 
> ldd ./telemetry | wc -l
> 206
Derp.
 
@Pris typename C:: template iterator<float>::my_type x; or typename Outer::template test<Inner> x;.
 
7:30 AM
@Nican If you’re still hunting templates nm can be quite scary too, depending :)
 
apparently BOOST_STRONG_TYPEDEF only supports primitives
 
yep
 
7:54 AM
I wonder how we could make it work for user-defined types. Probably with inheritance and variadic template constructors but that would require contex switching between user-defined types and primitives which would farther require either templates or some macro magic. But then we would have to alias the template result to the specified type name so each template result must have a unique name. Or I am overthinking things.
 
@Nican Wow my college sucks.
 
@Cinch What?
 
You guys get to do the real robot stuff.
We have Micromouse but that's pretty much it.
Various professors do stuff but we ourselves don't get anything juicy
 
I graduated 1 year ago; I am doing this project with a group of friends.
Granted, most of the friends are also alumni from WPI, but we are still after the prize, and the fame.
 
I go to the only 4-year in Hawaii.
Oh joy.
 
7:57 AM
Does not sound too bad. :o
 
No.
It's not UC or something
It's not glorious
Physics is ghetto
Engineering is half good and half bad.
 
Can you not transfer to somewhere you want to go?
 
I'm here only because I have money here.
In-state is quite cheap and possibly the only option to me.
I would've gone to a UC school but I had $48k or so to pay and I would NOT incur debt.
I'm happy I made the right decision but I still feel envious of people that are doing the big things at schools like Harvard or Stanford.
Even a smaller college in MA probably has more industry-opportunity for computing and robotics and such
 
Btw, UC = California?
Also, there is plenty to learn from online courses (Coursera). Get a group of friends, and join a competition, and learn. :)
 
Yes, California.
In total, I'll be paying less than two years' worth of UC tuition for my entire four-year experience.
Less because I have aid and scholarships
@BartekBanachewicz Did you guys make a list of games that were created during the jam?
 
8:11 AM
I'd remove the ping for cat
 
Bah but he made the jam age
w/e
Don't you have something too, Rapptz?
 
I knocked out through most of it.
would have participated otherwise
 
Oh.
I see lol
I ended up with a half-finished game that isn't even unique.
At least it has terrible music.
 
I'll polish it up more and then repost it.
 
8:16 AM
morning
 
hi
 
@MarcoA. Good evening.
Actually, I like SFML
I literally spent 1 hour trying to get SFML to statically compile and the other half actually relearning the system and then actually doing the game
 
Yeah I used to like SFML too.
 
user1804599
Nice, AWK can read from a FIFO without problems.
 
used why?
 
8:19 AM
politics with the dev
 
What do you mean?
You mean you were a contributor?
 
attempted to be
 
Well what happened?
 
nothing much
travis-ci got a new look
 
user1804599
Alright, so let's look at boost::intrusive_ptr.
 
user1804599
8:22 AM
Actually, let's first look up "intrusive" in a dictionary.
 
Question: for fonts, are the default fonts like Times New Roman open-source/free?
 
user1804599
> Tending or apt to intrude; doing that which is not welcome; interrupting or disturbing; entering without right or welcome.
 
no
 
user1804599
Why is it called an "intrusive pointer?"
 
Xeo
8:23 AM
@райтфолд Because it uses the intrinsic mechanic of your class for ref-counting, the "ref-count" is intrusive.
 
user1804599
Nice.
 
Xeo
As opposed to std::shared_ptr, which seperates the ref-count from the object.
 
Yup.
 
My god.
 
Doing things legally takes a lot of time and money
For everything else there's bittorrent
 
8:26 AM
Font licensing is a bit odd.
 
user1804599
Also, about multithreading, this seems to be too trivial to be safe: gist.github.com/rightfold/cf926b29bc8d037c4807
 
user1804599
I am bad at atomics.
 
Whatever I'll just find a font that doesn't need to be credited
I wonder... is it best to make a game in Python?
Or maybe Java?
Or Javascript?
 
@райтфолд Seems okay.
 
8:27 AM
It appears that developing for the web or Java tends to make things easier...
 
@Cinch not sure about java, are you referring to applets?
 
user1804599
> Unlike most pre-increment and pre-decrement operators, the pre-increment and pre-decrement operators for atomic types do not return a reference to the modified object. They return a copy of the stored value instead.
 
user1804599
Of course.
 
Yes and no.
 
user1804599
Neat!
 
8:28 AM
Java has LWJGL
and Applets
and the virtual machine.
 
Your atomic increment and decrement is the simplest use of an atomic tbh.
 
Alrighty, I'm going to do a game jam right now.
I'll be creating a basic RPG with Sol.
 
@Cinch didn't know about LWJGL. Kinda cool
 
@MarcoA. Yeah.
Really?
 
user1804599
Alright, now weak references.
 
8:34 AM
Java is just really good for 2D game dev right now
 
user1804599
Shouldn't be too difficult; I can just store them in a global hash table.
 
user1804599
Like, std::unordered_multimap<Value*, Value**>.
 
user1804599
Then, in the destructor of Value, set them all to the null pointer and remove the entry from the map.
 
user1804599
Except atomic.
 
@Rapptz Yo.
What is Catch.hpp?
 
8:38 AM
?
testing suite
 
is that something else that i just don't have or is it supposed to be in the repo?
 
you don't need it
it's for testing
 
So, just for you?
 
no for anyone who contributes
 
what is this catch.hpp then?
Is it a part of some system or gcc?
 
8:40 AM
I already said. A testing suite.
An external library.
It comes in the repository as a submodule.
Next time you clone do git clone --recursive <url>.
 
user1804599
Aaaaa can't just do that.
 
user1804599
Now you cannot strengthen a weak reference without a race condition.
 
@Rapptz The things I must learn.
 
JavaScript is so ugly.
Holy fuck.
 
8:46 AM
Also why doesn't g++ automatically find the header in its base folder?
or is it just -I.
 
it finds it if you use "stuff.hpp" instead of <stuff.hpp>.
 
Ah, I see.
I just did -I. instead
 
 warning: large integer implicitly truncated to unsigned type [-Woverflow]
?!
It's already an unsigned literal.
 
@Rapptz Gears?
 
No.
 
8:53 AM
freaking g++
Why do they still not have std::to_string?
 
I think they do but not for all inputs?
 
ISTR that’s a MinGW specific issue?
 
lmao
again
I talked about this earlier today, or yesterday depending on your mental day.
95
A: to_string is not a member of std, says so g++

RapptzThis is a known bug under MinGW. Relevant Bugzilla. In the comments section you can get a patch to make it work with MinGW. This issue has been fixed in MinGW-w64 distros higher than GCC 4.8.0 provided by the MinGW-w64 project. Despite the name, the project provides toolchains for 32-bit along w...

here it is, again.
 
Are you kidding me?
I was compiling under TDM-GCC 4.9.3 and it still didn't recognize it
 
see the answer.
Morning.
 
@Rapptz lol from 2012
 
Due.
I looked at this already a long time ago
 

« first day (1619 days earlier)      last day (3319 days later) »