« first day (1856 days earlier)      last day (3318 days later) » 

18:00
@AlexM. top kek
it isn't I'm pretty sure
@AlexM. inb4 Paint
@ElimGarak also the snipping tool. :D
@melak47 From here
> LLVM disables RTTI by default. Add REQUIRES_RTTI=1 to your environment while running make to re-enable it. This will allow users to build with RTTI enabled and still inherit from LLVM classes.
ah that makes sense
18:01
@Borgleader well ok :D
origin sells fallout4?
no :p
guys..have you tried windows 10? does it really send private stuff to microsoft?
more so than windows 7?
@ᐅJohannesSchaub-litbᐊ Puppy has
Windows 10 is magnificent.
18:03
5 hours ago, by Puppy
I turned off Cortana in Win10 but it's still running and still pops up every now and then and still sends my data to Microsoft.
@ᐅJohannesSchaub-litbᐊ well, there's a whole bunch of things that you can try to turn off, like web search in the start menu, telemetry for apps, cortana...but even with it all off, and redirecting a bunch of related addresses to 127.0.0.1... you can't be entirely sure :v
ah i see. i suspect tho that you need to make the redirection in your router.. or will windows allow to change the DNS resolution within windows itself
Set up a firewall, refuse all connections to IP addresses in the redmond area unless theyre whitelisted ;)
@ᐅJohannesSchaub-litbᐊ well there's the good old drivers/etc/hosts file
ah i see. so i prolly update. it's windows7, I hear windows10 is gratis
18:06
@Borgleader dont they have servers world wide
if you own windows7 ofc
@Prismatic ;)
@melak47 i'm not well versed with windows. i thought etc hosts is a unix thing
The hosts file is a computer file used by an operating system to map hostnames to IP addresses. The hosts file is a plain text file, and is conventionally named hosts. Originally, a file named HOSTS.TXT was manually maintained and made available via file sharing by Stanford Research Institute for the ARPANET membership, containing the hostnames and address of hosts as contributed for inclusion by member organizations. The Domain Name System, first described in 1983 and implemented in 1984, automated the publication process and provided instantaneous and dynamic hostname resolution in the rapidly...
ok i have to cook.. minutesteaks :p
@Borgleader ah,i see! thanks
then I have to read my research papers :/ for TU about IFDS >>
it's still interesting, but I don't like reading if I have to :p
18:09
[ 98%] Building CXX object tools/llvm-nm/CMakeFiles/llvm-nm.dir/llvm-nm.cpp.o
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
god damnit, 98% T_T
@Borgleader why'd you kill it? :(
haha do they finally have cloned the GNU utils
I didnt :(
well someone did! :p
wasnt me
18:10
your disk or memory is full? :p
Uh... maybe, its a VM
If it is though... wtf is taking all the space, i gave it 40gb
well go fetch err check
I neven tried out chat feature on SO until today.
Ell
Ell
18:14
@Borgleader it's only linking
According to baobab im using 34.3/40GB
Ell
Ell
you won't have to start again
@Borgleader IIRC the actual tools hardly do anything, they just wrap the libs in a cli, so it shouldn't take long to rebuild that.
@Borgleader Could be temporary files taking up the extra space, might be worth giving it an extra 10GB and seeing how it goes
@Borgleader remember that LLVM GIT/SVN is debug by default
since it happend during linking tho, i suspect main memory may be the fault
I gave it 4GB of ram, but I can give it more
I have 16GB available
18:16
4GB sounds too little nowadays
perhaps even with linktime optimization :p
@Borgleader try dmesg and see whether the OOM killer was active
if it wasn't the OOM killer, i would expect a segfault rather than kill
I increased the RAM, I'll run make again
if it dies on me again ill run dmesg
and if its not ram ill resize the virtual disk
@Prismatic Mass confusion, probably.
I also reduced -j8 to -j4, might help if ram is an issue?
(less processes running so less ram usage?)
@Borgleader ld is run in a single thread. That shouldn't help
18:26
@Prismatic some idiot perhaps played some gun sounds on their mobile phone to shock people
@OmnipotentEntity You can link multiple executables at the same time :)
Yes, but the way CMake works it probably won't
oh well
nothing got killed so far, crossing muh fingers
wrap your LDs in a shell script that wait on other LDs to finish before starting up.
@Borgleader GO FOR IT
@ElimGarak i don't see anything wrong with that. it just displays ErrorCode_None :p
Linking CXX executable ../../bin/llvm-dsymutil
collect2: fatal error: ld terminated with signal 9 [Killed]
well shit
[  825.755740] Out of memory: Kill process 4497 (ld) score 260 or sacrifice child
[  825.755743] Killed process 4497 (ld) total-vm:2688108kB, anon-rss:2662300kB, file-rss:104kB
18:37
:D
llvm demands more memory.
@melak47 But the VM has 8GB of RAM
=/
-j1? :/
Iguess
#thuglife 32 GB. Although, 64 GB is possible now, should look into that.
My next PC, I'll get 32GB of RAM, so I can allocate 16GB when I used a VM
@melak47 Ok its done now. New strategy for building llvm: -j8 until it craps out due to now enough ram, ctrl-c make, then -j1 the rest of the way :) /cc @ᐅJohannesSchaub-litbᐊ
what'S the most straight forward way to checkwhether a given type is an instance of a given template?
@Borgleader :D
i mean, using only standard or boost traits
not writing own class templates
0
Q: Can I overload an overloaded operator? How does Operator Overloading work

