« first day (1138 days earlier)      last day (3813 days later) » 

user3010322
5:00 PM
Since I can't tuple_size for a reference of a tuple
 
What's the issue?
 
user3010322
@CatPlusPlus I made a TeamCity account. What am I eligible for? :O
 
1/3rd of a cookie
 
@CatPlusPlus I added %teamcity.build.branch% to the name of zip and slashes fucked it all up.
But I think I got it.
 
5:02 PM
Oh
I don't know why it insists on using that name instead of just branch name
 
Great, got it working for the additional branches, but not the default.
 
I figured it out
 
> cat: /root/coliru/Web/../CompileArchive/0655cbb6b6aa8967/output: No such file or directory
/cc @StackedCrooked
 
It's not very exposed, but you can use +:refs/heads/(branch) to use branch as the name
 
5:10 PM
@CatPlusPlus In the default branch field?
 
No, in default just branch
See ogonek
So maybe that stock GitHub hook will work
 
so
how do you use this teamcity thing?
 
Ask the Cat to set up a project first.
 
cat set me up a project
 
5:14 PM
Can I poke people in the city?
 
I am contemplating music for gameplay.
Randomly play notes, or premade?
 
premade.
 
cat set project
 
For Wide?
 
no way in hell "Randomly play notes" will not end up as a total cacophany
yeah
 
5:17 PM
Ok, I think I got everything set up as I want. No more OCD-removing builds that didn't have one minor setting as desired in order to keep build number starting from 1.
 
@DeadMG did you hear my xylophone? :D
 
no.
 
ok that's awful.
 
Yes.
 
5:19 PM
@Cat do you know if there's a secret handshake to prevent TeamCity from triggering builds on some commits?
 
brb a sec
dog demands feeding
 
With Travis you can put some magic word in a commit message and it won't build it.
I don't want to trigger builds when changing the readme.
 
Welp, I just broke the build by commiting stuff in the wrong branch.
 
back
 
I want std::any, nao
 
5:23 PM
Meh, any.
 
mortoray.com/2013/11/27/the-string-type-is-broken it's like you guys decided to make a blogpost.
 
Fuck boost::any; it's 2 more characters.
 
@Rapptz What he says is a defect in ideone, really isn't.
It simply refuses to display invalid shit.
 
hmm
 
@Jefffrey did you ever see all the pretty pictures?
 
5:27 PM
> In my opinion they’re all broken.
hehe.
 
@DeadMG so anyway, I have no musical talent.
 
when dealing with the teamcity instance
 
@Pawnguy7 that's awesome
 
I have an opportunity to set up the build environment, right?
 
user1804599
Hmm.
 
5:28 PM
@Jefffrey Be careful, that much content can suckyou inforan hour
 
@DeadMG You can set up whatever build steps you want to be run.
 
Random attack of the spacebar there :\
 
@R.MartinhoFernandes Well, I was more thinking of "Build LLVM and Clang" kind of thing.
 
@DeadMG Do they need special building?
 
they do on Linux.
on Windows not so much, although I have no idea how to make it automated to build them and it would be a giant waste to build LLVM and Clang every time to build Wide.
 
5:29 PM
@Pawnguy7 Ehm, we are fucked.
 
Maybe a project that builds those and publishes the artifacts into the Wide build, so that it doesn't build LLVM every damn time.
 
I'll build them
 
Which version do you need
 
Xeo
@R.MartinhoFernandes You should submit ogonek for review :P
 
5:31 PM
3.3, and you have to set an environment variable REQUIRES_RTTI=1 in your environment before building on Linux.
 
I'm so happy people are using my Hub
 
@Xeo Review where?
 
Xeo
@R.MartinhoFernandes To that Morwhatever guy, to show that there's hope
 
(Also, I still want to polish stuff more before I start throwing it around)
 
@Jefffrey that is a lot of pictures O.o
 
@Pawnguy7 enough for a year, give or take
 
Ubuntu packages should have RTTI enabled
 
