« first day (1310 days earlier)      last day (3631 days later) » 

12:01 AM
Evening
 
How does it feel?
 
I think I've only been this exhausted once before.
I can barely muster the strength to type.
 
Good night, then.
 
I'm waiting for the train.
I go away for a day and... That happens?
 
12:12 AM
Yup.
 
I just want to state for the record that I have nothing against LRiO as an owner. Now I'll be out of battery.
 
ITT the robot is an old laptop he sends a few messages and runs out of juice =/
 
I would actually like LRIO as an owner. Given that he is, most of the time, in disagreement with the current ones.
 
Shove LRiO in. Turn up the gravity, make a black hole...
TBH, I don't care who are the owners, as long as I'm not one of them.
 
Why?
 
12:22 AM
@Jefffrey I have enough responsibilty/shit as it is.
 
Woah. It's not like you would be required to do anything.
 
I still believe LRIO is rude.
 
@Jefffrey Someone who would do stuff is more useful. I kinda like doing nothing.
 
I understand the need to state your opinion but the way he does it has too much negativity in its tone and it bugs me.
 
I gotta sleep, and hope the Lounge is not frozen tomorrow.
 
12:24 AM
Night.
 
Night
@Rapptz, is Exception, in Haskell, a bottom type or something like undefined?
I don't understand how this whole "the function should return X but could also propagate an Exception" thingy works
 
Hai!
 
Hoy.
Pretty sure Exception is its own data type.
@Jefffrey Why not?
 
It seems to be a type class.
Well, if a function has type a -> b with both a and b not exceptions. How can a data type of the Exception class propagate via b?
 
throw is Exception -> a iirc
 
12:33 AM
Oh.
 
then there's throwIO which is Exception -> IO
 
Hmm.
What if b is (). How can the data of the exception be stuffed into a unit (via throw)?
I'm probably missing something obvious.
 
Wow... fuck my face... I just now managed to solve the issue I was having this morning because I was accidentally including a library that I didn't need to. sigh
Anyway, how is everyone?
 
It appears to be some kind of magic with raise#.
 
my computer fried last week, so I'm on a Pentium4
and since I can't really play games, I've returned to SO chat
 
12:38 AM
throw :: Exception e => e -> a
throw e = raise# (toException e)
you mean that? :v
 
yup
toException converts the exception to SomeException (Haskell and naming are just awesome)
 
Hi Moo!
 
Hi.
 
Welp, I think I'll hit the sack. Night lounge.
 
12:45 AM
See ya.
 
0/
I hate when the hardest problems to solve are the easiest to miss...
 
 
1 hour later…
2:13 AM
Mods can't reset votes. But they delete the entire question - if that counts as "resetting" it. — Mysticial 11 secs ago
^^ I'm evil.
 
2:27 AM
@Mysticial You're about as evil as a kitten =/
 
TIL Naruto can sing
 
@Borgleader I can't tell if that's a compliment or an insult. :)
 
@Mysticial Kittens aren't evil (cats are but not kittens) so a compliment?
Ball of otter
 
 
1 hour later…
3:39 AM
"Pair programming is good concept but is involve too many programmer."
 
Sounds like something a PHP developer might say.
 
"In devops is turtle all way down but at bottom is perl script."
 
The grammar of the statements are wrong.
 
Who's giving you these quotes? Yoda the programmer monk?
 
@RobertHarvey some guy on twitter called @DEVOPS_BORAT
@Rapptz Correct that is.
 
3:44 AM
Ah, that explains a few things.
Does he wear a slingshot thong while he's tweeting them?
 
pretty sure he just uses google translate to/from russian a few times
 
Or maybe just once.
 
for example
this is what I got after 2 times:
Looks like PHP developer could say.
 
user3010322
Does std::initializer_list have random-access operator[] on it?
 
what does cpp reference say?
 
user3010322
3:49 AM
Nope.
 
You can't do anything with std::initializer_list except size, begin and end
 
user3010322
Kinda sucks if it doesn't have it.
 
Just do begin() + n
 
