« first day (1189 days earlier)      last day (3985 days later) » 

18:02
> Serial downvoting reversed
Only +8? That's hardly "serial".
Oh, wait.
It doesn't have to be serial against you
Someone downvoted four of my answers in a row.
user3010322
@LightnessRacesinOrbit Dat homework
user3010322
I'ma bout to take Advanced Programing with someone called Jae Lee.
user3010322
He's going to make us write a server in C.
18:06
@EtiennedeMartel Damn, now I have to start all over again
I got about 8-10 answers in a row downvoted yesterday.
ah, +22 rep for reversal.
user3010322
Sweet Sweet Repz.
> My Little Pony: Friendship Is Magic #15 is now available
Hm hm hm
> Your purchase was successful
Hm hm hm hm
> I've found that in Go you can go a long way without generics. But then you write some code and realize just how much simpler it would be if Go had generics. Then I cry a little bit on the inside.
^ Mixing I and you is bad style :P
18:14
I think it works for a nice effect here.
@StackedCrooked Not really.
I've found that in Go I can go a long way without generics. But then I write some code...
^ is better I think.
He's addressing the audience.
Ok then.
In English grammar and in particular in casual English, generic you, impersonal you or indefinite you is the pronoun you in its use in referring to an unspecified person, as opposed to its use as the second person pronoun. In English The generic you is primarily used in informal speech and writing. In formal speech and writing, the pronoun one can be used instead: for example, the informal sentence "Brushing your teeth is healthy" can be expressed more formally as "Brushing one's teeth is healthy." Analogs in other languages Second-person pronouns and structures are often used generi...
18:23
I think that's a little different.
It's not.
"I've found that in Go one can go a long way without generics." is the same.
It's overlapping.
Overlapping with what?
Not everyone would cry a little bit on the inside. That's his personal reaction. The rest of it is generic.
@R.MartinhoFernandes No, it's wrong.
18:25
He's referring to a personal experience. It's not the same as Brushing your teeth is healthy.
@DeadMG How so?
if you, the audience, realize how much simpler it would be, then you would be crying on the inside.
he wouldn't be crying on the inside because of your realization.
Brushing my teeth is healthy. wouldn't sound good.
Ah well, it's probably just my subjective opinion.
it's all good right up until the last bit.
@StackedCrooked The personal bit in that sentence is for the verb "think". Not "can".
18:27
Where's the think?
It's the second word.
After the first?
Oh, it's "found".
Sorry.
:S
That was embarrassing.
18:28
quick, edit your messages to look like it never happened
I should record this event and use it for blackmail
you should demand all his earthly possessions.
@Griwes Looks fake.
@Griwes It's rather impractically bottom-heavy.
18:31
@R.MartinhoFernandes vOv
@StackedCrooked Robots are immune to blackmail!
(Whither do I send the money?)
let's put some Coke in that mug I just used for tomato soup.
user1804599
I would clean it first.
user1804599
Using water.
Coke can clean it just fine
18:37
I would drink water instead
user1804599
Coke is expensive compared to water.
yeah but I wouldn't drink the water I'd used to clean it.
let's be factual here: if there are any pathogens in the boiling hot soup, it's too late for me to not catch them considering that I already drank it.
user1804599
What you’re saying is like not cleaning your nails before making meatballs because the meat will clean them anyway.
better than Coke imo
so I don't see how I'm exposing myself to any additional risk.
18:39
That's your worry?
What about the fact that it will taste horrible?
user1804599
I don’t think I’d like coke mixed with tomato.
actually, it tastes just the same.
honestly the quantity of tomato on the mug is extremely low compared to the volume of coke that fits in the mug.
are you feeling better btw?
user1804599
Coke is good for your health.
@JohanLarsson Not really.
I estimate that it'll be a couple more months before I become so desperately hungry that I do something sufficiently stupid to induce CRIPPLING STOMACH PAIN though.
at least I managed to pause my weight loss, even if briefly.
user1804599
18:45
Cool, -> works with if.
How would you bin a flirting girl?
Carefully guarded playa secret.
Holy fuck that thing got 22 stars.
user1804599
@JohanLarsson slap her in the face with a fish.
@R.MartinhoFernandes Concerning the asio question, I do indeed have a question, now. I am wondering how the writing part looks like? Do I use spawn every time or create my own context directly to use with async_write?
Use spawn to start each coroutine for the first time.
Then just pass the context along to any async calls.
18:57
@R.MartinhoFernandes Oh indeed thanks. I just had a mind blurb and need to try something. Might come back on this one, though.
bash also has coroutines :P
@DeadMG: Seriously, have you considered travelling to another country for a treatment?
Well, I like Erlang for all that being the language.
@wilx I can't afford better treatment here.
how would I afford to pay anyone else for better treatment in another goddamn country
19:16
What's red and bad for your teeth?
...
Getting raped by a giant scorpion.
user1804599
A thousand suns.
Better like that.
user1804599
lol
user1804599
19:18
Stallman was visible on a web page they showed in the news.
Was he stalling it?
user1804599
We was stalling his feet.
I've lasted 32 minutes in Risk of Rain
Shit gets really hard jesus
user1804599
Sounds like a news headline.
user3010322
@CatPlusPlus You should take friends~
19:24
Aunty from Holland is posting gory pics of animal abuse on Facebook and voicing her anger.
I didn't want to see that ..dammit.
user1804599
Shit Gets Really Hard Jesus