Prayansh SrivastavaHere is the sample code: #include <iostream> using namespace std; class test { int a; int b; public: test(): a(1), b(2) {} ostream& operator<<(ostream&); //FUNC 1 friend ostream& operator<<(ostream&,test); //FUNC 2 }; //FUNC 1 ostream& test::operator<<(ostream& obj) ...

dat title
That would cause an operator meltdown.
> using namespace std;
oh god
this guy
        def getKey():
             key = 0
             while True:
                 key = 5
                 return key
0
Q: Caesar Cipher validation loop

NodeMNI'm making a Caesar cipher and everything is exactly how I wanted it but when it comes to validation if I enter '123' it outputs 'Invalid Input' like I wanted but after it asks 'Do you wish to encrypt(e) or decrypt(d) a message:' where I want it to just go straight to asking 'Enter Message:'. Unt...

18:53
dat while loop
@ᐅJohannesSchaub-litbᐊ something along these lines? coliru only works as long as no non-type template parameters are involved though.
Them templates be ugly like Fallout 4. :D
but you still love them don't you :p
:'( Man, I hate myself, but I enjoy every second.
I am supporting TES VI to be a reskinned Skyrim as well.
noo
gamebryo has to die
19:03
does Portal 2 Sixense Perceptual Pack contain Coop campaign?
@BartekBanachewicz I've never heard of that pack
that's the version i have
i want to play something today's evening with a friend
I'm dling the Portal right now to see if it has coop but if it doesn't we'll prolly play chivalry
Portal 2 has coop, that motion sensor thing doesn't seem to (and the camera is required to play...)
@melak47 I'm interested in the Valve VR thing (Vive I think its called?)
@BartekBanachewicz do you have Portal 2 (without this Sixense Perceptual Pack thing, which seems to be a free standalone thing) ?
19:10
@melak47 yes but just without having to write your own class template
@ᐅJohannesSchaub-litbᐊ ? got a use case / requirement in mind?
@ScottW <3
@ᐅJohannesSchaub-litbᐊ I don't quite follow - your solution there works, and if you want a generic way to check if T matches an instantiation of Template<whatever...>, where's the problem with defining a trait for that?
19:20
@melak47 the same problem that std::is_same is the solution for
Can you be less cryptic? Or is this a riddle again? :)
why to reinvent the wheel if there is a nice generic solution
i was thinking about something like std::is_specialization<T, std::tuple>
not sure whether that exists
I don't think so, which is why you have to write the generic one yourself :p
@ᐅJohannesSchaub-litbᐊ if you were to give a talk on cppcon, what would it be about?
if you want to do a check within an sfinae context, you can say is_same<typename T::template tuple<>, std::tuple<>>, but this only works within SFINAEs
@StackedCrooked about soemthign awesome I implemented.. but so far, I lack such things :p
19:24
alright :D
and the T only works if it is a class type, failing for reference typews
@ᐅJohannesSchaub-litbᐊ I still don't understand what the problem is with writing an is_instantiation_of trait that works everywhere?
@melak47 When you take an address of it
(ODR-use, was it?)
@Nooble god forbid
@melak47 I wonder whether it already exists
or planned for c++17
maybe there's some compiler builtin helpers that can answer such a question for you
@melak47 ah i see. tho that answer is a bit ambiguous. for array, it needs a "size_t, T" matcher, so a generic template is not possible if it only matcehs on "T..."
-1
Q: Order linq.js results not working

