« first day (1498 days earlier)      last day (3452 days later) » 

12:03 AM
hey
 
Ell
yeah I realised I was walking around with £120 in cash in my wallet by accident
 
Xeo
1 message moved to bin
no gifs.
 
user2985029
sorry wrong window
 
Ell
damn my html is borked
 
12:24 AM
Boost is really too complicated for "mortal devs":
@noxmetus because you'd create different strong types in different TUs. It's not that strange to have different program options: consider a multi-tool CLI application (like openssl, zfs, busybox, image-mack, git, bazaar...). Also, don't forget that program_options does more than just parse command lines. Anyways, don't sweat it. It's just something I think of from experience. In this case it seems like a UDT might be required so we can have ADL (builtin primitive types do not have an associated namespace for argument dependent lookup) — sehe 2 mins ago
I guess what I really mean is that meta programming in C++ is one hell of a leaky abstraction.
@R.MartinhoFernandes lol
 
@Ell yeah, it wasn't only 12 euros I wanted to withdraw.
 
Xeo
wanted to withdraw 40eur again? :P
 
Ell
@R.MartinhoFernandes how much was it?
more than 100 euros?
 
40 is a nice sum because I get two twenties.
 
Ell
12:31 AM
I try to be carrying less than £50 at all times
 
50 risks netting me a fifty and that's awkward to use to oay for small stuff.
Let's just say that this time I got no twenties.
I'll be expecting a call from my bank warning me about suspicious activity or something.
Happened before when I was in Portugal.
I was like "er, yeah, that was just me being stupid, but thanks for the heads-up".
 
user2985029
va fi bine
 
dak te cari drq dap
 
12:48 AM
Ok, I need to stop playing Factorio.
This is getting out of hands.
 
play wasteland 2
 
user2985029
"if you were..."?
 
wut, did google translate fail or something
 
in Lounge<Factorio>, 1 hour ago, by xxx
how does one get banned repeatedly? examples please
lol?
 
user2985029
tried it, is dak a word though?
 
12:51 AM
@AlexM. I'd rather stop playing entirely. I'm being 0 productive today.
 
@xxx of course it is, I wrote you a sentence in Romanian
would be easily understood by any Romanian really
 
user2985029
what does it mean please?
 
user2985029
@AlexM. i'm not a romanian
 
figured that much
 
user2985029
@AlexM. dont you remember? i went to romania because of you
 
user2985029
12:52 AM
if not for you I would not be studying the language
 
@Jefffrey isn't xxx the guy the moderator from workplace.se came here about?
or was that someone else
 
user2985029
alex
 
user2985029
talk to me
 
user2985029
not about me
 
Nov 10 at 1:41, by jmac
Yeah, I think that's right.
it was AKK, my bad
 
user2985029
12:57 AM
you told me that romania was a nice place to go to
 
user2985029
so i went there
 
are you the one with the steak
 
user2985029
my name is alex
 
user2985029
but i changed my name so that people would not mistake me for you
 
user2985029
i changed from "Alex" to "xxx" for you
 
12:58 AM
> The reason why one is allowed and the other is not is that it's considered clear that sharing f1 will not share any computation, and less clear that sharing f2 will have the same effect. If this seems arbitrary, that's because it is.
 
what if xxx, AKK and whoever else
 
At least the ones who wrote this are honest, lol.
 
are all the same person
 
user2985029
@AlexM. i dont know what AKK is
 
I've never seen them here at the same time
I'm onto something
 
12:59 AM
@AlexM. I have no idea. I only know that I plonked him some time back. He is probably just some random troll.
 
user2985029
but i know that if it was not for you, i would not have gone to romania and i would not be learning to speak romanian
 
@Jefffrey yeah I remember him now
 
user2985029
you are not the only person that influenced me to go there
 
user2985029
but you are one of them
 
