« first day (2637 days earlier)      last day (2536 days later) » 
00:00 - 12:0012:00 - 00:00

@Fabor I guess I'm late: @tereško blog something
00:46
@Trowski Not sure whether I can call this horrible or bringing things up in a way that people do really understand. It's not like every word from him is in that tone. It's just the mails where he is really trying to tell the red lines to these who try to repeatedly cross them, where he's more aggressive, and which are remarkable and shared. There's quite some bias in there.
01:03
^ Besides @tereško is a jerk and we like him.
@bwoebi That's true, if every email I wrote to people I'm frustrated with was published online I'd probably look pretty bad too.
The language he uses is incendiary and crosses a line though.
01:52
posted on January 03, 2018

New Cyanide and Happiness Comic

 
1 hour later…
03:21
Union all values of array using ++ – #75757
it's 4:30am
this is so unreasonable ...
not sure why they even made a 4:30am
morning all.
03:34
\o
o/
who are baned from internals?
Tony Marston and Reindl Harald
Oh,looks like most people are happy with that :P
it's not all positive - how will I know a thread is over if they don't chime in?
03:49
we still have lester and y
they're less reliable
04:36
Morning !
o/
@JoeWatkins I have put together a proposal to my university for a special project to add parameterized types to PHP. If accepted I'll be given course credit and will also allow me to block out more time to work on it.
04:56
excellent
I'm not super active right now, I'm unwell, even had to get Sara to do last php release
morning
05:36
o/
05:52
How do you check if a variable has been passed through a URL?
06:17
@ErikHumphrey Variable? Not sure what you mean .. But people usually do this: if ( isset( $_GET['arg1'] ) ){ }
guys, is there any service that I can send money for you (which live in europe)?
Western Union.
Or MoneyGram.
Or Paypal.
etc
@Shafizadeh ^
well I'm from Iran and I don't have neither Paypal nor any Credit Card
Wes
Wes
transferwise is also getting popular, and bitcoin obvs
I'm looking for an approach to send money for one of you guys, and you buy a VPS for me :-)
who's in?
Wes
Wes
i'm afraid that's not going to work man :B
try to get bitcoins
06:24
why? what's the problem?
Wes
Wes
if i own a vps i am legally responsible for it. and as you know our worlds don't have the best of relationship
i mean, i'd rather not get myself in that kind of troubles :P
but maybe someone else will
@Shafizadeh You might be able to find a vps provider in Iran. And if not you can always apply fro a Credit card with your bank and use that to buy a VPS for yourself.
@Wes ah I see. You are right.
@mega6382 ok I will try it
user924016
06:44
moarnings
Wes
Wes
\o
@James Sorry to bother you, but I just wanted to ask, have you had time to look into my email?
07:01
Bug in php.net website – #75758
!!wotd
moira (among ancient Greeks) a person's fate or destiny.
!!dad
What did the buffalo say to his son when he left for college? Bison
07:15
@Jeeves woah
@SaitamaSama I know, right?!
Anonymous
07:25
@Jeeves you're getting better
@samayo Thanks.
Anonymous
@SaitamaSama How was the game last night?
@Jeeves But you are still very stupid.
@mega6382 How do you know that?
@SaitamaSama Isn't moira a hero in Overwatch?
07:29
@mega6382 that's why the 'woah' :P
@samayo pretty nice, we were grinding for some loot boxes in arcade
hey guys
07:42
Hi
Yey.. I'm Buying a Virtual Master Card ...!
Wes
Wes
mornings
@Shafizadeh What, Payoneer?
@mega6382 Nope .. there is a Iranian website which issues Virtual Master Card for people ... I found it just now
Just one English question guys, I sent an email to hetzner (VPS provider) and told them "can I pay in your website using Virtual Master Card", and they answered:
> Dear Mr Shafizadeh, I see no reason why it should not work.
Well what does it mean exactly? Can I pay or not?
07:51
if it runs via the mastercard authorisation etc.. it should work
ah ok, good
say the virtual card is just the number, the verification code and expiry date
and the provider handles all details(maintaining balance, etc..) then it should work
it would be the same as if you were to type the details off a physical card
but now you just type it off a website
probaly one time use codes which you have to renew every time
Hi, Guys if i made "PDO" connection object as private static variable and than i check if that variable is a instance of \PDO class, for reusability so is it safe or i might be in trouble?
07:53
reusability is safe
but I prefer a simple class like this:
yes plese tell me @Tschallacka
sorry, had to make the kopy :P
you can then at the top of the document have use Nirav\Database\DB;