user3010322
Rather than begin() + n I'm doing [] for all the types, because it's necessary for all of these things to be random access.
 
begin() + n only works on random access iterators.
 
3:51 AM
or be really fancy and use std::advance(begin(), n)
which should work with anything, and gets inlined to begin() + n for random access iterators
 
The sad thing about std::initializer_list is that it's useless.
 
how come?
 
It's only meant to be a temporary and it's not deduced by templates. There's a silly exception for auto though.
 
4:07 AM
oh lol
I just looked at the starboard
lots of popcorn was to be had
 
You bet...
 
damn this kid is smooth
hint: watch WHICH ball he gives
 
user3010322
4:35 AM
@nightcracker Clever mother fucker.
 
@ThePhD daughter* fucker
 
user3010322
Lol.
 
@nightcracker Good point--mothers not being daughters, after all.
 
@JerryCoffin Well, every mother is a daughter, but not every daughter is a mother.
@JerryCoffin and I highly doubt the girl in the video was old enough to be a mother
 
@nightcracker True--but daughters who get fucked do tend to become mothers...
 
4:39 AM
@JerryCoffin I guess a daughter fucker is needlessly complicated after all
Every girl is a daughter, and the general term for a guy hammering away at females is heterosexual :P
 
@nightcracker Young enough that she we can hope she wasn't/isn't, but old enough that she's might well be physically capable.
 
how to make the big bang theory even worse:
 
worse? big bang theory is awesome!
 
@Code-Guru not really
 
pft
 
5:01 AM
Hey.
And who says BBT is bad?
 
BBT?
 
Big Bang Theory.
 
oh...right
just tabbed back to the chat and didn't quite follow the earlier thread
solved any PE lately, @Rapptz?
 
Nope.
 
Out of curiosity, is it bad coding practice to create a protected header file that holds all of your #includes? So you just include the one, master header?
 
5:05 AM
Something like: #include "chucknorris.h"?
 
Yeah, that just holds all of the headers and global variables.
 
you shouldn't have global variables
 
I've been doing it for a while now, but never bothered to ask if it's bad practice. Idk if it bloats the files at all or causes linkage problems.
 
and having a global include is just a bad idea
 
Why did I leave it until 6am to come home
ffs
 
5:08 AM
Okay, so I should just include everything individually as I need it?
 
yes
 
What about libs like iostream or the SDL headers that I use in every file?
 
0
Q: Pros/ Cons of using one big include file

PeterI've got a personal project, which I doubt would exceed 20 pairs of header/cpp files. I was wondering whether it would be better to have each header and cpp file include the other files that it needs (or use forward declarations), or have every file include "Includes.hpp" which in turn includes a...

 
Ah, okay, thanks. I'll give that a read.
 
@Somberdon Same story.
 
5:15 AM
It mentioned that it would cause increased build times, but as long as you're not making your own alterations to the STL or Graphical Library, that shouldn't really be a problem, should it? I would hazard that linking external libraries into a convenience header wouldn't bother much in most files, as long as you only include it in files that use all of the headers.
 
What's the point of including more than is necessary?
 
Xeo
Ugh, which idiot had the bright idea of setting my alarmclock to 7am...
 
You?
 
Like I said, I'd only be including the most important headers that are use in virtually every file, so it shouldn't waste any space including files where they're not needed.
Thinks like the STL
But I'll take your advice and slim it down to only the necessary files.
 
Xeo
@Rapptz Nah, it was yesterday's me. Damn jerk
 
5:19 AM
And just manually include the rest.
 
@Somberdon BTW, it's not called "The STL", no matter what your book or professor have told you. The STL is something else; something historical that still exists but is different from The C++ Standard Library, which is what you're really using.
Just FYI.
@Xeo No comment. :)
 
Ah, I didn't know there was a difference. I'm on in school for programming, that's just what I've always seen it referred to as.
 
@Somberdon It's common practice if you use precompiled headers to precompile a single catch-all header that itself includes all your common, utility headers. That's fine. Beyond that, you're just shooting yourself in the foot for no reason.
@Somberdon Yeah, it's a massively widespread mistake.
 
