« first day (1326 days earlier)      last day (3626 days later) » 

7:00 PM
λ
YEAH
bitches
 
-- A block/chunk is a series of statements, optionally delimited by a semicolon -
hm
many1 (do{ s <- stat <|> laststat -- Not correct, could have many laststatements
 
I've set % % l to be λ
 
I guess it's a bit unpolished
 
Now I can type it everywhere
Now I'll use ≠ ≤ ≥ ≈ in my code
 
is x an expression?
I guess it is.
 
7:03 PM
yes
or should be.
but the Lua grammar, IIRC, does not specify it that way.
 
evaluates to value of x
 
C has expr = expr;, give or take.
Lua has a sub-expression-grammar for assignable expressions.
 
hmmm I need to figure out a good test for copy_if
 
only table indices, function calls, and variables, and combinations thereof, can be on the LHS if I recall correctly
 
help me out here guys, tell me if this is a good test what I'm thinking:
 
7:04 PM
or some such similar principle
 
> x = 5
> x
5
 
user1804599
inb4 giant wall of code
 
vector with 10000 elements of type int, fill half with iota and rand, the last half with -1
 
what are you testing again
 
Xeo
wat
 
7:05 PM
copy_if pred: [](int i){i>0;}
 
and why are you testing it
 
Xeo
Have range A with some elements matching predicate p, and expect range B only consisting of elements matching predicate p
 
I'm writing standards proposal N3960 to parellelize STL
 
Xeo
it's, like, why so complicated?
 
my copy_if has parallel functionality, I want to test if it works
 
7:06 PM
I smell asylum
 
SOUND THE ALARM
 
user1804599
Let’s see.
 
> It's just you.
 
7:09 PM
> <chrono> fixes: The clocks are rewritten to be conformant and precise.
 
>Improved diagnostics: The compiler will now emit warnings about suspicious code that previously would not have resulted in warnings. For example, shadowed variables will now cause warnings. Warnings have also been made clearer.
The /Wv flag: You can use /Wv:XX.YY.ZZZZ to disable warnings that are introduced after compiler version XX.YY.ZZZZ. Notice that the emitted warnings may still differ from those emitted by the specified version.
Compiler software updates: We have fixed more than 400 bugs in the compiler. 179 of these were submitted by users through Microsoft Connect.
yes please.
 
please pin it
 
Xeo
> Heterogeneous associative lookup: When it is Enabled by special comparators (such as the less<> and greater<> transparent operator functors), the ordered associative containers gain templated lookup functions. This lets them work with objects that are comparable to keys, without actually constructing keys.
 
I look forward to Robot tearing it apart
 
user1804599
7:10 PM
@Xeo :O
 
Xeo
@CatPlusPlus hehehe
I mean, it's cool they're pushing features
 
well
 
I don't know why we are putting the "14" in quotation marks.
 
Xeo
let's just hope they actually work
 
it seems pretty clear to me that they're TRYING
 
7:10 PM
:D
 
Xeo
> integer_sequence: Compile-time integer sequences are now supported to make template metaprogramming easier.
hihi
 
@Griwes James?
 
@SyntacticFructose ?
Are you confused by a boxed tweet or what?
 
Xeo
> make_reverse_iterator()
 
oh no I was wondering if you ARE James haha
 
user1804599
7:12 PM
@Xeo Then I can finally use std::unique_ptr<T> as key without ugly deleter hoops? :v
 
Xeo
> <chrono> fixes: The clocks are rewritten to be conformant and precise.
Robot is soooo gonna test that /cc @R.MartinhoFernandes
 
@SyntacticFructose You did get confused by a boxed tweet.
 
Xeo
@rightfold Yes
 
user1804599
:drool:
 
Xeo
7:12 PM
If you specify std::less<>
 
user1804599
How about hash tables? :v
 
how do loop a vector in wide?
@rightfold TAKE MY HASH TABLES
 
Standard.Range.ForEach
 
Xeo
@rightfold Only orderd-associative, I think
 
user1804599
Fuck C++.
 
Xeo
7:13 PM
Puppy had the unordered-associative paper IIRC?
 
yes
it was rejected and for good reason
I expect somebody else will pick it up and make it happen
 
Xeo
> For example, when you compile a source file that includes all C and C++ Standard Library headers and does nothing else with them, for x86 with /MD /O2, Visual C++ 2013 generated a 731 KB object file. This is improved to be less than 1 KB.
 
@DeadMG sent you a mail :)
 
he defines Block as many Statement
 
7:14 PM
I saw that
let me just take a shit and then I'll read it :P
 
Xeo
> Debugger visualizers: Natvis debugger visualization files can be added to a Visual C++ project for easy management and source control integration. Natvis files that are added to a project will take evaluation precedence over visualizers outside the project.
huh
 
5+5 is a valid line of lua tho
 
user1804599
@StackedCrooked Send me a mail too please. :c
 
Xeo
wasn't that possible before already?
 
user1804599
I have always wanted to receive a mail from you!
 
7:15 PM
Jun 25 '13 at 15:00, by R. Martinho Fernandes
@DeadMG Were you not a moron, you would have noticed that you are a complete moron a long time ago.
 
@rightfold no you suck
 
just found this
 
user1804599
:'c
 
Xeo
> Create declaration or definition: You can quickly create a function's declaration or definition in relation to its neighbors. To do this, right-click the declaration or definition, or use SmartTags.
Haha, fearing JetBrains?
 
@rightfold I mean you suck, but in a good way.
3
 
user1804599
7:16 PM
:3
 
user1804599
Jullie nieuwe website ziet eruit als Windows 8.
 
user1804599
You suck.
 
Xeo
> The Visual Studio "14" CTP includes support for user-defined literals, noexcept, alignof and alignas, and inheriting constructors from C++11, generalized lambda capture, auto function return type deduction, and generic lambdas from C++14, as well as many more new C++ features.
Me likes the lambda part
 
all new bugs to find
 
Xeo
Let's see if it can cope with my lambda-only Haskell-like-list thing
 
7:17 PM
:lol:
 
Xeo
if I can find that coliru paste, that is
Btw @StackedCrooked
here's a feature request
Have an input that is shown as the Title of the page when sharing
 
inb4 'no crashes'
 
Xeo
That would help tremendously with finding specific snippets in my browser history
 
@Xeo I was thinking of that just a while ago.
 
uh
*Main> parseAST "x=5.5"
Right (Block [Assignment [LVar "x"] [Number 5.5]])
 
user1804599
7:21 PM
> parseAST
 
user1804599
No, you’re parsing source code, not an AST.
 
yes i know
eh, found it
number = P.float lexer
 
@Xeo It'll be buggy as shit.
but let's be fair.. this is only what, 6-8 months after their previous CTP?
they are making progress and putting out new features at some rate, I feel.
 
Xeo
@DeadMG Likely
@StackedCrooked So, working on it? :D
 
but well, it's sill CTP. we can't use it in production.
 
7:29 PM
posted on June 03, 2014 by Eric Battalio

Today, the Visual Studio "14" CTP was released. Soma writes all about it on his blog . Go ahead and click over to read the article, especially the section on Visual C++ conformance updates with an updated conformance roadmap. Pause. Cool, huh? ...(read more)

 
lol feeds
reposting yourself?
 
Xeo
wat
 
ha!
*Main> parseLua "x=5.5"
Right (Block [Assignment [LVar "x"] [Number 5.5]])
*Main> parseLua "x=5"
Right (Block [Assignment [LVar "x"] [Number 5.0]])
<- proud
 
Xeo
Griwes posted the first link
 
oh no, Griwes posted it
 
7:30 PM
look at my fix, my fix is amazing...
number = try (P.float lexer) <|> (fmap fromIntegral (P.integer lexer))
 
Xeo
fromIntegral <$> P.integer lexer
infix ftw
 
yeah was writing that
 
welp anyways. it would be way better if we'd invest some time into porting clang/libc++ on Windows so we won't use VC++ anymore.
 
Xeo
If the VC++ team got their act together...
 
the roadblocks on that are substantially more complex than that.
 
Xeo
7:31 PM
and got more people / resources...
 
for example, interacting with the VS IDE.
 
fuck IDE.
 
qtdestroyer is good enough
 
Xeo
@StackedCrooked Good enough, thanks!
 
7:33 PM
@Abyx Good enough for what? A door-stop?
 
well it will be tough to live without a decent debugger
 
@MartinJames :D
 
'tough to live without a decent debugger' - I would go as far as 'impossible'.
 
@StackedCrooked are you planning on adding gist-like user support, with post history and revisions? You could use github auth for that. Or something.
I should now add the test to the tests
 
7:35 PM
MSVC2013 is so slow that I often edit files in notepad++, especially on laptop
 
I should probably create some tests.
QuickCheck where are you
 
@BartekBanachewicz nah
 
Oh. Interesting.
 
Xeo
7:36 PM
@DeadMG lol
 
Can someone run some nonius example and check their clocks precision?
 
Xeo
I'd need to install VS at all, first.
 
@EtiennedeMartel I don't find it particularly funny, as a user of both.
 
@EtiennedeMartel lol 'It has a mascot. And it’s a freakin’ robot!'
 
I can't install VS on Android (probably for the best)
 
7:39 PM
uh
okay QuickCheck is a strange beast
moves away slowly
 
@R.MartinhoFernandes with new VS?
 
@BartekBanachewicz use hspec newbie
 
I think any of the basic examples will output clock resolution by default.
 
@DeadMG lol
 
7:42 PM
Oh wait.
Nevermind.
It uses Boost.Chrono anyway.
 
Xeo
teehee
 
lol
 
You'd need to change the ifdefs to get it to use VS's clocks
And then hope it doesn't fail at mixed arithmetic anymore.
 
lol you can't install VS14 CTP if you have another MSVS installed
 
Haha really?
WTF
 
7:44 PM
 
Yay. New features. Oh wait.
 
lol
also it's not 2014 anymore
 
I don't even.
 
it's just 14
 
@BartekBanachewicz Because it's projected for release in 2015.
 
7:45 PM
I wonder what new features for F# will be added
 
So you can't try out the new beta without uninstalling the old stable.
Scratch that. It makes sense.
 
@R.MartinhoFernandes how again?
 
it's just insane. I'm not installing this slow crap on VM
 
You can't try out the new beta without uninstalling the old beta.
 
7:46 PM
I can't believe I called it stable.
 
@EtiennedeMartel They implemented Robot's suggestion!
 
8
A: Convert a number to a string literal with constexpr

tclambVariadic templates to the rescue. :) namespace detail { template<unsigned... digits> struct to_chars { static const char value[]; }; template<unsigned... digits> const char to_chars<digits...>::value[] = {('0' + digits)..., 0}; template<unsigned rem, unsigned... digits> ...

 
@DeadMG lol
 
hi
hi
hihihihiHi
 
I wonder what kind of system-wide shared resource VS uses that would a cause a conflict between versions
 
I wish VS had Hg integration
 
No instance for (Eq Text.Parsec.Error.ParseError)
  arising from a use of `shouldBe'
FFS @Jefffrey
why is this thing mean to me
 
7:51 PM
@R.MartinhoFernandes More likely the upgrade path is not finished. Seems reasonable enough for a beta, frankly.
 
I want HUnit
 
@Lightness I don't know what that means.
 
I want to play Halo
WAIT A MINUTE
i'm on :D
 
VS shouldn't need any system-wide resource to be honest.
 
@R.MartinhoFernandes To upgrade software, an upgrade path needs to exist. A process by which the software can be upgraded. If that functionality has not yet become stable/robust in the beta versions, it makes sense to disallow its use and instead require prior uninstallation of the previous versions.
 
7:52 PM
Upgrade from what?
 
It has nothing to do with system-wide resource — unless you count shared DLLs, registry entries and the like... which are precisely the issue.
@R.MartinhoFernandes The previous beta? That's not what you're talking about?
 
lol
That was a joke.
 
@BartekBanachewicz what's the code
 
Oh.
scrolls up
I see; you wanted to install them side-by-side. Yeah, fuck that then — I hate software that "integrates" into my OS by pretending it cannot run side-by-side with another version of itself
 
@Jefffrey i wanted to assert equality
fuck it
too complicated
 
7:53 PM
I was referring to the previous "stable" as a beta because it's stable my ass.
 
(Browsers I'm looking at you)
 
@BartekBanachewicz Then you need Text.Parsec.Error.ParseError to have an instance of Eq... of course.
 
Xeo
@BartekBanachewicz Assert over the parsed value, not the Parser result.
 
it's because I have Either here.
what now.
 
7:55 PM
show code
 
user1804599
Oh god.
 
(parseLua "x = 5")
(Right (Block [Assignment [LVar "x"] [Number 5.0]]))
 
user1804599
I’m going on a date.
 
those two are supposed to be equal
 
On which date?
 
7:55 PM
03/06/2014 is a date.
 
With Jefffrey, presumably
or maybe he dropped a dried date on his chair and really needs to sit down
 
okay, fixed
successful (Right x) = x

test1 = TestCase (assertEqual
    "for parseLua \"x=5\","
    (successful $ parseLua "x = 5")
    (Block [Assignment [LVar "x"] [Number 5.0]])
    )
 
ho boy
 
user1804599
@R.MartinhoFernandes On the 7th.
 
Xeo
You suck
 
7:57 PM
downloading the latest Wide Unix build at... 25kb/s
 
@Xeo why? :/
 
you really do
 
@DeadMG you.... re-wrote Unix in Wide???
 
now what's fucking wrong in that.
 
user1804599
7:57 PM
Your code.
 
should fuckin' hope not
 
successful _ = error "Computation failed"
there.
 
You're not coming to the unconference to go on a date?
Wtf dude
 
user1804599
The date was planned later than when I decided not to go to the unconference.
 
7:59 PM
What's a "member parametric function", pray tell?
0
Q: Getting the return type of a member parametric function in unevaluated contexts

Peregring-lkGiven the following code (a reduced situation of a complexer code): #include <type_traits> template<unsigned i> struct index_st { using type = void; }; struct pack { template<unsigned index> static typename index_st<index>::type get(); template<unsigned index> using unpack...

 
(parseLua "x = 5")
`shouldBe`
(Right (Block [Assignment [LVar "x"] [Number 5.0]]))
is giving you an error?
 
I switched to HUnit
 
Yes, because the Left can't Eq
 
Xeo
@Jefffrey Needs a proper instance for the Left case
 

« first day (1326 days earlier)      last day (3626 days later) »