« first day (2336 days earlier)      last day (2838 days later) » 

00:00
oh right
That's to do with how amp behaves
hang on let me see exactly what that will do
wow yeh that is head melty
Anonymous
:P
OK so yes @JayIsTooCommon this was wrong:
12 mins ago, by DaveRandom
Oh it would just behave the same as returnValue(null)
because if you do that, you get a type error on the return type - as indeed you should
that it has to be a promise?
yes, the return type is declared in ChatClient and the mock inherits that decl
ooooooooooooh
00:13
however if you returnValue(null) explicitly you get an instant failure and a type error
also you don't need to have the true in new Success()
no indeed
so yeh, this may be some quirk of PHPUnit? where the mock method is never actually returning for some reason
I tried to valgrind it but probably did some stuff wrong
or it's the fact that I should stop running everything on vlg and/or gdb lately :P
In many ways this is entirely academic because the mock does need to return a promise in order to satisfy the signature, but I am intrigued as to why it doesn't fail without that
Anonymous
well... it's refreshing to not be an idiot for a change, it can only get better from here...
Anonymous
00:29
i'm off, night shitlords
Anonymous
@PeeHaa thanks again o/
I'm out too
awkward
@JayIsTooCommon np
night all o/
00:44
I'm debating how my team should store their configs outside of cloud containers. Thinking about using k/v storage like Vault or Consul.
Any suggestions?
 
