« first day (2053 days earlier)      last day (2895 days later) » 

Wes
5:06 PM
@PeeHaa nope, i made my own
 
@PeeHaa Uh... huh.
Not sure if trollbait or serious.
 
@Wes NIH OR GET THE FUCK OUT! :P
I found another one by jordi if you would have still been interested
@MadaraUchiha That's the beauty of ycs. You just cannot know :-)
 
Wes
!!urban NIH
 
[ NIH ] Not Invented Here The German art of humiliating any technology, agricultural product, or (medical) scientific work that has not been ivented or produced in Germany, Switzerland, or Austria.
 
Wes
@PeeHaa that one is not just semver, it does other magic iirc
with pre release labels
 
5:09 PM
oh
data explorer doesn't do close votes vs answers per user I assume @MadaraUchiha?
 
@PeeHaa could be, I dunno.
 
hmm seems like it does
Nope /me gives up
 
Instantly downvoted, no way they read the answer :D
Welp, I took the bait, let's see what comes out of it.
 
Yeah I also did bite. Not sure why. Should just delete it. meta is an idiot
ha! Deleted before I got suckered in \o/
@Servy: "Sure, but that doesn't mean that they're not on the site, it just means they're not providing valuable contributions." Valuable contributions to whom? People in chat? A cloistered minority using a Godawful means of communication? How does that make the Internet better? We'd be better off with them using a webforum; at least that would be searchable. — Nicol Bolas 12 mins ago
To the forum mobile people! \o/
He has a point about chat not being searchable though, but that's mostly balpha's fault
 
5:32 PM
Night, guys. See y'all lata'!
 
later @Saitama o/
!!should I deploy first or make something to eat
 
You should deploy first.
 
But but but hungry!
 
burn
 
s/*burn*/*burn.gif*
 
5:34 PM
Oh well...
 
isn't it just git pull and restart service anyway?
 
It is. But I want to commit the permissions on cli/run.php too and I think there was an openssl update so might as well reboot the machine
 
I can do the permissions if you want
 
Oh sure <3
Prevents me from screwing up pushing with root again :P
Although it looks 1337
 
$html .= '<tr>';
foreach($item as $value){
    $html .= sprintf('<td>%s</td>', $value);
}
$html .= '</tr>';
Can I write this code the other way?
 
5:38 PM
yes
;'>rt/<' =. lmth$
}
;)eulav$ ,'>dt/<s%>dt<'(ftnirps =. lmth$
{)eulav$ sa meti$(hcaerof
;'>rt<' =. lmth$
 
Anonymous
@Shafizadeh You could try Not writing it.
 
@littlepootis not funny
 
I lolled
 
@samayo actually I feel my code is ugly
 
I assume 755 is what you wanted?
 
5:41 PM
> Set run.php to executable
lol
 
Tnx
 
/me is a away for a while
 
Later
 
5:55 PM
hey guys, how can i add an image to a dynamic modal from a db? I'm using and ajax call.
 
Anonymous
Just like you would on any other occasion.
 
Anonymous
Use absolute url.
 
@samayo :( I don't know how to do that
 
Anonymous
Are your images story in the database as binary?
 
no, in the directory.
 
6:01 PM
Cannot sleep >.<
 
@Saitama sorry to hear that mate. :(
 
Anonymous
I don't understand how you are not able to display images in a modal.
 
Anonymous
The modal is still built with html tags ..
 
@samayo coz the modal is dynamic, one sec
 
still then, images can be/should be/must be displayed in a modal if everything is right...
 
6:05 PM
@Saitama i'm probably overlooking a really simple solution.
 
:P
 
@KerrialBeckettNewham uhhhmmm why aren't you building your modal serverside instead of... that?
 
@PeeHaa coz i'm obviously an idiot? (when i built it, i didn't know i could)
 
Anonymous
@KerrialBeckettNewham I guess you are trying to load the image only after the modal appears and you click on it or something..
 
Anonymous
That should be the only reason to need Ajax.
 
6:09 PM
@samayo no, just want to display an image. sorry, i can see my code is not very good.
 
Anonymous
Then why in the name of the holly batman would you even mention Ajax?
 
batman?
 
@KerrialBeckettNewham Just kill the thing with fire and just retrieve the rendered html of the modal from the server
 
Anonymous
@Saitama the zero theorem
 
@samayo coz that's how i'm calling the modal.
 
6:11 PM
yay
gonna make pancakes today!
\o/
 
@RonniSkansing nice :)
Don't forget the bacon!
 
its 25c atm =)
the bacon?!
I frogot it just came back from the supermarked
daaang!
 
Cannot have pancakes without bacon bro
 
Kevin Bacon?
 
!!giphy Kevin Bacon
 
Anonymous
6:13 PM
Pancaces with bacon .. ouch
 
@samayo this might clear it up. pastebin.com/7CPUiuPW
 
I will keep repinning message #30778578 until someone tells me to stop
 
@Jeeves <3
 
@PeeHaa I love you too :-)
 
