« first day (2160 days earlier)      last day (2791 days later) » 

3:00 PM
@Wes just finished upgrading to ubuntu 16.04 and php 7, and set up nginx for the first time
 
@JayIsTooCommon would you take a look at a line of code and verify that I'm doing it right?
 
Anonymous
@Tiffany linky?
 
well, I guess it's a success!
 
@PeeHaa Yes :P
 
user895378
there's no difference really between adding something like $conn->listen("channel name"); and $conn->create("table_name"); (of which I'm not personally a fan)
 
3:00 PM
Ugh that sounds painful
 
@JayIsTooCommon pastebin.com/8vSNj1sX line 13
 
Anonymous
eh, why is it asking for a login
 
errr
 
What the hell happend a few KMs away from here; standaard.be/cnt/dmf20160914_02468263 hahaha -> @Oldskool :)
 
@rdlowrey If the connection should be blocked while listening, it's more than just a helper though, since it would affect connection availability in a pool.
 
Wes
3:01 PM
user image
7
 
cause I pasted the wrong link
oops
 
Wes
i don't get it as i never watched star wars, but maybe you guys like it
 
@rdlowrey So I'm thinking a listen method would be appropriate.
 
@Wes O_O
 
@PeeHaa That's why I am a little desperate for the support to test non-chat reliant plugins via CLI ;)
 
Wes
3:02 PM
i actually watched the first episode @PaulCrovella i can't stand the guy with the orange face and blonde hair
 
Anonymous
@Tiffany Looks fine to me
 
Wes
the robots that are offensive for the gay community
and the idiocy in general
 
@JayIsTooCommon thanks.
 
@Fabor Just make @DaveRandom do it :)
 
Anonymous
@Wes lolwut?
 
3:03 PM
@PeeHaa I am trying. There's already an issue for it :P
 
Anonymous
What robots?
 
Wes
the gold robot whatever is clearly homosexual - or at least it is in the italian version of the movie
 
Anonymous
You're joking, right?
 
Anonymous
xD
 
Wes
i'm not.
he's plainly homosexual, and slightly offensive
 
3:04 PM
@Wes Everything Italian is homosexual
 
Now I just wait for an exception to occur...
 
@PeeHaa Thumb it up ;)
 
Wes
@PeeHaa hay babe, how u doin
 
:D
 
Anonymous
@Wes How is it offensive?
 
3:05 PM
@Wes LOL
 
Wes
@JayIsTooCommon it got filled with all the gay stereotypes. seriously, isn't it like that in the english version too? maybe you didn't notice
 
@Fabor did you thump up your own issue?
 
@JayIsTooCommon not sure if you remember, but I was having issues importing a SQL file, I had to compress it in order for phpmyadmin to accept it. I managed to shave about 16MB off the file yesterday. :)
 
Anonymous
@Wes Maybe I'm missing something but I didn't notice any of that... Also robot / homo.. ya know.
 
Wes
ask any italian friend you have if they think C3PO (looked up the name) is homosexual
 
3:06 PM
@PaulCrovella I do worse things to myself.
 
Anonymous
lol
 
Anonymous
@Tiffany oh noice \o/
 
@Fabor sure, but not publicly
 
heh
 
@Wes I thought C3PO was more into human-cyborg relations.
 
3:08 PM
@JayIsTooCommon yeah, there's a versions table that keeps old versions of pages. I deleted some older, unused versions from 2011-2014. Saved me a lot of space. :D
 
anyway back to hiding under rock
 
Wes
!!urban C3PO
 
[ C3PO ] The lesser-known, homosexually inclined robot co-star of R2D2 in the blockbuster movie "Star Wars".
 
Wes
you see, it's not just me
 
Anonymous
3:11 PM
Still not getting the whole homo / robot relation but still.. First i've heard of it :D What stereotypes though?
 
@Wes for someone who hasn't watched the movies you've spent a lot of time thinking about C3PO's sexuality
3
 
Anonymous
lol
 
@Wes fuck identity politics
 
Wes
rofl. i found it offensive, just like other things in the movie
 
Anonymous
What specifically? I'm intrigued by what characteristics were offensive
 
3:14 PM
Any bets on how long civility will last on this topic?
 
Wes
@JayIsTooCommon stupidity is offensive, and orange faces
 
Anonymous
@Fabor depends on whether @tereško gets involved or not ;)
 
