« first day (1113 days earlier)      last day (4061 days later) » 

19:00
@CatPlusPlus And it won't invoke it.
It's build that causes rules to be used.
Trying out alternatives?
Also hi
Well, yes, you need build statement too
Are outputs in build optional?
@R.MartinhoFernandes almost have a SCCE..?LKFHDLJFBDKJ
19:01
> I'd be appreciated for help lol
@BartekBanachewicz what were you saying about procedural generation?
@rubenvb I'm just curious about the assignment in question.
But really it's probably just a case of "it's not make, you probably shouldn't be trying to do this", because I imagine you want an equivalent of make some-tool
@sehe It's true!
2 mins ago, by R. Martinho Fernandes
@Rapptz I want to run my tests.
19:02
@LucDanton That's what made it funny :)
Can you 'join()' a thread that was created from a thread other then its parent?
everything is basically a std::string or const char*
@Mikhail Threads don't have "parents".
theyre like batman
2
19:03
That means 'yes'.
Unless you are referring to their parent processes.
@R.MartinhoFernandes In some models they can only be closed by the thread that made them....
well shit. Another different error.
rule build
    command = g++ -o $out $in

rule run
    command = $in

build test.exe : build test.cpp
build run_test : run test.exe
default test.exe
@Mikhail Ugh, what kind of ridiculous model would that be?
19:05
> ninja
[1/1] g++ -o test.exe test.cpp
> ninja run_test
[1/1] test.exe
hello
@CatPlusPlus "build run_test"
Should be "build test run"
;-)
@CatPlusPlus Oh, forgot I could use dummy outputs.
'Twas obvious, in retrospect.
Dammit can't find the problem.
@Mikhail (join doesn't "close" threads)
@Mikhail What
19:07
join is more about the current thread than the thread you call join on.
ugh at this point Clang 3.3 also barfs on my old code.
Damn compiler writers.
@rubenvb I got 3.4
It blocks the current thread. The thread you call join on just keeps doing whatever it was doing.
(C++ std::thread destructor weirdness notwithstanding)
@GamesBrainiac I stick to stable these days.
Clang 3.4 allows EnableIf<stuff>...
Which is pretty neat.
I haven't tried 3.3 though
19:10
3.4 will be out soon. And for 3.5 I'm awaiting much Windows goodies.
I'm okay with GCC. It works and is pretty mature on windows with mingw
@Rapptz Oh cool.
(finally!)
@Rapptz Thanks to hard efforts by the MinGW-w64 team (!)
user1804599
Yay. Building GCC again.
@R.MartinhoFernandes I only tried it with Coliru's clang though.
19:13
@R.MartinhoFernandes lol
It's funny 'cause it's true: You would be appreciated for help — sehe 11 secs ago
15 minutes without activity...
lol, to the point
@gnzlbg I think once we would have compile-time reflection - we can build runtime-reflection in library, just on top of compile-time reflection.
@LucDanton Yup. Certainly more creative than "show us what you tried/are stuck with"
I always feel like the only one who doesn't want reflection :(
@Rapptz I'll think about it.
19:17
That's kinda weird man.
Think anything can be learned from a C tutorial?
You should meet up. In a secluded place.
@Pawnguy7 Yes
How not to write C
@Rapptz Why not compile-time reflection?
Or anything
19:18
After seeing a few C API's.
I am interested in seeing what the convention is.
Your Tutorial Is A Piece Of Shit
Now you can write a programming
What tutorial?
All tutorial
As a book title? I am confused.
This is true.
99% sounds a bit high.
I still think that is an interesting idea, at least.
But the sarcasm detector is still broken.
19:23
Although it makes me wonder.
How are we to filter that 1% of useful info?
Do you have it... some normal inheritance, and some this?
What percentage is new people, you think?
Can we just ban white people from celebrating Halloween already? Like, seriously.
Oh.
Guess what I have for highscores in Snake?
@ScottW Yes please
user1804599
19:28
A string of comma-separated serialised integers.
Technically, std::vector<std::pair<std::string, int>>. But no.
For the default scores.
It is common snake names. Say, Python, Viper, Cobra, etc.
@CatPlusPlus I'm sure there some sort of internal logic in there.
I'm sure they're stupid
user1804599
Internal Logic Error.
I'm their stupid
19:29
ILE is a nicer acronym than ICE, and more to the point.
@ScottW I had trouble coming up with ten, to be honest. Some of them might even refer to the same thing.
Most definitely people complaining about "culture appropriation"
That's the second time I heard that now
@ScottW Those are the two "best". In that order.
@sehe Yup.
19:31
That too.
Garter, Coral, Copperhead, Cottonmouth, Viper, Python, Rattlesnake, Cobra, Anaconda, Boa.
Sidewinder?
@ScottW <3
I think there is a missile called that.
Having both "copper" and "cotton" kind of bugs me. Easy to read them as the same.
user1804599
NSUbiquitousKeyValueStoreDidChangeExternallyNotification
Moving on, then.
user1804599
It’s the kind of notification sent after a ubiquitous key value store has changed externally.
19:35
1
Q: NSUbiquitousKeyValueStoreDidChangeExternallyNotification is not called sometimes

TETTASUNI wrote code for iCloud key-value Store [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyValueStoreChanged:) name:NSUbiquitousKeyValueStoreDidChangeExternallyNotificatio...

user1804599
I like it. It’s descriptive.
lol
@sehe dat name
541 GBP LHR - LAX return in March 2014.
damn that's cheap
soooo tempting
@TonyTheLion what do you want in LAX?
visit my friends that live there
but they don't live in the airport obviously
lol
ah ok
19:42
@ScottW never seen that before:
its my once a year excuse to get some sun shine
which is pretty much guaranteed in California
@Pawnguy7 your ideas started to emerge into something interesting
user1804599
$ emerge ideas
19:45
@BartekBanachewicz any specific project?
@Pawnguy7 nah, in general
Ah.
Speaking of that, I am planning on having some for Snake.
@sehe they've added that recently i think
@Pawnguy7 how's that going?
For singleplayer, I kept just bounded walls, so scores are consistent.
@BartekBanachewicz mobile?
19:47
Pretty well since I got SFML working again.
@Pawnguy7 it's in C++ right?
eh
@sehe aye
For multiplayer, though, I want to offer a variety of different kinds.
It is, yes.
poor man's language
Let me guess, Lua?
Haskell :v
don't mind me I'm bashing everything as usual
but TBH C++ is extremely poor compared to Haskell
19:49
That would require learning Haskell :D
Good lord. Here we go again.
I also figure I should see what this hype about Perlin noise is sometime. Perhaps after I finish this.
What are decent alternatives to JSON that aren't XML and YAML? :|
user1804599
Undefined symbols for architecture x86_64:
  "tolower(int)", referenced from:
      Catch::toLowerInPlace(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&) in ccEXRtPD.o
user1804599
lolwut
19:57
@Rapptz For what
Both JSON and YAML are p decent
user1804599
@Rapptz S-expressions.
@CatPlusPlus um data representation and configuration
user1804599
@Rapptz <insert any programming language here>.
If it's human writeable config, YAML or INI
JSON for interop if needs to be human readable, Protocol Buffers otherwise
YAML always looked weird to me
20:02
XML isn't too terrible if you use some more advanced stuff and don't have to write it by hand
Me too.
user1804599
@ScottW YUML!
@Pawnguy7 wait you are not using Perlin/Simplex noise?
Nope.
uh
I have C++-friendly simplex noise in Minicraft
1d, 2d, 3d and 4d IIRC
20:09
I am sure I can get an implementation, I have just never quite understood what was so great about it.
@Pawnguy7 well, it's a proper noise that's contiguous, fast to calculate, short to implement and easily tune'able?
Contiguous meaning deterministic?
> with the last line constantly varying
how poetic to describe undefined behaviour
user1804599
Hey sehe.
user1804599
I figured out some better way to do that bound function thing I think.
20:14
@ScottW I suspect that you are not driving, but cooking :)
@ScottW Wrong district?
Let's say I have a really fast supercomputer - what does that get me? What computation can be done?
Can you be more vague?
@BenjaminGruenbaum Calaculating the answer to the ultimate question of life, the universe and everything?
@BenjaminGruenbaum several answers come to mind, but I assume there's context I'm missing
user1804599
20:23
Hmm.
@ScottW Supposedly, but it needs checking.
Do I have issues if I find JSON more readable than YAML?
:(
user1804599
template<typename T>
struct foo { explicit constant_function(T&& value_) { … } }; // is value_ universal ref?
template<typename T>
foo<T> bar(T&& value) { return foo<T>(std::forward<T>(value)); }
@ScottW work had a crackdown on non-work use of internet
user1804599
(Does it matter at all? foo is only ever constructed using this ctor in bar and only ever this way.)
20:26
@rightfold not universal ref, because T is not deduced in that context
user1804599
Hmm.
Oh hey Duck
user1804599
I’m making a copy/move and storing it in a non-static data member. Should I take it by value and use std::move instead?
@rightfold :also you effectively removed all the references from T in bar
@rightfold yes
@MooingDuck No he didn't.
20:27
@Rapptz no wait, nevermind
so... it is universal ref then? O.o I'm not sure.
Yes
They're both universal references.
I don't think he really wants to do that...
@rightfold that'd be awkward when T is const.
user1804599
T isn’t const.
@rightfold depends on what's passed to bar.
@rightfold there's nothing forbidding it from being const
user1804599
20:29
Oh, right.
user1804599
I don’t know what to do. :(
user1804599
Take it by value and remove the cv-qualification?
No, the first one is not universal ref
@rightfold return foo<T>(std::forward<T>(value)); needs to be foo<remove_const<T>::type> or something
Actually nvm I'm not sure
user1804599
20:31
Ah.
Fuck you C++
user1804599
@MooingDuck Not remove_cv?
lol
Path of Exile is a neat game
@rightfold "or something"
user1804599
Ah. :P
user1804599
20:32
I’ll try it out.
user1804599
Thanks!
I usually do foo<Unqualified<T>> bar(T&& v) { return { std::forward<T>(v) }; }
@MooingDuck Is that the game where you can get razer logo footprints?
where Unqualified strips cv and ref qualifiers
@Rapptz sounds good
20:33
@rightfold It isn't uni ref, martinho told me once.
@Borgleader I don't like paying for things, so I'm not sure
user1804599
@bamboon Three people told me once too.
seems like it is xD
I actually installed it but never took the time to try it
@rightfold still not convinced? ^^
user1804599
Wait.
20:34
is it a MMORPG? like kill 10^20 mobs and get 80lvl?
user1804599
template<typename... Fs>
detail::composition<Fs...> compose(Fs... fs) {
    return detail::composition<Fs...>(std::move(fs)...);
}
@Rapptz Breaks with function references, iffy with arrays though.
user1804599
Is Fs ever cv-qualified here?
user1804599
All types are deduced.
@LucDanton Screw those. :P
20:35
bar(f) passes a function reference :|
@rightfold they're taken by values so no, they're not cv-qualified
:|
@rightfold Pretty sure they're not.
For once, that's a job for Decay. In fact, that's the job for it.
How does it break with function references?
user1804599
[master 21d5090] Remove excessive use of && and std::forward :)
20:36
@Rapptz You get a function type.
Ah right.
@Abyx It's a pretty Diablo1 / Diablo2 hybrid
@LucDanton Hm. Well usually when I work with functions I use Decay.
Only because I know it decays function pointers
@MooingDuck hm... I didn't play diablo. o_O
@Abyx yes, it's like an MMO, but with a story, and very few quests.
20:38
You click stuff until it dies
So, just like MMO
can I kill other player there?
@Abyx Also, instead of you vs a monster, it's you vs 30 monsters in every fight
or rather "ruin a day of another player"
@Abyx I don't actually know if this game has PvP, I tend to stay by myself
Play EVE
20:41
dammit..
google picture search doesn't want to search for ""The C++ Lands".. it will silently replace and search for "The C Lands"
@JohannesSchaub-litb your google is weird. mine doesn't remove ++
apperently PvP is entirely queue based, so can't ambush.
uh oh, I just broke one of my wife's pretty vases :(
@CatPlusPlus I'm doing that just now :P Mining stuffs to pay for PLEX
@MooingDuck I have a lot of access to a large grid of computers, let's say 10000. Like a botnet.
How do I turn that into a profit or something useful (it's completely legal btw)
@BenjaminGruenbaum bitcoin
20:49
@BenjaminGruenbaum boinc.berkeley.edu
@Borgleader Nice! I'll shoot them an email - thanks.
@Borgleader all the boinc projects are not about profit
@bamboon he said "or something useful"
bitcoin mining turns electricity into cash. If you aren't paying for the power...
It's for the university so it's between helping mankind or making the university money to fund research - both are good imo.
user1804599
21:04
Hmm.
user1804599
What’s the syntax for a conversion-to-function-pointer operator?
You'd need a function pointer to return.
user1804599
include/rf/functional.hpp:126:15: error: must use a typedef to declare a
      conversion to 'R (*)(Args...)'
            (*operator R())(Args...) {
              ^
user1804599
Beh.
user1804599
Also lol dat syntax.
21:07
I'd try auto operator decltype(&fun)() { return &fun; }.
user1804599
How can I prevent inlining of a function only in a specific location?
@rightfold typedef ret_type (func*)(params); operator func() {...
@rightfold ...why?
user1804599
Yeah, did that. I’d like a typedefless approach, though. :)
@rightfold you probably wouldn't
@rightfold function pointer based on something the compiler can't tell ahead of time
user1804599
Hmm.
21:14
@rightfold if dealing with function pointers, you always want a typedef
user1804599
Ah, okay.
@MooingDuck or alias<R(Args...)>
^ Correct is correct.
using f = return(*)(args...) is good too
21:31
Visual Studio not saving project files when files are added/removed is REALLY ANNOYING
I always commit the changes and fail to notice that project file hasn't been updated
It saves the project file when you build, though.
Is there some indicator that the project is unsaved? (Like a * or something?)
lol
that sucks
That reminds me.
Since I switched to 2013.
Sometime it randomly fails, citing it cannot access the .exe or something.
Run it again,no other changes in anything, and it works.
21:35
It's like lighting a match. Sometimes it fails and then you need to try again.
Evening
Arson. That seems like a good purpose for VS2013
@StackedCrooked C-S-s
@StackedCrooked lol
@sehe not sure if that is a common english expression
@StackedCrooked I thought obvious meme was obvious
Argh Omnibar extension for Firefox is so shitty
user1804599
21:43
ARrgh.
Urrgh
ARRRGh.
ARRGH
@Code-Guru Dammit you!
:D
21:47
my mom says to watch your language =p
or she would if she was here...
I watch your language
I'm sure you do
I watch your mom.
uhoh ul p
you are into old ladies, eh?
21:47
^that's wrong chat
@rightfold reinventing std::bind?
user1804599
lolno
user1804599
I’m implementing puppy’s proposal.
unsigned char magic_buf[8];
sounds magical
21:51
@rightfold What's that?
user1804599
@TonyTheLion Taking the address of magic triggered a linker error. :P
user1804599
@Rapptz thunk type so you can pass stateful functions where function pointers are expected.
wait, thunk?
oh.
21:52
@rightfold I don't see a "magic" variable
user1804599
static std::uint64_t constexpr magic = std::numeric_limits<std::uint64_t>::max();
also, grabbing ctrl+F is evil
don't be evil!
user1804599
I have no idea why it doesn’t work.
TIL std::map can take up to 4 template arguments.
21:57
Yep.. and unordered_map can take 5..
@MooingDuck twitter?
@sehe coliru. when I hit ctrl+f it pops up it's own search dialog which is subpar compared to chromes

« first day (1113 days earlier)      last day (4061 days later) »