« first day (1200 days earlier)      last day (3974 days later) » 

11:00
I'll ping again whenever the topic comes back up
morning
morning
@LightnessRacesinOrbit ok, thanks
@Xeo oh shit. :(
11:02
0
Q: I am trying to display the largest and smallest number of the three values I input

Syntax_ErrorIt is an assignment I am working on. I'm pretty sure it is something minor that I have missed, but seeing that I am trying to work on this late in the night after studying for other classes, I believe another set of eyes can help me. I am supposed to have something like this: please enter first ...

I… wat.
inb4 std::min and std::max
@ScarletAmaranth x() gets executed once per iteration, no matter what, so the side effects shouldnt be of interest. But assuming there are no side effects.
0
Q: Possible bitwise XOR bug in C++ on Ubuntu?

Edward MonneyI ran this code in Emacs on Ubuntu 13.04 cout << (0010 ^ 1010); and got result 1018 Microsoft Developer Network says this of a bitwise xor, which I thought was true "The bitwise exclusive OR operator (^) compares each bit of its first operand to the corresponding bit of its second operand...

Thank you, octal literals, for your existence.
Xeo
Xeo
oh cool, I can get a new battery from amazon tomorrow
gotta love prime
@Griwes lol
@ArneMertz I think it's reasonable to believe that the code generation will be equal then, but there's a good way to know for sure (at least to some extent), just compile and look at the assembly ^^
11:12
fuck
I shouldn't have gone to sleep
now I feel considerably worse than yesterday
how is that even possible?
Xeo
Xeo
> <Sasumotu> Amazon Prime is like having Santa Claus on speed dial.
lol'd
@ScarletAmaranth Well on Thursday I've got this CT scan to try to find out...
@DeadMG do they have a best guess? or are they entirely clueless still?
Xeo
Xeo
@DeadMG I got my MRI on Monaday! :D
11:16
fortune tellers tell you when something will happen but doesn't state exactly what that thing is, economists tell you exact what will happen, but doesn't tell you when
Wow. 20 lines of code for a function that can be implemented readably in one line of code. — Konrad Rudolph 9 secs ago
coincidence? I think not!
Xeo
Xeo
... did I just write "Monaday"?
Fuck, too late to edit
@KonradRudolph I am very surprised you are surprised...
@ScarletAmaranth Clueless
11:19
doctors need better tools to debug humans
Xeo
Xeo
Humans need debug information - we should've all been compiled with -g
ohey, my phone is charging again
fuck that
it's mocking me
the funny thing is
we may have very well been compiled with -g, we just can't read DNA properly
hmm
I forget which one is argument and which one is parameter.
Xeo
Xeo
11:35
parameter is on function definition, argument is on call
hmm
you know what really annoys me?
this.
really? I thought the correct answer is: everything ...
it's surprisingly annoying to handle an argument that sometimes you provide, sometimes you check (but sometimes you don't), and all the argument/parameter numbers don't necessarily match up.
Colour Mottle very friendly hen great Mother all chicks purebred, accept one, hen stole egg from another hen.
11:53
@KonradRudolph :)
funny:
Very good mother protective of chicks but is friendly to anyone with food!!.
Maaaaan, I Made a run for the train and I think I'm dying
Tell my parents I love them
Xeo
Xeo
@DeadMG hehe
C++ has implicit object parameter, and the implied object argument
the main issue I've been struggling a bit with is operator overloads
cause in that case, the user effectively explicitly provides this.
Xeo
Xeo
does he? how's that different from a.f(b)?
12:03
because when you say a.f, then this is bound into the overload set, so when you call it with b then the overload set is already going to implicitly pass this.
Xeo
Xeo
oh right, your OR works in a wonky way
it's not wonky, it's super convenient
for the user.
Xeo
Xeo
dunno
I think transforming a.f(b) -> f(a,b) is nicer for you
and that way, operators don't need to be handled specially
I disagree.
the problem with a.f(b) -> f(a, b) is that a.f stops being a valid bound function object that you can pass around.
e.g. you wouldn't be able to call Map(a.f) like you can now.
Xeo
Xeo
says who?
12:05
and secondly
Xeo
Xeo
you can still say that a.f is special
transforming a.f(b) into f(a, b) essentially requires prescience - you can't make the transformation having only seen a.f.
> special
Xeo
Xeo
btw, did you read my discourse on a chaining operator like |>?
yeah
Xeo
Xeo
12:07
solves that issue nicely, IMO
I don't really see how
in fact, I guess that if you wanted to try to chain a member function, you'd run into even more nasty special cases.
Xeo
Xeo
well, you need to treat either a.f specially, or your OR gets wonky with operators, right?
define "wonky".
Xeo
Xeo
6 mins ago, by DeadMG
the main issue I've been struggling a bit with is operator overloads
ah
the OR doesn't get wonky.
it just gets a bit hard to keep in straight in my head what I'm doing with this.
Xeo
Xeo
12:09
mh
from the user's perspective it's super simple
and I think that I have solved the problem anyway
Xeo
Xeo
I still think |> is nice. Just treat everything as f(a, b) and user can use |> to make things nicer-looking
I think
pretty much the only real advantage of |> that I see is that if I replace | with |> then when I come to type check/define concepts for my algorithms, I already have the input range type.
other than that I don't see that it's terribly useful.
Xeo
Xeo
uniform invocation style
and no special handling for a.f
it just seems like something that would also simplify the implementation a bit
but maybe that's just me
Nah, it's just sugar
12:12
not handling each expression independently would be vastly worse than the troubles I have right now
and I also don't see how you could coax something like Map(a.f) out of |>
Xeo
Xeo
Map(a |> f)
You are sexy when you talk about wide
Xeo
Xeo
well, since your a.f already works, I guess it's not a problem in your case
The difference between |> and . is that it uses different characters
Xeo
Xeo
@CatPlusPlus for member-access, maybe
12:14
@Xeo The result of which would present exactly the same difficulties.
since it would have implicitly bound a.
If you make this an explicit first argument then you might as well expand . to mean |> for everything
sometimes it is, sometimes it isn't.
What is |> supposed to do? This isn't something I can Google unfortunately.
x |> f === f x
What's the MSVC telltale macro?
12:16
besides, I already figured that the simplest thing to do for OR is to essentially unbind this anyway.
Xeo
Xeo
@CatPlusPlus if your language has implicit currying
@R.MartinhoFernandes _MSC_VER
@CatPlusPlus Thank you.
@Xeo Or is like Ruby and does optional parentheses on application
user1804599
12:17
|> should have different precedence than ..
Like what?
the only thing that interests me about |> is the extra potential type checking availability for some of my algorithms.
user1804599
@Xeo Elixir adds the left-hand side as the first argument to the call on the left-hand side, so x |> f(y) is f(x, y).
Xeo
Xeo
@CatPlusPlus not because of parens, but because |> for multi-param function would only do partial application
user1804599
It works equally fine.
12:18
otherwise I don't find it especially useful
Xeo
Xeo
in my mind, anyways
@Xeo Well, yes, but . does that too
I really don't know why this matters or has anything to do with currying :v
Xeo
Xeo
right, if your language allows a.f like Wide, it would be equivalent to member access in that case
Member access is partial application
Xeo
Xeo
12:30
SO be ded
Tis working fine.
Xeo
Xeo
now it is
was ded
Please reopen:
-2
Q: Error : expected a ";"