hmm
if the package comes with source code and RTTI, there's no reason why a prebuilt binary shouldn't be fine.
maybe I should start packaging those Clang codegen headers with Wide, then I wouldn't need the source at all, just a prebuilt with RTTI.
 
5:39 PM
You'll probably need to fix the makefile to look in system dirs, and not build output stuff
Everything is in /usr/include and /usr/lib
 
hmmm
ok, so hang on.
you downloaded a Clang/LLVM 3.3 package with RTTI?
 
Yes, the system package should have it
 
You use the release version? I thought you were on trunk.
 
@R.MartinhoFernandes Not a chance in hell.
 
3.2 didn't and they considered it a bug and fixed it so there you go
 
5:43 PM
every time I update Clang, it costs me about two weeks of fixing the code generation so that it works again.
@CatPlusPlus Source code?
 
Livin' on an edge
@DeadMG Source code what
 
for Clang.
 
You mean headers?
 
not the public ones.
 
5:44 PM
Clang don't include their codegen libraries as part of the public /include.
which makes my life harder, because in order to build Wide you need the full source of Clang so I can access those headers.
 
You can always get that from svn, I guess.
 
You should probably ship those
 
hmm
the SVN headers are probably different to the release headers.
I'm not sure if they don't use some configuration BS to alter the headers depending on which platform you're on.
I'll take a look
 
@sehe const char *err = luaL_checkstring(state.state(), -1); seriously?
@Ell looks interesting will look at it.
 
alright, I added the codegen headers to the repo, that should make life easier.
 
5:52 PM
Oh looks like a missing bartek
bracket
 
so that should be LLVM/Clang sorted.
I assume that you already have Boost?
 
@BartekBanachewicz What's wrong with that..?
 
char*
 
@Rapptz that was supposed to be a C++11 API wrapper
come on.
 
Boost is 1.53 currently, I think there's 1.54 also in the repo
 
5:54 PM
I don't need a specific version of Boost
 
I mean maybe Lundi isn't top featured Lua binding there
And maybe I can't C++
 
@BartekBanachewicz Oh. I wrote one myself recently.
 
@Rapptz oho.
 
but
I assume that you have libboost, rather than e.g. libboost_program_options, libboost_thread, etc?
 
@Rapptz I won't ask why you didn't fork Lundi
 
5:55 PM
I didn't like the boost dependency.
 
oh
well without Fusion I have no idea how we would be able to do what we did
 
@DeadMG You can checkout a specific version. Assuming they tag releases.
 
I haven't done functions yet.
 
@DeadMG But that should be fine.
 
@R.MartinhoFernandes They do, but that's a lot more effort :P
 
5:56 PM
@Rapptz cough
 
I only support some tables and regular variables which was good enough for what I'm doing.
 
Revealed: #3 on this list was a late rename due to legal wrangling from NASA. Straight from the horse's mouth!
 
@DeadMG No, they're separate
 
@Rapptz then maybe we could fusion what you did into Lundi. Is yours open?
 
ok
so last thing on the list then is premake4
 
5:57 PM
It's not that great but it works. github.com/Rapptz/sol
 
there's a premake4 ubuntu package somewhere that I used before
 
But I forgot to install the libs!
premake is ready
 
I don't like the Lua API, it's pretty ugly and meh.
 
alright
let's see how badly this goes then
 
@Rapptz will take a look then. CC @kbok
 
5:58 PM
Heh Boost.Log's package is misnamed
 
