« first day (1623 days earlier)      last day (3308 days later) » 

1:04 PM
hah
some idiot politician who wants to be Prime Minister idioted himself out when he stated that the election would go to either him or the other guy.
 
breaking news: UK has coalition for the last five years and will probably have another.
 
Perhaps the downvoter of all placement-new answers could grow a pair and explain themselves? — Lightness Races in Orbit 14 secs ago
(inb4 don't be sexist) — Lightness Races in Orbit 9 secs ago
 
@LightnessRacesinOrbit Could be a pair of boobs.
 
butt cheeks grow in pairs too :'( ... & so do eyes n nostrils ... wtf, arms and legs too?
 
1:06 PM
maybe self driving cars arent such a bad idea
 
we already knew that
 
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
Third Friday in a row with unbearable tinnitus :<
 
@R.MartinhoFernandes lolol
 
@R.MartinhoFernandes :(
 
I still can drown it out with not excessively loud music, but I wonder how much good that might do in the long run.
I think I need to see the doctor again.
 
1:10 PM
I also need to see the doctor for additional treatment for a chronic condition.
 
user1804599
 
user1804599
It renders "ff" in a really ugly manner.
 
Get a font with prettier ligatures.
 
@райтфолд what the hell?
 
@R.MartinhoFernandes ah, you are allergic to Fridays
 
1:12 PM
@BartekBanachewicz You there?
 
bloody favouritism in this shithole. I'd get blasted for posting something like that about another user.
 
@LightnessRacesinOrbit Double standards
 
@khajvah yes
@Puppy Breaking news: The UK has never had more than one Prime Minister at a time.
literally just came up on my FB feed. good timing!
and, underneath it: dailymail.co.uk/news/article-3012689/… /cc @R.MartinhoFernandes
 
Why is that news :/ Records get beat all the time.
 
1:17 PM
@Jefffrey yes
 
@LightnessRacesinOrbit I don't know, it's just feels either mundane, or that they found this cool video on Facebook and didn't realise there's a lot more going on.
 
@BartekBanachewicz If I use the latest OpenGL binding I'm only able to use 4.5, right?
 
> University of Westminster student was blindfolded when he set record
 
Unbelievable! He was blindfolded when he set the record for blindfolded solving!
 
1:18 PM
Like here it says "Haskell binding for the OpenGL graphics system (GL, version 4.5)"
 
@Jefffrey 4.x
 
So I can't use 3.2+, right?
 
you can.
 
@BartekBanachewicz Ok, it's an upper limit then?
 
oh man i removing all the smart pointers, it feels so good
 
1:19 PM
mhm
@Pris and replacing them with what
 
@Jefffrey Getting ready?
 
@Mgetz people who can't code, they're envious
 
user1804599
How do you get Ninja to not dispose of clang's colours?
 
@Mgetz @Marco China
 
@AndyProwl Yeah, I'm doing some research. If I choose OpenGL it will be a roulette.
 
1:20 PM
@BartekBanachewicz pure adrenaline danger filled RAW pointers
 
@Pris there's no "adrenaline" or "danger filled". There's just sheer stupidity.
 
user1804599
CLANG_FORCE_COLOR_DIAGNOSTICS perhaps.
 
@BartekBanachewicz eeeyup
 
@Jefffrey Haskell?
 
I'm casting aside the chains and restrictions of smart pointers
 
1:20 PM
@Pris if you can't integrate smart pointers that means your design sucks in the first place
 
@AndyProwl If I go with OpenGL yes
 
@райтфолд Wrong. Ask clang to give colours to ninja. -fcolor-diagnostics
 
Cool
 
Clang won't write colours if writing to a pipe, unless you ask it.
 
I agree with Nick Bartek
 
1:21 PM
IGTR
 
user1804599
@R.MartinhoFernandes neat.
 
user1804599
@R.MartinhoFernandes That seems very reasonable.
 
user1804599
Does it check that with isatty(STDOUT_FILENO)?
 
Something like that, yeah.
 
I have a toe.
 
user1804599
1:22 PM
Nice.
 
stderr, though.
 
@BartekBanachewicz same thing
 
user1804599
Though I recall it using dingus what's it called
 
user1804599
ncurses
 
hmm I should update Hate to use newer OpenGL
soon soon
 
user1804599
1:23 PM
LLVM has a dependency on ncurses :lol:
 
I guess ninja could launch clang in a pseudo-terminal, but that is starting to border on too much work.
 
user1804599
/usr/include/llvm/Support/Allocator.h:421:65: error: 'S' does not refer to a value
      Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x)));
                                                                ^
 
