« first day (1847 days earlier)      last day (3106 days later) » 

user1804599
It's also incidentally disgusting.
 
@JerryCoffin Nice, in Croatia it is ~$11/day.
 
user1804599
Get something that actually tastes nice instead, save money, and feel better afterwards.
 
6:01 PM
@Morwenn le passy or carette. why
@Morwenn oh wait wait "comme des poissons" is awesome
but expensive
 
Speaking of stuff that tastes nicely, had pancakes today.
I like when news have headlines which are basically self-serving statements of execs. "PS4s selling better than Xbox One, says Sony exec.", "Steam machines outperform consoles at same price point, says Gabe Newell". Also, "We shit in the woods, but prefer toilets, says bear".
 
Ell
Are there steam machines available at console price points?
Because if so the console kids are really fucked
 
According to Newell's self-serving statement, yes.
"Steam machines outperform consoles at same price point, says Gabe Newell" <- shit
"Steam machines outperform consoles at same price point, Sony admits" <- news
 
Ell
lol
 
"Lounge<C++> is the kindest, fuzziest place on the Internet, says Cat Plus Plus" <- troof
 
user1804599
6:15 PM
Oh god, this is so ugly.
 
Elyse, just flush the toilet and stop poking it.
 
user1804599
ugh
 
user1804599
I have two declarations of the form using _ = boost::variant<_>; that mutually depend on each other.
 
@ElimGarak lol
@Elyse it's a recursive variant
 
Ell
aw fuck
I just missed amazon prime order deadline for batteries for my mouse because my mouse died :/
boost::variant supports recursive variants though
not sure about mutually recursive
 
6:20 PM
In the United Arab Emirates, there is an ongoing trial involving a man who was accused of a "gay handshake".
 
@AndyProwl could you please link me your C++ DO notation macro attempt?
 
user1804599
wtf
 
finally weekend
 
user1804599
g++ rejects my code but clang accepts it.
 
user1804599
6:23 PM
Also, "changes meaning of 'expr' from 'using expr = typename detail::expr<S>::type'" is extremely cryptic. What does it mean?
 
@Elyse It shadows using at line 40, I think
 
user1804599
No, it has nothing to do with shadowing.
 
Well, like 40 is the only one containing using expr = typename detail::expr<S>::type
 
user1804599
oh, maybe it does
 
user1804599
whatever.
 
Ell
6:27 PM
oh hey it was US site mix up
 
user1804599
I'll ask on Stack Overflow and farm rep.
 
user406009
@Elyse who needs rep when you can farm stars here instead?
 
> I'll ask on Stack Overflow and farm rep hate.
 
user1804599
0
Q: Inconsistent compiler behaviour with type alias shadowing

ElyseConsider the following code: namespace detail { template<typename S> struct expr { using type = int; }; template<> struct expr<void> { using type = double; }; } template<typename S> using expr = typename detail::expr<S>::type; template<typename S> struct s { expr<S> ex...

 
> -1 for posting a question.
> Obligatory -1 for all questions on SO.
> -1 because it's an SO question.
 
user1804599
6:33 PM
 
this is eerie and calming and great at the same time
 
user1804599
Compared to the equivalent Haskell code: gist.github.com/rightfold/85e2890c4d9078868c43
 
user1804599
Alright, nice.
 
user1804599
Now the code generator need not bother with syntactic sugar.
 
user1804599
And the type system guarantees that.
 
6:38 PM
evening guys
 
user1804599
I want to write a function that writes output.
 
user1804599
Should I take an output iterator or an ostream?
 
user1804599
Wait, ostreams are part of the I/O stream library, so they are fucking retardedly terricancerfuckble.
 
user1804599
Output iterators it is.
 
6:48 PM
@ElimGarak are you a witcher of graphics
 
I also poked around Alien Isolation, it actually uses SH to dynamically encode light scattering throughout the scene (low freq. diffuse GI).
 
I don't understand any of this shit but it's pretty cool
 
@ElimGarak how did you do that
 
witcher magic m8
 
Ell
@ElimGarak nice
I love these blog posts where they "dissect a frame"
 
6:52 PM
@Elyse dat question
 
@Ell the computers sure do a lot of things really fast
that's the main thing that comes to mind
 
Xeo
@ElimGarak Graphics stuff looks so complicated...
 
@Mr.kbok Injecting yourself into the process (and eavesdropping on what it wants from the API/drivers, then recording all that data and "reanimating the corpse" outside of the process). The VS graphics debugger does this with more insider knowledge, but you can use RenderDoc (which is an opensourcey alternative).
Want me to take apart GTA SA next? Or maybe, Rise of Nations? :D I can't decide what's my next victim. Maybe Fallout 4!
You can notice how the head is messed up due to Nvidia HairWorks shenanigans until the atmospherics calculations.
 
Ell
I think I will call my robot "Das Dampfwalze"
 
@Elyse The logo has aged very well, I thought it looked way worse :)
 
