« first day (1258 days earlier)      last day (3687 days later) » 

12:28 AM
hmm
Per @Jefffery's comment: Different data structures have different big O notations. (Thanks @Jefffery) — Thomas Matthews 42 mins ago
it's pretty common for people to write my name as "Jefffery" instead of "Jefffrey" :<
 
@Jefffrey Just like @Mystical
 
12:47 AM
Who doesn't get @Plinked from that :)
 
dafuq?
oh
ahahaha
you suck
 
I do?
Apparently, because despite me helping people in spades, I get no upvote love today
 
@EtiennedeMartel :P
 
@sehe I was commenting on your hidden plink.
 
Why does that imply my suckage?
 
12:50 AM
@sehe Nevermind then. I think that use of the word "suck" has a more unique meaning to my area.
Here I commonly hear, "you suck" as a response to getting tricked.
 
@Mysticial It's like that almost everywhere in the US.
 
@sehe No, it doesn't actually mean that you actually suck.
 
I don't think "you suck" has had any actual negative meaning in a long time
 
Everyone is glaring at each other. The hot tub is full of suspicion. Why did I get in the J'accuzzi?
@Rapptz You suck, then
dat pun, btw ^^
 
@Rapptz I hear it more often in California than in Illinois. But that just might be sample bias.
 
12:54 AM
> This Tiny Penis Sculpture Promises to Give Women Confidence at the Negotiation Table slate.com/blogs/xx_factor/2014/03/26/…
 
@sehe lol, wtf
 
I carry mine everywhere
 
Hi
Sup?
 
1:14 AM
@sehe J'accuse.
 
DETJ
@ScottW a gold mine
TIL "dog knot" youtube.com/watch?v=jPPOEw4Uy9s VNSFW interesting
 
@sehe lol
why were you even watching that?
 
@Jefffrey I'm curious when I read new words. It was mentioned on an an article directly linked from that slate article I posted earlier. Yeah... Time for bed :)
 
1:29 AM
definitely
best anti-cheat system ever
why didn't we think about this before?
oh, just noticed the retweet was from jeff atwood... so everybody here has seen that image already
 
because at the end of the day, people will just make a new account
doesn't matter what happens to the old one
 
it's not always that easy to get a new account and play on servers
 
maybe on the Xbox One
 
I doubt the client machine actually matters
If you are required to pay to get an account, you won't get another for free easily (assuming you want to play in vanilla servers)
 
evading bans is easier than you think
 
1:37 AM
I guess I'll just trust you on that
 
4 hours ago, by Borgleader
user image
:P
 
yeah, I figured :)
I should start following people no one else follows here
 
1:53 AM
so apparently I'm in the < 1% of the population for blood type (the rarest)
I feel great
 
I'm guessing you mean O
 
nope AB-
 
strange
there are that many O blood types here?
 
O+ is actually the most common
 
this is in the US
not world wide
 
1:57 AM
as expected, things does not change much world wide
 
US again.
did you read?
 
fuck
 
anyway I'm not doubting that O is common, I just find it strange that there are that many that have it because iirc it's not dominant
@Jefffrey Also, AB- is a bit of a hit/miss considering AB+ is better
 
yeah, I know, it's not a particularly good type
 
I'm A+ iirc
 
2:02 AM
either I suck at googling or it is unbelievably hard to find reliable world percentages (or even country based percentages) on blood type
 
you do indeed.
 
the variation is not much though
at least I win that point
 