Anonymous
@Wes you confuse me.
 
@JayIsTooCommon I tend to avoid posting anything on topic that can attract SRS
 
Anonymous
srs?
 
Anonymous
3:15 PM
!!urban SRS
 
[ srs ] An abbreviation for "serious"
 
Anonymous
o
 
@JayIsTooCommon this cancer: reddit.com/r/ShitRedditSays
 
current status: binary addition of equally long numbers working with carry (no overflow yet): regex101.com/r/yD1kL7/2 \cc @NikiC
 
woah, you're insane
 
Wes
3:22 PM
 
ly good :)
 
@Wes You get an A
 
Wes
yay
 
Anonymous
@Wes drugs
 
Anonymous
@Saitama speaking to yourself?
 
Anonymous
3:24 PM
:D
 
Ekn
o/
 
o/
 
Ekn
/me stopped by a "cyber cafe" I haven't seen one for like, years.. need to change reservations
 
Wes
i hate when they remove messages. was it about me? @Saitama you are chicken
 
3:27 PM
@Wes it was:
> don't do drugs kids
 
Wes
that was a good advice
 
finally fixed all those deng notices.. the obvious ones atleast, ajax time.
 
user895378
@Trowski hmm good point ... hadn't considered the pool use case ...
 
Anonymous
jsfiddle.net/cod383o1/1 js newb - why are these functions undefined?
 
Anonymous
on local.. bar is defined, foo is undefined. O.o
 
3:33 PM
 
Anonymous
@Saitama second tab 'dick-pics'
 
Anonymous
:P
 
:D :] :|
 
@JayIsTooCommon Impossibru
BTW that's not how you should do js imo
 
Anonymous
3:37 PM
which is why it's bugging the shit out of me
 
Inline JS is really annoying
 
Anonymous
Come here and look at my screen please.
 
^ +1, use data attributes or an ID and bind it to that.
-1 Not enough jQuery
 
@JayIsTooCommon teamviewer?
 
jqwuery is soo outdated
 
Anonymous
3:37 PM
yeah I know it's wrong, just trying to figure out why it differs for mwai local
 
Anonymous
@PeeHaa hmm, wonder if it's blocked in office.
 
:32847297 (program):1 Uncaught ReferenceError: bar is not defined
4(program):1 Uncaught ReferenceError: foo is not defined
 
Anonymous
2 sec
 
also learn about console.log
 
k
 
Anonymous
3:38 PM
@FélixGagnon-Grenier never heard of it. Doesn't exist.
 
Oh Jay
 
@JayIsTooCommon it's because you're defining functions in the wrong scope
 
Anonymous
@PeeHaa blocked. Fuck it - i'll just pretend it's not happening.
 
Scratching around 20 mosquito bites at the same time is the best feeling :X addicting
 
3:41 PM
@JayIsTooCommon that's ok, it's the same with your D
 
local scoped functions aren't accessible globally, since you're defining them in window.onload
 
@JayIsTooCommon You can always send / gist / whatever me the isolated html file
 
Anonymous
I knoowww it's bad.... Sorry... But If you could sit next to me @Sean you would understand my problem here..
 
Anonymous
@FélixGagnon-Grenier rude.
 
3:42 PM
@JayIsTooCommon So you're hitting another error? D:
 
@JayIsTooCommon sorry. want a tissue? you can also filla butthurt report
 
Anonymous
@Sean no but I have two buttons, referencing the same functions in the same scope in the same file. one is defined one is not.. But it's impossible. It's me obvs
 
Anonymous
@PeeHaa kk, i'll see if I can replicate somewhere first
 
Lol, paste the code somewhere
 
k
 
Anonymous
3:43 PM
@FélixGagnon-Grenier love me :(
 
send cat pictures
everybody will love you
 
@JayIsTooCommon yeah I love you too bro :)
 
more beautiful 52.42.161.166/info.php
get roasted refresh the page for more....
 
@tereško ping
 
@Saitama That is a very friendly page.
 
3:57 PM
@Sean inorite :)
 
4:07 PM
!!uptime
 
@PeeHaa I have been running for 39 minutes and 32 seconds, since 2016-09-14 15:27:58
 
Anonymous
Nope. It's too late, i'm going to football.
I'll safely presume that this is a bug in js and I have done nothing wrong.
 
yeah
 
Anonymous
ttfn o/
 
