« first day (1652 days earlier)      last day (3290 days later) » 

2:00 PM
The normal response vs brave outspoken response seems to be inverted
Mind you, white America has barely figured out black people yet, so...
inb4 wah wah wah anti-America agenda
 
so basically people react negatively to someone being transgender
 
paint it how you like
@AlexM. A huge number of outspoken cretins calling it "evil" and "selfish" etc yeah
 
Well sure it's just I don't feel that great about people that need to really change their own sexual organs to feel comfortable with their identity, I guess. It feels wrong or unnatural, but I don't need to judge here so I usually don't say anything
 
I can't see a whole picture of course, only the cretins on the internet in comment threads. That's not a representative sample, I guess.
But I never see that particular hatred from European internet comment cretins.
 
@LightningRacisinObrit eh, the solution is just to not read that stuff
3
 
2:01 PM
I mean gender identity is a huge thing, especially in America.
 
I also disable chat in places I go e.g. twitch
 
Why especially there?
@AlexM. That's not a solution. It does not fix anything. It shelters you from it.
 
@AlexM. Sticking your head in the ground is never a solution. It doesn't solve anything but yourself
 
well yes
that's what I want
to not read what I don't like
so I don't get annoyed
 
2:02 PM
Okay, solves the problem for you
I'm not annoyed; I'm flabbergasted and disappointed.
 
Ven
@rightfold fromRows should use safeHead =P
 
user1804599
No.
 
@AlexM. That's fine. You solved 'your' problem
 
user1804599
That would incur an unnecessary dependency.
 
And I think that's a healthy reaction. If more people had it rather than burying their heads in the sand then perhaps shitty cultural attitudes would have a chance at change.
 
user1804599
2:03 PM
This is just fine.
 