Xeo
@LightnessRacesinOrbit what?
 
5:21 AM
@Somberdon I did
 
So what, I'd just compile the master headers into a separate library and link to that from my project?
 
precompiled headers have a catch
at least in GCC/Clang
I don't know how it is in MSVC though
 
The entire purpose of headers is that they contain declarations needed in TUs. Linking those in after-the-fact defeats the object and means you will not have your declarations available at compile-time.
 
Xeo
agh, I still need to finish ckeaning up this room
 
5:23 AM
@Rapptz They do, but go on, so I know that we're thinking of the same thing
same compile flags, for one
 
I'm not sure I've used those before, at least not knowingly. And I use GCC.
 
You have to do it deliberately, so if you don't know you've used them, you haven't
 
Fuck MSVC...
 
read that
 
5:23 AM
They're of barely any bloody use performance-wise anyway nowadays in GCC, so fuck it
@Rapptz I've read it many times. As I said, I just want to know whether we're thinking of the same limitation. At least nine are specified therein. Care to elaborate?
 
Also, what would be more recommended for use over global variables? Should I drop them into a namespace or are there more optimal ways of handling it?
 
I think const global variables are okay
 
I may be breaking a lot of ethics by using global class objects...
 
@Rapptz Okay ignore me, then.
@Somberdon At least a namespace
Don't feel too bad about namespace-scope objects, but watch out for static initialisation and all of its pitfalls. Also, if you're writing a library, just don't do it.
 
That makes sense. Okay. Keep from polluting the global namespace, I guess.
 
5:30 AM
Right
 
Well, right now, the only two objects I have as static are the Game class object, which just handles everything and the Debug class object that I have to handle debugging output.
 
Xeo
Lightness Races in Orbit as owner: Yes?
Lightness Races in Orbit as owner: No?
 
Xeo
Let's just try that.
 
Now you're just trying to make me look and feel bad. Thanks a lot, mate.
 
Xeo
5:33 AM
What
 
Xeo
I'm rather impartial to you as an owner, since there's not much we can do anyways.
 
14 stars on sbi removing me as owner. Not going to go well
I appreciate the thought, though
 
Xeo
Oh, I just starred that because it was hilarious.
 
@Somberdon That can be okay
I do try to instantiate such things in main, tbh.
bedtime
 
Xeo
5:35 AM
Meh, I have this weird bump at the top of my neck and it hurts. Gah.
Night
 
So do I, but I have main left to pretty much just create the Game object and call the initializer.
 
@Xeo Got a headache? :P
(geddit)
 
... Get out...
 
Xeo
No, the bump is not my head :P
 
giggle
@Xeo I'm just glad you got it
wasn't my best joke
 
Xeo
5:36 AM
Go to sleep, before I have to correct you again.
 
I'm going to look up precompiled headers for code::blocks, now. So that's nice.
 
and I'm going to vote....
nothing
because I don't really know lightness :(
nor sbi
all I know is that you guys are both.. well.. here sometimes
and I didn't even know you guys didn't like eachother/plonked eachother
 
user3010322
6:09 AM
Okay.
 
user3010322
strided_array_view in the proposal doesn't make any sense, with the constructors it exposes.
 
user3010322
Or at least, the ones it demands you expose.
 
user3010322
It's like they didn't consider the actual implementation of the things at all.
 
user3010322
Or... wait a second.
 
user3010322
These aren't origin arguments.
 
user3010322
6:12 AM
These are strides.... ooooh.
 
user3010322
It all makes sense.
 
user3010322
It's all coming together now.
 
"these are strides"
> strided_array_view
 
Lol, that sudden realization that you've been looking at everything with the wrong idea of what it should be. xD I have that way too much...
 
no shit, sherlock
 
user3010322
6:13 AM
Yeah, well fuck you too.
 
user3010322
It still doesn't make sense in the end.
 
user3010322
 
user3010322
^ Look at that constructor. It's the only one that is not a copy assignment or copy constructor.
 