NisarI am trying to return list in numerical order but its returning like [1.1,1.12,1.2] var SubChapters = Enumerable.From($scope.data) .Where(function(item){ return item.mainhref === '1'; }) .Distinct(function (item) { return item.seq; }) .OrderBy(func...

Did we see that already
Kinda epic
it could still be the cdase that there is a general "T..." matcher but that that answer only handled the heterogenous case
19:29
@sehe do you like alanis?
@ᐅJohannesSchaub-litbᐊ yeah, but checking type_traits I don't see anything resembling something like that.
@StackedCrooked A lot. But you knew (search history)
@ᐅJohannesSchaub-litbᐊ also I'd avoid the is_specialization name because that implies something else IMO.
@melak47 perhaps with hana we coudl say is_same<hana::template_<T::template tuple>, hana::template_<std::tuple>>. but I wonder whether hana has special cases for "T, int"
@melak47 then perhaps "is_specialization_of"
19:31
@ᐅJohannesSchaub-litbᐊ that still sounds like you're asking "is this template specialized for these parameters"
which I'm not sure is answerable. Specialized to what degree? partially? fully?
ah i see. hm
specialized in the general case, i would say
fully (explicit) and generated
@RacilHilan except this site is not to teach basics of math to children. — sehe just now
Scary thing: OP has 31 answers. And 1,182 rep
not only doesn't it teach basic math to children, but to anyone
@ᐅJohannesSchaub-litbᐊ about the T::template tuple stuff - is this using the class name being injected into the class scope? But I don't think the primary template is injected into instantiations...? (do you have an example of this working?)
@sehe as I was watching that, I was thinking I should post it to the lounge for 'them' to enjoy :\
19:39
@melak47 it simply takes the template
the template is the same for each partial specialization
ofc just do

std::tuple<int> a; decltype(a)::tuple<int> x;
Well even after a succesful:
cd llvm-build
cmake -G "Unix Makefiles" ../llvm -DREQUIRES_RTTI=1
make -j8
oops.. sorry. that will not work
i still get the linking error :(
but the "template ..." thing works because the injected class name then is treated as a template
@Borgleader the most annoying type of error
19:41
@ᐅJohannesSchaub-litbᐊ seems to work.
in the above, "::tuple" refers to the constructors
@melak47 try gcc. clang is nonconforming there
@ᐅJohannesSchaub-litbᐊ ah, ok.
@TonyTheLion nope, it's second to programming :\
@thecoshman you're saying programming is more annoying?
@TonyTheLion yes.
19:43
@melak47 frankly I think "T::template tuple" shouldn't work aswell ^_^ now that I think about it
so my trick won't work on gcc
@набиячлэвэлиь but packages
@ᐅJohannesSchaub-litbᐊ aw, I thought I was learning something new :(
because "tuple" is still the injected class name. but I'm not 100% sure of it, can't look it up now
lulz
19:46
@ᐅJohannesSchaub-litbᐊ can you use typename T::template tuple to make it not refer to the constructor?
@melak47 the spec says "if the name specified after the nested-name-specifier, when looked up in C, is the injected-class-name of C" ... then "the name is instead considered to name the constructor of class C."
and about injected class name: " The injected-class-name can be used as a template-name or a type-name. When it is used with a template-argument-list, as a template-argument for a template template-parameter, or as the final identifier in the elaborated-type-specifier of a friend class template declaration, it refers to the class template itself. Otherwise, it is equivalent to the template-name followed by the template-parameters of the class template enclosed in <>."
so I am not sure how this determining of the meaning of the injected class name plays together with the specification of the name lookup rules in section 3 about when a name refers to a constructor
@набиячлэвэлиь you don't like Rust?
GCC chooses "::template injectedclassname" to refer to the constructor (there might be constructor templates, after all)
19:48
@TonyTheLion Not really, no
but I can imagine other compilers chose not to. this IMO is ambiguous in the spec
@набиячлэвэлиь Never tried it, so hard to judge. Though I had heard some good things
@melak47 if anything, I would try class. because typename does not make lookup ignore function names
(which is a requirement for the lookup not to be treated to refer to the constructor)
but with "class" before that thingy, it can't be a template anymore.. you will have to pass parameters :p so this attempt would be for naught
@TonyTheLion my experience was that it's a nice language, but lacks lib support. That was a while ago, and I hear things have changed in the language.
ah interesting
19:51
@melak47 gcc makes "typename" ignore function names, which is not conforming. so gcc may choose "typename T::template tuple" to refer to the class or template (haha) instead of the constructors
@ᐅJohannesSchaub-litbᐊ these compiler's can't agree on anything, can they.
@TonyTheLion Yep lacks lib support.
C++ it is, then.
@Nooble oh my
what are you writing?
@melak47 there is a stone-age old paper about whether typename should ignore function names or not. and they chose to make it not ignore them. perhaps the gcc implementation is older than that paper (from something like 1996)
@TonyTheLion I was also using it mostly for gl stuff, so it had lots of yucky external shit. I can see it would be much nicer if doing 'pure' rust stuff.
19:52
@TonyTheLion Icicle 2.0.
@Nooble what happened to 1.0?
Ell
Ell
it didn't work :P
there were like 20 paper revisions entitled with something like "Template Issues" released by John Spicer back then, and this was part of that series
@TonyTheLion Horrible interface that called for a rewrite.
19:54
@Nooble If I could do that at work I'd be dancing...
@Ell Nothing I write ever really works.
Ell
Ell
Nor me
but time... and money... don't allow for rewrites
@nick finish slide
If you take too long, I might do it.
lol
Getting Icicle to work would be a good goal :)
19:55
@TonyTheLion Right now there's a readme.
Ghosh still fireworks outside
@Nooble you can work on it
Progress!
if you want
@nick Do I look like I do JS.
19:56
@Nooble What does it say? "Hi I'm Nooble"
That project is at the bottom of my to-do list
@TonyTheLion It says the project name.
@Nooble JS might be easier than GL
@nick :(
@Nooble you could make a c prus prus version if you want
19:57
@TonyTheLion But so much worse.
@nick When Lumiukko gets to work.
@Nooble GL is not possibly nicer to deal with than JS
@Nooble I'm working on like 3 projects and I'm thinking about 2 more and I might have some other work soon too
@TonyTheLion but web
oh yea :(
web
well
19:58
> The average female American womens height is 163 to 164 cm
@ElimGarak fascinating
Interesting, never thought tiny women popeles are so tiny.
@nick Gotta make yourself look all experienced!
compile times are almost instantaneous, so testing is fast :)
can I fap to that?
19:59
I can't shove my fist in your college degree, so why you sharing all this information with me?
@ElimGarak I'm only a bit taller.
assuming When it is used [...] as a template-argument for a template template-parameter[...] , it refers to the class template itself ignores function names, since a template template parameter can't be a constructor...then the following should be legal, maybe?
@Nooble 2 tru also gotta get that money
money money money
20:00
geld geld geld
@TonyTheLion gimme gimmie gimme!
@Nooble :)
@Nooble stay the fuck away from me
@Borgleader why?
@Borgleader lolwut
20:02
@TonyTheLion idk about you, but i dont wanna be gelded :)
@Borgleader :P
@Borgleader oh my... hahahahah I didn't know that was an English word
geld = money in Dutch
or German
I learned this word while reading game of thrones (I'm at book 4 so no spoilers tia)
straight fire
why so many downvotes lmao
@ScottW Really?
More time to mumble then.
20:05
MUUUUUUUUUUUUUUUUUUUUUUUUUUMMMMMMMMMMMBLE <3 <3
are any of you scrubs in northwest USA?
@ScottW what
@nick no we don't suck
@nick no
wasnt there somebody in washington
20:06
@nick Obama
the state, you uneducated foreigner
@nick eww
Your fault for having a city and a state names the same thing
Northeast is best.
East coast best coast.
@nick hehehe
20:07
@Borgleader wait I thought you were in the US?
I thought he was from Canadia.
@nick Nope.
@Nooble re-post from the JS room: codepen.io/towc/pen/zvevrY
doesn't use WebGL though
@TonyTheLion oh?
@nick beautiful
20:09
@jaggedSpire I'm on it, but nobody's there :(
I have to go to swimming :c
@TonyTheLion Don't worry, I'll fix that soon enough. :)
@Nooble ikr? this guy keeps making such buttiful animations
@Nooble healthy for you :)
@jaggedSpire Cool :)
are you leaving us now?
20:10
^ a stackoverflower
Andy you're in Washington right?
> BOOST_VARAINT_MAX_MULTIVIZITOR_PARAMS
also beautiful piece of art right there
good job
@nick Not exactly
I'm in Czech Republic
but close enough I guess
20:11
wait seriously
@AndyProwl Yeah, a day's walk :D
hmm
I made some shortbread mixture, then realized I used the last of my grease and completely forgot to grease the tin.
I hope that greaseproof paper is as effective
@nick ok, I will wait seriously but isn't it better to like make jokes while waiting
no
@Puppy I expected that to end "so I just ate the raw mix"
20:15
@ᐅJohannesSchaub-litbᐊ or even just coliru.stacked-crooked.com/a/5feb40a8520838ed
I was pretty much going to.
then I realized I had the paper.
oh, btw, graseproof != non-stick
but for shortbread it should work fine I think.
@ᐅJohannesSchaub-litbᐊ nvm, last one fails to fail when called with non-tuples on clang
20:31
@AndyProwl That looks like GIMP work =)
user1804599
hi
ergh, I booked flights to England for xmas the other day, already regretting that decision. I think I'd have a more pleasant time if I just sit at home, alone.
family in england?
indeed
user1804599
@thecoshman Well, that's pretty grim.
How would you have more fun at home alone on xmas man? Wouldn't you feel lonely?
@ElimGarak so this thing I have to build...the guy said I need to find a big empty space - any recommendations? :D
guys can I get rid of that extra line space after headings in markdown?
> “even faster” blue cubes of energy
20:46
I kind of thought they'd be green.
Onion is on point as usual
@Prismatic not really, and at least I wouldn't be getting annoyed
@melak47 I built it in Sanctuary. Prepare your anus for large generators, lots of them. :D
But it is one of the most unique experiences in the entire game, a tiny departure from reskinned Skyrim :D
user1804599
> But by far the biggest recurrent complaint reportedly stemming from the lack of blue cubes of energy was that further technological advances—namely “even faster” blue cubes of energy—were being held back due to the cubes not yet having been invented.
user1804599
LOL :D
20:48
man setting up a rendering thread for my update loop is confusing
user1804599
what if it's a woman instead?
user1804599
would that be less confusing?
what if it's a pacman?
both would be extra confusing, duh
with vsync even if I have a separate rendering thread it blocks my update thread when I try to sync state between the two so it feels like I cant be certain that rendering will be asynchronous
very frustrating
@ScottW having fun?
20:53
@jaggedSpire Hi :)
@ThePhD <3
@Borgleader Hi. :)
@Borgleader Hihi! How goes working on the language.
@ScottW awh you should come mumble
20:54
@jaggedSpire So how was your social thing last night?
oh bby's <3 <3 <3 :D
@ThePhD llvm is giving me some trouble on linux
@Borgleader We pulled out Risk at 10PM
@jaggedSpire So you didnt sleep? :P
we gave up at 2:30, just as I had gained control of Australia and was set to double my forces with another match
@Borgleader :P
20:56
2 messages moved to bin
Please read the rules
I had spent most of the game piling all my forces in Japan after a rough start in northern Asia, and explaining to other people why attacking one another in the most harmful way possible really was in their best interests.
Two people were out, having taken my advice in attacking one another (and were doing quite well at it too, it's just depletion of forces is a dangerous thing in Risk)
@jaggedSpire Did you make telkitty walk the plank?
the two remaining were about to start fighting one another
@jaggedSpire You manipulative little... Good job :P
20:59
@Borgleader And this is why the way of catface must be exterminated.
@ElimGarak lol, no.
Look at the evil it perpetrates.

« first day (1856 days earlier)      last day (3318 days later) »