user1804599
7:00 PM
auto it = std::ostream_iterator<char>(std::cout);
expr_codegenner<decltype(it)> cg(std::move(it));
ast::expr<ast::sugar_free> expr = ast::app_expr<ast::sugar_free>{
  ast::abs_expr<ast::sugar_free>{"x", ast::var_expr{"x"}},
  ast::var_expr{"y"},
};
cg(expr);
std::cout << '\n';
 
user1804599
Output:
 
user1804599
(function(x)
return x
end)(y)
 
user1804599
:D :D :D
 
@Elyse How good is the error message if the user gets it wrong?
 
@ElimGarak do Far Cry 4 when you're in shangri-la
 
user1804599
7:01 PM
@fredoverflow "The last statement in a do expression must be an expression statement."
 
@Elyse Interesting. Maybe we should ban all implicit conversions from future languages?
 
Damn, that's a lot of forward rendering (all the alpha blended flora)
 
far cry 4 was a good ubisoft game
it's actually my favorite open world FPS on the same spot as STALKER
 
Stalker was gr8
I loved the atmosphere
 
Ell
@Elyse what is app_expr?
application?
 
user1804599
7:02 PM
@fredoverflow ADTs in C++ are ugly! github.com/rightfold/confx/blob/master/src/ast.hpp
 
user1804599
@Ell Yes.
 
@ElimGarak yup
@ElimGarak it also makes funny memes XD
this one is the best youtube.com/watch?v=OieSF--xpKk
> 0:50 Not even the dead can know peace from this Cheeki Breeki.
lol
> This basically sums up the Invasion of Berlin by the Soviets at the end of WW2.
the best part about obscure memes is that comments under them are actually funny
 
Might have to reinstall it. I remember Stalker being one of the first games with a deferred rendering pipeline.
 
Ell
@Elyse I might use inheritance instead
 
user1804599
Why?
 
user1804599
7:05 PM
Inheritance leads to pain.
 
user1804599
boost::variant is closed, whereas inheritance is open, and as such the latter lacks vistors.
 
inheritance doesn't need visitors
 
@ElimGarak I don't know exactly if witcher 2 is interesting from a technical POV but
I think this is the prettiest scene from any game ever
it looks like a painting
excuse the lack of AA I turned it off :A
 
Ell
@Puppy only when you dispatch on one type, mind
 
user1804599
Now you could add shitloads of virtual methods to your base class, that do type checking, code generation, and whatnot, and it'll be a pain to maintain.
 
user1804599
7:08 PM
Variants are the solution to the problem of a never-changing set of types with an ever-changing set of operations to perform on them.
 
user1804599
Inheritance is the solution to the opposite.
 
user1804599
Therefore, you clearly need variants.
 
Witcher 2 did look pretty great, yeah. :D Especially at night when all the emissive stuff comes out to play. :D Also, loved the tune called "Vergen At Night", which played... At night. :D
 
@Ell I've no evidence to suggest that any more is necessary.
 
Ell
@Elyse yeah I know :/
but inheritance is so much quicker :P
maybe only in the short term
 
user1804599
7:10 PM
Jumping out of the window is a quicker way to get downstairs than taking the stairs.
 
Ell
less effort too
 