my biggest problem now is that I could not order my burger :(
and I had to order pizza instead
 
@LightningRacisinObrit honestly I think transgender should be discouraged and should be used only at last resort
 
Meanwhile, millions of people are being shamed and hated for nothing other than being who they are. Do you think that is acceptable in today's societies?
 
Ven
@rightfold or a fixed prelude
 
I have no idea how this shit plays out in the East, mind you. Probably much, much worse.
 
2:04 PM
@LightningRacisinObrit The East is still conservative
 
Ven
@LightningRacisinObrit Yeah, from what I hear (I have a few trans internet friends) it's really bad :/
 
loook what I found
 
Basically all the "traditional" places suck (something @Puppy would love to hear!)
@khajvah I'm fucking famous
 
user1804599
lol
 
I did not receive any royalties :(
 
2:04 PM
@khajvah holy shit that's LRiO
 
brb calling lawyer
 
@LightningRacisinObrit tomalak-so-supermodel
 
Ven
LRiO will get me out of bad and smash my head against my keyboard
I'll learn how much a broken nose really hurts!
@LightningRacisinObrit I guess it depends. I still see an incredible amount to hatred towards them, I'm not sure I can say "this is probably all US!"
 
US is infected with conservatism
Which is not bad, really. It's how they handle progressive theology or philosophy that's bad
 
Ven
@rightfold but you could write safeHead (query) >>= only the "extract" part of the function
 
2:06 PM
Today I saw 5 fucktard americans
 
Ven
@rightfold because the "[]" case couldnt happen
 
@Ven I did not say that either.
I actually went out of my way to say that I was not saying that.
 
Ven
Then sorry for misreading
 
But the best thing anyone can do for these people is just love them
 
@LightningRacisinObrit and that
 
user1804599
2:07 PM
@Ven It definitely can.
 
Because I know how sensitive some people can be in here about comments regarding their country that are not entirely complimentary.
@DonLarynx ;p
 
user1804599
If there's no user then [] happens.
 
Ven
@rightfold not with safeHead, no. it'd just be Nothing
thus you'd Nothing >>= extractUser and it'd be... Nothing.
 
user1804599
I don't want the "head".
 
user1804599
I want the sole element of the list.
 
Ven
2:10 PM
List is the wrong data type for something that could be empty or have one value.
 
user1804599
I also want the code to make it clear there can never be more than one element in the list, hence the unhandled case.
 
Ven
@LightningRacisinObrit I'm french, and I got really disgusted with the "anti gay marriage" "riots"
 
user1804599
I could do _ = undefined to make it even more explicit.
 
Ven
defensive programming is so fun ;-)
 
user1804599
@Ven No.
 
Ven
2:11 PM
you could even add a LIMIT 1 !
@rightfold Oh yes, yes it is, I strongly believe in that
 
user1804599
It is the wrong data type for something that could only be empty or have one value.
 
Ven
which is the case here
 
user1804599
That it can only here is just an accident; query returning a list is good.
 
Ven
It's not an accident, it's a constraint your system needs to be working correctly
 
2:12 PM
I mean you can be against gay marriage fine (and you have a right to protest, too) but why would you protest
What leads someone to be so against happiness and being oneself
That you have to go and strongly demonstrate against it
It's just bizarre
 
Ven
because they're changing the meaning of "marriage"
 
You did not answer my question
 
@Ven F
 
user1804599
instance Show Password where
    show _ = "Password \"********\""
 
Besides, the meaning of "marriage" already changed quite substantially over the years. For example, you can no longer marry your 6 year old first cousin.
 
Ven
2:13 PM
clearly the fact it's not only religious, the fact we removed all the powers from the man ("family head" or w/e they called it) or the fact you're supposed to be a virgin before marriage did not change its meaning
 
user1804599
Logging is now better than ever!
 
Ven
but allowing two people who love each other to get married? ew! that'd be awful!
@DonLarynx F? is that a mark?
 
@Ven Sure it did.
 
what's happening here
 
Ven
I'm being ironic
 
2:15 PM
@Ven F grade F
 
@Blob I found a comments thread where USAians bash the shit out of Bruce Jenner
 
@LightningRacisinObrit who?
 
things like "he was married for years so he's obviously full of shit and evil and ill" (paraphrase)
@Blob You want their social security numbers or something?
 
Ven
@DonLarynx well :/
 
@LightningRacisinObrit .. what?
 
Ven
2:16 PM
"USaians" sounds like sayens from dragon ball.
 
@LightningRacisinObrit those people have no influence on you.
 
morning
 
7
A: call of overloaded 'swap(char&, char&)' is ambiguous

minitechcodepad has an implicit using namespace std;, which is a really bad idea and makes your swap conflict with std::swap. You can use ::swap instead, but not before fixing your bounds problem by passing sizeof mystr - 2 instead of sizeof(mystr)/sizeof(char).

lol codepad is so bad
 
@LightningRacisinObrit as in who's Bruce Jenner
 
user1804599
I like how both Haskell and SQL use :: for type ascriptions. :)
 
2:17 PM
@DonLarynx That's an incredibly selfish viewpoint. Why should I only care about what has a direct influence on me?
 
user1804599
YAY it works!
 
@Blob A famous Olympic athlete.
 
Ven
@rightfold why wouldn't ":" be better?
 
Where does LLVM go when I check it out via svn?
/usr/bin?
 
@LightningRacisinObrit Why would you deliberately get in others' business just to cause yourself anger?
 
2:18 PM
To the place in which you checked it out.
@DonLarynx The fuck?
 
@LightningRacisinObrit Ahh, sry. I meant to say "where should I put it".
 
I'm not "deliberately getting in others' business". Others are deliberately getting in the business of hard-working people whose lifestyle marginally differs from their own, and spouting hatred and bile at them. I'm commenting on it in the hope that every tiny commentary could help change things for the better, not "just to cause [myself] anger".
 
Ah gee
 
@Columbo read the INSTALL? lol
 
@LightningRacisinObrit ?
 
2:19 PM
Register-based language where all functions return a future
Good or bad?
 
@Columbo Is there a file called INSTALL like in other open-source projects?
 
@LightningRacisinObrit .. but I haven't yet checked it out, how the fuck am I supposed to open it
 
user1804599
Good.
 
@Columbo Check it out first? Or read it online?
 
user1804599
Uniform calling conventions are good.
 