he's the guy who came here to show me a picture of a steak or something
and I was accused of paranoia for thinking he was a troll, by Rapptz I think :(
 
user2985029
1:01 AM
so now i am learning a foroeign language
 
I even had proof, his past chat history
 
Not this shit again...
 
yet I was still paranoid
 
wat
Did you get offended by a steak or what?
 
user2985029
thank you
 
1:01 AM
anyway, I'm plonking the fucker too
 
user2985029
i'm very happy that i decided to do it
 
his messages are a waste of space on my screen
 
Yeah, that's probably wise.
 
user2985029
learning adjectives at the moment
 
user2985029
there are four ways to say an adjective in romanian
 
1:03 AM
Hey alex, how many hours do you spend in front of a computer screen in average per day?
 
too many
 
let's see
 
user2985029
@Jefffrey too many
 
user2985029
masculine singular
 
Ok, how many hours do you not spend in front of a computer screen per day?
 
user2985029
1:03 AM
feminine singular
 
I wake up at 11, and I get to work at 12, that means I spend an hour w/o looking at a screen
 
user2985029
masculine plural
 
I also spend another hour when coming back
 
user2985029
femninine plural
 
I arrive home at 21, then play games until 3AM
 
user2985029
1:04 AM
after that
 
repeat
so, quite a lot
 
user2985029
there is 3 ways to say an adjective
 
user2985029
masculine singular
 
So except when you are traveling home/work and when you are sleeping, you are at the computer?
 
user2985029
feminine singular
 
1:04 AM
looking at it like that, I do not live a very exciting life, do I
@Jefffrey pretty much
 
user2985029
then plural is the same for both masculine and feminine
 
user2985029
after that
 
@AlexM. It depends on what you are doing at the computer :)
 
user2985029
there are two ways to say an adjective
 
Things can get pretty exciting.
 
user2985029
1:05 AM
masculine and feminine
 
@Borgleader What about you, borg?
 
user2985029
and after that
 
user2985029
there is one way to say an adjectve
 
you know what would be exciting, being one of those cops that investigate murders and shit
are those detectives, or do you use detective only for private detectives
 
@Jefffrey 9+
lol'ed
 
1:07 AM
@Borgleader What's that number?
@Borgleader In front of the computer or not in front of it?
 
@Jefffrey Most days 9, sometimes 10
 
user2985029
eu sunt englez
 
user2985029
tu ești român
 
in front of
 
That's pretty nice.
I wish I were more like you.
If you ever feel like an idiot just remember Ryan Seacrest tried to high five a blind guy. http://twitter.com/discracebook/status/535956779029774336/photo/1
 
user2985029
1:11 AM
mă cheamă alex
 
user2985029
cum vă numiți?
 
Oh not you again. OUT.
 
@R.MartinhoFernandes ???
 
You probably have xxx plonked.
 
he means xxx
 
1:13 AM
Oh, yes, I do
 
He just comes in here and starts bumbling nonsense and speaking Romanian.
 
and he's not even Romanian!
the audacity.
 
How do you know that?
 
I'll bring a pitchfork next time serious face
@R.MartinhoFernandes he told me
I only plonked him minutes ago
 
How is the counterpart of RAII called again? RDID? "Resource destruction is deallocation"? (I absolutely have no clue)
 
1:14 AM
You missed a wonderful conversation.
 
RRID (Resource Reclamation Is Destruction)
Got it
 
@R.MartinhoFernandes Glad I missed it
 
17 mins ago, by Alex M.
his messages are a waste of space on my screen
guess I was right then
 
@R.MartinhoFernandes Not at all bad.
You need to pick your battles.
 
Ell
1:36 AM
The STL requires stuff to have non throwing destructors I think
 
@Ell hey, i have something for ya
 
Ell
@Borgleader Oh?
 
unless i gave you this link already: frostbite.com/2014/11/moving-frostbite-to-pbr
 
does it even make sense for a dtor to throw?
 
Ell
@Borgleader You did, but I hadn't bookmarked it
now I have :D
thanks :)
@AlexM. I think so
sometimes it's hard to let go, y'know?
 