6:16 PM
Just gonna test that actually does what is expected...
 
winner
 
Anonymous
!!stop
 
Anonymous
@KerrialBeckettNewham can't un-see. But it is beyond me. I don't think it should be that complicated
 
@samayo I'm glad you like it. lol I tried a bunch of other ways to get a dynamic modal, but all the other attempts weren't changing the data.
 
6:24 PM
@Danack do you have a bit of free time to eventually have a look at union types RFC? I'm close to starting vote … but thought it maybe wouldn't be bad to have everything written in a nice and persuasive style.
 
@DaveRandom And now we wait a week or so :)
lol that entire meta thread is full of retard :P
 
Wes
@bwoebi you clearly ignored me when i said you should avoid the Traversable|Array example :P
 
Nice troll indeed
 
Oh damnit. if forgot to do something about replying to jeeves :(
@Jeeves Don't say a thing if you hate me
gee tnx
 
6:32 PM
@Wes I did. Why shouldn't I?
It's one major point.
Other unions are important too
but it's a bug selling point
 
Solving array | Traversable with union types solves the wrong problem.
 
> This is a system-wise level problem
@MadaraUchiha ^ E_NONSENSE
 
Sure, it does. But it solves the problem too.
 
Wes
@kelunik this is what i said
 
@DaveRandom Explain
 
6:34 PM
@Wes Same here, the whole time.
 
It introduces a nice workaround for now. @kelunik
It should, though not be the main example
 
Wes
what would ReflectionType::isUnion() return for Foo | Bar | (Baz & Stuff) ?
 
@MadaraUchiha I'm assuming you meant "system-wide" or "system-level" (the sentiment is fine though)
 
@bwoebi Which seems to be the main argument for it. Not the too.
 
it should be one example
 
6:34 PM
@DaveRandom Yeah, that's fair
 
@kelunik What I just said… I agree on that.
@Wes That has to be solved with intersection types then, which are a separate RFC.
But even then it'll return isUnion() I guess
 
@bwoebi It should not. Because union types shouldn't exist to solve that.
 
Fixed, thanks
 
@kelunik it's not their reason of existence, but it is a selling point to be able to do it now.
 
Union types complicate types a lot, for very little gain.
 
Wes
6:36 PM
@bwoebi people will vote no just because they want array to be just a traversable
 
I strongly doubt that.
But I agree, it maybe should just be mentioned in a simple sentence instead of be the main example
 
I hope so much it will fail.
 
@Wes Don't be ridiculous. Voting on rfcs is something people take very good care of emotions never ever play a role. Only proper technical reasons are considered. And what is good for the language and community is always taken into consideration,
hehehehe
 
Wes
ahahaha
 
!!did @PeeHaa just tell the truth?
 
6:39 PM
No.
 
^ There you go.
 
Wes
you could mention ISP @bwoebi as it's a trendy word these days
 
It's getting smarter every day
 
@Wes ISP as in internet service provider??
 
!!is @PeeHaa a pathological liar?
 
6:40 PM
No.
 
well that's something at least
 
@Jeeves thanks
 
@PeeHaa You're welcome!
 
lol
 
:P
 
6:40 PM
!!is there actually just an Indian employed to type these responses?
 
heh
 
:D
 
Ekn
evenings
 
hi @Ekn
 
6:44 PM
hOOOOi
 
We should integrate brainbot.botlibre.com :D
 
Wait, @Ekn do you know the meaning of "hOi"?
 
Ekn
yes I do :)
 
Phew good
 
Wes
interface segregation principle @bwoebi given a set of interfaces of N element, the possible combinations of these classes are 2^N-1 or (â„™(types)-1). or, in other words, if you have 5 classes, you can mix them in 31 different combinations. would you rather have 31 interface Combination extends ... or write The|Combination|Ineed only if it's actually needed?
hey, i fucking know math :B
 
6:46 PM
Isn't that quite out of scope here?
 
@DaveRandom how do I enable Terminator also on replies and pings inside messages?
I'm lazy :P
hey @Jeeves
Yeah doesn't work
 
well that's an open question for me actually
because what we currently have as Mention is actually a global event
 
oh. well... hurry up :P
 
so really we need to combine them somehow
 
@PeeHaa You invoke SkyNet::awake(), and pray.
 
6:48 PM
Isn't this also a mention @Jeeves?
 
Generally I'm not sure what to do about global events, I think the best thing is isGlobal() but I'm not a fan
 
@MadaraUchiha I don't pray. I weep
 
@PeeHaa this is an OO purity issue, can easily hack something together :-P
 
Neh. It will only mean you are yelling at yourself in the near future
 
true story
How does it work atm?
/me goes to actually look
 
6:51 PM
@DaveRandom "Carefully and miraculously"
 
Especially miraculously
 
Wes
@bwoebi why? it means for instance you will need 31 different methods if you want to support all combinations
 
!!plugin list terminator
 
