« first day (1858 days earlier)      last day (3316 days later) » 

17:00
@Mr.kbok I'm really liking pugixml, the xpath is simple and I have no singletons :-) The only problem is that xml parsers are too strict about xml rules, so I have to run TIDY on html before parsing.
@VillasV yeah, you'd have that with any xml parser though. If you really need to parse internet-grade html, I'd recommend HTML Agility Pack, but that's .NET.
user3790646
Hello.
Ell
Ell
I wish html was xml also :S
XHTML5 would be good, then there'd be no need for html parsers, only xml parsers
user3790646
@Ell Happy birthday :D
Ell
Ell
@Andrey thanks :)
17:05
@Ell I guess all you need is to convince the whole world to do it
Yeah I wish XSLT became more a thing, this way HTML would be XML-generated and therefore valid XML. But the workflow is boring and people don't care.
XML parsers tend to suck, though
Also ugh fuck XSLT
I like XSLT :(
It's the most horrid language I've worked with.
xslt sucks in a lot of aspects
it was just a bad idea imo
Hmm I think it is ugly, as everything done in XML tend to be. But I like the idea of designing documents first in XML-Schema and then create a XSLT on top of it.
Doesn't make sense in all scenarios though
17:11
//-----------------------------------------------------------------------------
//
// ETF implem entation
//
//-----------------------------------------------------------------------------
> etf.cpp
well no shit sherlock
Haha that's what I get when I use Automineer to generate some comments
// The name
string name;
I hope you didn't pay for that tool :p
Nope, just the trial :^)
It is a good tool tough, it's just that there's no reason to comment everything
@Mr.kbok lol
Don't see a value in tool that duplicates what's already obvious from reading the code into a comment
Esp not 55€ of lol
Ven
Ven
17:21
from a scale from 1 to @Elyse, how horrible to write a "method proxy"-style thing like this? coliru.stacked-crooked.com/a/9b49952844804f48 (operator dot style)
user406009
@CatPlusPlus gotta increase that LOC metric :P
Does it say "toes the string"?
@Ven horribru
Toe was insensitive and was replaced by finger
Ven
Ven
@TonyTheLion what'd be the solution? :[
17:22
What's the problem
@Ven Take up Botany :D
let's talk about null deleters
there's boost::serialization::null_deleter()
Ven
Ven
@TonyTheLion how does that help? :(
there's boost::lambda::_1
why the fuck isn't there one in boost/shared_ptr.hpp
@Ven well you don't have to deal with C++. Isn't that positive?
Ell
Ell
17:24
@VillasV yeah I like the idea
Ven
Ven
@TonyTheLion ...fair point...
Ell
Ell
but it looks ugly as
Ven
Ven
@TonyTheLion maybe there's something in boost or something?
@TonyTheLion I'm going to make up a terrible language named Botany and that will retcon your advice into my own publicity
No but really what's the problem
17:28
Kick Ass 2 was a lot less novel. But not bad.
why name your language botany
@Mr.kbok retcon?
user3790646
@TonyTheLion Don't you know what retcon means, bruh?
Retroactive continuity, or retcon for short, is the alteration of previously established facts in the continuity of a fictional work. == OverviewEdit == There are various motivations for applying retroactive continuity. The changes may occur to accommodate sequels or derivative works, allowing newer authors or creators to revise the diegetic (in-story) history to include a course of events that would not have been possible in the story's original continuity. Retcons allow for authors to reintroduce popular characters and resolve errors in chronology. Retcons are common in pulp fiction, especially...
Hmmm I see
17:33
I feel like I'm going overboard with namespaces everywhere in my library
> the average density of a supermassive black hole [...] can be less than the density of water in the case of some supermassive black holes.
Ell
Ell
@Mr.kbok wut
can you swim in it
@Ell Yep, it's counter-intuitive. The radius of a black hole is proportional to its mass. But volume is radius^3.
17:44
@Ell the average density is defined in terms of the event horizon
Ell
Ell
I'm not going to attempt to understand
:P
@Ell it's very denser in the center :p
@Mr.kbok Depends on the frame of reference. If you're outside the black hole, there isn't much in the center of the black hole because it takes infinite time for anything to actually reach the event horizon.
Ven
Ven
is there a way to have unbounded variadic macros? Maybe boost has something?
But if you're the one falling into the black hole, then you'll cross the event horizon in finite time and you'll see that the center is pretty dense.
17:48
what would an observer see if they saw someone fall into a blac hole and viceversa
At least that's what General Relativity says. Things might break down when you reach quantum levels. That's an unsolved problem atm.
I have functional paralysis
@Prismatic The observer will see that the victim approaches the event horizon but will never quite reach it. Basically, it's an asymptote to time infinity when they reach the event horizon. (If you ignore the fact that they'll be ripped apart by spaghettification.)
@Prismatic But I'm not sure what happens if the you get very close to it, then the event horizon expands because the mass of the black hole has increased. I'm much less knowledge about the non-static scenario.
17:52
> the average density of a supermassive black hole [...] can be less than your mother's
:P
Ven
Ven
so, no BOOST_VA_ARGS_FOREACH? aw :(
@milleniumbug lol
@TonyTheLion <3 <3 <3
@Borgleader how is your day today?
@TonyTheLion puurty good so far, yours?
17:57
@Borgleader Well I got some stuff done, but I also am tired today. I didn't sleep so well last night.
Yea I need love
Give me love bby's
<3 <3
@TonyTheLion This is us (I'm the teddy bear <3)
@Borgleader Awwww :) That legit made me smile :) <3 Thank you :) :D
@набиячлэвэлиь UTF-8 in 2015? Never.
Euro at 7-month low against dollar and heading towards US$1.06. Also at 3-month low against sterling. Lovely Jubbly for ECB
@Borgleader holy crap - that's a lot RAM for a GPU
PROCESS ALL THE PIXELS
@TonyTheLion lol yeh, thats how much ram my PC has right now
@Borgleader I have 4GB
But it's a recent 32bit->64bit OS-upgrade
So please don't hurt me
@TonyTheLion Here, have some more: ♥♥♥
@TonyTheLion time to visit paris
18:16
They seem to sell MS product keys for really cheap
They say its legit but I dont understand how they can sell keys for so much cheaper than buying equivalent retail OEM keys
@Prismatic I thought you couldnt even sell OEM keys
@Mr.kbok yea good time to buy some Euros
@Prismatic I doubt EULA covers exchanging licenses between people.
sadly I don't need them right now
@Morwenn :) <3
@Borgleader Why not? What would prevent me from buying an oem windows version from bestbuy and then selling the key to someone?
18:22
By couldnt I meant "not supposed to"
i was under the impression that the MS partners that buy these keys were not allowed to sell them as such, theyre only for selling as part of a package (i.e. as the Windows license that comes with a PC)
Could be. But I would think once you purchase an OEM copy (like bestbuy.com/site/windows-8-1-64-bit-system-builder-oem-windows/…) you are free to resell it. The buyer isn't agreeing not to resell it when they purchase it from a retail place
@Jaden Sure it does. It's what "transferable" means
For individuals I dont think they can do anything, but I think their corporate partners are not supposed to.
@Prismatic Because OEM keys are new keys, and those keys are used keys I would expect.
@TonyTheLion MOOOOOOORREEEEEE RAM!!!!!
18:31
@CatPlusPlus Sure, that counts if it is in the EULA for MS products.
Of course it is
@Jaden Not necessarily.
@Puppy Some of the posts there say they are reselling OEM keys bought in bulk. You wouldn't be able to resell used OEM keys since they are locked to whatever hardware config they are activated with
there are lots of laws stating that some contractual terms are unenforcable.
noob question: how do i cast the type of an int to a float?
Nov 7 at 19:38, by Tony The Lion
Please read the rules. Thanks a bunch.
OEM keys are a pain in the ass
Not worth it
Better shell out bit more for BOX version
shakes cat food hmmmm?
@CatPlusPlus I am curious. Have any particular examples to offer?
retail windows 10 pro for me is $180
18:36
@Pigman168 (float)verbol
equivalent (shady) oem key is being sold for $40
@Jaden Examples of what
@CatPlusPlus how OEM keys are a pain
I'd still save money even if I bought a new OEM key 4 times
@набиячлэвэлиь what would the complete statement look like for variable i for example?
18:38
They bind themselves to the hardware
@Pigman168 You can't cast a type. Only a value.
@Pigman168 (float)i;
@Pigman168 arrrgh extrapolate from it guy
@milleniumbug then why is it called a type cast? checkmate! :p
Upgrade the motherboard? Welp there goes your OS
Want to run a VM? Nope
18:39
@CatPlusPlus as if. worst that could happen is they make you call the robot
@melak47 because you specify a type for the destination, not the source
@milleniumbug ah that makes sense, thanks
kinda sucks we cant change the type of a variable tho
also static_cast<float>(i)
don't use C-style casts in C++
Automatic activation or bust
@milleniumbug hmm, so assignment is a value cast then? :D
18:40
maybe :D
thanks erryone!
the tutorial i looked at used a new variable to 'cast' the type
@OmnipotentEntity how's your std::variant implementation coming along?
float f = i;
so its not needed to cast it in that case?
to assign it to a new variable, that is
18:43
ah ok
also consider reading a book
@milleniumbug y u no continue troll
im reading a very lengthy tutorial which quickly skims over type casting
4269
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