@Elyse I used to do that in skorbut. It was a pain.
 
user1804599
Exactly. And also more easy to get you into the hospital.
 
user1804599
So don't do it.
 
I think I'll do Oblivion tonight!
 
7:11 PM
@ElimGarak another pretty thing that stood out recently was the limbo in DmC youtu.be/wbymOu2j9HM?t=9m56s
 
@Ell It's fine to use inheritance for an AST.
 
but once you pay close attention it looks like simple stuff put together
 
user1804599
@fredoverflow My code generation of expressions is almost done now. I desugar everything to just lambda calculus and literals. :)
 
it's also maybe why the game ran so well on all hardware ever
 
@AlexM. Weird running animations. :D
 
7:13 PM
yea in that game you spend most of the time in mid-air with your enemies anyway
 
Ah, modern games and their adhoc reflections
 
there's politics happening in my country and protests and all that and I have no idea what
 
There's always politics going on, if you have no idea why, chances are you're good :D
 
yea but this seems serious because it's linked to a fire in a clubhouse where lots of people died
apparently people told the grouping of people with the prime minister at the head to fuck off
and they fucked off
 
Whoa, here politics are mostly "shitposting" on TV. :D
 
7:17 PM
Woot. Running Firefox 64-bit now!
 
and now they're looking for another grouping of people with the prime minister at the head
or something
anyway this rock band used weird pyrotechnical stuff in a club and a fire started
why can't people just stay home
IDGI I never saw live music sound better than the studio version you hear at home
 
it doesn't sound better
it sounds much, much worse.
and renders you incapable of hearing anything else.
 
@AlexM. People would rather risk death than boredom.
 
sometimes permanently.
 
Ell
@AlexM. I don't get it
 
@Ell spurdo sparde is a finnish meme
 
@AlexM. crashing for one
 
@Puppy Depends heavily on the performer. Quite a few do suck live. A few, however, get really good sound live. Eric Johnson, for example, is fairly famous (notorious?) for his sound checks. He basically goes around the entire venue listening and tweaking for hours before he'll play (and I believe once even insisted that a concert be moved, because he couldn't get what he considered satisfactory sound where it was originally scheduled).
 
it has little to do with the performer or their music
more to do with the earshattering volume, the complete lack of any kind of comfort or company whatsoever, etc
 
user1804599
7:25 PM
void operator()(ast::string_expr const& expr) {
  write("'");
  for (auto byte : expr.value) {
    write((boost::format("\\x%1$0x") % static_cast<int>(byte)).str());
  }
  write("'");
}
 
user1804599
ugly ugly ugly
 
user1804599
boost::format y u no variadic.
 
@AlexM. because it's very hard to have a crowd of people all crazy for the music in your own house.
 
@thecoshman Which is why listening to it in your own house is strictly superior
 
7:32 PM
@Puppy Sounds to me like you've simply gone to the wrong concerts. While certainly true of some, it's equally false about others. Rock concerts tend toward packing in as many as possible, and covering up any defects by cranking the volume. Music that's aimed more toward actual adults (e.g., jazz, little though I like it, or classical) tends to be performed in a somewhat more comfortable setting at much more reasonable volume.
 
@JerryCoffin He did not say that it was a concert. He said it was a club.
 
Ell
the same is true of clubs
how many clubs have you been to?
 
@Puppy Close enough--jazz clubs pretty much follow the same trends.
 
too many
@JerryCoffin It was a rock band ;p I'm guessing it was not a jazz club.
 
^ the club
 
7:35 PM
@Puppy Probably not.
 
I think the fire started on one of those pillars and it's because the pillar was covered in some soundproof thingy
 
@Elyse most of it is only because you insist on sugar-parameterizing things. What effect does it have? I can see it working with much less code and more readable...
 
user1804599
@sehe It simplifies my code-generator.
 
user1804599
This way it only has to care about expressions marked as sugar-free.
 
oh, your on about that club fire, I think "Indoor pyrotechnics" is enough of a sign of a bad idea really, isn't it?
 
user1804599
7:37 PM
It is always clear when a function expects syntactic sugar to be present or absent.
 