user1804599
Absolutely terrific.
 
Not just too much work, but possibly weird interactions with other stuff as well.
 
user1804599
It works. :)
 
1:26 PM
In today's edition of Bartek's Code from 2012:
CEntityMgr::~CEntityMgr(void)
{
	BOOST_FOREACH (CEntity* i, m_Data)
	{
		delete i;
		i = 0;
	}
}
(Indented using tabs)
 
lol
owch.
 
I don't wanna look at my code from 2012
 
@Puppy there's literally nothing that this code does right :D
 
@LightnessRacesinOrbit lol, the gratuitous Miliband mention.
 
@BartekBanachewicz lol
i kinda sympathise
many of my ideas from 2012 were like: "Let's make every-fuckin-thing mutable!".
 
1:29 PM
Bartek just had a syncope.
 
syncope?
 
@BartekBanachewicz hey you rolled foreach! that's... something
 
yeah, and introduced boost dependency in that TU just for that foreach
 
Its going to be a long day
 
1:32 PM
QtC
 
I like how you link to a message in the transcript, whose immediate neighbour is you calling the service "twatter". — Lightness Races in Orbit 7 secs ago
 
C++ tutorials suck. I had to read the damn proposal to figure out void_t.
 
1:48 PM
I wonder if there is some way to reuse the std::false snifae function so it won't have to be retyped in future traits. ideone.com/JH28oV
well decleration
 
> snifae
It's SFINAE :P
 
fail
 
@BartekBanachewicz that's the worst part
 
SFINAE failure is not an error
 
substitution*
 
1:49 PM
@AndyProwl it's when SFINAE is snafu
 
xd
happens when i use acronyms
 
user1804599
 
@райтфолд lol
SFINAO
 
user1804599
Jun 13 '12 at 17:12, by FredOverflow
Substitution failure is not acceptable!
 
user1804599
> Perl 6 will be ready by Christmas. But we don't know which one.
 
2:01 PM
You know I think I will be using void_t just so that I won't have to retype the sfinae function in all traits even thought it won't save typing.
though*..
 
@Veritas Would always require something like a using.
Guess it's still better than spelling it out.
 
it would also require all the template stuff
just annoying
 
probably talking about different things again
 
The false overload can be just replaced by using trait::snifae.
 
2:04 PM
new stormtroopers
 
mm, Graham Sellers just joined ##vulkan
 
a.k.a. Cylon Centurions but not so awesome
 
@Puppy How does that look like a centurion at all
like even remotely
 
@Puppy About as good at aiming, though.
 
@R.MartinhoFernandes Centurions fired a hella lot of bullets, though, and they could take a lot more damage I feel. They simply didn't need precision accuracy.
 
2:06 PM
@Puppy But they rarely hit anything, just like stormtroopers.
 
 
struct has_member_type_impl : trait_impl {
    template <typename T, typename = typename T::type>
    static std::true_type snifae(int);
    using trait_impl::snifae;
};
template <typename T>
struct has_member_type : TraitOf<has_member_type_impl, T> {};
@Veritas Still boilerplatey, but the messy bits are away.
 
@R.MartinhoFernandes They killed quite a lot of redshirts, but I can't name a single time that they succeeded in hitting any of the major characters.
 
user1804599
I need an advanced glob implementation.
 
user1804599
Maybe I can extract Z shell's (haha probably not it probably uses globals and shit all over the place).
 
2:14 PM
One of the 5 despots for Groovy is setting up an alternative website to take control of Groovy away from the other 4, hence the redirect. He also posts notifications about Groovy on his personal website instead of the Groovy users mailing list, and for the past year has been soliciting subscribers to a weekly mailout he controls. — Gavin Grover Dec 9 '14 at 23:35
Geebus.
 
user1804599
Ooh it's only 3788 LoC!
 
Git compresses stuff, right?
 
user1804599
Absolutely.
 
> <Overv> I'll write a mantle driver for bellard's linux in javascript
 
user1804599
I guess I can use this code if I make the globals thread-locals instead.
 
2:18 PM
does anyone know why clang says sometimes "no known conversion found ..." and sometimes "couldn't match..." ?
 