it's kinda nice Lounge is using Lua
In the meantime (when I wasn't chatting with you) I was trying to learn JS, but it's just so bad
 
Oh, it's from universe
 
So I kind of gave up and now I'm getting into simracing
 
@BartekBanachewicz I hear amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/… Is a good text on javascript.
 
@BartekBanachewicz What is that?
 
6:01 PM
@CatPlusPlus Your Ubuntu is broken.
you need to install like 1billion extra packages with various GCC libraries in them.
 
@DeadMG Eh?
 
@R.MartinhoFernandes that's basically playing racing simulators
 
@CatPlusPlus My build failed- couldn't find <bits/predefs.h>.
I had this problem when I started building on Ubuntu.
they don't ship various headers and libraries for x86 by default.
you have to install numerous additional packages to get all the libraries and headers you should have.
 
6:02 PM
@Polymer Yeah, I am reading it. It has loads of crap inside despite being titled "good parts" so there
 
@Rapptz XD
 
@DeadMG Are you using that directly..?
 
@DeadMG Hmm, it builds my projects fine. What do you compile with?
 
@R.MartinhoFernandes like, the main thing about it is that you willfully accept you are terrible at driving and then learn a bit on how cars work and stuff and eventually get a better controller and ride better.
 
@Rapptz No.
@R.MartinhoFernandes Just make.
 
6:03 PM
@BartekBanachewicz His thesis I thought was interesting. Just pretend javascript is scheme and you're good to go.
 
did you build for x64 by default?
 
Your build doesn't seem to have even started
 
@CatPlusPlus lol
 
@Polymer I don't see how pretending that something is scheme is helping anything
 
@DeadMG No, I mean, GCC, clang?
 
6:04 PM
Your premake doesn't generate Makefile in top directory :v
 
@DeadMG Oh. That. The machine is x64, so it will have only x64 packages by default.
 
@R.MartinhoFernandes I just used whatever the default C++ compiler was.
 
It doesn't have any x86 libs
 
@CatPlusPlus Nah, it's in the subdir, but I already changed the working dir to compensate for that.
 
@BartekBanachewicz Well, I haven't read the book - just watched a short talk from the author when deciding whether I should read the book. He argued that javascript was supposed to be scheme, but c derivatives were so popular it wouldn't get passed management. So the language design made it look like c so they'd stop bugging him.
 
6:05 PM
hmm
> fatal error: llvm/IR/LLVMContext.h: No such file or directory
am I supposed to add an explicit include for /usr/include/etc?
 
@Polymer I watched the talk. Still irrelevant
 
I thought GCC searched there by default
 
/usr/include/llvm-3.3
 
k
 
@BartekBanachewicz Nevermind then :p.
 
6:06 PM
Does llvm come with pkg-config?
 
something similar for Boost?
 
No, boost is in root /usr/include
 
k
well let's try that again
 
Dunno about premake, but for my projects I'm going to put those things as parameters in my bootstrap script. Like bootstrap.py --boost-include=/path/to/boost.
 
I did.
did that a long time ago :P
@CatPlusPlus OK, so right now I've got /usr/include/llvm-3.3/include as my include path for including <llvm/IR/LLVMContext.h>
 
6:10 PM
Just /usr/include/llvm-3.3
 
huh.. they have them in /usr/include/llvm-3.3/llvm/...?
unusual.
I hardcoded premake to add some include paths, but I guess that's only useful when building from source.
 
Hey cat, do you have ninja?
 
neat.
Could I join your thing?
 
6:15 PM
so TeamCity should automatically synchronize any changes I push
 
Without a push hook it'll check the sources once per hour
 
hm
 
I'm bored
 
got a giant thing saying I made a change and it's quoting the commit log back at me, so I guess that's a big hint.
hmm
still no joy on the LLVM headers.
I've got just /usr/include/llvm-3.3/ as my include path
 
@Rapptz All my projects build with ninja now :)
 
6:19 PM
:D
I decided to make my meta-build system use Lua as its config language
figure it's better than hacking things together
 
that's what Lua was originally designed for
 
yeah
 
Yeah, I think I can get into this
14
 
damn, dude.
 
@CatPlusPlus Um, what info do you need if any?
 
6:22 PM
don't smear it
 
lol
what I can say, you are my muse :D
 
oh God
 
@Rapptz Project name and register on TC
 
leaving the vicinity immediately.
 
Also source repo
 
6:22 PM
Weird instructions on e-Fag: 'Note: Press the LED light, and inhale at the same time, then you will feel a huge puff around you, which gives you an immersive feeling'.
 
(OSI-approved stuff only)
 
and yeah, if that didn't earn all your stars, I don't what will :P
 