@Elyse so, what does it /effectively/ tag? Is there any specializations (outside the traits in detail?)
 
user1804599
And the type checker verifies it, so you can't get it wrong.
 
user1804599
@sehe whether the expression possibly contains syntactic sugar.
 
And the rest of the question?
 
@thecoshman yes
 
7:38 PM
the code generator shouldn't give a shit about syntactic sugar.
 
user1804599
Specializations of what?
 
just produce the same AST in both cases.
 
@Elyse Any of the ast nodes
@Puppy yup
 
user1804599
There are two and only two specializations of detail::expr.
 
user1804599
There are no specializations of anything else.
 
user1804599
7:39 PM
@Puppy shitty diagnostics
 
user1804599
AST should retain such information.
 
that assumes that you don't store enough location data in your AST.
 
@Elyse then the whole thing is ridiculously overcomplicated :) Hang on, let me show you
 
just use the same AST nodes in sugared and non-sugared, and then just store all the diagnostic-relevant data in the AST nodes where the code generator can completely ignore it.
then check for it when you emit diagnostics.
 
user1804599
How can you simplify it?
 
user1804599
7:41 PM
I prefer a lack of SFINAE.
 
user1804599
Because SFINAE is fucking terrible.
 
UI tend to
agree.
fuck fuck fuck I forgot about all the starcraft tournaments
SFINAE is "We're so sorry that templates are shit; let me try to band-aid that for you poorly"
 
user1804599
it must also play nice with variant visitors
 
I don't know why variants make you so hard
 
user1804599
i.e. not require stub operator() implementations
 
7:48 PM
they're just a tool and not a very useful one at that
 
Lots of things make rightfold hard :P
 
Note that main now actually reads like code, instead of Perl
 
user1804599
@sehe ???
 
user1804599
Now do_expr can be in a sugar_free expr
 
user1804599
7:56 PM
that shouldn't be possible
 
Ah.
 
@Elyse I asked about the purpose. You should have told that
You suck at answering questions :)
Still, you could have made main and the visitor readable, don't throw that away please
 
@StackedCrooked Oh you're watching that too.
 
fuck
> TIL there is only one species of warm-blooded fish on Earth - the opah (Lampris guttatus)
 
Xeo
8:03 PM
@AlexM. Makes for a loud plonk :D
 
xeo changed avatars
 
Xeo
yes
But I just noticed
 
reminds me of non non biyori for some reason
 
Xeo
it's not too decipherable when it's small
damn alex
I was trying to get enough messages
 
rekt
 
Xeo
8:03 PM
to get the big avatar
okay, there we go
 
@Elyse since you ignored my last message: github.com/rightfold/confx/pull/1
Make it easier to find what I meant
 
user1804599
Bad constness.
 
Whatever.
 
user1804599
Const functions change result of iterator() function.
 
user1804599
Also bad formatting.
 
8:11 PM
Use clang-format
 
user1804599
No.
 
> note: candidate expects 2 arguments, 2 provided
sorry about that MSVC
I wanted to provide 2, but instead provided 2; should have provided 2 in first place
 
oh, I didn't know @TonyTheLion was a biker, and physcic (mildly nsfw)
 
user406009
8:25 PM
@thecoshman Label that NSFW please.
 
it's friday nite
you should be all over nsfw stuff friday nite
 
user406009
Not yet in glorious Texas.
 
user406009
2:30 pm
 
ah good point
 
user406009
3 more hours until freedom
 
8:27 PM
you guys start work almost when I leave mine
 
@Rapptz It's not bad.
 
user406009
European time zone?
 
@StackedCrooked Could be better.
 
@Lalaland yes, I'm in Cluj (Romania)
 
I like the OP/ED though.
 
8:28 PM
the Texas <-> Cluj difference is a bit inconvenient
 
Yeah.
 
At least it's been improving every episode
 
because if I need to discuss with someone from there I have to wait until late evening and usually unless I OT I only apply stuff the next day
 
So I'm sure it's gonna have a neat-o conclusion.
As a mystery it's not too bad.
 