Command endpoints for plugin 'Terminator' (enabled):
 
Wes
which is quite a mad thing to have
 
6:52 PM
@Wes perhaps I misunderstood you?
 
@PeeHaa right so what were you expecting this to do?
There's no pattern for "hey" that I can see
 
Well capture and and all pings to jeeves
@Jeeves yo?
@Jeeves you dead?
 
@PeeHaa Nope. Not that I know of...
 
Wes
@bwoebi in other other words: inheritance is shit. you can add that :B
 
Are you dead @Jeeves?
 
6:53 PM
@PeeHaa Nope. Not that I know of...
 
huh
ok makes sense.... buuuuut:
 
It works as long as there's a pattern match
 
@Jeeves you dead?
@Jeeves thanks
It's just replies which aren't mapped
 
hmm, maybe they don't generate a Mention event
will look
 
Wes
i think the best argument to support union types is existing frameworks returning several types on their functions/methods (php core functions-style)
 
6:54 PM
I thought it also didn't work when the ping was inside the message instead of at the start, but I was wrong on that one apparently
 
Wes
otherwise you would get too technical and people hate when you have ideas different from theirs :P
 
7:14 PM
That's got to be some kind of service configuration issue
 
47 messages moved to bin
@Jeeves hey
 
lolololol
 
maybe the message I get is not what I expect
 
syslog?
 
there is no spoon syslog
odd
> Something went badly wrong:
May 30 21:12:05 149-210-224-55.colo.transip.net php[2788]: RuntimeException: Still not logged in in /srv/www/Jeeves/src/Chat/Room/Authenticator.php:68
Not sure if being throttled or something went badly wrong
 
7:18 PM
let me just remind myself how we deal with cookies
 
we don't artax does :)
 
we do explicitly use ArrayCookieJar but it's also explicitly shared because the lxr plugin needs to manipulate it
(because opengrok is terrible)
 
hmmm I just get kicked out of my server
 
what it dropped the ssh?
 
@DaveRandom yeah
 
7:20 PM
humm, is the service on auto-restard?
 
yes
 
correct that to restart or retard, up to you
 
I read retard you know me
 
@PeeHaa reboot it if you can get in
Did you update OpenSSL?
 
yes...
 
7:22 PM
maybe that's gone full "restart" again
502
fpm?
 
yeah I think I broke more than jeeves this time :P
 
:-D
/me has shit to do, bbiab
 
cya
!!version
 
hmmm
@Jeeves you fight like a cow
 
7:26 PM
@PeeHaa How appropriate! You fight like a cow!
 
lol
much confuse
@Jeeves You are a dick
 
@PeeHaa @jeeves No you are a dick
 
ha #fail @Jeeves
 
is Jeevs a bot?
@Jeeves are you a bot?
 
Wes
nope, it's a highly trained elephant
 
7:27 PM
@ziGi yes he is. And I missed that question for some reason
 
!!is @Jeeves a bot?
 
Ekn
heh
 
@PeeHaa error has been logged. Fix it fix it fix it fix it.
 
It's alright jeeves
 
7:28 PM
Why did you choose !! over @Jeeves ?
 
@PeeHaa nothing better than human testing :D
 
@Fabor That's actually a good question
 
@Jeeves ha #fail
lol was hopeful to mess with his ai
 
Ekn
is !! will mapped ?
 
@Jeeves banana?
@Jeeves talk
 
7:38 PM
@Hiyper filthy human
 
7:49 PM
Ladies and gents, is it a good idea, if there is a lot of reads of computation intensive text generated based on different DB tables, to denormalize it and store the generated text? Separating the Query and Command concerns is the best option, having the data flattened in a NoSQL db instead of MySQL but if it is not an option, what's the next best thing?
 
@ziGi What's your bottleneck? Database IO?
 
@Jeeves filthy robot
 
@MadaraUchiha more like database output, reads of the information are like 90% of the time while the writes of that information is around 10%
meaning that the information doesn't change that much
 
@ziGi That's not what I meant
What's taking longer, getting the info, or processing it once you have it?
 
I see, getting the info takes longer
processing it in PHP is faster cause it's only concatenating
 
7:54 PM
@ziGi Have you considered things like (materialized) views and query cache?
 
Not really, but I will take a look, thank you very much.
And what about the other case, where processing it once you have it takes longer?
 
hello guys, is php fast enough for thousands of people sending ajax requests to it?
will it be able to mange it all>
trying to decide on a backend language
 
@Hiyper What are those ajax requests doing?
 
@PeeHaa about 3 database queries and returning json
also at what point of usage do you think db slaves would be beneficial
 
Is the result always the same?
 
7:58 PM
no
its getting a dbquery, using that data and does some basic math operations
 
@Hiyper Facebook runs on kind of a compiled version of PHP which PHP 7 is close to in terms of performance.
 
I try to avoid division
@ziGi what about php 5?
 
It's twice slower kind of
 

« first day (2053 days earlier)      last day (2895 days later) »