3 hours later…
03:24
Is good
04:12
is anybody on?
probably a few dozen stalkers
mornin
04:34
alert()
04:47
oh shit. Just Realized Douglas Crockford, speaking at confoo earlier today, was Douglas Crockford. He gave a very funny speech, something called "The post Javascript apocalypse". There were quite hilarious moments
Wes
Wes
05:18
mornin
How to become a full stack developer in 3 steps: 1. get a backend web dev position at a company of your choice 2. see the company failing miserably and say goodbye to all your colleagues 3. stay alone
\o
@Valentincognito hard day?
05:25
hard I don't know... but sad yeah
working is already shitty enough
when you see all your colleagues leaving one after the other its a bummer
you mean... they get fired?
yeah
budget cut
shit...
did you... start covering your ass in case your next?
they cant fire me I am the foreigner token
lol
hmmm?
what is a foreigner ticket?
05:28
I am the only english speaker now
i need some help
they deal with english customers all the time
hah I see
Yes indeed, making yourself un replaceable is one way to have work :)
I am looking at remote positions these days
(hmmm, tone is unclear, but that's a joke, I don't think you've been doing that)
05:30
I am more and more tempted to give it a shot
dont worry I got it ;)
are you working for a company @FélixGagnon-Grenier ?
yes, I am. also keeping a few side contracts just to make sure I never sleep
tough tbh, I'm growing weary. I wish I'd work three days a week
I dont know where you find the courage the get side contracts
contacts, mostly.
everybody needs a website. some of them are ready to pay and need more than a wordpress / wix stuff
though I mostly refer them to these tools now.
I often want to build websites on the side but I dont want to do it alone
I'd wish I knew one good designer at least to work with me
05:35
learn material design
Wes
Wes
/me downloads EAP
but it's not only a matter of not knowing design it's also the fact that I like to work in team
find more motivation in a team
even a team of two is better than being alone
@Wes took me a moment to realize that was in fact an expression of joy and not some spammy eye cancer
Wes
Wes
lol
still not in eap, but soon
05:40
what is the use of .box file in vagrant ?
Is there a way I can just past my api key to the url of a Imgur album and get the JSON? I can't find the answer in the docs
Wes
Wes
06:08
@pmmaga so, if i've understood the code correctly, i only need to remove that bit lxr.room11.org/xref/php-src%407.1/Zend/zend_inheritance.c#559 ?
06:47
mornin
mornin @tereško
@Linus do you use vagrant at work?
@Wes I need a chat message link to tweet
I'll have to spend a few days learning laravel.
06:56
not at work but at home previously
I'm probably the most intelligent being on this planet
They've decided we use the best framework on planet earth, Laravel, for the hackathon project.
@littlepootis :P
Laravel a piece of shit :P
We can't blame them, though. Their website looks really good.
And oh the boilerplate.
user image
9
07:02
@littlepootis lol
why does IntlCodePointBreakIterator not give any sort of error when it comes across a byte sequence that's invalid in utf-8? 3v4l.org/dR8WU
why laravel for project?
all I get for it from getLastCodePoint() is the codepoint for the unicode replacement character, making it impossible to distinguish between a string that happens to have one of those and a string with invalid utf8 :(
user6619012
user6619012
please help me to solve syntax related issue in the code as you can see in above image, full code : pastebin.com/P32K7bka
user6619012
07:06
opening <div "<" is not showing in blue color
user6619012
<script type="text/javascript">

var aitcgBaseConfig = {
text: {

cancel: "<?php echo $this->__('Cancel'); ?>",

apply: "
<?php
if($customerId)
{
if($customersaveDesign=="No")
{
echo $this->__('SAVE DESIGN');
?>
onclick="saveproductLike('<?php echo $_product->getEntityId()?>',
'<?php echo $customerId?>','<?php echo count($likeProduct)?>');"
<?php
}
else
{
echo $this->__('got');
}
}
else
{
?>
<div onclick="setproductlogin('<?php echo $_product->getEntityId()?>');setrequestlogin();">
<img src="<?php echo $this->getSkinUrl('images/plike.png'); ?>"/>
user924016
Mornings
o/
user924016
\o
Wes
Wes
07:21
@PaulCrovella problem is imho that the internal conversion from utf8 to utf16 is lenient, should error cc @Sara
the only thing you can do apparently is validating the sequence before it gets passed to setText
Wes
Wes
i mean, it's not supposed to give you errors, because breakiterator is, by design, supposed to work on valid code point sequences
the problem is that php doesn't have them, so it should error when the conversion is performed, ie, in setText
Mornings
another thing that's sorta odd is there are methods isBoundary (to check if a byte offset is at a boundary), preceding (to set the iterator to a boundary prior to an offset), and following (to set the iterator to a boundary after an offset)... but no method to set the iterator to a boundary at an offset
07:34
@Wes an error from setText would be fantastic
Wes
Wes
utext_openUTF8 (UText *ut, const char *s, int64_t length, UErrorCode *status) <- this probably contains the error
i think that line is wrong,
utext_openUTF8(ut, ZSTR_VAL(text), ZSTR_LEN(text), BREAKITER_ERROR_CODE_P(bio));
should be:
utext_openUTF8(ut, ZSTR_VAL(text), ZSTR_LEN(text), INTL_ERROR_CODE(bio));
wtf @ System.out.print('Hello world')
Also moin 11
Wes
Wes
if that function gives an error, it won't be a breakiterator error, but utext or whatever error, only not breakiterator
maybe joe can check? \o
if i didn't suck i would try it myself
Wes
Wes
utext_openUTF8 is not related to breakiterator @JoeWatkins
07:49
sure, but BREAKITER_ERROR_CODE_P(bio) is just returning the addressof the intl_error in the bi object
which looks right ?
oh no it's not right
do a patch and test it ...
Wes
Wes
/me engages smug-mode. i was just guessing tho
Wes
Wes
@JoeWatkins not yet at that level. would love to tho. soon
Wes
Wes
ok. rofl
do i need a full fork or would a gist be ok :B
07:54
work in branch of fork, if it's good you can open a PR
!!tuesday
should be okay to swap for INTL_DATA_ERROR_P
I think ... although intl gives me a headache
someone add !!tuesday with youtube.com/watch?v=Y1_VsyLAGuk :D
I blame c++
I blame @PeeHaa
5
Wes
Wes
07:56
imagine what gives to me @JoeWatkins
@Wes are you working on php-src?
Wes
Wes
just randomly browsing it
Command '!!tuesday' aliased to '!!youtube.com/watch?v=a00_tPLcE_g';
it's thursday
07:57
derp
!!unalias tuesday
@Jeeves ...
Alias '!!tuesday' removed
@JoeWatkins I am in my twenties.
what the actual fuck
Command '!!tuesday' aliased to '!!say youtube.com/watch?v=a00_tPLcE_g';
07:58
!!friday
@Trucy Happy Prebeccaday!
Wes
Wes
@JoeWatkins don't let me do that. i have no idea. should it return after that?
Thank you @Jeeves :)
@Trucy You're welcome!
3 messages moved to Trash
@Jeeves why does that end with a semicolon?
07:59
@PaulCrovella I don't know. You brought it up.
fair enough
@Wes look at INTL_METHOD_CHECK_STATUS_OR_NULL which is called after the utext func, it should handle the error if the utext func is given the correct structure to store the error
I think ...
neo
neo
guys is there anyway to implement a facebook 'reaction system'(like,love etc) without damaging the database by calling everytime when one user updates ?
damaging ?
neo
neo
when there are more than 1 call/second
Wes
Wes
08:01
@PaulCrovella convince joe to do it if you want it fixed :B if i do it, it will take ages :B
@Wes TRY
@Wes it'll be ages before I can use it after it's fixed anyway, so have at it
Wes
Wes
can be fixed in 7.0+
you figured it out already, and I was wrong ... have a go ...
neo
neo
databases can't mulltiple update a field in 1 second right
Wes
Wes
08:01
also 5.6
neo
neo
@JoeWatkins no means ?
no means no
neo
neo
mean it can ?
databases use some kind of mutual exclusion to preserve integrity of data
neo
neo
08:03
kk
@Wes nope, sec only
Wes
Wes
sec = ?
security
Wes
Wes
so 7.0+?
Wes
Wes
08:05
7.0.0 is release branch, work from dev branch (7.0)
html css room always empty :(
Wes
Wes
so i need to branch 7.0.17?
no, branch 7.0
Wes
Wes
ah, got it
08:07
7.0.X are release branches (7.1.X are too)
afk school run
(oh, I understood the System.out.print() thingy. Nice work @PaulCrovella :D)
not mine, just something I saw on the interwebs and got a chuckle from
Nice work, stranger on the Intertubes
Wes
Wes
@JoeWatkins i'm trying but i keep getting lost in macros in macros in macros in macros in macros in macros
... in macros
i quit. sorry. but if you do it i'm curious to read it
macros are there to keep you from getting lost in macros. if you do find yourself lost in macros try creating a macro to help.
Wes
Wes
08:23
:'(
@Wes I don't have that many problems in PHP with them.
It's totally worse in OpenSSL, where you find a really helpful API / macro, then realize it's not available in OpenSSL 1.0.1.
Wes
Wes
i mean, seriously:
#define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error)
#define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) how is this an improvement?
To answer my question what encoding does $_GET have? — Peter 25 mins ago
@Wes So you want to write (((intl_object *)(obj))->error) the whole time?
anyone knows? I said it's whatever the sender specified.
Wes
Wes
08:27
@kelunik i mean _P
@Gordon Right, it's just a sequence of bytes.
$_GET is as $_GET does
I can see how $_GET is created in lxr.room11.org/xref/php-src%40master/main/php_variables.c#698 and that it uses treat_data apparently, but I cannot find the impl for that
Anonymous
mornin
08:42
morgen
user924016
@PeeHaa Godmorgen
peemorhaagen
mornin
morhaa
08:46
https://t.co/OO5MoyiuC5
The media upload feature is so nice @DaveRandom <3
@PeeHaa you might want to see a cardiologist
:P
I had a bypass
I found something
!!urban PeeHaa
[ PeeHaa ] A cowboy shouting peeee haaa! while peeing and swinging a lasso.
16
@Gordon I don't ride a donkey.
mornings 11
@Jeeves but @PeeHaa does
@Gordon I know what can wash that sad away.
08:57
nothing… :D
@Jeeves Wow, being in urban dictionnary is kinda an honour, right?
@Trucy All you have to do is put a banana in your ear.
@Trucy Do that ^
@Trucy No I need to know what is going on.
don't listen to him, it's not really a banana
08:58
@Saitama What for?
putting a banana in your ear makes the alien vibes stronger in your head
@Trucy because @Jeeves said it
@Saitama I don't recall.
@Gordon Will I be able to control minds with it?
@Jeeves I'm afraid you have some short term memory loss then...
08:59
@Saitama No it is actually you who have short term memory loss, I don't even know what we were talking about.
@Trucy no, but the aliens will
Moin
moin Sean
09:14
> I prefer accessing globals through static function calls. Source code looks better; I use glb::get('myglobalvar') instead of $GLOBALS['myglobalvar']. This gives me full control over global access, which can be the source of problems in practice.
mmmmkay…
@PeeHaa please ask "how"
It's a user note
I just delete stuff like that
on a sidenote, urban dictionary approves definitions real quick tho
Wat. They approve stuff?
I thought it was community driven
@PeeHaa Yeah
09:17
til
It is, the community approves stuff
09:22
> * Removed is_greater(_or_equal) support
um... okay
It's pecl ¯\_(ツ)_/¯
@PeeHaa cleaning up docs?
Can someone tell me what is the purpose of statements like this one:
#define X(op, meth) \
  s_##meth = zend_string_init(#meth, strlen(#meth), 1); \
  zend_set_user_opcode_handler(ZEND_##op, op_handler);
ALL_OPS(X)
#undef X
@tereško User notes mostly
Defining macro and undef after just one usage?
09:27
may be used several times by ALL_OPS
if you're asking why it's a macro, and not just code, it's because macros allow you to do magic that code can't do (pasting)
@PeeHaa So if globals would be deprecated and then removed from PHP your refactor would be quite small change right?
Anonymous
@PeeHaa because this is done privately, i don't need to test the content of messages do I? I just need to confirm that moveMessages is hit with the correct type of arguments? github.com/Room-11/Jeeves/blob/master/src/BuiltIn/Commands/…
@brzuchal ?
your code would also have to deal with flying pigs and temperatures associated with hell freezing over ... so, pretty substantial changes ...
@PeeHaa You wrote that youre accessing globals from static method, so if there were no globals...
09:29
it was a quote
@PeeHaa would never say anything so ridiculous ...
@JoeWatkins Thanks
Ahhhh I see, nvm
If there were no globals in PHP, then it would be just PeeHaaVA...
is any of you aware of a framework that uses Pipes & Filters as it's main pattern, e.g. a framework that will take any request input through a number of transforming steps to produce the output?
@Gordon Any functional programming thing :P
09:32
o/
\o
<<< c-c-c-combo breaker >>>
/me flags
@Gordon no, not sure if it fits in php does it ?
@JoeWatkins how does it not fit?
09:35
anybody familiar with joomla?
Anonymous
@Rasika yes, it's shit
sorry??
Anonymous
Joomla == bad
haha,.. yeah
well I never heard of it before, and so never seen any software that uses it ... but the description I just read describes a cloud computing integration pattern where discrete functions with different scalability requirements (filters) are executed concurrently communicating via pipes ...
if I'm reading it right, then none of it fits
09:37
I am getting an error Warning Model class awardpackageModelUgiftcode not found in file.
am I reading it right ?
i find joomla's code better than WP
@JoeWatkins simpler. I mean this cat in.txt | some-foo | some-bar | some-baz > out.txt where in.txt is the request and out.txt is the response.
iconv is broken on windows 3v4l.org/OmEPa .. guessing whatever lib version that was fixed in ain't the one bundled with php
09:39
@Izopi4a thats like comparing the taste of two different turds
oh a bunch of stuff works like that
haha, well @Patrick i agree, i just dont know hy people love Drupal. If someone can explain it to me ...
parser/lexer generators come to mind
Anonymous
oh fuck the bed
Anonymous
@DaveRandom just committed to master by accident..
09:40
there just may not be more than one filter, but there may be ...
Hey Jay, I've got a present for you
!!innit
innit
@JayIsTooCommon git revert
Lmao
Was just about to thank you for the sweet test commits
@Gordon where is this line of questioning leading anyway ?
09:42
@JayIsTooCommon committed or pushed? :P
Anonymous
yes, push I mean.. how do I unfuck this?
git revert
Anonymous
isn't that for a specific commit though?
or merge commits
Cherry pick it out and push -f ?
09:43
@JoeWatkins I was just wondering why I haven't seen anything like this taken as the basis for a web framework
do not rewrite history
#yolo
just revert all the commits
Anonymous
kk
do not rewrite history
09:44
@Gordon seems like its mainly a data transformation pattern? I guess it doesn't really bring benefits to a normal webapp
@JoeWatkins For @Jeeves I'd probably do that. Either revert all the commits and squash the reverts into one revert commit or just fix what you have pushed as if it was ready to be merged. @JayIsTooCommon
@kelunik You seem confused. I don't have memory loss.
@Sean Yeah that's a dick move for others :P
@kelunik It is, because its silly to be confused when I know the answer, but I won't carry through with it.
Unless you want to be an asshole :D
09:45
@PeeHaa There's two types of people on this planet
@Jeeves shut up
Anonymous
could fix what i've merged but also wanted to squash my commits before merging.
@JoeWatkins I do.
@JayIsTooCommon It's too late for that.
Anonymous
09:46
i'll revert
If you can fix it, just fix it.
Anonymous
ok i'll fix it
Anonymous
GOD @kelunik
@PaulCrovella WAT
@Patrick why not? a request is basically just a function call. data in, processing, data out.
09:46
@Izopi4a when you pick up a turd and squeeze, it doesn't really matter, between which fingers it squeezes out more - that how I see the discussion about "which is better: wordpress or joomla"
7
Anonymous
though it failed because of a seg fault..
@Gordon Until you start using HTTP/2 and pushes, suddenly you have one request and multiple responses.
fix it in your feature branch, don't make noise in master branch
09:48
@Gordon not really, most of the time we are not transforming the data that we input and then return it again. its more CRUD with some business logik sprinkled on top from my experience
its not what I ment, the idea is that i like the source code more, and thats it, i find all of this stuff hard to work with @tereško
it is a kind of transformation
@Izopi4a We all find working with @tereško hard. You aren't alone.
in some sense the input will always determine the output
Yeah but it seems like a bad usecase for pipes and filters
09:48
haha
@Patrick I think I disagree. If you have an API, the input defines the output.
@Patrick if I do a GET /friends?living-in=some-place you can model the entire process as a series of steps to produce the resulting list, can't I?
@tereško that's mildly offensive to me
Hitler: We need to mine less minerals.
Grammar Nazi: Mine fewer!
Hilter: Yes?
3
09:55
@Gordon hmm ... you might be correct. I shouldn't make Germans angry.
@Gordon It's how Aerys middlewares work.
I might be looking for Dataflow programming. not sure yet.
@tereško can you please not put a space after hmm and the ellipsis and it's … instead of .... Thank you!
Please vote-up recursion detection in PHPStorm youtrack.jetbrains.com/issue/WI-35353
09:57
@kelunik interesting
(based on generators)
@brzuchal I could see a lot more things I want them to work on instead :P
ThW
ThW
Morning
Morgen @ThW
09:59
isn't it how middleware works in general ?

« first day (2336 days earlier)      last day (2838 days later) »