2:20 PM
@LightningRacisinObrit You're so mean :(
 
user1804599
Don't make half of your functions return futures and the other half non-futures.
 
user1804599
Make either all or none return futures.
 
@Columbo I'm mean for helping you achieve the goal with which you asked for help?
Woahkay.
 
@rightfold I was thinking of making all functions return either a literal or a reference
 
user1804599
OK.
 
2:21 PM
@LightningRacisinObrit Nahh, I meant in general
 
user1804599
@Ven I don't care about : vs ::.
 
And references would be floating in space or something
Like all processes would include a fixed-size header-register for concurrency and error checking as well
And then we have direct read access to these header registers
To check for futures or exceptions
Processes would be async by default
And, even better, you could assert control over a process by giving the parent control over its registers
 
@LightningRacisinObrit They need a slap in the face, not a comment
 
The header would be something like arg1, arg2, concurrency, error
Each being literals or having pointers to addresses
I guess you could implement monads as a process chain
 
2:27 PM
pizza's here and only took 40 mins to arrive :O
mmm
 
fuck you
 
@khajvah wow
 
@DonLarynx Unfortunately I can only do the latter.
 
@DonLarynx what wow. Why would you publicly post a picture of a delicious pizza?
 
Looks like it's been out for a while
 
2:31 PM
@khajvah the game is to come back with something better.
 
Interesting looking keyboard and mouse
 
With a plain desktop
 
@DonLarynx what is inside that?
 
@khajvah mmmmmmmmmmmmmmmmmmmmmmmmm
 
@DonLarynx I will eat an egg, take that!!
 
2:36 PM
@khajvah don't forget to put maple syrup on it
this will rustle your jimmies
 
Do you guys use this?
 
@khajvah I would fuck me too
 
That's homo
 
no that's the result of the fact that I'm hot
 
Is there any reason why I should use size_t over unsigned int?
 
2:49 PM
@khajvah assuming you use it appropriately, it better expresses intent. And it might just have the correct size as well, which is kind of a handy property!
(unsigned int is 32 bit on typical 64-bit platforms, while size_t is 64 bit)
 
@khajvah Please, google first, link1, link2
@jalf I see, thanks
 
@khajvah "Unfortunately, this declaration for memcpy comes up short on an I16LP32 processor (16-bits for int and 32-bits for long and pointers), such as the first generation Motorola 68000. In this case, the processor can copy objects larger than 65,536 bytes, but this memcpy can't because parameter n can't handle values that large."
 
this is a nice song
but only because of the drop at 45 sec
 
Wow, that Extra History series about the South Sea Bubble was riveting.
 
3:08 PM
0
A: Is there a fast divisibility check for a constant divisor?

orlpYes, there is an algorithm that only uses multiplication. I will first demonstrate and prove correct a technique for uneven $d$, and then for even $d$. I define $m = 2^w$. Uneven $d$. Find the modular multiplicative inverse $a$ of $d$ modulo $m$: $$ad \equiv 1 \pmod m \tag{1}$$ This exists be...

 
is that math.se material?
looks like cs.se material
do math.se guys do algorithms like that
 
it's number theory
not really an algorithm
 
> I'm in a helpful mood, so here's a small Python3 function
o ok
 
user1804599
APL is the best programming language ever.
 
TIL you can declare types in template arguments
like existing_template<class declaring_this_now>
 
3:22 PM
2
Q: Why should "case statement" be constant?

abforceIn JavaScript the following statement is valid. switch(true) { case a > b: max = a; break; case a < b: max = b; break; default: max = a; } But in C/C++ language, when I write this statement, compiler gives me an error showing case statement mu...

>.<
And I just wasted another 1.5 hours for something I wish I hadn't seen -.-*
 
@AndyProwl Are you good with templates?
Because if you are, then here's a challenge.
ENROLL NAW
 
user1804599
3:41 PM
@Jefffrey haha /cc @Xeo @R.MartinhoFernandes
 
user1804599
You can't implement function traits. It's impossible.
 
user1804599
It's an XY problem.
 
