« first day (1313 days earlier)      last day (3643 days later) » 

Ven
9:00 AM
I took the time to update all of sweetJS examples to the new version; they are in the wiki IIRC
 
user1804599
@Ven if you have statements, make assignment a statement.
 
FP Complete introduces Stackage Server http://ow.ly/x5v7l #haskell
 
Ven
@rightfold Why do you want to have statements ?
 
user1804599
Mutating code should stand out.
 
user1804599
It shouldn't be hidden in some subexpression.
 
user1804599
9:02 AM
But yeah having statements or not depends on the paradigm you focus on.
 
Ven
assignment is not reassignment
 
mutating code should run in State anyway
 
Ven
in LS, we have = for assignment and := for reassignment
 
most languages just have implicit State context
 
Wide has something similar
 
Xeo
9:02 AM
@Ven ew, that's backwards!
 
user1804599
x = 2
x = 3 # so this is not reassignment? :v
 
error I'd guess
 
Ven
@rightfold := is upper-scoped reassignment
 
user1804599
Yes, I know.
 
user1804599
And = is same-scope reassignment. :v
 
9:03 AM
ewww, seriously?
 
Ven
there has been a discussion on the tracker on whether we should disable = for reassignment or not
 
user1804599
Don't break existing code.
 
Ven
but of course, nobody wants to break existing code :-)
 
user1804599
Will there be let?
 
user1804599
Screw function scoping. :v
 
Ven
9:04 AM
ES6 let ? (because we have a let). maybe
 
Hi.
 
user1804599
I do like variable introduction keyword, though.
 
The Youtube support answered:
 
user1804599
Like var or let.
 
@Jefffrey hi. we're talking about cool things and meet @Ven
 
Ven
9:05 AM
you can always use var if you want :-)
 
>Hi Faggot,
>Thank you for writing to us.
>Your Google+ identity and YouTube channel cannot be unlinked. This integration allows you to use all of the new and upcoming features for YouTube.
 
Ven
@rightfold var exists; look closely :)
 
Thank you gagle
 
Hi @Ven.
 
Ven
9:05 AM
@WilliamAndrewMontgomery ewww
@Jefffrey hi !
 
one of my tests fails because it has a hardcoded path to a file on my machine
ew.
 
Ven
;_;
 
user1804599
@Ven var x works but var x = 1 is a syntax error. :P
 
user1804599
Hmm.
 
Ven
Yeah; it's just to declare it to the scope
 
user1804599
9:08 AM
val = (x, f) -> f x

x <- val 42
alert x
 
user1804599
Hihi :P
 
what's the maximum message size for a 1024bit RSA?
 
0
A: Is constexpr a "hint" (like inline) or "a binding request" to the compiler?

R. Martinho Fernandes Is constexpr a “hint” (like inline) or “a binding request” to the compiler? It is neither. Forget about when it is evaluated. Everything (with a few minor exceptions, notably involving volatile) is evaluated whenever the compiler deems it necessary to produce the behaviour of the C++ abstrac...

Everyone missing the point of constexpr. Again.
 
Ven
you must mean
```
x <- (<| 42)
alert x
```
 
user1804599
Meh, no pwetty syntax.
 
user1804599
9:09 AM
But val = (|>)!
 
Ven
welp.
val = (<|) <- here, simple
 
Xeo
> expression in some
 
Oh, Livescript. I see.
 
Xeo
I think you're missing something there
 
user1804599
@Ven wrong direction.
 
user1804599
9:10 AM
Callback is second argument, not first.
 