WASHINGTON—Shit has found a way to get a really hard Jesus. People were shocked.
user1804599
@StackedCrooked hide it. vOv
user1804599
Hover over it, click the button in the upper-right corner and click “Ik wil dit niet zien.”
When I click the triangle in the upper right corner of the post there is only the "Take a survey option".
However, in the comment section it worked.
So I unfollowed.
user1804599
> Dan ga kiek moar op den zetel sloapen he.
user1804599
19:27
It’s funny that “zetel” is common in Flanders but it is mostly used for only one specific kind of chair in the Netherlands.
Dammit now another niece also shared the link.
This time the "I don't want to see this" option was there.
user1804599
Hide the post itself.
@rightfold The first time the option was gone!
user1804599
That is very weird.
It was probably a technique to force more people to take the survey.
A clever one I must say.
19:28
@StackedCrooked Good move. Better move: quite Facebook completely.
user3010322
I'm going to deactivate my facebook.
I don't see why I should quit Facebook.
user1804599
in Functional Programming, 43 secs ago, by Johan Larsson
how many projects did you start last year?
3
19:29
It was quite Facebook indeed.
The "Facebook Survey" has to be the most obvious "filter bubble" mechanism until now.
user1804599
Hmm.
user1804599
This woman is beautiful.
They aren't deducing your preferences but outright asking you to give them.
@rightfold I agree.
You mom is nice.
user1804599
Fleur Agema.
user1804599
Ohh Witse is on TV.
user3010322
19:38
Alright.
user3010322
Now when I go back to school and people ask me about my Facebook,
user3010322
I can legit tell them I don't have one. :D
I can't deny that he did.
user1804599
XD
user1804599
user1804599
19:43
craigslist fail.
@StackedCrooked it's not asking that, it's asking if you want to see shit like that.
> How much do you agree with this statement?
And, yes, it's also asking if I want to see more like that.
But that doesn't make it less silly.
it's very silly. Obviously people want to see drivel like that.
19:59
// NOTE: using shared_future because it allows capture by
//       value inside the lambda. This may incur some overhead,
//       but I think it will be negligible relative to the
//       cost of thread-wakeup at the calling site.
judging performance based on some wishy-washy hypothetical?
forget it.
anyone who actually gives a shit about the performance will use a profiler and measure whether or not it's actually true.
if shared_future allows capture by value and that's easier for you then that's all that needs to be said (if even that)
Thread-wakeup is in the order of 1 to 10 microseconds.
An object copy should be much cheaper.
@DeadMG That's the main reason.
But I wanted to be one step ahead of the OMG you should use std::bind comments.
I don't even know what you're talking about there.
You could make the lambda accept the std::future<T> as second parameter and then use std::bind move the future inside.
Which might be cheaper.
However, I was not diligent enough to do that.
But I did feel the need to mention that I am aware of the possibility.
Because it would hurt my ego if people assumed otherwise.
I am aware that I could have prematurely micro-optimized this function?
20:10
Exactly.
Let's not be too hasty. prematurely attempted to micro-optimize
anyone who didn't automatically assume that is a moron.
who isn't worth writing comments for
One could also argue that I'm using std::shared_future for a different purpose than what it is intended for.
I don't know enough about those APIs to comment on that.
shared_future allows multiple receivers to get the result.
20:14
I don't see what this has to do with capture by value.
and ultimately, nor do I really care.
future is non-copyable, shared_future is.
my only substantial reaction to your comment was, "The performance part makes me want to kill you with an ice pick".
You are hard to please :)
user3010322
That just means it takes practice to please him.
user3010322
And practice is... gewd~ ♪
user3010322
20:24
Also @StackedCrooked DEEEEEEEEEEEEEEEEEEEMPSSSY ROLLL JET ENGIIIIIIIIIIINES.
user3010322
They really do put some outrageous SFX sounds.
user3010322
Jet Engines, train/car brakes, all kinds of things.
user3010322
What I'm waiting for next is there to be the sound of like, a meteor.
user3010322
They've already got Thunder Bolts
user1804599
20:27
craigslist is a goldmine.
user3010322
s/goldmine/cesspool ?
Xeo
Xeo
@Mysticial whee, gold badge on the lambda answer :D
@Xeo congrats
Xeo
Xeo
20:50
@StackedCrooked: I lol'd (yes, this is another one for your list)
Xeo
Xeo
the characters are lovely
@Xeo how convoluted can one make it? {[]{[]{{[](...){};}};};};
Xeo
Xeo
@StackedCrooked You can include a beard!
A beard?
I want that!
Xeo
Xeo
20:53
180
Q: What is this smiley-with-beard expression: "<:]{%>"?