user1804599
Pass the types explicitly, like I do in Mill: github.com/mill-lang/mill/blob/develop/mill/src/builtin/…
 
user1804599
Otherwise you just get a broken leaky abstraction.
 
robot was already pinged for that one, and xeo was here yesterday when I first brought it up
 
user1804599
3:44 PM
Extracting the allowed types would require solving the halting problem.
 
What
 
We Christians are called to go out of ourselves to bring the mercy and tenderness of God to all.
Turns out God is very tender.
 
@rightfold You mean NP?
 
user1804599
No, I mean XY.
 
user1804599
IT has a significant XY problem; there are too few women.
 
3:48 PM
4 hours ago, by milleniumbug
@Jefffrey In special cases, you can deduce functors' argument types, but I don't recommend this.
Better to rethink your interface.
You seem to be using C++14, is w.transform<abc&, def&>([](auto& a, auto& d){ /* ... */ }); acceptable? You avoid repeating the type here.
 
Avengers ETA 1hr 11mins (+ adverts)
 
@milleniumbug That's my fallback, yeah.
 
user1804599
I wish Haskell errored on unused variables and imports like Go does.
 
@EtiennedeMartel so is chicken mmmm
is it just me or is this video slowed down? youtube.com/watch?v=8P7Twe9w-Nk
i cant tell
 
@DonLarynx Well, it is. Sounds a bit creepy.
 
4:00 PM
sounds like acapella country music
 
@Jefffrey An NP-Problem lol
 
user1804599
Haskell is so awesome. :D
 
user1804599
Olumide for lounge owner!
 
Considering you only speak in hyperboles, I'm not sure you are well placed for nominations.
 
user1804599
4:16 PM
Or Crowz!
 
4:34 PM
can we talk about COM here?
 
user1804599
Absolutely beautiful:
 
user1804599
handleWebSocket' :: Connection -> StateT Session IO ()
handleWebSocket' conn = do
    liftIO (receiveDataMessage conn) >>= handleRequest >>= liftIO . sendDataMessage conn
    handleWebSocket' conn
 
user1804599
@Logan No, only about Haskell.
 
What's the standard for header only dependencies (e.g. Boost.Any) in C++?
git submodules?
 
well then you should change argument of Lounge<> to Haskell!
 
4:39 PM
> Apparently, this user prefers to keep an air of mystery about them.
@Logan Them who?
 
I said then not them
 
1 min ago, by Jefffrey
> Apparently, this user prefers to keep an air of mystery about them.
 
@Jefffrey I was responding to @rightfold
 
user1804599
@Jefffrey Not.
 
@Logan No you were not.
 
4:43 PM
@Jefffrey that mystery statement does not belong to me.
 
@Logan its on your profile
 
@Borgleader Apparently it's SO's though.
Maybe some default.
 
@Jefffrey It's default message when you don't have any "about me" info.
See my profile.
 
Yeah
 
@Borgleader yeah, never bothered to re-visit it.
I came for help here! Might I link my question here?
 
4:48 PM
no
 
hola senoras
 
:) why? is it against Lounge's etiquette?
 
barge in and question dump? yes
 
fair enough friend. no offence. Good Bye.
 
@Logan What's your question?
 
4:53 PM
4 mins ago, by Logan
:) why? is it against Lounge's etiquette?
 
That's a very good question, Logan.
 
I've always wondered whether "no offence" means that they meant not to offend, or that they are not offended.
 
The former
 
Ven
i'll hurt you
 
@Jefffrey It means "please don't hurt me"
 
Ven
4:58 PM
hi i hav question pls kan i past
 
bad troll is bad
 
genghis khan i past
 
Ven
khan, kan, can, chan...
 
Ven
@Borgleader damn, you figured me out
 
5:02 PM
@Borgleader Beautiful
 
@Jefffrey bald guy is my favorite
 
green guy that is almost never shown is mine
 
of course, if he was you'd be distracted from the song by his epic mustache
 
