« first day (1145 days earlier)      last day (3795 days later) » 

4:03 PM
Actually, VLOOKUP was quite the golden hammer whenever I did something with Excel.
 
function MergeResults(resultsA, resultsB)
    local changes = { }

    for name,result in pairs(resultsA) do
        local resultB = resultsB[name]

        if resultB then -- ignore tests not in B
            if result ~= resultB then
                changes[name] = { result, resultB }
            end
        end
    end
    return changes
end
 
@R.MartinhoFernandes Lead hammer. Still, gets the job done eventually.
 
Hi
 
LLVM is the builded.
 
@BartekBanachewicz that isnt ruby, what is it?
 
4:09 PM
@R.MartinhoFernandes *le builded.
 
@GamesBrainiac take a wild guess
 
user3010322
@R.MartinhoFernandes That was fast, I'm still pulling sources. =/
 
user3010322
SSD?
 
Xeo
> ./boost/log/utility/setup/filter_parser.hpp: In member function ‘virtual boost::log::v2s_mt_posix::filter boost::log::v2s_mt_posix::filter_factory<CharT>::on_custom_relation(const boost::log::v2s_mt_posix::attribute_name&, const std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >&, const std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >&)’:
./boost/log/utility/setup/filter_parser.hpp:130: warning: no return statement in function returning non-void
lol
 
4:10 PM
@ThePhD Is building LLVM really I/O bound?
 
user3010322
@R.MartinhoFernandes For the final steps, I think so (9.33 GB of libraries is nothing to sneeze at).
 
@ThePhD My system is using 12G of cache vOv
Tons of RAM is nothing to sneeze at.
 
JBL
@EtiennedeMartel Le buildé !
 