lol
hungry and bored :(
 
2:26 AM
> If a function or constructor takes two or more arguments, we have the option of using it in infix form, where we place it between its first and second arguments.
wait what
two or more?
(taken from "Real World Haskell" p76)
 
(x example y) z
Backticks didn't work, but: (x 'example' y) z
 
@glguy It makes sense, since (assuming example is of type a -> b -> c -> d) the expression (x example y)` has type c -> d. Thanks.
 
3:15 AM
what the hell
it was 2:30am 5 minutes ago
how did it got to 4:16am?
 
3:32 AM
@Jefffrey Have you been playing 2048 again? It clearly warps time that way...
 
@JerryCoffin I've been reading a book on Haskell. :)
And I think it's time for me to go to bed. Night all.
 
Good morning.
 
@Jefffrey Probably less educational, but I guess it's all right.
@Jefffrey Sleep well.
 
lol, thanks
 
@Jefffrey Good night.
 
4:09 AM
When something is deleted after 60 days then it stays deleted forever until someone undeletes it. — BoltClock's a Unicorn ♦ 21 mins ago
 
 
1 hour later…
5:35 AM
 
6:26 AM
 
6:43 AM
Hello every1 :)
 
7:26 AM
morning
 
Morning @ArneMertz :)
 
morning
 
0
Q: How to overload operator ==?

user3441187I have class A how to overload operator == to perform A a,b,c; if (a==b==c) {} Could anyone help me?

^^ uh oh...
@AlexM. ^^ That's a good question to steal and put on code golf.
 
perhaps if we could extend it to ask for even more exotic expressions?
 
I imagine that the answer will be to return a 3rd object C. And overload C == A.
 
@Rapptz :)
 
@Rapptz Nice. And GCC's error messages are catching up.
 
0
A: How to overload operator ==?

RapptzIf for whatever reason you really wanted to do this, you'd need a proxy object like so: struct A {}; struct Proxy {}; Proxy operator==(const A& a, const A& b) { return {}; } bool operator==(const Proxy& p, const A& b) { return true; } bool operator==(const A& a, const Proxy& p) { ...

there
 
Don't do this . — Rapptz 5 mins ago
But...
 
automatic +1
 
7:41 AM
@MarkGarcia it's horrible
 
Is there way to do an implicit conversion of an object to a boolean?
 
@Rapptz You're tainted now. :P
 
@Mysticial yes
 
So if the user wants to chain as many == as he wants.
@Rapptz :D
C++11?
 
C++98 for implicit. C++11 for explicit
 
7:42 AM
ah
You can implicit convert to a primitive?
I see it the other way around.
If your constructor takes the object, it will be an implicit convert.
 
ah... I haven't seen that syntax before. :)
 
smart pointers use it
 
I love explicit bool.
 
me too
safe bool idiom sucked
 
7:47 AM
dropping some epic stuff
 
My prof was on about how many benchmarks suppress the innovation towards parallel computing. Anyone know what he's talking about?
 
maybe he was on shrooms
 
seriously no clue?
We were asked to discuss the premise of the following quote and if anyone could point me to a reading that would be appreciated
"A primary problem with the standard approach to the use of benchmarks for
parallel systems is that the rules that ensure fairness also suppress innovation"
 
@Celeritas That sentence doesn't make any sense. Or rather, it can be read in a bunch of ways depending on how you group the words.
 
@Celeritas Some benchmarks effectively prohibit parallel execution, even when/if the algorithm being executed is one that could be done effectively in parallel. For example, if memory serves, SPEC prohibits even the most trivial modifications to their benchmarks, including things like adding OpenMP directives.
 
7:52 AM
@Rapptz you beat me to it a few minutes ;-)
 
So you're saying that the benchmarks often aren't written to exploit parallelization?
 
-2
Q: regarding count pairs programs plz verify my code and correct it plzzzzzzzzzz

user3467579Given a sequence A of N positive integers, write a program to find the number of pairs (A[i], A[j]) such that i < j and A[i]A[j] > A[j]A[i] (A[i] raised to the power A[j] > A[j] raised to the power A[i]). You are provided with a function named power( ) that takes two positive integers x & y and...

^^ plzzzzzzzzzzzzzzzzzzzz
 
lol plzzzzzzz
 
@Celeritas Not only aren't written to exploit it, but prohibit anybody else from doing so either.
 
@JerryCoffin I don't understand what you mean by "prohibit anybody else from doing it". Do you mean the companies of the common benchmarks have some how standardized not making benchmarks that make use of parallelism?
 
7:55 AM
@Celeritas It depends on what the benchmark is trying to benchmark.
If the goal is to measure sequential performance, than of course you disallow parallelism.
 
why is there no organization for the agnostic people?
 
@surfcode I've rewritten the explanation answering your question. Read it slowly. I think the penny will drop. There's a more extensive sample demonstrating what works, what not, why and how it behaves. Cheers. — sehe 14 secs ago
Bind expressions are confusing
 
@Celeritas I mean that if you license SPEC's benchmarks (to continue with that example) the license prohibits you from publishing results unless you follow their rules for things like how you compile it, and those rules won't allow you to modify the source code at all. So, if (for example) inserting a #pragma openmp parallel for somewhere could quadruple the speed on a particular benchmark, you can't legally tell anybody about such a result.
3
 
there are plenty of organizations for religious people, there are even some for atheists
but there is nothing for agnostic people
 
@telkitty.exe There is, and it's called the general populace.
 
7:59 AM
what happened to the duckies?
 
@telkitty.exe Because being agnostic doesn't imply much (if anything) in the way of common interests that are likely to help form cohesion in the group.
 
@telkitty.exe Ballmer ate it.
 
@telkitty.exe if I understand correctly, agnostic people go with thinking that whatever claim about gods one makes it cannot be proven
so I guess any meeting of theirs would be pretty boring
 
an agnostic atheist is one that doesn't know there's a God.
 
8:04 AM
why people are so against the idea of "I don't know" when in reality the wisest choice is to claim ... well ... "I don't know?"
you see, that's why I am hesitant to call myself an atheist, because strictly speaking, I am not one ...
Atheism is, in a broad sense, the rejection of belief in the existence of deities. In a narrower sense, atheism is specifically the position that there are no deities. Most inclusively, atheism is the absence of belief that any deities exist. Atheism is contrasted with theism, which in its most general form is the belief that at least one deity exists. The term atheism originated from the Greek (atheos), meaning "without god(s)", used as a pejorative term applied to those thought to reject the gods worshipped by the larger society. With the spread of freethought, skeptical inquiry...
 
Agnosticism is the view that the truth values of certain claims—especially claims about the existence or non-existence of any deity, as well as other religious and metaphysical claims—are unknown or unknowable.(page 56 in 1967 edition) According to the philosopher William L. Rowe, in the popular sense, an agnostic is someone who neither believes nor disbelieves in the existence of a deity or deities, whereas a theist and an atheist believe and disbelieve, respectively. Thomas Henry Huxley, an English biologist, coined the word agnostic in 1869. However, earlier thinkers have w...
 
An acrostic atheist is one
That obsessively
Has to make
Each and every new line
In a story
Start with a certain
Target letter
4
 
"True" Christians and atheists both ask, it's only that they get opposite answers.
 
Opposite? Nah. Too easy. Different
 
@sehe Now that would be BOOL. :P
 
8:09 AM
bool implies truth or false
 
@telkitty.exe Capitalization counts!
 
@telkitty.exe Nope.
@telkitty.exe enum Bool { True, False, FileNotFound };
 
-2
Q: ost would benefit from less concern about voting affecting

Himanshu kamothihen you want to enhance the "wiki" aspect of your post, so that it can be a continually evolving source of hen you want to enhance the "wiki" aspect of your post, so that it can be a continually evolving source of hen you want to enhance the "wiki" aspect of your post, so that it can be a continu...

 
Why is it tagged haskell? — devnull 44 mins ago
^^ /cc @FredOverflow
 
This question appears to be off-topic because it is nonsense? — Felix Kling 49 mins ago
 
8:13 AM
Let's get rid of this one too: stackoverflow.com/questions/22680461/…
 
We need to have a "This question is plain nonsense" close reason.
 
@Griwes "Unclear what you're asking." :P
 
@Mysticial No. An explicit "This is plain nonsense" reason :P
 
@Rapptz That GetPropertyType method...
 
@Griwes currently called "Not a question"
 
8:16 AM
@telkitty.exe Please tell me you are willing to be up to date with close reasons.
Also "Not a question" still isn't the same as "This is nonsense".
Those two questions @Mysticial linked are not questions. But they are not salvagable, while "Not a question" may imply you just need to add a single sentence to make it one.
 
Xeo
Morgen
 
mornin'
 
evening
 
afternoon
 
4:20 am
 
8:22 AM
@Rapptz lol. 4:20 PM.
 
7:24pm
 
10:24 AM
 
16
Q: Why is it bad to write something in language X as if you're writing a program in language Y in terms of using a shared coding paradigm

OnnoA while ago, I asked a question on SO about something written in C++, but instead of getting an answer to the problem at hand, the comments went all crazy on my coding style, even when I indicated that it was a WIP piece of code and that I meant to clean it up later when I had the base case runni...

 
Just realized this: all timezones have the same minute value.
 
user1804599
@sehe the many meanings of <>. :|
 
8:26 AM
C++ folks are an unusual breed among programmers. Your Java toolkit is a sensible, well-understood tool box with familiar tools in a padded leather case that will work in any tool shop. C++ is an entire toolshed with a rip saw, a power drill, and some tools that nobody recognizes, all of which the C++ crowd can handle like ninjas. It distresses them when someone comes in and puts some tool back on the shelf in the wrong place. They're the "measure twice, cut once" of programmers. — Robert Harvey 16 hours ago
12
 
many many years ago ... I used to think to myself ... "when I am asleep, Michael Jackson would be awake on the other side of the globe"
now I don't think like that any more because I am alive and he's dead
 
I still don't know if Robert likes us or not
:v
 
user1804599
 
there is idiomatic perl? — ratchet freak 16 hours ago
 
@Mysticial he actually recommended lounge :)
 
8:32 AM
@Rapptz Neither can I... He's got a good poker face.
 
unusually-early-for-me morning
 
Xeo
@Rapptz I think he finds us interesting
 
user1804599
@Rapptz Do not be silly. Nobody likes us.
11
 
what if I said that you could use previous function arguments in describing next ones?
 
I'd say I don't understand
 
8:36 AM
is there a way to loop over an enum class
 
that's fine
 
Xeo
@Rapptz loop over the underlying type's range?
and if you mean over an enum's enumerators, no
 
lol I have to overload operator++
 
user1804599
On what?
 
the enum class
 
Xeo
8:38 AM
EnumType(to_underlying(e) + 1)
an enum's range does not consist of only its enumerators
 
user1804599
@Xeo Is that a C-style cast?
 
Eh, wrong analysis.
 
Xeo
@rightfold Or simple construction, however you want to see it :)
 
user1804599
How about int(x)?
 
user1804599
OIC.
 
8:39 AM
pretty sure that EnumType(blah) is in fact a cast.
I always assumed it was construction but it is not in C++.
 
Xeo
A function-style cast is basically the same as construction, so
 
user1804599
Even with int?
 
I'm actually still pretty sure it is construction
 
Xeo
EnumType operator++(EnumType e){
  return {to_underlying(e) + 1};
}
 
That's why brace-init is important.
 
8:40 AM
@MarkGarcia Importantly shit.
 
Xeo
there, that then
 
15
Q: Allow for Range-Based For with enum classes?

kfmfe04I have a recurrent chunk of code where I loop over all the members of an enum class. The for loop that I currently use looks very unwieldly compared to the new range-based for. Is there any way to take advantage of new C++11 features to cut down on the verbosity for my current for loop? Curren...

enum classes could have been better :(
 
They're not really classes.
 
Xeo
Define 'better' please
 
user1804599
gooder
 
8:42 AM
C# style enums are pretty good
 
gee gee
 
user1804599
iota ftw.
 
Xeo
You mean the bitwise operators part? Or the reflection?
 
you can already do bitwise operations with enums
o.o
 
Xeo
8:45 AM
yeah, that's why I was wondering what you meant
 
I meant the reflection bit
you could stick it into <type_traits> and use compiler magic
 
Xeo
right, and that's in the realm of reflection, not enum classes
 
One day.
C++42
 
user1804599
 
C++17 and yellow pigs.
Hi.
 
old
 
@R.MartinhoFernandes Hi.
@MarkGarcia lolwut. Font sizes are off the charts, towards the bottom
 
@sehe See title of reddit post.
 
Why would I look at reddit posts
@Mysticial pretty clear he likes us, IMO. He doesn't claim to understand what's going on here, though. He might not like that
@MarkGarcia Ah
 
@R.MartinhoFernandes An idea: I had one.
 
8:59 AM
You had one job idea...
 
ideas are good
 
Bad ideas aren't.
 
what do you think about something like f(Pair arg1, Pair(decltype(arg1.second), Type()) arg2)?
 
looks bad
verbose etc
 
it's exactly one character longer than the template argument deduction version.
and that's not even a fair comparison because the template arguments aren't properly constrained.
 
9:02 AM
what's Type()?
 
a concept
matches types
 
how the hell did Nintendo manage to make a GBA game 161 MB
 
answering that question would require that I know anything, at all, ever, about the GBA.
 
GBA games are 7 MB compressed
 
bad luck with compression algorithm?
 
user1804599
9:08 AM
@ScottW egg foo young
 
I never thought my first > 50 upvotes answer will be on code golf
I also never thought it would be just a cheap trick lol
70
A: Write program in your favorite language in another language

Alex M.C in C++ #include <stdio.h> int main(int argc, char** argv) { printf("Hello world!\n"); return 0; }

 
eh
code golf is a nothing site dedicated to nothing answers to nothing problems.
it's the celebrity gossip of stack exchange.
 
@DeadMG something like that, but it can be fun or interesting
see that xmas tree contest, it was pretty neat
 
if by "fun and interesting" you mean "utterly worthless waste of time"
then yes.
 
70
Q: Make a scalable Christmas Tree

QuincunxYour challenge: Make a Christmas tree. The size must be choosable by some input method, but doesn't have to be directly related to any part of the tree; however, larger inputs should produce a larger tree. How can you make it? You can make the tree any way you like, other than by printing the un...

that one is really neat
done in Mathematica
 
9:23 AM
@DeadMG that
 
user1804599
Copy-pasta yields spaghetti code.
3
 
9:47 AM
Amazed such old puns still get stars
 
user1804599
Amazed people write so much duplicate code
 
@sehe Good heavens
 
@sehe I just noticed that it was a pun.
 
@rightfold you have no idea how much :-(
 
@MarkGarcia You realized wrong!
Oh boy.
 
9:50 AM
 
Nepal Standard Time (NPT) is the time zone for Nepal. With a time offset from Coordinated Universal Time (UTC) of +05:45, Nepal Standard Time is one of only two official time zones with a 45-minute increment from UTC. The Chatham Islands, which uses Chatham Island Standard Time also has a 45-minute increment from UTC, its time zone being UTC+12:45. In Nepal, there is variation in timing between different regions, but that is not properly maintained and recorded. See also References External links *[http://www.nepalitime.com Nepali Time]
 
@telkitty.exe you just got up?
 
(a) errors are not random, especially if they're repeated (b) I've never seen "heavy exception error" messages in my life. (c) If it says "heavy exception error in " - I'd say the very next words are pretty relevant ... :| — sehe 18 secs ago
@MarkGarcia I believe there's :30 and :15(?) differences as well
 
I don't usually get up at 8:51pm
have been awake for the past half a day
 
@telkitty.exe trying a new makeup then?
 
9:53 AM
don't like my green hair?
do you like my nails?
 
@R.MartinhoFernandes Ah, thanks. I'm less ignorant now. Also @sehe.
Apparently, ignorance and stupidity is a crime here in the Lounge. :)
 
@R.MartinhoFernandes o_0 what's with the ruler?
 
@MarkGarcia but troll isn't ...
 
Xeo
@thecoshman largest picture on the page
 
@thecoshman Just dumb chat.SO things.
 
9:58 AM
@thecoshman it's somewhere on the page, not nesessarily anything to do with the article.
 

« first day (1258 days earlier)      last day (3687 days later) »