I wish there was a std::magic_vector that kept its iterators valid whevner you did something to it :[
 
@Prismatic boost::container::stable_vector?
 
5:19 PM
@milleniumbug gaaaaaaaaaaaasp
> that provides most of the features of std::vector except element contiguity
lol wut
 
well of course
 
@Prismatic Well, I have no idea how you could have both.
 
@milleniumbug Something like a deque
mostly-contiguous
 
@Prismatic lol
 
@Prismatic well thats probably what stable vector does...
maybe
but then, why not use deque?
 
5:23 PM
@Prismatic Contiguity is a binary thing.
 
I read that the deque implementation sucks for msvc
 
Indeed it does.
 
@milleniumbug Yeah that's why I said 'magic_vector'... MAGIC
stable_vector is kind of like a list apparently stackoverflow.com/questions/18659648/…
a list with random access iterators i guess
 
Guys.
There's a guy in my apartment building whose last name is "Sottosanti-grammer"
 
5:43 PM
> Guy kills a zombie praying mantis, revealing a huge parasite living inside
this is pretty much the biggest NOPE of the century
youtube it yourselves if you are brave enough :A
 
@Prismatic Poor analogy (IMO). It's more like std::deque, but limited to exactly one item per node. IOW, you have a vector of pointers, each pointing at a node containing one item. Adding items might require allocating a new vector of pointers, and moving/copying the pointers to the new vector--but it never requires moving/copying the nodes they point at. Likewise deletion manipulates the pointers, but not the nodes the point at (except, of course, for the node actually being deleted).
Unlike a list, however, this still gives O(1) access to any item--you index into the array of pointers, then dereference the pointer at the correct offset.
 
what the hell java hasn't () ? : syntax? :O
 
@AlexM. That sounds so cool.
 
@deW1 you mean the ternary
 
@deW1 () ? : syntax? :O is weird syntax.
 
5:48 PM
java has a ternary operator
 
@AlexM. yes
... broken compiler >.>
 
@deW1 s/compiler/language/
 
the ternary operator is one of those things that I only use like 3 times per year
but when I use it it makes stuff nice
 
apparently I'm forbidden to use it lol
 
> In Spinochordodes tellinii and Paragordius tricuspidatus which have orthopterans as their vector, the infection acts on the insect's brain and causes it to seek water and drown itself, thus returning the nematomorph to water.[6] P.tricuspidatus is also remarkably able to survive the predation of their host, being able to wiggle out of the predator that has eaten the host.
 
5:51 PM
it's crazy man, there are other kinds of parasites that control animals too
there's this fungus that controls rabbits
hopefully we destroy nature before one for us begins to form
 
there is a bug that makes zombies
 
otherwise it's like the last of us IRL
 
@AlexM. i hope it doesnt mutate to humans, The Last of Us style
 
Toxoplasma gondii (tŏk'sə-plāz'mə gŏn'dē-ī') is an obligate, intracellular, parasitic protozoan that causes the disease toxoplasmosis. Found worldwide, T. gondii is capable of infecting virtually all warm-blooded animals. In humans, it is one of the most common parasites; serological studies estimate that up to a third of the global population has been exposed to and may be chronically infected with T. gondii, although infection rates differ significantly from country to country. For example, previous estimates have shown the highest prevalence of persons infected with T. gondii to be in France...
 
5:53 PM
you know what's cool, playing against a random cheater and seeing him get banned live for cheating
 
> A few observational studies on human subjects have also found the risk of traffic accidents to be significantly greater in infected persons than non-infected controls.[69][70][71] One of these studies concluded this risk was 2.65 times greater for infected persons
 
(i.e. the anticheat detecting his cheat)
happened today
 
imagine blaming a parasite for getting into a car accident
 
user1804599
handleWhoami :: Handler
handleWhoami = withUserID $ \uid [] ->
    return . Text.pack $ "ok\0" ++ UUID.toString (unUserID uid)
 
user1804599
Beautiful!
 
5:55 PM
@AlexM. ants too
 
@rightfold I don't get it O.o
 
nobody does
except maybe Bartek
 
I've never made anything real in haskell; i don't know those types
 

« first day (1652 days earlier)      last day (3290 days later) »