user3010322
@R.MartinhoFernandes I want my 32 GB of ram. =[
 
4:12 PM
my code parsed those 35k lines in no time
 
Xeo
erm
 
"Crisse de moron, t'as encore pété le build."
 
@Xeo hehe
@EtiennedeMartel lol, was that you?
 
JBL
What the fuck means "Crisse de moron" :D ?
 
@JBL "crisse" is the swear word.
 
4:13 PM
@JBL Some variant of "fucking moron"
 
@R.MartinhoFernandes Kinda. That is, it wasn't ultimately my fault.
 
JBL
Oh ok !
 
@EtiennedeMartel They always say that.
 
JBL
Well that still sounds better and nicer than "Put*** d'idiot".
 
@R.MartinhoFernandes Boost/premake4 shouldn't take long.
 
4:15 PM
@DeadMG That was in already.
 
The guy who manages our builds in the team is French, so it always ends up sounding like "bilde".
 
We use boost and premake4 for our stuff.
 
The guy who leads the production side of things is also French and likes saying "smooth" as "smouze".
 
which revision of Wide did you pull?
ok
 
@DeadMG What do I do next? Just premake4 gmake && make? Or do I need to put magic headers soemwhere?
 
@DeadMG Trunk.
 
@EtiennedeMartel sounds like Engrish
 
okey dokey
 
@StackedCrooked English as seen in France.
 
@Xeo Oh nice. Is that up to date @Dead?
 
4:16 PM
hang on a sec
 
Xeo
I'm kinda failing with the premake part, though.
 
if you're building with trunk, you'll need to fiddle the premake just a little bit first.
I modified it to try and get it to to work with teamcity and didn't get around to putting it back
 
Then tell me the latest stable one.
 
I should fix that right now.
 
Xeo
4:17 PM
44 mins ago, by DeadMG
use ab884db8dbf6bde63e83e42cbb5e06640d7f8943
argh, why is there no premake in the CentOS repos?
 
Because Portage is 1tpm.
Hmm, I have no idea where boost is.
 
"Yeah, uh, I kinda lost my boost"
 
Xeo
and just extracting the premake tarball on their sourceforge page yields a broken... something
 
if the include and lib paths are someplace where the compiler will find them without extra paths
then you won't need extra paths.
 
@Xeo Premake builds nice and easy. Just grab it.
 
4:20 PM
you can just pass --boost-path="" or something.
 
user3010322
Well, here we go.
 
user3010322
Trying to build LLVM/Clang for Windows
 
Also, I think my boost libs are not in the same path as the includes.
 
user3010322
I think I'm going to tell it not to build the tests, because they can't even run anyways. <_>
 
4:22 PM
It's the system boost.
 
doesn't matter.
 
But --boost-path="" complains that it is missing a value.
 
oh.
Premake probably failed to interpret it properly.
try --boost-path="a" or somesuch.
 
That would be wrong, though.
 
@ThePhD what are you gonna do with clang if you don't know if it passes its tests? :D
 
4:23 PM
Oh, but yeah, it doesn't matter.
Right.
 
right.
those command lines are only for adding extra search paths, and if you don't need them then it doesn't matter if they're busted.
 
user3010322
@melak47 The tests can't run on windows, so there's no point wasting time building and executing them.
 
user3010322
Damnit
 
user3010322
I need python. =/
 
oh, er
don't forget to pass --llvm-conf.
 
4:26 PM
This the building.
@DeadMG Oh. That was not documented. What should it be?
 
oh, if Wide builds without it, then it doesn't matter.
 
lol
It won't blow up linking?
 
Xeo
Do you support Clang for building Wide? :D
 
might do, actually.
@Xeo Should work.
the thing about --llvm-conf is
Windows and Linux, LLVM builds a different directory structure.
which is infinitely annoying.
on Windows you can get away without --llvm-conf because the build path is always /build/lib/release, /build/lib/debug, etc.
 
Ell
@DeadMG Isn't it preferable to use llvm-conf in both cases?
 
4:28 PM
Ah, couldn't find the codegen headers.
 
Xeo
hmmm
 
but on Linux it's /build/conf/lib and conf isn't just release or debug, it's release+debug+asserts or something silly like that.
 
Ell
then nothing needs to be changed as long as llvm-conf is available
 
Where to putzors?
 
Someone once failed my code in review for using a factory pattern to implement a state machine.

Had to tell someone.
 
4:29 PM
@Ell You mean llvm-config?
@R.MartinhoFernandes Give me a sec and I will push a new trunk for you to use that should add that missing path back in.
 
Ell
@DeadMG aw yeah sorry
 
Xeo
> # include <gnu/stubs-32.h>
Wait what
I think I'm missing something
 
Oh, "In addition, Wide uses RTTI, which means that LLVM and Clang must be built with RTTI." I didn't do anything for this. That bad?
 
er, yes.
 
I just made a standard llvm build.
 
user3010322
4:30 PM
<_>
 
user3010322
Does LLVm require Python 2.7?
 
sorry, I should totally have mentioned that.
 
Ell
@R.MartinhoFernandes you gunna have to build the entire thing again
(bit me too)
 
... yeah.
basically, LLVM doesn't build with RTTI, which means that if you ever want to link any RTTI-using program to it, then you have to set an environment variable before building it.
 
Xeo
wtf. I'm on x64, but gnu/stubs.h thinks it needs the x86 header
 
4:32 PM
I can't find it on configure --help.
 
I don't believe it's listed there.
 
Xeo
Hm, I don't think I have llvm with RTTI built too.
meh
home time anyways
 
@DeadMG Oh, super secret sauce.
 
4:34 PM
@R.MartinhoFernandes Yeah, took me a little while to figure that one out myself.
 
Here we go again.
 
user3010322
Ugh.
 
user3010322
I think I'm just going to build LLVM/Clang as a DLL.
 
user3010322
No reason not to. <_>
 
@ThePhD I only have 16GB on this box.
 
user3010322
4:39 PM
@R.MartinhoFernandes OH
 
user3010322
ONLY 16 GB
 
user3010322
Well that's just a DAMN SHAME isn't it Mister SIX SCREENS. D:<
 
@ThePhD This is not that box.
 
well more improvements than regressions
always nice to deliver good news, I guess
 
I wouldn't say it's necessarily good news.
 
4:42 PM
heh, eventually it'll get there, no? :)
 
Regressions imply some instability.
 
TBH quick look at them showed them mostly in oscillating cases
 
So it depends on the actual numbers and on what.
 
so I am not very concerned about that
I'd need to talk with developers what they think about it though
I need a friend in development
 
Nothing more annoying than "Woot, they finally fixed that bug" and two months later "WTF, the bug is back"
 
4:43 PM
everyone here has a friend in development
@R.MartinhoFernandes right.
 
@BartekBanachewicz You assume we have friends. :)
 