1:39 AM
@Ell :D I've read the first 60 pages of the course notes. There's a lot of good information in there.
 
@Ell but why would you, I mean the only situation in which I can see a dtor failing is...
when the object has an invalid state
but that's an invariant that was not placed correctly
 
Ell
@AlexM. that covers a lot of the times you'd want to throw right?
 
yes, but ideally I'd stop the object from reaching an invalid state in the first place
 
If dtor throws there is a cock-up beyond reason.
 
this guy's answer also makes sense
102
A: throwing exceptions out of a destructor

Loki AstariThrowing an exception out of a destructor is dangerous. If another exception is already propagating the application will terminate. #include <iostream> class Bad { public: ~Bad() { throw 1; } }; int main() { try { Bad bad; } cat...

also this reminds me that it's been a while since I last watched a video of one of Scott's talks
I wonder how his hair is doing
still in top shape I bet
> Only 1 comment allowed per 15 seconds; timer reset.
srsly
 
Ell
2:17 AM
Hmmmm
 
hi
 
@Neo blue pill, or red pill?
 
Ell
@neo hi
@thecoshman my last exam is June 18th, I can't attend unconference before this day :(
 
@Ell just go to the circonference instead
 
Neo
quick
in c++ you have a for loop that goes from 1 to 10
what is faster?
check if x = 9 or x< 9 to stop the loop of course
x>9 sorry
 
Ell
2:33 AM
@neo neither
 
Neo
why?
 
Ell
Why would one of them be faster?
 
Neo
good question
 
@Neo micro optimision/premature optimisation/profile first/...
 
Neo
so the compiler does the optimization for you
?
 
2:36 AM
@Neo one of those does 9 things
the other 8
they're not equivalent
what's the emergency anyway
7 mins ago, by Neo
quick
 
Neo
well lets add <= to the party then
 
@AlexM. he probably meant !=, at which point they do the same thing, but really its a meaningless detail, and i wouldnt be surprised that both != and < have the same cost
 
I'd just check the generated asm
to see if the resulting code is not the same
 
@Neo profile it and see, but really youd be wasting your time
its very unlikely to matter to whatever it is youre doing
 
if it's one of those emergencies
you know, exam, interview question
he isn't technically wasting his time
so, what's the emergency?
 
Neo
2:38 AM
ok, im looping range of 1 million or so.
 
@AlexM. that's a shit question in both contexts
1 min ago, by Borgleader
@Neo profile it and see, but really youd be wasting your time
you'll gain more by optimising whats going on in the damn loop
 
@Neo how about you turn it into a while and end the day, huh?
 
Neo
I dont like while loops
:P
 
@Neo youre in one right now, you keep asking the same !=, < question over and over
 
Neo
infinite recursion scares me, just joking
 
2:42 AM
@Borgleader he's asking what is faster, jne or jl I think
I can't really get his question
 
are you talking to xxx?
 
Neo
also, is there any silly program that allows me to see dependencies or the c++ code like in this picture? blog.thehigheredcio.com/wp-content/uploads/2011/09/…
 
@AlexM. I know, but it's a silly question. For more reasons than I care to elaborate. If this was an SO question, I'd already have downvoted, VTCed and commented what I said earlier.
 
I wonder if all jump-ifs are just as fast to execute though
it's pretty clear that whatever you put in that loop, unoptimized it's really just a cmp followed by a jump
well, more jumps
depending on the case
is something like jump if not equal slower than jump if zero
actually scratch that
it was a dumb question
cmp does all the work, jumps happen depending on the flags it sets
 
stuff involving 0 is special, see Alexandrescu's CppCon talk
 
2:50 AM
relevant:
773
Q: Is < faster than <=?