And in your code DB::getConnection()->prepare etc...
that way you don't have to worry about initialisation
i have another issue my website run smoothly but several time it takes more than 30 - 40 seconds to load..
might be a query
or too many echo's
try to limit all echos to ONE echo
so instead of
echo "a b c";
echo "<BR>"
echo "foo bar"
try to use
$output = [];
$output[] = "a b c";
$output[] = "<BR>";
echo implode('',$output);
every single echo requires a buffer check, flush, etc.. and can seriously slow down a site
Okie.. Thank you @Tschallacka for help
07:58
also, if you use template files
YEs
than?
template files means what?
Wes
Wes
@Tschallacka i seriously doubt that
where you include seperate files that are your views
@Wes I had a script, that rendered 3x 365 calendar items via echo. When I modified it to use array, it was significantly faster
Wes
Wes
misconfiguration
gzip enabled maybe
you shouldn't buffer output unless you want to gzip it
but even in that case i doubt it's the bottleneck of an application
bottlenecks are data structures, databases...
Hura ..! From now on, you're talking with a person who has a Master Card ..! You'r welcome ;-)
08:06
Ok @Tschallacka
Wes
Wes
@NiravJoshi profile your queries. get xdebug and enable the profiler
I do need to add that that was in 5.4 times
Wes
Wes
what? as you can see if you collect strings in the array it's slower
heh, must have been a 5.4 issue back then then
I must add I never re-checked afterwards if it still held true
Wes
Wes
08:15
maybe you just had output buffering enabled
could be, but there's also this website buffer, 4094 characters or so
so the webserver also has a buffer before it sends
and that is there anyhows
or bytes
or something like that. I know that when outputting a lot of small things you need to flush(old style long lived chat like cgi-irc) you need to append empty chars to trigger the buffer treshold before flush() will work
but that was even in php 4 or lower heh
guys, which one is your suggestion as the OS of a VPS?
Ubuntu 16.04.3 LTS minimal
Ubuntu 16.04.3 LTS Nextcloud
Ubuntu 17.10 minimal
what are you going to do with it
@Tschallacka who are you talking to?
you
in order to recommend an OS one kinda needs to know what you are intending the server to do
08:18
well I will install php, mysql, nginx on it and upload my website there
that's it?
emm .. yes, noted that I've some heavy queries in my website.
also I need to install git on it to pull the new version of my website
and htop, I use it to see my server performance
I assume you don't need any ubuntu specific features then that need to be there for long term?
yes, forever :-)
and what you mean by "ubuntu specific features"? like what?
Do you need dropbox like features?
08:23
on the server?
Yea, so not stuff from packages like apache etc.., but specific ubuntu software that only the ubuntu core offers
or that you have software packages that only run on ubuntu 16
do you need dropbox/google drive like features available on the server?
I see, just what's the difference between "Ubuntu 16.04.3 LTS minimal" and "Ubuntu 16.04.3 LTS Nextcloud"
@Tschallacka nope
then you don't need nextcloud
so then you can go with the newest ubuntu
@Tschallacka ah got it, thx
and then regularly update with apt-get update, apt-get upgrade
to keep yourself secure
08:25
@Tschallacka newest? you mean 17 ?
ok :-)
one question, I never used Ubuntu 17, are its commands the same as older Ubuntu versions?
Anonymous
@Shafizadeh where did you buy this virtual mastercard?
Anonymous
If you mean a gift card.
08:29
@samayo It's an Iran website, do you want the link?
Anonymous
yeah
@samayo no it is not a gift card, however I can buy a gift card too. that website gives everything: PayPal, master card, gift card, visa card etc ...
Anonymous
can you buy one completely anonymously?
@samayo nope
Anonymous
Is the site available in eng?
08:36
@samayo really do you want the link? can you read/understand Persian?
@samayo nope, the LTD is .ir (not .com)
Anonymous
yeah, if it is illegal site just DM me on twitter
see the where can I get one
also as a side question, have I seen you @Tschallacka in here before?
08:38
@Shafizadeh Just post the url here, so we can all see.
I've been a member of stackoverflow for years, I occasionally pop in
Anonymous
I know where to get one. I just need a provider that doesn't grab as much of my info as possible
@Tschallacka I know your a old member of SO, just I want to know, have I talked to you already?
08:41
I honestly have no clue, could be, could be that you know me from somewhere else
i've been around on the interwebs
@samayo then that website is exactly what you want .. it issues a credit card for you with another person info (gives you a fake personality)
@Tschallacka okey
maybe you know me as a minecraft modder, maybe from the one or two youtube vids, maybe from imgur, maybe from reddit
Anonymous
hmm.. i love me some fake personality
hell, maybe even achaea
@samayo this sentence is invalid in English: "i love me some fake personality"
08:43
*I'd
Anonymous
10
Q: Reflexive love: where does "love me some ..." come from?