Mr. StarckWell this is a silly question but I have this error : #include <unordered_set> std::unordered_set<std::string> ValidValues **{**"one", "two", "three"}; Error : expected a ";" appears at the first bracket. Exacty the same with a "set". Restarted Visual Studio 2010 and the computer.

No reason it's a bad question.
I think I disagree.
"I don't know what C++ features my compiler supports" is the real problem here.
fuck me I really need lambdas
12:35
@DeadMG The real problem is: I get a cryptic compiler error.
because I don't know what C++ features my compiler supports.
See, e.g.
41
A: error C2275 : illegal use of this type as an expression

rubenvbWhen you name your source files *.c, MSVC assumes it's compiling C, which means C89. All block-local variables need to be declared at the beginning of your functions. Workarounds include: declaring/initializing all local variables at the beginning of a code block (directly after an opening bra...

Same story. Many upvotes.
Good question nonetheless.
@DeadMG Also, that is not a legitimate reason to close a question on Stackoverlow.com, regardless your opinion on the matter.
well, I never said that it is.
dan
dan
sup guys
all I'm saying is that the user, in this case, failed his basic due diligence by not checking what features his compiler supports.
dan
dan
@TonyTheLion you can call me dan
okey, I've responded to google email.
blah blah jobz.
12:53
oh lulz
altough I think if I switched jobs, I'd like to work in a web for a while
just for the lulz
work in da webz?
meh
in C# can you resize an array?
The Amsterdam cell of C++ user groups appear to have troubles organizing: (meetup.com/The-Dutch-Cpp-Group/events/158586522)
13:03
do I have to, when an array of reference types?
I can just do array[index] = myreferenctype, without newing an array, right?
@sehe Cells usually do have locked doors.
I was subtly referring to them as a terrorist organization
@TonyTheLion Is there a romantic way to suggest anal?
I would love to hear the headline "royal prince & princess" announcing bankrupcy
there is no happy ever after ... at the rate the UK queen is going, your royal family would be 50 million in debt by the time your current 2nd generation prince inherit the crown
@sehe donno
We should crowdfund for a competition. Winner takes all
@sudorm-rfTelkitty well royal princes and princesses have never had anything todo with fairy tails
13:07
UK financial crisis bankrupted the queen - this is such an awesome headline
you are weird
I'm not really into competitions ATM. I ran one in the Lounge and won it myself. I will try to run another 'Beer in Berlin' contest before June - one that I will recuse myself from since it makes it far too hard for everyone else to win:)
@MartinJames who will be your main competitors in June do you think?
@TonyTheLion destroy it and create a new, bigger one~
I wonder the philosophical question: would it be possible to be interesting without being weird at least sometimes?
13:11
@MartinJames ...
@BartekBanachewicz I used a List<foo> instead
fuck arrays
I'm not keeping track of size and stuff myself
C# arrays know their length
(You still want to use List)
@sudorm-rfTelkitty Not sure of the strength of the competition. Robot, LRIO, sehe, Coshman, I guess...
so SE app... am I too late to rant about it? what's people thoughts? ~Apparently~ my phone is not able to run :S
@thecoshman oh i was supposed to install it
13:13
@thecoshman I have an iPhone, can't use it yet. Also, chat not supported from what I've heard, so meh
I installed it, didn't hate it, didn't really use it for anything but browsing around a bit.
@TonyTheLion yeah, no chat, so can't see much appeal my self.
@TonyTheLion well it shows replies
I can't really see what use it would have, well... I guess not all SE's are programming related.
but if you click it it goes to web transcript
13:14
so something like scifi or board games
also fucking ads
otherwise it's decent
but in general web apps > crappy phone apps that mimic web apps
TIL about std::subtract_with_carry_engine en.cppreference.com/w/cpp/numeric/random/…
I hoped it was a building block for arbitrary precision maths. But it is just a random gen
gerh... scratched of a scab that was apparently holding back the my entire blood supply
Oh hey, look! Vlad got to 8,000 rep... Hurray!
not bad for 3 months, he's being whoring like a... well, whore
13:25
fuck I went into PHP room again
ahah
You guys still stalking Vlad?
I have no idea why I keep doing it.
@R.MartinhoFernandes do you get this obsession?
@thecoshman he has way more answers than me, so he's just going for quantity
13:26
WTF, vlad has almost as many answers as I do
@BartekBanachewicz he also has way more bad answers than you
-16x to be precise
Although I've seen him giving reasonable answers too
oh no, two people had to wait at the door for a few minutes
13:28
should we star that?
WHAT THE FUCK IS WITH THIS VLAD SHIT?
Xeo
Xeo
@AndyProwl no!
starbait denied
@TonyTheLion Vlad was in your bathroom?
Leave Vlad be
13:28
@Xeo OK. Not that I knew why I would
He's in Russia, 'nuff should be said
Ah, there we go
@AndyProwl why did you star that?
@TonyTheLion Russian != has KGB at command
Xeo
Xeo
13:29
can we stop starring his 'guys' every single time?
4
@Jefffrey It was the consequence of UB created by a program you wrote
possible
@Xeo if you bin them... do they stay on the starboard?
Xeo
Xeo
yes
13:30
Star things that are funny and/or interesting tia
butt owners can remove stars
guys, please don't be so mean
Xeo
Xeo
@BartekBanachewicz is what I did
13:30
@CatPlusPlus indeed
wtf is going on
Xeo
Xeo
nothin
star whores
and star pimps
are disagreeing
well, should we discuss the poll?
why don't you like litb saying "guys". shall i say "girls" instead?
13:31
I purposely put that on different lines so you couldn't star it
pullover
@Jefffrey The end result is: Never forget Lounge<Vlad>
the rest is irrelevant
Xeo
Xeo
@TonyTheLion we can make a bookmark for all three, link it, and star that!
but...
@Xeo if you're desperate
:P
13:33
okay :c
@Jefffrey the result is that puppy stops fucking binning everything and we're cool
:lol:
The result is, as usual, nothing
depressing
there is a result
binners gonna bin.
13:34
@Xeo do that, and you deserve a star for the effort :D
noobs ---> gtfo
@Jefffrey did that not happen?
@TonyTheLion I'd hate to see you go :(
oh right I just deleted a below-zero answer and lost rep
13:35
I'd hate to leave, but if I have to
@CatPlusPlus you mean to say, we, as a group, failed to make anything happen. Well now that really is startling news.
As a group we're in some kind of permanent limbo
Lounge<Limbo>
@TonyTheLion ;)
there's no limbo, as a group we just can't be arsed.
13:37
Lounge is terrible at following instructions and doing things
Abandon hope all ye who enter here, ie you know you're going to end up in limbo right?
@Feeds a bit early maybe, but we'll see.
Also why the fuck would you not post event details in a message that announces the event
Stupid chat
Why are we still using this crap
@CatPlusPlus we are terrible vOv
because fuck logic
@CatPlusPlus because Lounge<chat> is in limbo
13:38
(The answer is somewhere above)
Just follow the link?
Chat audit messages are implemented in stupidest way possible
But what is the problem with this message? It contains a link and if you click on it you get all the information
btw, for the lulz
"Unions allow one same portion of memory to be accessed as different data types", by cplusplus.com; so how it can be undefined, if there are two variables of the same type in union? — Bartek Banachewicz Dec 1 '11 at 12:55
I also like how @R.MartinhoFernandes added that event, but never said anything about it here, nor signed up for it.
13:40
@AndyProwl It contains a link instead of containing information
the problem is you have to click a link, and that is :effort:
Man I thought I was lazy
Haskell is lazy.
You haven't been here long enough to hit rock bottom
Okay, let's do a case study
13:41
Cat Plus Plus has added an event to this room's schedule.
Cat Plus Plus has added an event to this room's schedule.
Cat Plus Plus has added an event to this room's schedule.
it says "fuck shit balls"
each and every one
I don't have to click.
It's even worse with feeds
wtf dude?
Cat Plus Plus has removed an event from this room's schedule.
Cat Plus Plus has removed an event from this room's schedule.
Cat Plus Plus has removed an event from this room's schedule.
I rest my case
13:43
clean your shit up ಠ_ಠ
(Editable audit messages aside, this is just dumb and useless)
its terrible
we need to do Lounge<chat>
Nobody will switch why bother
because... maybe we can do it
I would
Because I want a fucking iphone app
and I can't fucking wait a century for stackexchange to consider the idea
I'm too old
13:46
Just use a client for this standardised protocol the chat uses- oh
0
Q: Is it possible to connect 2 HDD with 1 cable

AlphaDownfallparodie I would like to ask you if it is possible to connect 2 HDD in 1 cable like the attached link picture shows. Will it cause damage to the disks if I do it? Answer me with "YES" or "NO".

lolwat
@CatPlusPlus I will probably break the internet in the process
who the hell upvoted that :S
Google and Facebook are using XMPP? HELL WE NEED TO INVENT A NEW PROTOCOL
It's so good on the open internet
inb4 obligatory xkcd
13:52
no
in 吹水區 [Chinese], Jan 11 at 3:40, by Derek 朕會功夫
請問有人知道怎樣在JS裡把UTF-8轉成Big5嗎?
lol
Apparently Jeff thinks xmpp is a non starter, then stops responding when proven wrong.
@R.MartinhoFernandes I can guess what is 'Big'
@R.MartinhoFernandes How did you end up there?
> UTF-8

« first day (1200 days earlier)      last day (3974 days later) »