@R.MartinhoFernandes You are right. It indeed has some noise but it should be fine.
 
basically i have an bool operator==(type, type), and i'm trying to:

auto b = some_type_convertible_to_type == type;

but the conversion is not triggering, the function is found but clang says couldnt match some_type_convertible_to_type to "type" instead of no conversion found
match means couldnt deduce the template arguments :D
thanks psycho @ loungec++, talking the problem out loud solved it
TIL, so I share as a big thankyou
in a template class, I had implemented operator== as non-member non-friend
and thus was deducing its arguments
that means that implicit conversions wont trigger for operator==()
 
bah
 
since the arguments wont be deduced
 
gonna have to cancel an important thing.
 
2:28 PM
if you make it a friend non-member
 
@Puppy why
 
you can specify the parameters
 
sicness
 
so these dont have to be deduced anymore
so implicit conversions trigger automatically
 
@Puppy aren't you treated or something
 
2:29 PM
the prefer "non-member non-friend functions" recommendation is a fuckup
prefer non-member friend functions
 
seems like I need a higher dose
it's not a treatment, just prevents the occurrance of symptoms
mostly
the better question is what do I tell my sister since she is not very happy about sickness right now
 
@Puppy why? what?
you have a sister?
 
yes, I have a sister
 
older or younger than you?
 
I am not going to tell you about my sister.
 
Xeo
2:38 PM
Siscon. You just wanna keep her to yourself.
 
more like, I am not going to tell Random Internet Dudes whether or not my sister is in their age range.
 
"prefer non-member non-friend functions" should be "prefer non-member non-friend functions UNLESS you want implicit conversions to work with class templates"
 
@Puppy note how my question wasn't about that in the slightest
perv.
 
well, I imagine that you have a fairly accurate estimation of how old I am, so the question you asked and "Is she in my age range" could easily be effectively equivalent.
 
12
@Puppy Bartek's trying to be Cunning[ham]
 
2:43 PM
no, not really.
 
inb4 Morgan Cunningham asks you for information about your sister
HELL'S BELLS
 
user1804599
I want Boost.Perl.
2
 
@райтфолд Use SWIG?
 
user1804599
What is SWIG?
 
@райтфолд www.swig.org
 
2:49 PM
@Jefffrey I've asked the guy to explain who he is and why he's asking and what my opinion will be used for. If it's for commercial use then he'd better be paying!
 
user1804599
Cool.
 
seriously is this common knowledge?
It cost me a bit of a headache to find what was wrong in a real world system :/
 
fuck real world
 
@LightnessRacesinOrbit I got the same email because I posted something in boost, or in some c++ mailing list, marked it as spam in gmail.
@BartekBanachewicz you knew this?
 
knew what
 
2:53 PM
@gnzlbg They seemed to be picking out C++ google groups members
 
@BartekBanachewicz that if you want implicit conversions to work on a non-member function of a class template, you need to make it a friend function
 
hmm this OOP in haskell thing is turning out a bit annoying
 
@LightnessRacesinOrbit if you make it a non-member non-friend template function, template argument deduction fails, if you make it a friend non-member non-template function, there is nothing to deduce, and implicit conversions can work
I wrote it here, maybe it is BS, but that is how I understood it, am I wrong? If so please destroy me!
http://stackoverflow.com/a/29303442/1422197
 
user1804599
@BartekBanachewicz objects are just tuples of subroutines!
 
2:57 PM
@райтфолд I need state
or, in particular, functions associated with data
and that data type has to be kept by my framework and that's annoying
 
Hmmm, there are no train connections with bike compartments across the Channel. England sucks.
 
@BartekBanachewicz Pah, just create closures over your data! Wait...
 
@LightnessRacesinOrbit there is some code in the SO answer, that might make it clearer
 
first Google result for "eurostar bicycle"
 
user1804599
2:58 PM
@BartekBanachewicz IORef
 
@gha.st that works with dynamic typing
 
@gnzlbg yeah I took a quick look. might have a better look later. but you basically just gave me a headache :)
 
are there any other trains going through the channel besides eurostart
 
@райтфолд thought about it and dismissed as last resort. I managed to get it working with existentials so far
 
@LightnessRacesinOrbit Hmm, luggage.
 
2:59 PM
@gnzlbg only freight trains and the eurotunnel car shuttle
 

« first day (1623 days earlier)      last day (3308 days later) »