CalebIt seems trendy to use a reflexive-like construction with love or hate plus some, like this: You know I love me some cheese! I hate me some cold and the temperature is dropping. Where did this come from and why has it become popular?

I guess "me" is redundant
@samayo oh ..! well sorry, I'm not good in English
no worries, it's a kind of meme really, I think originally started in some series or movie
at least thats where I know it from
08:46
:)
is English your native @Tschallacka ?
I would love for me to have some bla bla would be a fully valid sentence
but since humans are lazy and love to abbriviate
no, dutch is
@Shafizadeh It is not that would change the meaning of the sentence entirely.
Hey guys, can anyone help me out to resolve issue :
0
Q: Wordpress multisite : domain mapping custom URL getting 403 error

cyberlobeHere are the steps i have followed : Installed a new WordPress 4.9 multisite. I can navigate Front end access to the main site dashboard For ex: http://urlcorrect.com/wp-admin/ & http://urlcorrect.com/ Now i created a sub site & access to the sub site dashboard & front For ex : http://urlcorrec...

hmmh
you made your website for suburl.domain.com/test
and you are suprised you get a forbidden on suburl.domain.com?
08:57
@Tschallacka nope http://urlcorrect.com/test/ is just example URL, This works fine

Issue is while i use domain mapping plugin & than it creates new URL, that URL is not working.
well
then I suggest you look at the source code of the plugin and try to trace where it doesn't match the url. That always helped me the most, when mixing and matching multiple plugins and they should work but don't
ok let me check it
btw thanks
I have also edited my question & added more clearly defined issue.
Anonymous
hmm.. how does javascript read from kernel memory?
Anonymous
I've been trying to find an eli5 on intelbug .... still don't get what the bug does
09:22
you mean command line javascript?
Anonymous
from browser
in a proper browser javascript is sandboxed
so it shouldn't be able to read from kernel memory
if you can get it to read kernel memory you probaly can make a nice buck reporting such a bug
Anonymous
Yeah, but I read that somewhere a while ago
Anonymous
Don't get what intel chip has to do with giving access to memory. I thought that was a software's job not hardware!!?
Anonymous
eh.. I really need to learn a bit of CS
Anonymous
but the hardware can't give/refuse access to memory without a software (a program) right?
Anonymous
So, intel's software (if there is one) is the faulty bug in here...
something like making a lock for a door, mounting it in the door, but to never make a notch where the lock can lock into place
yea, it was a hardware blunder
microsoft and linux kernels needed to patch it via software protections according to the article
09:28
@Tschallacka you can
Anonymous
@Wes pignd
Wes
Wes
wat
Anonymous
@Wes the result value here - github.com/php/php-src/blob/… is either -1 or 0, correct?
Anonymous
oh nvm
Anonymous
result is cast to bool..
Wes
Wes
09:31
i have no idea what that -1 is
but again why are you doing this
Anonymous
-1 will cast to true, whereas 0 will be false. Why it's -1 I don't know
perhaps for debugging, so the dev could see which branch returned true
some are 1, some are -1
so they could see the right branch was hit, perhaps
that's a reason i'd do it
Anonymous
yeah ^ that's what I was thinking too
09:46
I'm setting my master card details to my account on a website. There is a field named "CVC", what's that? I just has something named "CVV" on the card, are they the same thing?
Anonymous
It's a security number. Usually found on the back of the card (type specific)
ah
so CVV and CVC are two different things, right?
ok got it
Anonymous
Not sure about CVV
09:51
cvv /csv is the same
it's a 3 digit security code
basically the thing that enables 3d secure
i haz problem / question
I have a cheeseburger?
nvm, I'm retarded
yes, now where is my fund raiser? :O
@Jeeves how about you do something usefull and throw me a fundraiser?
10:00
@Naruto Songwriting is a process.
@Naruto iirc you play OW as well right?
OW?
overwatch
@JayIsTooCommon Remember this is a comparison function, the int is converted to bool (so true if not 0), and if it is true, the result is -1 indicating that null is less than the int. If the int is 0, then the result is 0, indicating they are equal (and if it returned 1, which it cannot in that branch, it would indicate greater than)
Think of the function like the spaceship operator
10:06
/me applauds @Leigh
oh, no irc commands
ok, noted
@Tschallacka thx
Ppl is swoole not available for windows?
@Patrick that's some industrial grade butthurt
basic windows support thanks to cygwin
what you could do is fire up a virtual linux distro, install swoole server there, and connect to it via network
@SaitamaSama funny that you ask, I happend to play it yesterday for like 30 min, it had been almost a year since I had played it
10:10
@Tschallacka Thanks man, gonna have to do something like that it seems.
or have fun, and make a fork for windows :P
Anonymous
@Leigh right, understand. But the end result, -1 and >0 are cast the same?
@Naruto :B
wanna play sometime together tomorrow?
Anonymous
@PeeHaa get an xbox. Get fortnite. Thanks.
Console Pleb
10:14
@JayIsTooCommon why the fuck would anyone waste money on xbox?
Anonymous
@tereško the graphics are better.
@JayIsTooCommon You mean the input integer?
@JayIsTooCommon compared to what?
Anonymous
@tereško I'm trolling but just realised it's you. And I shouldn't play with fire C:. I only got Xbox for social reasons, not many friends have PC :)
Anonymous
inb4 'get new friends'
10:16
you can always educate your friends
you probable are the "tech support" in your local social graph
The input was (null < -1), which equates to (null < true), so the result of the compare(null, true) is -1, meaning less than. compare(null, false) is 0 meaning equal
Anonymous
@Leigh No the return result. So -1 and 1 will return true, whereas 0 will return false. So if they're cast to the same boolean, what's the purpose of having -1 and 1 ?
-1 = less than, 0 = equal to, 1 = greater than
In your test code, replace all the < with <=>
Anonymous
ah :)
Anonymous
cheers ape man
Anonymous
10:21
@tereško along with whore, yes
@SaitamaSama maybe, depends what time I'm going to be at home, might get pretty late
hmm.... we could prolly play on a weekend then
Anonymous
@Naruto what is your battletag?
I have no clue, I'd have to check that tonight
Wes
Wes
\o
10:38
o/
o/
Dark souls is really kicking my rear atm
Using #Meltdown to steal passwords in real time #intelbug #kaiser #kpti /cc @mlqxyz @lavados @StefanMangard @yuvalyarom https://meltdownattack.com/ https://t.co/JbEvQSQraP
Wes
Wes
bitcoin is slightly going up again. i might have bought at the right moment
@Danack intel is fucked, lol
all praise the holy gods of AMD
Hey guys any elastic search user here ?
Anonymous
yeah, I have used some to hold some money together
> Don't ask to ask, just ask.
11:04
Do you have an idea of how to partialy match querry ?
I've read that I can use something like `match {'text' : '.*partOfW.*'}` but this seems not to work
I've tried to use fuziness too but this is clearcly a confusing fonctionnality (my opinion) and I'm not managing to get a proper result
@Baldráni I don't know. Googling it gives this page elastic.co/guide/en/elasticsearch/guide/current/… - does that not work?
neither :'(
How doesn't it work?
{
  "took" : 4,
  "timed_out" : false,
  "_shards" : {
    "total" : 5,
    "successful" : 5,
    "failed" : 0
  },
  "hits" : {
    "total" : 0,
    "max_score" : null,
    "hits" : [ ]
  }
}
11:14
@Wes I bought at 12650 and sold at 12800 (euros) earlier, that's my profit for today :p
No hits even if I'm sure there is some
@Wes what exchange are you using?
@Leigh @Wes you should try Binance in 'expert' mode for scalping and swing
I have a scalping bot running, I just have a reserve for price spikes so I can manually trade too
Wes
Wes
bittrex
11:18
Ah I'm on GDAX, writing some tools and automation for there
I prefier manual trade
I have some mitigations built in, if the price spikes too much the bot will go into "panic mode" and cancel all trades and wait for a while
It's not even close to a good strategy, but I've avoided most big losses
11:49
Hi, can I please get some help with this question please. :)
https://stackoverflow.com/questions/48061179/loops-with-php-and-fpdf
and if needs be, welcome to have suggestions on improving the question as it's probably too long and harder to digest to give an answer for.
down voted already. the flame is real.
You could gain a lot of logic by making a model object of how it should look.
and have that model digest the json data and populate itself
then sort the model data to showrooms
in other words, structure your unstructured data
could you post the JSON.stringify contents you're posting to php?
or include it into your question instead of the screenshot,
00:00 - 12:0012:00 - 00:00

« first day (2637 days earlier)      last day (2536 days later) »