Ven
@rightfold ug yeah -- yours is correct :).
(don't include the ! in the code though :P)
 
user1804599
NO :P
 
Xeo
> if has the smarts.
You're missing things all over the place!
 
user1804599
@Ven I like this code. Need more writer monad though. gist.github.com/rightfold/08464655df178b0fc82c
 
user1804599
Something like [1, 2, 3 if foo, 4, 5] would be fun.
 
SGG
9:13 AM
hiii C++ mates
 
> C++
> mates
:no:
 
user1804599
C++ people? Where?
 
@Xeo Fixed, thanks.
 
@Xeo Is NGNL out later today?
 
Ven
@rightfold you can kinda do that
rightfold: but I guess you'd like it without void unless foo?
 
Xeo
9:14 AM
@WilliamAndrewMontgomery Yesh. In a bit more than 6h
 
Xeo
yeeeesh
 
SGG
then why this chat room name is "Lounge<C++>" and tagged "c++ c++11 c++-faq ..."
 
user1804599
@Ven Yeah, like xs = [1, 2, 4, 5]; xs.splice(2, 0, 3) if foo; xs
 
@SGG Mods made us.
 
9:16 AM
@SGG We didn't chose (this is actually a Haskell room)
 
if it was up to me the room would still be called Lounge<Rightfold's Vagina>
well, actually, I'd probably have gotten bored of it by now.
but the principle's the same.
 
Ven
@rightfold alert [1, 2, ...(foo and [3] or [])] but it's pretty horrid' :P
 
user1804599
Heh. :P
 
Lounge (IQ > 180)
but only collectively
 
user1804599
I... will stay with xs.push <|.
 
SGG
9:18 AM
ok! then bye. Have a good day.
 
Ven
please do :3
 
SGG
bye haskell mate @William
 
omg I got called haskell mate <3
 
user1804599
Stop mating with Haskell.
 
9:19 AM
u jelly
 
Xeo
Did we really just troll a C++ guy out of a C++ room?
5
 
user1804599
 
user1804599
>
 
@Xeo Is the Lounge really a C++ room?
 
No matter how much you deny it, yes.
5
 
Ven
9:21 AM
@rightfold you can have fun with monads and <-, though github.com/gkz/LiveScript/issues/426#issuecomment-29155718
 
user1804599
Been there done that.
 
user1804599
Though I don't like such constructs in combination with dynamic typing.
 
user1804599
Too error-prone.
 
Ven
Yeah; I don't like dynamic typing either :)
 
9:23 AM
We could put this warning in the newb hints: if your rep is less than 1000 or your answer:question is less than 2:1, there is a great chance you will be ignored or trolled, enter @ your own risk
 
@Ven OH
I need this so badly
lol I like how everyone is fixing JS
 
user1804599
@Ven I don't oppose dynamic typing, but it doesn't work well for some kinds of structures.
 
Is Coliru broken?
 
@rightfold I do oppose it.
 
no repro
 
user1804599
9:25 AM
I know.
 
Ven
@rightfold I dont oppose it either. I'm just not smart enough to deal with it.
 
there's no such thing as "smart enough for dynamic typing"
there's dumb enough or forced to use dynamic typing.
 
I can't run anything.
 
Works for me.
 
@R.MartinhoFernandes Fine by me.
 
9:27 AM
Whoa.
Nice extension.
 
Ven
@BartekBanachewicz well, right now, for my internship, I'm doing some rails. It'd be bearabke if I could install an IDE of some sort.
 
@Ven why can't you?
 
user1804599
Install RubyMine.
 
@R.MartinhoFernandes See a doctor about your feet.
 
user1804599
inb4 retarded company policy IOW get out of there
 
9:29 AM
reminds me
I have to finally set up my workstation at work
 
Ven
because I'm currently stuck on an old computer that can't even run youtube without freezing my firefox
 
fucking bad sectors on hdd
 
user1804599
Tell your boss you need a new computer.
 
@Ven same here, my work laptop has 4GB of RAM :/
 
and... that's not enough?
 
9:30 AM
I think I'll set up 5 100G partitions on that drive
 
@DeadMG Yeah, right. I still haven't seen one about my morning sickness.
 
Ven
@rightfold Oh, there's a computer that I should get; but my boss isbusy with it ATM, so I'm stuck using emacs :(
 
@WilliamAndrewMontgomery of course it's not (also 2-core i5 uh)
 
user1804599
Emacs is nice.
 
@R.MartinhoFernandes I was thinking about adding "(and your guts)" at the end.
 
9:31 AM
@BartekBanachewicz what do you develop with?
 
@WilliamAndrewMontgomery VS 2k12 right now
 
Ven
@rightfold not when you plan to use it for 1 week at most
 
@BartekBanachewicz That's vastly enough
 
user1804599
I use IntelliJ.
 
@WilliamAndrewMontgomery my RAM usage graphs beg to differ
 
Ven
9:31 AM
and so do I :)
 
@R.MartinhoFernandes it makes me think there is something in your bedroom
maybe you should stay somewhere else for a few nights ... so you know whether it's you or your environment
 
user1804599
I use Emacs for writing Git commit messages, and Vim for configuration files.
 
Ven
When I heard Intellij was making a C/C++ IDE, I first thought "oh, C/C++ is going to be bearable finally !"
 
Speaking of JetBrains
I just got an email from them about High Performance C++ Computing
 
Ven
I use nano for commitmsgs because I'm too lazy to change it :D
 
user1804599
9:32 AM
Speaking of programming, I should work on Styx.
 
@Ven please don't use "C/C++" term
 
Ven
@BartekBanachewicz I think their IDE is going to support both, tho
 
also it would take way more for C++ to be bearable :F
 
@Ven Then say "C and C++".
 
@Ven yeah, the term is borked and overused though :(
 
9:33 AM
@Ven C and C++ are totally different things. When you say C/C++ what you really say is "I don't know what I am talking about".
 
@Ven Do you say "C/C++/Java/C#/Python" when meaning "C or C++ or [...]"?
 
C/C++ conotation has a different meaning
it implies shitty C++.
2
 
Ven
@Griwes "C/C++/Java/C#/Python", definitely.
 
@DeadMG To be fair, it sorta makes a bit of sense as "C/C++ IDE".
VS is a "C/C++/C#/F#/VB/web IDE"
 
Can a German guy tell me what the capital of the company "Bigpoint" is?
 
9:34 AM
> Languages such as JavaScript may receive a lot of hype nowadays, but for high-performance, close-to-the-metal computing, C++ is still king. This webinar will take you on a tour of the HPC universe, with a focus on parallelism, be it instruction-level (SIMD), data-level, task-based (multithreading, OpenMP), or cluster-based (MPI).
 
shush, I'm trying desperately to concentrate on something else right now, just agree with me
 
@DeadMG I agree
 
Ven
@Rapptz yea, C++ is the best language, you FP weenie !
 
Xeo
@BartekBanachewicz "Microsoft (R) C/C++ Optimizing Compiler"
 
excellent
I'm glad we're in agreement
 
9:35 AM
@DeadMG hows jobhunting coming along?
 
1 min ago, by Bartek Banachewicz
it implies shitty C++.
 
@Xeo Proving his point.
 
badly.
recruiter poked me this morning complaining about how long I'm taking on my CV.
 
Xeo
Yes, thanks guys, guess why I replied to his message with exactly that.
 
@R.MartinhoFernandes I think their C support is arguably worse than their C++ support. At least they're trying to implement C++ support.
 
9:35 AM
lol it's ok we all agree
 
that's because it is
 
does it actually matter what's on that CV?
 
Xeo
@DeadMG It's also arguably less buggy!
 
@ScarletAmaranth um, yes?
 
-2
Q: Getting define from string

user3660061Is it possible, in C++, to call a Define with a String? #define MYDEFINE "Hello" std::cout << getDefine("MYDEFINE") << std::endl; In real the value of my define would be a Class type instead of a text. I'd like to declare dynamically my Class with a string. Is there a way to do it? Thanks!

 
9:36 AM
I mean; "this and that school, this and that job" and I speak this and that language
 
Ven
It doesn't matter :P
 
who the hell cares about "I'm a motivated self starter who can also work in a team" bullshit
 
@ScarletAmaranth not really, actually. People are people are people.
 
that would be a lot easier if I actually could claim to have done such jobs.
 
They look, they read.
 
9:36 AM
@DeadMG Just send it.
 
also what puppy said
it's self-marketing, basically
 
hmm
 
not even mentioning the fact that people for example make grammatical errors in CVs
 
@Rapptz wut?
 
well, actually, claiming that I'm a motivated self-starter is pretty easy.
I did build my own native compiler purely because I wanted to.
 
9:37 AM
Ah. I got it too. I thought they wanted to talk to you about it
 
Seth Ehe?
 
Ven
@sehe These fools. Don't they know that everybody uses Ada for low-level stuff nowadays ?
 
@DeadMG Old news
 
@Xeo Where can I find the aktienkapital of a german company?
 
not to me
 
9:38 AM
@Ven They obviously don't
 
Xeo
@WilliamAndrewMontgomery No clue
 
I probably missed that boat.
 
@DeadMG SEth HEeren, IIRC.
 
oh well
 
@Xeo Okay thanks anyway
 
9:39 AM
@WilliamAndrewMontgomery What do you want that for? Planning to rob them?
 
@DeadMG I didn't quite leave a mark :)
 
He wants to invest stocks.
 
@Ven Ada is trying to stay up to date, though. Kudos for that alone.
 
Ven
@BartekBanachewicz Is it ? I tried reading a tutorial once, but it only did covers the basics.
 
@R.MartinhoFernandes No I really need those numbers :D
 
9:40 AM
@Xeo ah, Jan got it.
@user2799037: The point is not that they may be evaluated at compile time, but that they can be used for things that only accept constant expressions like template parameters or array sizes. — Jan Hudec 3 hours ago
 
@sehe honestly, it's not like I'm gonna dox and then swat you.
 
@NeelBasu that bit of c++ I just posted is really quite elegant.
I'm still surprised myself
 
also
 
@Ven we had it in "programming languages" uni class. There's Ada 2012 and the language is evolving, in general
 
thanks Scarlett, now I know how I can describe Wide on my CV.
I built a native-code compiler that interoperates with C++ and I did that shit FOR FUN.
 
Ven
9:41 AM
Well, yea, kudos to them then :)
 
@sehe a mark? oh boy, all these puns :) <= mega combo
 