latert
!!uptime
 
4:11 PM
@PeeHaa I have been running for 9 seconds, since 2016-09-14 16:11:33
 
@PeeHee I'm going to try my luck and try to annoy you again by saying, chat.stackoverflow.com/transcript/11?m=32838400#32838400
 
yeah will test it out later. Busy writing jabbascrit right now
 
:) np
 
But don't worry. It's on my list :-)
 
That's enough to make me happy :D
 
4:18 PM
I'm trying since an hour to debug why my regex doesn't match what I expect it to… fun…
 
isi phpunit testing just making sure there are no notices/errors in your code?
or is it meant to do more. reading about it, but not understanding the use behind it
 
@bwoebi what are you trying to match O_o
 
@Darius It's not just testing for errors it's testing whether it works as it is designed to do
 
@marcio regex101.com/r/yD1kL7/3 … the fifth test string
I don't get why this doesn't match…
 
@PeeHaa looking at videos, they're saying you could just "echo" or var_dump to find out if it's doing what you want it too.
 
4:22 PM
@Darius Yes you could
But that means adding and removing it everything you want to go to production
And that means manually checking it
 
got it.
 
Which is impossible
 
@bwoebi you... are matching sum operations with regex :D
 
@marcio yes, that's what I'm trying to
 
:O seems possible
but why?
 
4:26 PM
@bwoebi Can't fix by myself yet it but if you add a 0 to the left of the 2nd operand (101 + *0*10 = 111) it works
 
for no particular reason except regex fun
 
oh "fun"
 
@pmmaga I know that… The issue is really that it doesn't work without the 0
@marcio perhaps I'll sometime try matching multiplications… but first let's stick to addition
or arbitrary addition (i.e. of arbitrarily many terms)
 
I wonder what purpose this could serve...
5 matches - 2665 steps
 
@marcio I haven't tried optimizing it at all
 
4:30 PM
@tibanez As much as I hate them, using a mocking library like Mockery and then creating a mock object like:
$mock = \Mockery::mock($someObject);
$mock->shouldReceive('addElement');
Would probably meet your requirements.
 
@marcio Start here: regex.alf.nu :P
 
Though I would question why you care about whether the add is called, rather than just the end result of the test.
 
@pmmaga thanks but I already had a good time playing with this years ago
1 + 1 = 0 false positive :/
 
@pmmaga meh, no pcre
@marcio I'm not there yet
That's the next step, after I have this particular problem resolved
 
Ekn
@bwoebi should all the lines pass?
 
4:43 PM
no
 
Ekn
only 5th? in addition to the matching ones
 
do you intend to cover other digits?
 
ah found it
Off by one error
oops
that matches also 1+1=1
 
and 1 + 1 = 0
 
hello everyone, looking for regular expression that matches this pattern Eg: 0097412345678
 
4:54 PM
.*
;D
 
Morning.
 
and don't forget to anchor properly ^.*$
;)
 
@AccountUnknown ~^0097412345678$~
 
@marcio I hate misplaced parens…
 
5:04 PM
@AccountUnknown As in: not enough info and what have you tried and where are you stuck?
@LeviMorrison mornings
 
@marcio (?(?=(?&carry)0|1)) instead of (?(?=(?&carry))0|1)
fixed version: regex101.com/r/yD1kL7/5
 
this editor is too colorful
1 + 1 = 1000 it's still matching
 
@marcio click the wrench at the top right and you can turn that off
 
@PaulCrovella ah, they have a pastel theme
 
@marcio right, I'm doing that now.
That's going to be a different assertion
 
5:13 PM
(?(?=(?(l1)(?(r1)|(*F))|(?(r1)(*F))))(?(?=(?&carry))0|1)|(?(?=(?&carry))0|1))
worked better for me
 
@Linus ping
 
@marcio yeah, I'll update you when I have that fixed
 
... still matching 1 + 1 = 1
@bwoebi you are using the debugger, aren't you? :P
 
@marcio sure I am… it's just not too easy to actually find the issue in between all the steps
 
ok, otherwise this will take days
 
5:34 PM
I hate hate hate hate choosing a technology only to discover that all the libraries are crap.
 
5:46 PM
@tereško Ok clear my doubts Model is layer and can represent true entities like User can be Model?
 
@Linus no
model is a layer
user is not a layer
I have to start updating those old posts ASAP
 
