« first day (1448 days earlier)      last day (3485 days later) » 

7:02 PM
@Xeo I liked that part too
the older and serious chick, forgot her name
liked her too there
 
TIL PDF has a width limit of 5 meter.
That really sucks man.
 
user1804599
7:16 PM
Line width?
 
user1804599
user image
2
 
user1804599
ggg
 
^ Nice illustration of Concurrency vs Parallelism
 
Xeo
s/rl/ral/
 
@StackedCrooked keyhole problem
 
user1804599
7:20 PM
@StackedCrooked So concurrency is fun and parallelism is boring? I agree!
 
@Xeo thx
@rightfold You get it :P
 
@StackedCrooked he could have used orgy vs masturbation
 
user1804599
Nah. Masturbation is single-threaded, whereas concurrency is not necessarily single-threaded.
 
Hey all, primarily and app developer these days, running into a road block with an outsourced Chinese team that develops the hardware component we are trying to interact with. Anyone here know if there's any reason why a Hi-Link HLK-RM04 running openwrt wouldn't be able to support multi-threading?
 
Also, the Dutch word for competition is "concurrentie".
How convenient.
 
7:22 PM
@rightfold bukkake then
 
user1804599
@StackedCrooked That's why Dutch-speaking people know what concurrency is and other people do not!
 
Yeah.
Them dumb non-dutch asses.
 
user1804599
I like to use a zipper as concurrency analogy.
 
worst analogy ever but I don't care
 
user1804599
@StackedCrooked They conquer for processing time!
 
user1804599
7:24 PM
conquerrency
 
command and conquer
 
user1804599
command en kanker
 
user1804599
As well as seek_from_begin, seek_from_end and seek_from_current. Methods are missing if not supported.
 
7:27 PM
aren't there methods like ostream::write and istream::read that resemble your code?
 
user1804599
No idea.
 
user1804599
But ostream does way too much.
 
does each call flush?
one of the nice things about operator<< is that you can put an << std::end at the end.
 
user1804599
In my idea? Depends on the stream.
 
user1804599
If your stream type flushes on every call, then it does.
 
user1804599
7:29 PM
@StackedCrooked formatting and I/O must be separated.
 
std::flush if you must
 
user1804599
There's streambuf but it has pubimbue and shit. :<
 
pimpbue
 
user1804599
Unpacking variadic packs to initialiser lists is so useful.
 
cool
what is detail::type<Args>()... ?
 
7:32 PM
@user2030677: it's the same as with U2. for some folks associated with such ungoodness that the mere mention makes them uncomfortable. i'm not there yet, neither with U2 nor with singletons. but i guess it's a good idea to keep one's exposure to such, at minimum. — Cheers and hth. - Alf 24 mins ago
lovely
 
user1804599
Returns the libffi type for the given static type.
 
user1804599
I currently only support int.
 
worried about wasting time

^ wastes space in the process
(you make baby Alfred cry)
 
7:33 PM
@rightfold btw, I like your namespace name.
 
user1804599
Thanks.
 
I used "Futile" in the past. But baka is a million times better.
 
@AlexM. I agree, that would most likely be painful IRL (and remind me of dentists somehow) - but esthetically, I cannot disagree with the sounds
@rightfold because in template-era C++ it would not work to debug without ever inlining. Imagine the bloat. Imagine the slowdown
 
user1804599
Ik houd wel van bloot.
 
@rightfold subtle
@rightfold liar
 
user1804599
7:38 PM
Does Boost have anything like compile-time sets of integers?
 
> Every F1 car on the grid is capable of going from 0 to 160 km/h (100 mph) and back to 0 in less than five seconds.
Damn.
 
Shadow of Mordor looks neat
 
I don't like watch F1 races, but I like reading the numbers.
> The car, badged as a Honda following their takeover of BAR at the end of 2005, set an FIA ratified record of 400 km/h (249 mph)
400 km/h YEAH
 