more tuts i guess?
k ty
18:49
@набиячлэвэлиь It's one thing to be unhelpful, it's another to spread harmful misinformation.
you can simply not answer a question, or direct them to somewhere else
but don't spread badness around
Ell
Ell
Meh I'm confused
why can can't I implement Functor for a unary type constructor?
dunno, why couldn't you
Ell
Ell
actually it makes sense
18:58
@набиячлэвэлиь Troll @Nooble if you need someone to troll.
@melak47 I've written everything, now I just need to write tests. And fix compiler errors, and find out that my approach to TMP is braindead and I need to rewrite large portions, and so on.
@TonyTheLion He's got trolling overdose already
Donno what to eat for dinner
@TonyTheLion pizza
19:00
@TonyTheLion pasta
@TonyTheLion Get wicked drunk instead
@набиячлэвэлиь One beer and I'm drunk :|
@melak47 Here's what I have so far: pastebin.com/JvgNunbL
@TonyTheLion Inexpensive solution :o
drinking is not really my thing
user1804599
19:06
Ho lee fuk.
Wan sum fuk
they're brothers, wan sum fuk and ho lee fuk
@OmnipotentEntity oh, as a patch for libstdc++ :/
Ell
Ell
wait no it doesn't make sense :(
let's say I have
user1804599
I want Minecraft but without the glitched boats.
Ell
Ell
data MaybeInt = Nothing | Just Int
this has kind *, but why would that prevent me implementing Functor?
user1804599
19:09
@Ell You can only implement it for a unary type constructor.
user1804599
@Ell That's a nullary type constructor.
Ell
Ell
dammit I meant nullary :V
user1804599
@Ell Because Functor takes * -> *.
Ell
Ell
@Elyse but why?
whyyyyyyyyyyyy
why ell why
user1804599
19:10
Because how else can fmap have type (a -> b) -> f a -> f b?
Ell
Ell
a is just Int here :3
somehow :P
yeah but what is b
user1804599
Can't do that. It's not a functor then.
Ell
Ell
mayn
that means I can'd do applicative or monad either :(
poor ell :(
hugs ell
Ell
Ell
19:12
n'aww tony
@melak47 it's not that hard to convert it to its own header. The code only uses very few gcc impl specific things.
@Elyse github lists my only f# repo as html
@JohanLarsson Good job
Hi back
19:14
Hi back
how is front?
About to get fed
So very well
@TonyTheLion dunno, lemme call him...
Sweet & sour pork :p
Handmade
om nom nom
Ell
Ell
19:16
@Rerito unfortunately for you :P
<----- this lion here fancies some
@TonyTheLion I bet you would, it's killer :p
@набиячлэвэлиь found the culprit, had checked in an upgrade log, no idea where it came from
Why is boost trivial log interfaced with a macro instead of a function? Is there any benefit?
__LINE__ and __FILE__ information.
But this shouldn't be true anymore once std::source_location is available.
19:23
@Morwenn ohhh
sounds like an improvement
Hmm, I didn't even know it collected those info. Good to know ;^)
@VillasV Well, you generally want to know where the log comes from :)
Oh hey, I know that name Villas.
@TonyTheLion Yeah, I hope it won't be broken :D
@Morwenn there is always that chance
19:24
I didn't know you hanged around this channel
s/hanged/hung
Also, goat+sheep cheese (cc @Morwenn)
user1804599
horse-hung
@Rerito What name?
No name... The tag just says "goat/sheep mix", it's common in Pays Basque though
19:26
One or the other. Anyway, I sent in a thing to the EWG back in May. And I wanted your actual opinion on it. #189
@OmnipotentEntity Someone knows my name? What did I do wrong? :^)
@OmnipotentEntity I don't very much actually, its finals week so I don't want to study... but now I'm getting addicted
Lol, I hear you. I'm in math class right now
I fucked up my index unloading a bar this morning and walked straight into a dog shit before getting home
That's a... shitty... day -_-"
You know what, case of mistaken identity
Ville vs villas
19:30
@OmnipotentEntity I figured. No one would know a guy with 63 rep.
@AndyProwl What are "le minne"?
@Jefery No idea
Tits
Ell
Ell
Man I hate the fact our tutor makes us use literate haskell to write reports
19:33
illiterate haskell
hey consider a PHP subset with no stdout - it supports literate programming too!
Ven
Ven
@milleniumbug "All the things you echo; all the things you echo, running through my head"
@Prismatic Awesome
@Ell Why does he care what the reports are written in?
Ell
Ell
19:42
@Puppy idk vOv
inb4 his tutor is Donald Knuth
user406009
@milleniumbug It's probably Bartek.
Ell
Ell
Nah he is a really good professor in every other way
Apparently I broke my vergesort when I introduced projection parameters. Hours of fun to debug that...
apparently your face
19:45
sup with pup these days?
@OmnipotentEntity in your __tuple_find_impl...are you trying to enable_if a variable template? is that legal? o.O
@TonyTheLion He wants someone to sit on his face
@Borgleader Good for him, but I'm not a volunteer. Not my thing.
user406009
@Borgleader Isn't that illegal in the UK nowadays?
@Lalaland Its illegal to make porn with that in it
19:48
though you can watch porn made elsewhere that has it
sleeeeeeepy
user406009
@EtiennedeMartel Yep. It's quite obvious that ISIS wants a war.
19:50
@Puppy looks mad that you woke her (him?) up
her
@EtiennedeMartel what a bunch of cunts
@Lalaland They're already getting one; just not against the right people
@Lalaland Not only they want a war, they want the West to push every single Muslim towards them.
They're trying to make the West hate all Muslims so that they can later on recruit those people.
user406009
And the right wing groups are playing right into their hands.
19:51
ugh what a despicable purpose
eh
it's a simple matter of evolution
@Lalaland I think they also want a war, so it's to their advantage.
yeah, I'm honestly not sure that the right-wingers don't think that's a perfectly fine outcome
user406009
Correct, most right wing groups would do well in a war scenario.
I wish we could just only recruit them as soldiers
just be like, "You hate Muslims? Here's a gun, go to Syria, go shoot some Islamic State fighters".
then we could get a double win of killing some IS folks and cleaning out our own gene pool
19:54
i miss overloading in f#
user406009
@Puppy There would be lots of Syrian civilian casualties though.
@JohanLarsson yeah, it stems from ocaml
user406009
And waging war with ISIS just legitimizes them.
eh
war doesn't solve anything
19:55
it also kills them, which is fine by me.
user406009
I actually think that accepting refugees is one of the best ways to solve this.
and personally, like it or not, IS may as well be a genuine state by now, they have enough control, territory and organization to qualify.
user406009
Educate the people and let them understand that we are not their enemy.
they're a state full of dicks I'd like to drop bombs on, but probably still a state.
and then new groups form.... and history repeats itself
19:56
@Puppy I don't think they do. Have you seen a map of Syria?
@Prismatic Don't forget to add a bunch of Iraq
Interstellar is pretty good. Some nice visuals and decent drama.
@Lalaland yes, education would definitely help
Still waiting for the ending.
@Lalaland that sounds all good until they start to change you
19:57
@TonyTheLion I agree really
Well yeah, I mean just look at the regions that are in conflict / under their influence. I don't think they have enough stability and control to be declared a state
It seems like a mess
user406009
@Abyx Well, the US has done pretty well with all our previous immigrants.
@Prismatic imho it is a mess, not just seems
ultimately, there's nothing anybody can do for the various Muslim groups who don't get along, they have to learn to get along for themselves.
> there's nothing anybody can do
surely thats not true
19:58
@Lalaland yeah, but that was years ago, before all that tolerance and human rights crap started to grow
They were forced to get along under the iron fist of Sadam and Assad
well
just look at what happened when we tossed out Saddam and Gaddafi
Looks like I've fixed the bug. It was faster than I thought.
turns out they might have been the lesser evil after all.
user406009
@Abyx I mean, we have already absorbed tons of Vietnamese and Mexican immigrants and that hasn't caused the collapse of the US.
19:59
@Puppy possibly
user406009
If anything, most of the asian demographics in the US are leading the nation.
you cannot touch their culture because that'd violate their rights!
really
@Lalaland There is a wholly different concern with refugees from this crisis
@melak47 dunno, I'm probably asking too much on that one
19:59
@Puppy We know how to fight against a state, not how to fight against an organization that is pretty much all over the place.
unless the Sunni commit genocide, they are going to have to learn to get along with the Shia.
it can't be avoided.

« first day (1858 days earlier)      last day (3316 days later) »