user3010322
Nowhere does it allow you to specify the origin / offset into the array.
 
@ThePhD eehm, doesn't "bounds" specify that?
 
user3010322
6:16 AM
No, that tells you how big the thing is supposed to be.
 
user3010322
stride is the original strides of the dimensions. Bounds is how big of an area you want to observe.
 
user3010322
The functionaliy demands you be able to offset into the array using the operator[] on the class, and the paper describes such functionality.
 
user3010322
But in its only constructor it gives no such specification to take anything that would allow for that.
 
user3010322
Basically, I've been running around trying to make this work according to the paper when the paper's stupid and isn't even complete. :|
 
user3010322
Fuck Herb.
 
Xeo
6:26 AM
Yo @ThePhD, no reaction to my picture yesterday?
 
user3010322
Eh?
 
user3010322
Picture?
 
user3010322
There was a sexy picture?
 
user3010322
I missed it OH MY GOSH REPOST
 
user3010322
plz
 
user3010322
6:26 AM
Pls
 
Xeo
lol
I even pinged you
11 hours ago, by Xeo
@ThePhD Stuff like this (also, my camera sucks)
 
user3010322
THe one on the left reminds me of Kingdom Hearts (II, style of clothing)
 
user3010322
I have no idea where the figures came from
 
user3010322
BUT I LIKE THEM YAAY
 
Xeo
Touhou.
 
user3010322
6:28 AM
Ah.
 
user3010322
I never played Touhou
 
user3010322
But I've heard like
 
user3010322
lots of things about it
 
user3010322
I should play it. Now that I have freetime.
 
Xeo
It's hard.
Like, really.
I do love the characters and music though
There's also a fan-made Touhou anime, since ZUN (the creator of Touhou) doesn't seem to want an official one.
 
6:35 AM
Touhou is such an awesome game...
Series of games, rather.
I haven't played the latest one. The last one I played was Great Fairy Wars.
 
user1804599
7:32 AM
@Somberdon Pass them around instead of making them global.
 
user1804599
Makes reusability and reasoning about it easier.
 
I've decided to use a namespace with the main classes.
For the unique ones, anyway.
 
Why am I still awake?
It's 1:35 am here...
 
user1804599
Because you did not start sleep yet.
 
user1804599
Duh. Are you that dumb?
 
7:36 AM
no, I"m just looking for a deeper answer =p
 
Maybe your sleep.exe wasn't compiled properly.
Have you tried turning it off and back on again?
 
okay...maybe not that deep
@Somberdon that sounds like a possibility
what's the meaning of life?
 
@Code-Guru 42, of course.
 
umm...I must be having network problems
 
I hit return by accident. It's not you...
 
7:38 AM
oic
well, I'm having network problems, too...had to click retry like 4 times on each message.
and it doesn't help that I slept until 5 pm yesterday.
 
Some days I'm lucky that I wake up at all...
 
@Xeo voting for "LRIO as owner: No" is also hilarious
 
I feel the same some days
Was LRIO an owner? or is that starred message a fake?
 
He was temporarily assigned one due to drama.
 
oic
everyone should be a room owner!
 
7:44 AM
That sounds like an atrocious idea... Lol.
Fuck me right in my unflushed console stream...
6
 
@Somberdon now now
 
-27
Q: Swearing in chat

please delete meEvery time I enter a chat room, I find lots of swears, so I flag them. Room owners also change room names into inappropriate words. I find this as a serious problem, because it's bad for children. Does anyone else find this annoying? Should mods take care of this? Should Stack Overflow automatica...

 
I'll make sure I only use the class' protected functions while it's doing me like that...
Don't want to get a virus, and sorry.
I find swearing a nice outlet to my frustration. Unfortunately I can't just punch my source code...
 
would be nice sometimes
 
I've been stuck on trying to debug some of my code, but I can't right now because the console isn't working... makes things hard.
I could just output the text into a log file, but that would just be a pain in my asterisk.
 
user1804599
8:05 AM
> please delete me
 
user1804599
Good.
 
ugh are we still going on about this
 