user1804599
Hmm.
 
user1804599
I'm using pack unpacking in base class list. :D
 
7:45 PM
You must be great at packing and unpacking.
 
@Mysticial lol. I just bumped into this beauty:
Trying to decide whether my edit removed the charm stackoverflow.com/posts/26185708/revisions
Oh. Typo too
 
user1804599
template<operation... op>
class file_descriptor_stream
    : private virtual detail::file_descriptor_stream_base
    , private detail::base_for_operation<op>::type... { … };
 
user1804599
ugly :(
 
Had to upvote this perl
pun semi-intended
 
7:54 PM
git doesn't version individual files. You may want to look at SourceSafe, CVS or RC if you require this. — sehe 22 secs ago
Someone doesn't quite get how git works yet: Pushing file changes commit message of parent folder as well
 
The only good thing about std::async is it's deferred launch policy. Which isn't async..
 
@sehe lol
 
user1804599
Can I like, in a base class access a member of a derived class?
 
I permit it.
 
user1804599
class base { void f() { g(); } };
class derived : private base { void g() { } };
 
user1804599
7:58 PM
It's possible in Scala. :v
 
@StackedCrooked doesn't have to be async, right
@rightfold do the CRTP
 
user1804599
I think SFINAE is a better solution than virtual inheritance.
 
those are only tenuously related
 
user1804599
But both possible solutions to my problem.
 
user1804599
I want to enable certain member functions only when certain values exist in a variadic pack.
 
8:01 PM
static if - in templates you could just static_assert in the respective member function and then you could let shallow instantiation/POI do the rest
 
user1804599
Like class file_stream<operation::read> has a read function but no write.
 
write a trait then enable_if-it
 
user1804599
I have to write a function to see if a variadic pack contains a value, though.
 
@rightfold at this point, you can ask yourself why file_stream<operation::read> vs. file_stream<operation::write> is better than file_istream, file_ostream. And by better I mean, so much better as to compensate for the spiked complexity.
@rightfold and by value you mean a tag type?
 
^ wanted to ask this
 
user1804599
8:04 PM
enum value.
 
user1804599
But I almost have it, hold on.
 
good enuf
 
user1804599
Then just enable_if.
 
nice
wondering if a constexpr function would have been simpler
it's a compile-time for loop after all
 
user1804599
8:08 PM
Hmm. Yeah. :P
 
actually I think there should be a way to specify that a computation must happen at compile-time
so for instance variables could be used as template arguments
(unrelated to your problem)
 
looks more readable
 
user3010322
Oooh.
 
user1804599
I should name it contains_value.
 
user3010322
8:12 PM
@rightfold You're making a compile-time stream interface? :3
 
user1804599
Because there may also be contains_type.
 
user1804599
@ThePhD no, I/O streams.
 
@rightfold Just say "no" to iostreams.
They won't listen, but it's fun to say "no" to them anyway.
 
user1804599
include/baka/io/file_stream.hpp:16:37: error: template argument for non-type template parameter is treated as function type
      'contains<baka::io::operation, operation::read, supported_operations...> ()'
 
user1804599
wat :|
 
Xeo
8:17 PM
{}
 
user3010322
wrekt.
 
user1804599
But this works with type traits!
 
Xeo
Does it?
 
user1804599
I could always to std::is_base_of<B, D>() in std::enable_if.
 
user1804599
Well, ::value works.
 
8:18 PM
@ThePhD ☑ REKT
 
Xeo
{}
 
Dost thou even hoist?
 
Xeo
Changing () to {} makes it compile - same thing
 
std::function<lol()>
 
Xeo
^
 
8:20 PM
I got a lot of lols from that function.
 
user1804599
@Xeo nono it's a struct that inherits from integral_constant.
 
Xeo
@rightfold erm, so?
 
user3010322
std::reference_wrapper<const T> can't be rebound, can it?
 
user3010322
But std::reference_wrapper<T> can?
 
Xeo
a_type<...>() is parsed as a function type (taking nothing, returning a_type<...>)
simple as that
 
8:22 PM
Has there ever been a (rejected) proposal for function aliasing?
 
Xeo
@ThePhD You can rebind any std::reference_wrapper.
just ref_wrap = std::ref(something_else);
 
user3010322
@Xeo Hm. Maybe it's just me, then.
 
user3010322
Oh.
 
user1804599
Woohoo reading werks!
 
damn, IS just beheaded another journalist
 
Xeo
8:25 PM
so stupid
so useless
such a fucking waste
 
user3010322
I KNOW WHAT WOULD FURTHER OUR CAUSE
 
it's quite effective at terrorizing people
otherwise they wouldn't do it
 
Xeo
k guiz, let's behead @ThePhD to further the Lounge's cause.
 
user3010322
BEHEADING THIS PERSON WHO HAS NOTHING TO DO WITH OUR FIGHT.
 
user3010322
@Xeo Hey. :c
 
Xeo
8:26 PM
FOR THE HOLY WAR AGAINST STUPIDITY!
Nevermind, can't fight stupidity
 
@TemplateRex Hmm...I'm not convinced of that. It certainly wouldn't be the first time somebody used a tactic that turned out to be ineffective.
 
@Xeo It's an ironic war
 
user1804599
I would be OK with them beheading ThePhD, but beheading journalists is just ridiculous.
 
@Xeo You can always fight it. You just won't win.
 
user3010322
Mm.
 
user1804599
8:28 PM
whahaha @sehe
 
@JerryCoffin And what will your weapons be? Sarcasm and Downvotes?
 
@JerryCoffin I am not saying that terrorism is effective, just that beheading is effective at terrorizing
 
@Loopunroller Just sarcasm.
@TemplateRex Makes me much more angry than terrified.
 
The first time I heard the English word "stampede" was when watching an anime where the protagonist is nickamed "Vash The Stampede". My brain still associates the word with something very cool.
Which turned to be inaccurate.
 
this game is sexist
 
user1804599
8:36 PM
no, it's realistic
 
> Zo hebben we matige presentatoren als François Boulangé ingezet, in de hoop dat hij er genoeg van zou krijgen. Niets hielp
 
@JerryCoffin it's terrifying to the local population and to journalists in the entire Middle East, and that's the people they are targetting (and public opinion in the West to pay ransom or withdraw troops)
 
reacting differently to men or women = discrimination. Those guys should be hanged.
 
yes
 
@StackedCrooked ERM! The girls too, then!
 
8:37 PM
Yeah but they are OK because of their mannerism.
 
Smash 4 is fun
 
user3010322
I need to write a hexagon_iterator
7
 
Wasteland 2 is interesting, graphically
 
Xeo
Sigh, they're at it again...
 
it acquired $3 mil on Kickstarter, some parts of it look great, but others look awfully unpolished and ugly
 
8:39 PM
What athleticism, truly remarkable.
 
@Xeo Your neighbours are champs.
 
Divinity Original Sin acquired $1 mil on Kickstarter, and looks amazing from all POVs
 
user3010322
Or maybe there's MULTIPLE PEOPLE? :o
 
Maybe they just want you to join ( Í¡° ͜ʖ Í¡°)
 
I can only guess that inXile decided to spend most money on... non-graphics
 
user3010322
8:40 PM
.... That face is so creepy.
 
Xeo
@Rapptz No, they're fucking annoying. Literally.
 
user1804599
@sehe Lekker, Boulanger.
 
but then again, divinity is great in other areas too
 
Maybe they just want kids.
 
Xeo
I even hear them over my loud music
FFS
 
user3010322
8:41 PM
@Xeo You need Bose Noise Cancelingâ„¢ Headphones!
 
How thin are your walls?
I've never heard my current neighbours have sex.
 
Xeo
not-thin
 
That's because...
 
Xeo
The walls / floor / ceiling are quite thick actually
WHICH MAKES THIS ALL THE MORE ANNOYING
 
user3010322
The ... of IMPLICATIONS.
 
user3010322
8:42 PM
@Xeo That's what she's saying.
 
@Xeo btw, done with hyouka?
 
@AlexM. that's what I tell my coworkers. They're being way too thick
 
Xeo
@AlexM. Beginning of Ep 16.
 
@ThePhD do you feel you have learned a lot about C++ in the last year?
 
I finished Hyouka a while back
 
Xeo
8:42 PM
Paused for my daily exercises.
 
as pretty 6/10
I think I said this before though
 
user3010322
@StackedCrooked I think I bled a lot of C++ in the last year.
 
@StackedCrooked I think he has Derpstorm episodes less frequently these days
But they're not any less destructive when they strike
 
@sehe that's actually what I wanted to know :)
 
@sehe Seems like it. I'm not sure how much is learning more C++, and how much just learning a little better judgement in how he uses the C++ he knows, but the latter is essential to effective use of C++.
 
user3010322
8:45 PM
._. Hey wait I wasn't so bad before!
 
user3010322
:<
 
Your learning curve looks like a sound wave.
 
user3010322
It was an exponential line with a VERY HIGH growth! D:<
 
Xeo
a monotonously falling one?
 
At this point I'm just fascinated.
 
user1804599
8:47 PM
My learning curve is like the curves of a pregnant fat woman.
 
user3010322
I need intz
 
user3010322
For std::ptrdiff_t
 
user3010322
My fingers don't like ptrdiff_t
 
user3010322
and intuz for std::size_t
 
user3010322
and intsz for consistency for signed std::size_t, or std::ptrdiff_t
 
8:47 PM
@rightfold I can live with that.
 
user1804599
 
user1804599
Nice.
 
Normally one starts with the basics, then intermediate stuff and eventually expert stuff. But not @ThePhD :P
 
user3010322
I didn't start with anything complicated. ;~;
 
user1804599
8:49 PM
I started with writing hangman in C++.
 
user1804599
C++11 was my first C++ version.
 
user1804599
It's somewhere on Code Review.
 
@rightfold Braggart!
 
@ThePhD You are simply a phenomenon that I cannot fathom.
 
user3010322
I'm normal! D:
 
8:52 PM
You sounded surprisingly normal when on mumble.
It's as if you only derp via keyboard.
 
Yes, he is normal.
On Mumble I mean.
 
user1804599
char data[] = "the great baka";
 
you mumble relatively normal
 
user1804599
I meant to write "baka is great" but I'm fine with this. :)
 
@rightfold you are
 
Xeo
8:53 PM
That's what programmers are good at, after all - mumbling about.
 
@rightfold nature lost its grasp on civilization
 
user1804599
include/baka/io/file_stream.hpp:25:37: error: no type named 'type' in 'std::__1::enable_if<false, const char *>'; 'enable_if' cannot be used
      to disable this declaration
 
user1804599
Cool, clang knows about enable_if.
 
user1804599
@Xeo but not at talking on Mumble!
 
I just invented the word mumling. Now I only need a meaning it.
 
8:57 PM
@rightfold it's not entirely clear why you ask what you ask. Properly synchronized threads behave like a single thread logically. Of course it should work (unless 0MQ uses thread-locals in undocumented places, which are actually just globals, but worse :))
 
In chrome I need to only type cha + ENTER to get on this site. But if I forget the c I arrive on haskell.com. That's kinda appropriate.
The only problem is that haskell.com is not related to the programming language :)
 
user1804599
wait what
 
user1804599
> 'enable_if' cannot be used to disable this declaration
 
user1804599
I'm not even calling said method!
 
ha. rock beats scissors: i.imgur.com/GVV6dV5.png
 

« first day (1448 days earlier)      last day (3485 days later) »