So give example of model layer what name you will put?
 
what are you talking about?
"model" is already the name of the layer
 
Will User come in entities?
 
same way as "presentation" is name of a presentation layer
same way as "persistence" is name of persistence layer
 
5:51 PM
 
User would be an abstraction or a composition of multiple abstractions called "domain objects" c2.com/cgi/wiki?DomainObject
 
Good evening
 
Ekn
evenin
 
if have particular Service will it responsible for Creating it's domainobject and mapper?
 
no
but it will be responsible for interacting with them
 
5:57 PM
i can give them as dependencies to particular service?
 
you can, but often your service will need factories as a dependency
it depends on the particular situation
 
$serviceFactory = new ServiceFactory(
    new DataMapperFactory($dbhProvider),
    new DomainObjectFactory
    );
 
^ that's if you have no DI container
 
then no need to inject factories then?
 
have you actually tried to understand instead of blindly follow?
do you know why that example had a service factory?
 
6:01 PM
that what i am not understanding
 
what are you not understanding?
6 mins ago, by Linus
if have particular Service will it responsible for Creating it's domainobject and mapper?
14 mins ago, by Linus
So give example of model layer what name you will put?
these are the questions, that you have asked
 
sorry let me more be clear and setup example ,then i will be back
 
Ekn
6:15 PM
oh, suddenly github profiles are timeline-ish
 
I think I like it
 
Ekn
I think me too
I better leave now, laters o/
 
o/
 
\o
@PeeHaa I gave up in the end. I just cloned the ChatExchange repo
 
hehe
 
6:20 PM
:P
And if you see this, it works
Yay
Now, it's time to think of a bot name :P
 
:D
 
longanimity: patient endurance of hardship, injuries, or offense; forbearance.
 
How about Spark
 
make that Spork?
 
6:30 PM
Super Pork?
 
sounds pretty close to Spok tho
 
Yeah
 
heh, super pork is also kinda awesome
 
Lol
 
ohh.... we could troll really hard and name it John Skeet
 
6:31 PM
Lol
I can't edit my message
 
It's an edit window
30 secs?
 
Hm?
 
I'd hazard some buggy interface is responsible tho
 
Oh, not that
I logged out and am testing out the bot
 
6:33 PM
hey I know! how about you name it... Bot?
 
I want it to respond when you call it by name
So bot would be too generic
 
Jarvis
 
googles for a spartacus js or php framework
 
Jarvis
That sounds good
 
6:35 PM
!!? jarvis
 