:D
boy, boyer, moore
 
Ven
OH: "constexpr is just to make the other part of C++ more turing-complete"
3
 
Turing-completer
 
@Ven Well, it's already TC so you may as well make it easier to use.
there's no such thing as more or less Turing Complete.
 
Ven
9:42 AM
@DeadMG stuff starting with "OH" are usually jokes :-)
 
still a nice quote
 
@Ven you suck.
 
What in God's name possessed @FredOverflow to post a DConf link in Lounge<C++> - and 3 people other than me to star it?
 
1 hour ago, by sehe
@Ven yup. You took that a bit literally. Which is funny, because that's usually what we (pedants!) do in this room :)
 
Ven
(also, turing completeness doesn't matter)
 
9:43 AM
I'd say it's a pretty critical property.
 
@Maxpm he someone pinned it
 
Ven
Why is it ?
 
well, it only fundamentally changes what you can and cannot do with it.
 
Ven
why ?
 
er
this is the part where I suggest that you read up on what Turing-Complete is.
 
9:44 AM
@Ven static codegen/TMP is the biggest abstracting power in C++. Otherwise, it would just be a flawed OO language with all the warts of C (charging a little)
 
It isn't too critical, really.
 
Ven
@sehe yeah; definitely
 
@R.MartinhoFernandes Trying to figure out if I can codegen C++ functions for use at compile-time in Wide.
 
Any function?
 
Ven
@DeadMG that's not a very good argument :)
 
9:45 AM
er, most of them.
the real problem is that it seems like Clang cannot code generate, then go back to analysis.
so I could codegen arbitrary Wide functions, but they can't currently call any C++ functions.
 
Ven
@DeadMG Agda for example isn't turing complete. So ?
 
the fuck is Agda
 
dependent typing language, isn't it?
 
Ven
yes
it's a total language
 
@DeadMG this is the part where I suggest that you read up on what Agda is. :P
 
9:50 AM
oakydoaky.
I'm gonna go.. make myself a drink.
 
Ven
Hhahaha :P
 
@DeadMG Why do you need to go back to analysis?
(Also ugh)
I moved my project folder because I ran out of space to build on C:, and VS decided it was time to nag me with warnings it didn't before :S
 
@R.MartinhoFernandes Imagine the following code.
 
@DeadMG spend more time incorporating suggestions from those in the know and less time arguing with them about it, and keep your recruiter happy! :D
also less time fucking about in the Lounge (or playing with Wide)
 
int x() { return 5; } Main() { var := cpp("<array>").std.array(int, cpp("header").x()); }.
 
9:53 AM
@LightnessRacesinOrbit just poke them back :)
 
@DeadMG Ah, I see.
 
*burp*
 
Relevant: Boolean expression (grammar) parser in Boost Spirit (see comment for evaluation) and this metaparse insanity to do it at compile time! — sehe 10 secs ago
 
Ven
ew.
 
Whoa. Bold is a bit obnoxious in onebox.
 
Ven
9:57 AM
Am I amazed or disgusted :D.
 
You're Ven.
 
Ven
oh hai
 
metaparsing
well, who is mad now
 
> Trembling with fear, the Prophet repeated the verses. He returned back to his wife, Khadijah, and said, "Cover me,... cover me."
What a coward. Hiding behind his wife?!
 
9:59 AM
@ÓlafurWaage Abel was the madman
 

« first day (1313 days earlier)      last day (3643 days later) »