« first day (2042 days earlier)      last day (2907 days later) » 

8:00 PM
I mean "modern C++" :)
 
@StackedCrooked Kids these days, eh?
 
@k06a Just read their tutorial. It is not that hard.
 
@набиячлэвэлиь Do you have the align assignment thing on? i think theres an option for that (AlignConsecutiveAssignments )
 
@StackedCrooked Beer from your local brewery tastes the best IME.
Even though the local brewery is 100km away.
 
8:01 PM
probably
local breweries are everywhere in Belgium
But TBH I don't dislike the beer from convience stores either. I suppose I'm a peasant myself.
 
I have travis-ci configued for several iOS projects, but have some problems with C++ compilers on travis-ci side :(
 
@k06a What problems? You might need to install additional packages through APT.
 
I see a lot of warnings and some compile errors, but I am able to reproduce all this steps locally without any warnings and errors with Qt Creator and Clion IDEs
Just tried from local console, same result - no warnings and no compilation errors
 
@k06a home/travis/build/k06a/boolinq/test/DistinctRangeTest.cpp:100:65: error: unable to deduce ‘auto’ from ‘<expression error>’
 
@StackedCrooked I won.
 
8:06 PM
This is not Travis-CI issue.
 
@Morwenn Nice.
I could never win at those.
 
Looks like problem with different versions of compiler. But I am sure my compiler is much older than travis-ci uses
 
@StackedCrooked There are soooo many good beers from Belgium :o
@StackedCrooked It was kind of hard. Speaking helps a bit.
 
@Borgleader yes
 
8:10 PM
@wilx thanks, I'll look in
 
lol that's bad
 
@rightfold Roguelike map is not "text"
 
@k06a I think you just need to use the before_script part where I set up CC and CXX environment variables.
 
@wilx LOL THAT PART IS SO FUCKING BAD
 
@набиячлэвэлиь I am open to suggestions that are not in all caps. :)
 
8:13 PM
also lol don't install everything always
 
installallthethings.gif
 
@набиячлэвэлиь You have just two different configurations. I have like 9 times 2.
 
@wilx Trivially extensible
 
You failed when you put the script in that YAML
 
8:15 PM
yours doesn't seem to be much better tbh
 
@wilx Also no you don't
 
@набиячлэвэлиь How so?
 
@milleniumbug I don't install everything on each cell, I don't manually check the compiler (lol), I don't install the default compiler on all matrices
 
@CatPlusPlus Hey, look what the cat dragged in!
 
@wilx grepping for matrix results in nothing
 
8:18 PM
@набиячлэвэлиь Each of the env items is separate configuration, times two for Clang and GCC.
 
The matrix isn't sustainable anymore when things become slightly tricky :/
 
@набиячлэвэлиь Meh what? :)
 
user1804599
 
@ThePhD <- That's fair, btw. Jon sent around your reply and we decided I'd speak with you further.
 
Ven
oh you're back
 
user1804599
I started working on my video game.
 
8:37 PM
meh BB
 
@ven: Yes, I am indeed backish
 
> Shady blel is back, tell a friend
 
> You do not have access to this repository.
 
user1804599
Indeed.
 
user1804599
It's private.
 
8:40 PM
@ScarletAmaranth Latest Assassination Classroom was pretty epic. Especially if you like astronomy.
 
@rightfold Nice. :)
 
user1804599
8:58 PM
yeah I'll use SVG
 
@fredoverflow Very nice, thanks.
 
user1804599
Finland has over 300 metal bands per 100000 citizens
 
user1804599
Highest concentration of metal bands in the world
 
English, Spanish, Urdu, Sranan-Tong, Swahili, Yiddisch, Aramaic, Arabic, Mandarin, Fries, Esperanto, how many again?
 
Duh, it's cause Finland is full of half naked hairy strongmen who listen to death metal so they can squat 3000 pounds
 
user1804599
@fredoverflow boring
 
@rightfold It's just that the titled reminded me of you ;)
 
user1804599
9:22 PM
Rick at a Dutch talkshow
 
I hate you
 
You see that? If you listen closely you can hear just how impressed I am
 
user1804599
@sehe how come you are depressed?
 
:) You listen too loud
 
user1804599
sehelantropous
 
9:36 PM
rapidjson::Writer will segfault if you try to do any operations on it without initializing it with a buffer, and yet it allows you to default construct one
 
user1804599
Lol segfaults
 
I swear I get a segfault every time I do an initial compile and run with a new piece of code using the Writer
 
user1804599
Silly pre-Rust technology
 
I'm so pissed about so many things in that API.
 
9:36 PM
Experience is what causes a person to make new mistakes instead of old ones. #fortune
 
user1804599
If rather make old mistakes, since I already know how to fix them
 
user1804599
It's easier
 
That is when a dev is too lazy. Also: lies
 
user1804599
new Mistake is the biggest mistake you can make in C++
 
Hope you like pretty long songs.
Without any actual singing.
 
9:42 PM
@Morwenn Without singing it's music, but not a song.
 
@JerryCoffin Yeah, but I can't ever remember the best word to say « a *** ». You can't say « a music », can you?
 
@Morwenn No, music is uncountable so you need a quantifier
 
@rightfold yeah, but old Mistake won't compile unless you hack it with the preprocessor
@Morwenn Does it take a year?
 
@sehe Nope, only 21 minutes and 33 seconds.
 
@Morwenn Song is fine. Piece, work, composition, movement, symphony etc.
@Morwenn I'm disappoint
 
9:47 PM
@sehe CAPITALISM?
 
@sehe I sometimes go with « piece » but the word is not music-specific.
 
Which makes it more suitable for open reception
 
Xeo
Long pieces and open reception? Are you alluding to something here?
 