user3010322
@BartekBanachewicz Big, hopeful eyes ?
 
well that's why I am sitting here doing my job
@ThePhD what
 
user3010322
I can be your friend, Bananu. <3
 
@Mysticial oh I meant here like my dept.
@ThePhD you don't do development
 
user3010322
4:44 PM
q_q
 
user3010322
mai dureemz.
 
meh
I think I prefer validation after all
no "OMG THIS HAS TO BE FAST" BS and nearly-embedded driver coding
because it really goes close to "fast.c++" at times
 
I need to try the ninja plugin for premake.
 
oh you're using premake
 
At work, yes. Can't go full ninja because we need Xcode and VS projects.
But premake ninja && ninja instead of premake gmake && make would be nicer for my builds.
 
4:46 PM
i see. welp, Imma head home.
 
Especially since I always forget to -j that thing.
 
user3010322
ImportError: No module named 'main'
 
user3010322
Ragequit
 
What is that?
 
JBL
You import your main ?
 
user3010322
4:47 PM
Python error. <_>
 
pythong ^_^
 
user3010322
Pythong - The Kinky, Sexy Python
 
What you doing with Python?
 
user3010322
@R.MartinhoFernandes Building LLVM.
 
user3010322
It's cmake, really.
 
4:48 PM
Oh.
 
user3010322
I hate all these build systems. =/
 
-5
Q: Can someone help me write a class (c ) of an increased function of 10%?

user3066545I need help on this because i do not know how to do it after countless researches... Can someone please please please please help me

 
BRB gonna feed the dog.
 
@DeadMG That is, it's your lunchtime.
 
What do you think? Is my comment about Java too snarky?
0
A: java to c++ convert code

Jerry CoffinWhile you've gotten some advice about the superficial problems you've seen, the result of following that advice (by itself) is still going to be what I'd consider poor C++ code. So far, you're basically transliterating from Java to C++, making roughly the smallest changes in syntax necessary to g...

 
user3010322
4:53 PM
Upboats for Jerry.
 
tl;dr upboat
 
@JerryCoffin poin :S
 
admittedly, deploying Wide would be a lot simpler and faster if I didn't have to cock around with those fucking codegen headers.
 
user3010322
Language pedants everywhere and throwing a fit at Poin
 
@JerryCoffin Any reason why it's called poin repeatedly?
At first I thought it was a typo, but not it's like your T key is broken.
 
4:54 PM
@EtiennedeMartel OP?
> I have a java code, this my Poin java code:
 
Oh, right.
 
user3010322
Poiyoiyoiiing.
 
room topic changed to Lounge<C++>: Show us your Poin java code [c++] [c++11] [c++1y] [no-answers] [no-questions]
 
user3010322
ALRIGHT
 
user3010322
TIME TO BUILD LLVM!
 
user3010322
4:55 PM
LEt'S DO IIIIIIIIIIIIIIIIIIIIIIIT F7
 
$ alias f7=make
 
user3010322
Oh god
 
user3010322
Before I can build I need to change every project in LLVM to use RTTI
 
romantic-comedy or romantic comedy?
 
user3010322
CMAKE y u no expose LLVM_RTTI option. :c
 
user3010322
4:58 PM
@Pawnguy7 Comedic Romanticism.
 
/bin/sh: 1: cannot create /home/rmf/dev/llvm/build/tools/clang/lib/StaticAnalyzer/Checkers/Debug+Asserts/.dir: Permission denied
I might have messed something up.
 

« first day (1145 days earlier)      last day (3795 days later) »