Viniyo ShoutaI'm reading a book where the author says that if( a < 901 ) is faster than if( a <= 900 ). Not exactly as in this simple example, but there are slight performance changes on loop complex code. I suppose this has to do something with generated machine code in case it's even true.

 
Neo
thanks @AlexM.
google fails to search for specific symbols
 
google: is < faster than <= gives that question as a first result
 
that's why you search for things like
> are all comparisons equal speed
first two results are relevant
actually most of them are but yeah
 
Neo
@Borgleader try "::~" c++
 
what's "::~"
 
2:56 AM
@Neo i didn't say all symbols were easily searchable, I said the ones for your questions are.
 
Neo
the destructor
 
that's not a destructor
 
A::~A()
it is, sorta
 
Neo
the rule of three man
 
Ell
That's not either
 
2:56 AM
no those are two ":"s followed by a tilde
 
but for destructors you just search the word destructor
not ::~, thats just silly
 
colons, right
 
Ell
A destructor is ~ followed by the class name followed by an empty parameter list
 
Neo
I just wanted to put an example
 
I thought those were semicolons
but semicolons are ;
 
Ell
2:57 AM
~A()
 
@Neo an example of you sucking at googling things?
 
Mr. Anderson.
 
Neo
@Jefffrey hi
 
I think I'll go to sleep. See ya all tomorrow.
 
Neo
@AlexM., youtube comment
 
2:59 AM
what?
 
Neo
nothing
bye
 
cya
 
Neo
thank you guys
 
I should head to bed too, it's 5 am :(
I'm pretty much set to wake up at 5 pm now
 
Ell
I have to get up in 6 hours I guess
 
Ell
3:43 AM
I need to learn to sleep
 
Ell
4:11 AM
I have an internal crisis every night
 
4:33 AM
This is really dumb. For the 5th day straight, I've had to close my room door and turn on all the computers just to keep me warm.
In fact, I ran them so much that I even found a bug in my Pi program.
 
Ell
Wow
As if you're using your computers for heat
Where are you? Buffalo? :P
 
SF
But it's starting to get cold, and my parents turned off the central heating when they left for vacation.
And no, it's just as dumb (not cost effective) to heat the entire house for just me.
 
Ell
Fair enough
I guess there are no inefficiencies because heat is the desired output
And calculating stuff takes an inconsequential amount of energy
Id just buy a fan heater though really
 
Heating using gas is cheaper than electricity. But the gas heater warms the entire house.
Whereas I can put my computers where I want.
 
Ell
Anyway I should sleep really
Its 4:45
 
4:43 AM
@Ell Not when you have 1000W of computer running.
 
Ell
My internal crisis is the only thing keeping me awake
:P
@Mysticial oh yeah you have a beastly rig don't you?
Anyway I'm gonna sleep, goodnight :)
 
I don't use that one anymore. But I have two mid-end desktops - one of which is loaded to the teeth.
night
 
heya
Using computers to heat the room xD
 
It quite literally kills 2 birds with one stone.
Not only does it heat the room up, but I can do long-running tests on my code.
 
Now that's what we call as an efficient person :P
 
4:52 AM
You're assuming that all infinities are equal. But some are more equal than others. — Mysticial 27 secs ago
 
Some are more equal?
 
You've never read Animal Farm.
:)
 
Infact I haven't
Animal Farm - A Fairy Tale?
 
 
2 hours later…
7:13 AM
so ...
 
7:38 AM
std::for_each seems almost completely useless in C++03
I have yet to come up with a use of it that could not be expressed in fewer lines of code with a traditional for loop.
With arguably more clarity, since the code is not in a struct somewhere away from the loop, possibly many lines above the loop.
@ItachiUchiha Only in a certain sense of the term "fairy story"
 
cpx
7:59 AM
std::std_each exactly shows the intent of user as it is exclusively used to iterate over only each element.
 
 
1 hour later…
Xeo
9:08 AM
mornin'
 
9:21 AM
Fuckin singleton tuples tripping me
 
9:32 AM
Cat using singletons? Who stole your account?
 