lol, didn't notice the nick change
no, we aren't going on about anything =p
 
user1804599
> Modifying input variable should be punishable under law.
 
user1804599
 
8:08 AM
I do that.
 
user1804599
@StackedCrooked Doodstraf.
 
Morning
 
user1804599
I wonder how often we reassign variables in our code base.
 
user1804599
The entities are all immutable.
 
8:13 AM
Oh joy, drama to read
 
I have to go to plechtige communie today.
 
user1804599
Waarom? Dat is bullshit.
 
We are invited to the party after the ceremony.
 
Speak English!
=p
 
Xeo
welp, time to finally dismantle my PC and then head to our D&D session. See you guys sometime this evening
 
8:22 AM
see ya
 
have fun
 
btw, Mahouka rly gud (the latest one)
 
Xeo
Nine Schools competition is awesome :D
 
gnite, @xeo
 
@StackedCrooked I decided to entirely quit Flag no oratera; also, I checked out like 7 epis of Full moon - didn't like; and Mushishi - ended up not liking too :(
 
8:25 AM
@ScarletAmaranth :(((
let's not be friends anymore
 
I really really don't want to hear that "main" song from the full moon ever again
 
J/K :P
 
it's so horrible it hurts :D
so I need a new anime really : - \
 
Flag no oratera is fun imo. But never considered it to be top notch.
@ScarletAmaranth you haven't even heard the "Eternal Snow" song.
 
@StackedCrooked did you finally check baby steps?
If yes, your thoughts?
 
8:30 AM
It's still enqueued.
But it's always good to remind me.
 
ill youtube eternal snow
 
Because it's a lossy queue.
 
Well that might be good too, since if you ever started watching it, you would have a lot of episodes to watch in one day
 
@StackedCrooked it's pretty meh too : - \
 
What about Kaichou wa maid sama?
 
8:33 AM
@HamZa I should give it a proper chance. I think I tried it over a year ago but didn't finish the first ep.
 
@StackedCrooked I almost didn't finish the first ep of F/Z - ewww, exposition fail
 
F/Z?
 
fate / zero
 
Oh... I dropped it...
 
user1804599
Stop dividing by zero.
 
8:38 AM
lol
@rightfold btw are you mad at me?
 
it's ok @rightfold, I just coerce bottoms true monad style
 
user1804599
Bullshit.
 
user1804599
You don’t need monads to perform division.
 
user1804599
KISS.
 
Is there a way to forward declare a template specialization?
 
8:40 AM
Just FYI I'm not mad at you
 
why does the removal of lrio have 14 stars?
@HamZa don't worry man :)
 
He doesn't reply, so maybe he has ignored me...
@JohanLarsson meh, since that incident with 'insulting god' meta thingy he doesn't reply. So...
 
user1804599
TIL Scala has a Turing-complete type system.
 
I think I must go for a session at work, have code I want to write but for some reason even sitting up feels like effort while at home.
Huge syntax
^ is the syntax for a bindable property in wpf, on the huge side imo
 
Oh nevermind. Forward declaring a template specialization is just a stupid definition without the body. I'm an idiot. Why did I think it would be different from any other function?
 
8:51 AM
guys, what do you think about TypeScript?
 
I never used it either but it looks cool.
 
Ugh... I just know this bug is something stupid...
Something that I'm completely overlooking.
Always is...
 
user1804599
@Abyx It is useful but it’s not very featureful.
 
user1804599
I really miss extension methods and variadic generics.
 
user1804599
Generators and async/await are announced though.
 
user1804599
8:57 AM
No, but they are present in superior programming languages.
 
user1804599
Also I’m not sure if/how covariance and contravariance work in TS.
 
user1804599
And constraints.
 
@rightfold when did you try it?
think they have put in some work in it, I never tried it though
 
user1804599
@JohanLarsson last Friday.
 
:) then you knew it was friday
 
user1804599
8:59 AM
I wanted to write a stream library in it, but without either extension methods or |> operator, it’s a pain.
 

« first day (1310 days earlier)      last day (3631 days later) »