XeoI came across the following program, which compiles without errors or even warnings: int main(){ <:]{%>; // smile! } Live example. What does the program do, and what is that smiley-expression?

:P
Oh trigraphs.
There's huge potential there.
Xeo
Xeo
also, wow,180 eh
Niice.
> Normal lambdas don't have beards.
LOL
I wish I'd joined SO when all the cool questions were coming in :(
Xeo
Xeo
that one is pretty new :p
I need another one for this year's April's Fool
20:58
fusion and mpl are really clever :/
i was reimplementing a subset of fusion just for fun using c++1y and am about to give up
You have weird sense of fun
I appreciate mpl style iterators now... using tuple + get is really slow
i should have seen that one coming
What we need is MLP style iterators.
They advance by discovering more about the magic of friendship.
forever alone
@Xeo ...what is that?
21:05
@gnzlbg forever alone FTFY
Xeo
Xeo
@SamDeHaan a visual novel
@EtiennedeMartel what is MLP?
@StackedCrooked Is that a real question?
you dont want to know
meta language programming...?
I don't know.
21:15
'My Little Pointer'
My Little Pointer: Friendship is Private
4
I should not have asked.
The magic of friendship should probably have given it away
@Xeo My best guess was Persona... 6?
Xeo
Xeo
@SamDeHaan ... the title is in the screen
@Xeo I'm at work, so I closed it pretty quickly
Xeo
Xeo
21:21
pff, it's just a bunch of text
anyways, it's called Grisaia no Kajitsu
I've got about seven levels of management to worry about - they don't have a lot better to do.
man, I keep changing my mind over if I want to custom model terrain and details, or try to have it procedurally generated.
TIL perl 6 was announced in 2000 and still not done.
That's 14 years ago!
Good thing I don't know perl so I can't feel angry about it :P
no language is ever truly 'done' though
also keep in mind, perl 6 is not just the next version of perl, it is now a complete fork
The design process isn't even done.
21:30
@Xeo Oh hey. Congrats!
Xeo
Xeo
:D
4k views. lol
Probably just people coming from my profile.
does std::get has constant or linear compile-time complexity?
I'd say linear, unless the implementation does something clever that I can't think of
boost::tuple is implemented as a recursive struct so I agree that it must be linear
however I fail to see in libcxx how their tuple is implemented :/
21:37
anyway I wouldn't be too concerned with that
@Xeo Speaking of April fools... I wonder if we can do a "funny symbol" question in combination with ~~performance~~.
It'll be tough to come up with one though.
Xeo
Xeo
heh
Something like, "Why is the smiley with beard faster than a sad face?"
Or something retarded like that.
And have a real question underneath.
hmm
it seems that libcxx tuple inherits from a lot of unit tuples:

template<size_t ..._Indx, class ..._Tp>
struct __tuple_impl<__tuple_indices<_Indx...>, _Tp...>
: public __tuple_leaf<_Indx, _Tp>...
{
Xeo
Xeo
21:39
common technique
"My code is too slow, so I wanted it to go faster, so I created some threads. for(int i = 0; i < 10; ++i) std::thread([] {}); but it's even slower! what's wrong"
Xeo
Xeo
makes get increadibly easy and quick to write
it's the first time I see it, so I am still walking through it
you could make get O(1) if OR is O(1), I guess.
Xeo
Xeo
yep
21:41
can any one tell me using JNI
?
user1804599
No.
I want get c++ value in java file
Xeo
Xeo
it's not even necwssarily OR, just conversions
user1804599
We do not know anything about the JNI.
really don't care
Hello, Lounge!
@Code-Guru do u know?
now you can definitely leave.
user1804599
No, he doesn’t.
Also, nobody here is “u.”
user1804599
21:44
i think is pretty clever
Other than the help vampire, how is everyone doing?
I'm not help vampire
user1804599
HELP!!! A VAMPIRE!!!
I'm doing just fine, almost fine... at least.
I'm doing your mom.
21:47
@sehe no, but you could be one of those gorillas from Congo.
user1804599
I'm your mom.
I got assembly problem. I've already cleaned engine core parts but I can't still put it together.. because it will cause overflow and I think that it would be very bad thing.
2
Wait, now I'm lost. Someone else was the ape.
@StackedCrooked you really on a you mum binge recently
@SamDeHaan I could just wait for that to drop :/
21:51
I need to get some glue for that engine I'm working on.
@sehe I haven't been in Lounge much in the last year. Brain is borked.
well it seems that the complexity is linear
@SamDeHaan I used to mix up sbi and sehe as well.
Xeo
Xeo
... how can you mix up an ape and a bear?
well, the thumb nail is so small, it's hard to tell the difference, especially when both are white.
21:53
What he said ^. Racism.
you dirty racist.
@Xeo std::get is "easy" to write if you know to which type you need to convert to, which you don't. libcxx finds the type with std::tuple_element, which iterates linearly over the pack :(
Xeo
Xeo
sbi's ava isn't white, though
@gnzlbg eh
Only just got Lounge unblocked at work yesterday, don't think I've seen sbi in that time. Until you're both online at the same time, you'll both be the SAME PERSON in my broken brain.
Xeo
Xeo
21:55
the unit inheritence makes get increadibly easy
lemme whip up an example
@Xeo I'm color blind
@SamDeHaan I like the implied causality
Xeo
Xeo
actually, I'm too lazy for an example right now, sorry
as I understood it: tuple<Ts...> : tuple<1, T1>, tuple<2, T2>,... tuple<N, TN> {} and then get<I>(tuple<Ts...>) does a cast from tuple<Ts> to tuple<I, X>, but I don't know X :/
its a one liner, but to find to which type to cast too, you need to find the Ith type in the pack
if you have std::tuple_element then that's it
21:57
@Xeo well, they do both get annoyed if you point out there stubby tail :P
Xeo
Xeo
template<int I, class T> T& get(tuple_unit<I, T>&)
does that help?
java java java java
lol
Xeo
Xeo
you simply force the base-conversion by fixing I
php php php php
21:59
@sehe Not intended, but definitely correct.
Xeo
Xeo
if you fix I to a specific index, there's only one valid base-type to convert to
indeed
My brain is borked precisely because I visit Lounge almost every day.
it's as easy as that
that would make it O(1) i guess, but they don't deduce the type and use tuple_element instead :/
@Xeo thanks, that is really clever indeed, where/how did you learn that?
Xeo
Xeo
discovered it myself when playing around, I think
22:03
@Xeo Officer, I'd like to report a flagrant case of example abuse. Yes, he was whipping that poor example for a good 10 minutes...
you are good
thanks!
user1804599
Clojure multimethods are cool.
hah
I built a shipyard and instead of building ships on the massive sea with the islands, the shipbuilder decided to send an expedition into a puddle.
@DeadMG But did he claim the far side of the puddle for the queen?
the puddle was the kind of small that you could step over, so I already claimed all sides :P
22:17
@DeadMG Ah. In that case I have to wonder: was his name Noah?
not as far as I am aware.
@DeadMG That's a relief. A guy named Noah building a big ship in a puddle could be a sign of something bad coming soon...
user3010322
@JerryCoffin But it's good to noah guy when you're in need. After all, nobody wants to be washed out by life.
22:35
TIL 3.5 floppy disks define megabyte as 1000 * 1024 bytes.
er, isn't that a kilobyte?
Oh, right.
Just got a new external HD which uses USB 3.0. First quick test: 165 MB/s.
6707490816 bytes / 40.645 seconds to be exact
I hate duplicating code
user3010322
@StackedCrooked Kinky.
I can't believe it.
It's much faster than what other people report on the Internet.
user3010322
22:45
The Internet was wrong?
user3010322
Well, I never!
I triple check my results :D
Read speed is identical.
user1804599
Clojure macros are cool.
22:56
@DeadMG no... a kilobyte would be 1024bytes
user1804599
A kilobyte is 1000 bytes.
user1804599
A kibibyte is 1024 bytes.
@R.MartinhoFernandes can you do your IPA potato thing please!
a kilobyte can be 1024 or 1000 bytes, depending on context
they are well defined
22:58
@nightcracker It can't, go check what "kilo" means.
It specifically means 10**3.
now, it does
but to be fair, who the hell cares about 24 bytes?
@rightfold I have a brief Macro section at the bottom of my notes. It's only basic stuff though.
but kilobyte is a term that was used before kilobytes were standardized
@thecoshman When it becomes ^9, like in gigabyte, it becomes much more important.
22:59
and it meant 1024 bytes
user1804599
@StackedCrooked nice.

« first day (1189 days earlier)      last day (3985 days later) »