Interesting discussion actually.
 
10:08 PM
argh I've just learned that despite the examples passing malloced pointers directly, Boost.Context's make_fcontext doesn't fix up pointers to the new stack
and I have to take care whether the stacks grow up or down
also the API for Boost.Context seems to be changing in a way that's backward incompatible in every release
 
I've looked at boost.context before and seemed more like an internal library.
Even though it isn't.
 
nwp
this looks so wrong (Skills::Collision is an enum class)
maybe I should go back to regular enums in a namespace
 
I guess they want the users to use Boost.Coroutine directly
@nwp Indeed it's wrong
Speaking of enums, enums are the best part of Java
 
nwp
@milleniumbug which one? or both?
 
The fact that you need the enum to be treated as a number, that's a first one
...well, it's fine, but it's assuming there aren't any holes in the enumeration (which can be)
Also the fact this code isn't in a separate function
dunno next_collision
 
nwp
10:21 PM
I wish there was a std::next_enum_value(some_enum_class_value)
 
the worst part is that you can't do that for arbitrary enum, yes
fucking C++
the slightly better part is that you can wrap all your enums in X-macros
 
nwp
@milleniumbug I think you're right, not repeating that code is better and easier to maintain should it need to change
 
that Java date one was great
 
10:43 PM
Time to sleeeeeepbiebie.
 
@nwp otherwise if a function doesn't hit return then you get UB
 
nwp
cool, I'm actually using it in a compile time context, so it should be fine
thanks
 
11:01 PM
@Puppy My favorite one was the oracle one haha
@Morwenn night!
 
user406009
11:14 PM
@BartekBanachewicz Yeah, but I don't think it's that important.
 
user406009
I think JS's solution of calling event.stopPropegation is good enough.
 
user406009
Actually wait, that won't work in Haskell.
 
user406009
Hmm.
 
user406009
This requires more thought.
 
You thoughtless bastard.
 
user406009
11:18 PM
@StackedCrooked I stand guilty as charged of typing without thinking :)
 
user406009
It's probably where most of my life problems come from.
 
user406009
@StackedCrooked Oh, you wouldn't happen to know where to find good english translations of the Re: Zero light novels?
 
user406009
I liked the anime and was looking for more content.
 
@StackedCrooked I would counter the C programmer with: "C++ guarantees that destructors will be called, deterministically, and cleanup will be called, and resources released, no matter what. Try that with macros"
 
@Lalaland No, I'm afraid not.
 
user406009
11:21 PM
@doug65536 What about when a lightning strike hits the computer? :P
 
nwp
@Lalaland then the lightning automatically cleans up the memory
 
yeah, bug with input API. After 40 hours of no input, it should assume that the user is dead and raise std::user_died exception.
make it annoying and not catchable, just to piss everyone off
pass a law that says after dying all of your computers must turn off within 40 hours
@StackedCrooked nobody even mentioned deterministic cleanup, that is the feature that C completely fails with. In C you have to remember to do everything.
and the compiler couldn't care less if you accidentally do double-init or double-cleanup or use after free or use before alloc in C
 
user406009
@doug65536 Well, there are some gcc extensions for automatic cleanup.
 
@Lalaland is that C though?
 
user406009
I also remember someone who came up with the "clever" idea to monkey patch the return address to support cleanup operations in C.
 
11:28 PM
It's really about C++ vs D and C vs C++ is used as analogy.
 
C-with-stuff-we-have-after-we-got-c++-implemented is a different language
 
user406009
Like you would call foo().
 
user406009
foo() would then find the return address in the call stack.
 
user406009
It would modify it to point to destroy_foo()
 
user406009
And somehow manage to get back to the real return address.
 
user406009
11:29 PM
I really loled when I saw that.
 
with platform/compiler-specific intrinsics?
is that C?
 
Using self-modifying code probably.
 
user406009
@doug65536 Not sure. All I know is that it only worked on Linux x64.
 
It used to be the "normal" way of doing things.
 
that's the thing with too many C programmers, if they can hack to work, then it it is valid code
 
user406009
11:31 PM
I don't know. The guy who wrote it thought it was the hottest shit ever.
 
if your code fully discloses that it only works on platform x with compiler y, because of compiler-specific intrinsics, then okay. but that is not really C, that is the compiler's different/extended language based on C
why would you deliberately make the code not work on all other compilers/platforms, that is the real question
 
@doug65536 Yeah, C is so bad even Linus doesn't write it
 
gcc's vector extensions are really attractive, why isn't that in C++ yet?
like opencl float4, which is 128 bits
typedef double double2 __attribute__((vector_size(sizeof(double)*2)))
typedef float float4 __attribute__((vector_size(sizeof(float)*4)))
translates directly into vectorized code, because you are explicitly saying to treat it as a vector
what modern cpu doesn't have vector instructions by now? practically everything new has something SIMD. why isn't it in C++ yet :(
vector code is trivially converted to non-vector when vector instructions are not available
 
@doug65536 C++17 has std::par_vec.
s/has/will have/g
 
11:51 PM
examples show trivial types. is that all it can do?
looks good in examples but you don't often want to pass through a whole input and do one tiny little thing and write back the whole thing
I want to be able to do multiple things as I pass through it, so I won't cache-miss all the way through again on the next vectorized thing
 
It's very limited yeah.
 
it's a step in the direction of explicit vectorization
 
AFAIK, the only way to exploit the full power of SIMD is by using intrinsics.
 
gcc's vector extension fits into the language perfectly. You can say typedef float float4 and by the way, make it a vector with size (sizeof(float)*4), thanks;
make it less C-like and more T driven and it'd be great
you could just wrap gcc's C style declaration with a template that takes a count
 

« first day (2042 days earlier)      last day (2907 days later) »