@caps std::for_each has been practically useless before lambdas. But I still prefer traditional loops, too :)
 
9:50 AM
@cpx What you're doing in the iteration is more important, and that code is hidden far away.
 
10:10 AM
Good day
 
10:27 AM
it is?
since when?
 
Wow! TIL water ice has types! www1.lsbu.ac.uk/water/ice_iv.html
 
user1804599
> They perform about a dozen physiologic functions, and are fairly easily damaged.
 
user1804599
Good job, nature.
 
10:54 AM
what does?
 
user1804599
Kidney.
 
user1804599
No wonder it's crappy when you violate SRP!
 
lol
 
@rightføld Isn't kidney just a filter?
 
@rightføld That's why you have a spare,
 
11:03 AM
@ItachiUchiha lol fairy tale
 
Ell
11:19 AM
What the hell why has nobody been talking?
For very long
 
busy
 
@Puppy With?
 
I have a Doppelgänger :(
 
user1804599
A grey old bastard.
 
We have a tetris tag? Awesome!
I got "-3" for this question and I can't ask now ((( — Mikael Egibyan 2 mins ago
lol
 
11:27 AM
another one bites the dust
 
lol my bro and sis are here\
wat do
 
Set up SO accounts for them.
@rightføld I think I'll finally go ahead and implement that Visual C IDE for beginners. Should I take the opportunity and learn another language in the process, or should I stay with Scala?
I have been thinking about Ceylon and Kotlin lately...
 
@BartekBanachewicz teach them Haskell :P
 
Or if they're married to the JVM:
Frege is a non-strict, pure functional programming language in the spirit of Haskell. It enjoys a strong static type system with type inference. Higher rank types are supported, though type annotations are required for that. The programming language is named after the German mathematician, logician and philosopher Gottlob Frege. While it is not a Haskell dialect, some effort has been put into making Frege look and feel like Haskell. Frege programs are compiled to Java bytecode and run in a Java virtual machine. Existing Java classes and methods can be used seamlessly from Frege. Frege authoring...
 
I can't believe I was the first person to view this
has no one ever searched for the term "fattest criminal"?
 
11:46 AM
@chmod711telkitty nope.
 
I'm writing a small C++ wrapper for Box2D and I'm not sure what to call it. Any creative suggestions?
 
@MohammadAliBaydoun What is Box2D?
 
@MohammadAliBaydoun box2d++
 
@FredOverflow A pointer-infested mess
 
WrappedBox2D?
 
Ell
11:56 AM
GiftBox2D
 
Xeo
@MohammadAliBaydoun Box2C++
 
@FredOverflow So JHaskell?
 
12:21 PM
I'm gonna go nuts if I don't understand why I'm getting `Segmentation fault (core dumped)
`
 
user1804599
@FredOverflow 2D classical mechanics simulator.
 
user1804599
@FredOverflow I prefer Fridge.
 
yeah I do too.
 
user1804599
@FredOverflow You could do it in Clojure.
 
user1804599
At least you don't have to learn a new GUI library. :P
 
user1804599
12:24 PM
Also use clang for completion and syntax highlighting!
 
1:05 PM
/// The default constructor does nothing (for performance).
mat33() {}
 
@TonyTheLion we played Factorio
@Andy you suck
 
just for once, I'm with braket on this
 
user1804599
⟨|⟩🍌🍞
 
user1804599
1:22 PM
Only Inhuman is a great album.
 
Human is also a great album. :)
 
Xeo
lol'd
 
@Xeo :)
 
user1804599
1:39 PM
Ugh, fuck this Vim plugin.
 
user1804599
It shows backslash as lambda.
 
user1804599
wtf why
 
user1804599
bullshit
 
user1804599
they're all stout
 
user1804599
racisten
 
1:56 PM
Is this duplicated code?
lol
How are you scott? long time no see.
 
Yes that is duplicated code
 

« first day (1498 days earlier)      last day (3452 days later) »