That premake shit of yours is extremely weird and bad
 
@CatPlusPlus you're pretty keen on your OSI, ain't ya :S
 
Wow, Wide builds in two seconds :P
 
6:28 PM
fails to build.
 
@thecoshman Kinda hard to request an OS license from JetBrains if you don't do OS.
 
I tried /usr/include/llvm-3.3, /usr/include/llvm-3.3/include, even `llvm-config --includedir`
 
@thecoshman I've always thought your name was thecosman until I saw it in that image.
 
but it's pretty insistent that LLVM 3.3 does not exist.
 
6:29 PM
@Jefffrey tableflip ... oh... I don't have the script here do I...
 
@bobthemightyspellcaster hi NicooPlusPlus
 
Ahahaha llvm package in universe depends on libjs-jquery
What the fuck
 
@Jefffrey holy cow... i Almost pee on myself when I heard the jingle...
 
so LLVM package didn't install properly?
 
6:32 PM
I know, I have this effect on people.
 
Going home now.
 
bye
 
@Jefffrey what?
 
@Pawnguy7 what what?
 
I don't get... why.
 
6:33 PM
@Pawnguy7 Because that's the bitbucket account he linked in his SO profile
I run background checks for newcomers.
 
I realized that after, but I still don't get why.
 
Why what?
 
Never mind.
So I was considering adding some transitions now.
Think a fadeout to white will work?
 
@DeadMG That llvm-config invocation is completely broken in the Makefile, also predefs and all might be the result of premake fucking up the GCC options
/usr/include/llvm-3.3 is fine
 
I had /usr/include/llvm-3.3 before, with no luck.
that's why I switched to trying llvm-config invocation.
 
6:38 PM
@Pawnguy7 dunno
 
Oh.
And I was thinking of adding a way to pause the game.
 
there is some books/web sites who show and do some comparaisons between different ways to code ?
I know there is a book called "effective STL" but I know that one of the method presented inside show how to read a file from disk, but some guy has a blog where he show this is a very bad way to read a file.
Also one of my teacher told me that linux kernel is well written too improve speed, I would like to know if there is a book/web site who present some tricks used by people who code in the kernel.
 
god let's hope not
 
@bobthemightyspellcaster link to the blog? I really need some laughs right now.
 
6:40 PM
@Jefffrey You can always read about my misfortunes :D
 
although I gotta say
this whole, "Commit and sync every time you want to attempt a change, and then you can't even see the system you're working on" thing makes it difficult to figure out why it doesn't work.
 
Figure it out on a VM :v
 
it works fine on my machine.
well, builds fine.
on Ubuntu.
 
@Pawnguy7 eh, they bring me sadness because I know you put quite some effort in them :(
 
6:45 PM
Well the path is still wrong in premake invocation
And uh it's completely wrong because it's in quotes!
 
you said /usr/include/llvm-3.3
 
std::string get_file_contents(const char *filename)
{
  std::ifstream in(filename, std::ios::in | std::ios::binary);
  if (in)
  {
    return(std::string((std::istreambuf_iterator<char>(in)), std::istreambuf_iterator<char>()));
  }
  throw(errno);
}
 
The command is not executed through shell, arguments are passed as-is, which means those quotes end up in Makefile
 
throw(errno) ?!
 
oh, wait.
right.
 
6:49 PM
And libclang's -dev package doesn't appear to include headers
At all
 
lol.
It looks serious :)
 
libclang is the C library
 
@Jefffrey The AI, or something else?
 
not the C++ libraries
No idea.
 
Ah, no, they're just elsewhere
 
6:51 PM
@CatPlusPlus Usually llvm/tools/clang/include
 
There
 
@Pawnguy7 everything
 
oh, I can even do tiny writing that is not just insulting the puppy with class.
 
@Borgleader I think it has something to do with <cerrno>.
 
@thecoshman What are you doing, exactly?
 
6:52 PM
right, let me just alter my includes
 
@bobthemightyspellcaster Sounds boring.
 
@CatPlusPlus what do you mean...?
 