Search for "jarvis" (https://www.google.com/search?q=jarvis&lr=lang_en)
• J.A.R.V.I.S. - Marvel Movies - Wikia - Just A Rather Very Intelligent System, or J.A.R.V.I.S. is Tony Stark's artificially intelligent… (http://marvel-movies.wikia.com/wiki/J.A.R.V.I.S.)
• J.A.R.V.I.S. - Marvel Cinematic Universe Wiki - W… - Just A Rather Very Intelligent System (J.A.R.V.I.S.) was Iron Man's natural-language user interface… (http://marvelcinematicuniverse.wikia.com/wiki/J.A.R.V.I.S.)
• Edwin Jarvis - Wikipedia - Edwin Jarvis is een personage uit de verhalen van Marvel Comics. Hij is vooral bekend als
 
:D
Just A Rather Very Intelligent System
Maybe too much for this bot
 
:P
 
it's what I was going to name my fork of jeeves, but i'm never going to bother actually doing that so have at it
 
Darwin
 
6:36 PM
Dogewin?
 
Maybe something unique
But not silly
 
you made walls too. fancy
 
@PeeHaa Noice
 
@PeeHaa i have blank page?
 
6:40 PM
@Linus Get a decent browser :P
What are you on?
 
firefox
 
What version?
!!? firefox es6 support
 
Search for "firefox es6 support" (https://www.google.com/search?q=firefox+es6+support&lr=lang_en)
• ECMAScript 6 support in Mozilla - JavaScript - Mo… - 19 jul. 2016 - Commonly referred to as "ES6", it defines the standard for the … listed here are alr… (https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla)
• ECMAScript 6 support in Mozilla - JavaScript - Mo… - 9 jun. 2015 - The following features are (partially) implemented in Firefox, but were introduced lo… (https://developer.mozilla.org/ca/docs/Web/JavaScript/New_in_JavaScript/ECMAScr
 
@PeeHaa Moving through walls. :-)
 
@kelunik yeah that is "by design :P" for now. Collision detection is something I need to investigate
 
6:42 PM
@PeeHaa 48.0.2
 
hmm odd that should support everything I use. What error do you get in the console?
 
HREE.WebGLRenderer: Error creating WebGL context.
 
oh wow. Shame on you firefox
 
@PeeHaa y u no transpile?
 
Anonymous
I once made a bot called Jarvis.. But had to change it because 'jarvis' isn't picked up very well in voice recognition. Literally no relevance to you, but just thought I would share :D
 
6:45 PM
@FélixGagnon-Grenier I am going to add that at some point. But first I only care about my own browser :P
 
Anonymous
And evemongoo o/
 
hey james
Dat moment when even IE and edge are doing a better job than firefox caniuse.com/#search=webgl ...
 
Anonymous
What is edge like? Anybody used it?
 
Rats!WebGL hit snag
 
6:47 PM
@JayIsTooCommon I just tried it and it actually "works"
 
Anonymous
Well the it's definitely an upgrade from ie
 
Of course they spit out different events for key presses because it's still miscrosoft
Or it doesn't support lambda's yet
 
@JayIsTooCommon :D
 
Anonymous
I got it to control my lights and everything
 
Anonymous
Know why?
 
Anonymous
6:49 PM
Because I'm a fricken genius that's why.
 
Lights?
 
@Linus Just install chrome like everybody else :P
 
^
 
:P
 
Anonymous
E.g. I would say focus, all rooms lights would go highest brightness, say cinema - all lights would dim and go dark red/orange, say relax - baige and dim etc..
 
6:51 PM
Say smoking and it would get a coke and a bag of chips?
 
Wow, chat reader crashed because of some symbol
 
Anonymous
@PeeHaa something like that ;)
 
Anonymous
It's the first programmy thing I did. I was very sad child.
 
!!? rpi incognito mode porn
 
Search for "rpi incognito mode" (https://www.google.com/search?q=rpi+incognito+mode&lr=lang_en)
• Raspberry Pi • View topic - How to setup Raspberr… - @⁠chromium --kiosk --incognito http://google.com. Posts: 1: Joined: Sun … kweb has Kiosk Mode and is… (https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=136979)
• Raspberry Pi Kiosk Screen Tutorial - Dan Purdy - 21 jan. 2014 - A Raspberry Pi Kiosk mode tutorial to display useful information on a … the incognit… (https://www.danpurdy.co.uk/web-development/raspberry-pi-kiosk-screen-tutorial/)
 
6:52 PM
@JayIsTooCommon Nice.. I can't get my toilet seat to go down sometimes.
 
Damn you google
 
Anonymous
Lol xD hahah
 
xD
 
Search for "rpi incognito mode porn" (https://www.google.com/search?q=rpi+incognito+mode+porn&lr=lang_en)
• Browsing for porn in Incognito mode isn't as priv… - 13 jan. 2016 - Browsing for porn in Chrome's Incognito mode might not be as private as … When it co… (http://thenextweb.com/google/2016/01/13/browsing-for-porn-in-chromes-incognito-mode-might-not-be-as-private-as-you-think/)
• Why Surfing Porn in Browser's Incognito Mode Is N… - 26 jun. 2016 - Browsing for porn in your browser's Incognito mode might not be as private as you th… (http://www.techworm.net/2016/06/surfing-porn-browsers-
 
I give up
 
6:53 PM
Lol
 
Anonymous
XD what use case?
 
Anonymous
I.e. Why incognito on a pi :p?
 
Ugh lemme try to find it
 
Anonymous
Don't ugh me.
 
Anonymous
Bitch.
 
6:54 PM
github.com/amphp/postgres/projects < Didn't know this existed.
 
Maybe it was an arduino instead
@kelunik Think it's new
 
Anonymous
Oh the door lock thing
 
Anonymous
Yeah arduino I think
 
@PeeHaa Yes, I think they just didn't announce the post yet: github.com/blog/…
New profile page is pretty cool as well.
 
6:56 PM
Yeah it's actually a change I don't hate for ocne
 
And finally there's better review tools.
 
It's good they have some actual competition and have to improve
and keep improving
 

« first day (2160 days earlier)      last day (2791 days later) »