good eve @all from Trollheim, Antarctica!
 
8:31 PM
@AlexM. IRTA Chuj, git extremely confused
 
@decltype_auto did you meet santa
 
@AlexM maybe, not sure if if one of the trolls I say today doesn't occasionally dress in red.
 
@thecoshman wait. How did the motorist make that happen
@decltype_auto Just the place to go!
 
@sehe he just did, deal with it.
 
@sehe it's the center of the universe.
 
8:40 PM
hey
 
@decltype_auto I don't think there's a popular theory that would explain this effect then
 
@sehe: Let's put it this way - all things strive away from it. That doesn't mean much according to FLRW, but there you can sense it even without Hubble.
 
user406009
@AlexM. You should just tell the other person to go full nocturnal. Problem solved!
 
lol
 
@sehe, instead of boost.range, have you tried range-v3 already?
 
8:48 PM
a little. Long ago
 
user1804599
Hmm. My bind was wrong.
 
Oops! Caught a my_biorhythm::time_to_hibernate exception. Good night@all!
 
user1804599
function bind(action, f)
    return function()
        return f(action())()
    end
end
 
user1804599
This is correct.
 
Pizza and 4 beers is a good way to start a day
And also end the day
 
9:01 PM
Start of day and end of day are p. much synonymous when you wake up @ 3pm
But 1 pizza is not enough to survive a full day
 
No day is best day
esp friday
 
@CatPlusPlus and for the middle
 
putting the laundry rack next to my window was the best thing ever
no more drying things inside because too lazy to get clothes to go outside
just open the window and get access to it
 
@Elyse Your attitude is wrong
 
user1804599
Ok!
 
9:12 PM
@orlp They have "responded" with a new item that details video/account deletion policies and promises dedicated support staff etc.
> Videos with content which violate the Livecoding.tv ToS or very poor quality will be deleted. Videos with less than 20 views after 4 weeks and not part of a playlist will be deleted. Very soon video download or upload to Youtube will come.
Seems they don't want to be in the content storage business after all (?)
 
Seems like a suicide decision
or you should at least be able to mark broadcasts to keep
without playlists
 
is youtube ok with something like that?
 
why not
 
Storage is not cheap and streaming is not cheap
 
unlike your mother
 
9:18 PM
evening
 
@sehe the idea of a diff company offloading their storage requirements to them
@ScarletAmaranth hi puppy
this is really good
/cc @ScottW do you like this kind of stuff
 
@AlexM. well, it's not livecoding's content there. People can just upload to YT anyway
@orlp Here's the blog version blog.livecoding.tv/2015/11/06/…
 
@AlexM. See: Twitch
 
@ScarletAmaranth hahaha it's a disgusting and failed attempt
 
@AndyProwl that's what she said :-\
 
9:29 PM
@ScarletAmaranth I think this is where I left it: coliru.stacked-crooked.com/a/43a24e093cb371a4
now if I may ask, why are you interested in that monstrosity
 
I was trying to write something myself
and I really failed already at
desugaring >>s into >>=
 
wasn't there a library already doing this?
this I think github.com/beark/ftl
 
END(3) lol
Total Retardation in Andy
 
total retardation, heh.
 
oh hey Pup
how's life?
 
9:34 PM
I got a cold I think
 
not cool
 
eh it's fine I guess
 
user1804599
@sehe My altitude, on the other hand, is just fine.
 
@sehe extended answer for the ADL Q&A we discussed today
 
one week of annoyance in general
 
some of the acting seemed bad
but the rest seemed ok
 
user1804599
 
user1804599
> y robarse el feto
 
Such a dreary room without LRiO
 
9:48 PM
@Elyse Dude. That is Spanish or something. I have no idea what it says.
 
user1804599
Then learn Spanish!
 
@Jeremy If by dreary you mean much better, we agree.
 
@ElimGarak How'd you do this?
Also play GTA V with me :3
 
@Nooble CoD:UOoooooooooOOOOOOOOOOOOOoOoOOoOOOooOOOO!
Oh god this code
 

« first day (1847 days earlier)      last day (3106 days later) »