@DeadMG, why did you move my chats to a room that I cannot use?
 
@thecoshman Uh just... printing stuff with a very bad printer?
 
@Jefffrey what is boring ?
 
6:53 PM
Damn it it's the Steam Autumn Sale.
 
@bobthemightyspellcaster the article, can you give me a tl;dr?
 
@CatPlusPlus printing, yes. printer, no. It's calligraphy
 
@Jefffrey Well. Not everything was a failure - the screensaver landscapes, for example.
 
@Pawnguy7 everything in which you fail, I meant
 
@Jefffrey what is a "t1;dr" ?
 
6:54 PM
@thecoshman okay
 
@bobthemightyspellcaster too long; didn't read
I.e. a summary.
 
@user1876508 Because they're not wanted here
 
@bobthemightyspellcaster summary
 
Why not?
 
Because
 
6:55 PM
@Pawnguy7 ok thx I thought it was a char not rendered...
 
Therefore
 
@user1876508 were you asking a question?
 
@Jefffrey I suppose. Still, in reading such things, we can learn to not make the same mistakes, perhaps.
 
@Jefffrey Yes, he was, and got autoPuppied.
 
Or, if you just want to read, there are a few non-failures sprinkled in there.
 
6:56 PM
@Jefffrey in summary, stl is a bad way to read a file :
Ordered by speed:


Method Duration
C/C++ 24.5
Rdbuf 32.5
Copy 62.5
Iterator 64.5
Assign 68
 
user3010322
@Jefffrey I have an any, and it's wonderful~
 
@user1876508 Ask on StackOverflow main site.
 
@Jefffrey I know, but why not throw a fucking exception :(
 
@CatPlusPlus vOv something to do
 
6:56 PM
I want to see the puppy bin that mod's mess... wait. WTF
 
jesus fuck, my mechanical hard drive is so slow.
 
:lol:
 
all I did was load Windows and VS and about six other applications simultaneously
 
That was my first thought, then I realized I had seen their name before.
 
DeadMG you're brutal
just binnin' it :D
 
6:57 PM
std::string get_file_contents(const char *filename) {
    std::ifstream in(filename, std::ios::binary);
    return in? std::string(std::istreambuf_iterator<char>(in), {}) : throw(errno);
}
 
@DeadMG <ratttle, rattle> someone buy Dead an SSD for Xmas, please:)
 
Xeo
Steam, Y U AUTUMN SALE?!
 
@sehe Ask the other of the blog :P
 
I think the puppy is going to be binned.
 
@Borgleader which blog
 
user3010322
6:58 PM
@Xeo Ahaha, and you went and bought audio surf and all that other stuff.
 
user3010322
How does your wallet feel?
 
14 mins ago, by bob the mighty spell caster
@Jefffrey http://insanecoding.blogspot.ca/2011/11/how-to-read-in-file-in-c.html
 
@bobthemightyspellcaster because of performance?
 
@Jefffrey What? He only just got out of the dog pound from last time.
 
user1804599
@sehe dat lack of whitespace.
 
6:58 PM
@bobthemightyspellcaster I think by bad you mean slower
 
@MartinJames I did?
 
Xeo
@ThePhD I only bought Audiosurf on the Humblestore, for $1
 
@Xeo Interestingly, it's the first sale in a while that does not feature any game I am interested in.
 
I don't recall going to the pound.
 
user1804599
6:59 PM
@sehe Eww throwing integers.
 
I did get banned from chat for telling some questiondumper to fuck off, but that's not binning.
 
@Borgleader found it now. There's no clear way to "quote" code here
 
Xeo
@EtiennedeMartel Yeah, either that or I have it already
 
@Borgleader yes
 
Xeo
like Terraria and Antichamber
 
user1804599
6:59 PM
@sehe Meh abusing the fact that throw is an expression and not a statement.
 
1 min ago, by Borgleader
@sehe Ask the other of the blog :P
 
~~performance~~
 
@rightfold lol.
 
I bet he was using debug iterators
 

« first day (1138 days earlier)      last day (3813 days later) »