« first day (2238 days earlier)      last day (2704 days later) » 

12:00 AM
afaik there isn't a way to avoid it
 
So... maybe just allocate one in minit and then refcount it?
 
I'm very unsure, I guess you'll find out what it breaks ...
 
we are supposed to be able to have objects out of the store, but I have tried it before and it went wrong
we're also supposed to be able to have objects without a class entry in the class table
 
Anonymous
12:13 AM
Argh, it's 1st December D:
 
Happy December !
 
@JoeWatkins can't remember the name of the function off the top of my head; what's the way to increase the refcount of an object/
 
GC_REFCOUNT(obj)++
/me sleeps
 
Thanks.
 
12:44 AM
I am using the top answer in stackoverflow.com/questions/4629022/… to add data to my MySQL database, however it is not adding it to the DB. I checked $dbh->errorInfoand it gives me the code 00000 which is supposed to mean everything worked successfully. Does anyone have an idea of why it wouldn't add it to the mySQL database?
I am trying to add 2000+ entries that have 13 values each.. is that possible to do with one PDO statement?
 
0
Q: SQL LIKE operator in codeigniter

Pure Rhymer OrganizationIf have this tables USER TABLE ID | name | mode 1 | foo | private PRIVATE TABLE private_id | id | private_name 1 | 1 | private mode PUBLIC TABLE public_id | id | public_name 1 | 1 | public mode I want to return the query depending what data in school for ex...

help please
 
1:04 AM
@PureRhymerOrganization by which keyword you want to be able to search your records ? and what do you want to return ? Users ?
it's difficult to understand the role of your tables
 
1:23 AM
@Valentincognito if my keyword is 'mode' it gives public mode and private mode
 
because you use a wildcard like search
LIKE %word% basically say that whatever is in before or after 'word' doesn't matter @PureRhymerOrganization
To find names beginning with b:

mysql> SELECT * FROM pet WHERE name LIKE 'b%';
is that what your are asking ?
 
I want to return the query depending what data in school for example if the data of COLUMN MODE in USER TABLE is private I want it to search only in PRIVATE TABLE and if its public it only returns the data in PUBLIC TABLE
@Valentincognito yes i know that if my keyword is %mode% it display any data that has mode in its name but i need it to search depends if what the COLUMN MODE in USER TABLE if the data is PRIVATE i want it only find all %mode% in PRIVATE TABLE only and dont find in PUBLIC MODE
and if the COLUMN MODE in USER TABLE is PUBLIC then it will only find all %mode% in PUBLIC TABLE only
 
1:38 AM
It is quite difficult to understand what your are trying to achieve but what don't you then join your public or private tables based on your keyword ? if($keyword=='private'){ $this->db->join("private","private.id = user.id","LEFT");}else if($keyword=='public'){$this->db->join("public","public.id = user.id","LEFT");}
 
but my keyword is only %mode% not private
yes it is difficult
 
if people cannot fully understand what you are trying to achieve it is difficult to help, you know your project well because you developed it but we don't and you have to imagine that you have to explain your problem to people with very little knowledge of what you are trying to do
for starter you should show us a few more rows and fields of your tables
 
2:03 AM
in my display sir i have this code

VIEW
ID : <?php $display ->id; ?>
Name : <?php $display->name; ?>
$display_mod = display($display->id);
Mode : <?php $display_mode->mode; ?>

function display($id){
$this->db->join("public","public.id = user.id","LEFT");
$this->db->join("private","private.id = user.id","LEFT");
$q = $this->db->get("user");
$new = $q->result();
if($new){
$d = $new->mode;
}

if($d == 'private'){
$w = array(
"id" => $id;
);
$this->db->where($w);
$qw = $this->db->get("private table");
@Valentincognito i hope you can understand now sorry english is not my mother tounge
thats why its hard to elaborate what i want to explain
 
 
1 hour later…
3:17 AM
@bwoebi can you give me the tl;dr about phpdbg not working with PhpStorm? I remember it was being investigated and then was dropped.
 
Wes
well done
 
Hey all quick question. I have a website with a bunch of images to load into a gallery all on one page. Would php have any good solution to help load all of these images. Right now I get a 503 error but I think its because of how many im loading into the page
 
I done this before Zack
I load only 6 at a time
then a link to have 6 more loaded with ajax
on the page
 
You can see an example of what my goal is. I like your idea but dont think it would be best for my site. Look at the products tab afk.000webhostapp.com/AFK
 
3:32 AM
products?
dosent work.
 
3:49 AM
morning
!!friday
 
@Linus Happy Prebeccaday!
 
What doesnt work for you?
For me it loads but not all the pictures
I honestly have no idea what happened but its working now!
 
4:45 AM
!!dad
 
What do you call a sketchy Italian neighbour hood? The Spaghetto
2
 
Wes
true story
 
mornin
o/
 
Wes
do you get notified when people say "true story", right?
mornin :B
 
Yes :p
Any help on this
 
5:00 AM
mornin Wes
 
Wes
\o
 
o/
 
Wes
sorry barney, no clue about that
 
Not an issue @Wes
This error is fucking me since yesterday in my production site ! :'(
Not every time I do get this error ! there are some cases where customers are complaining !
 
morning
 
Wes
5:05 AM
\o
 
I've found this comparison made by SO and there is almost nothinkg about PHP it is sad :( stackoverflow.blog/2016/11/…
 
Wes
is so main down for you?
 
what do you mean about "main down"?
 
Wes
"SO main" as in not SO chat
 
StackOverfow
:D
 
Yes @Linus I went through all these
Actually If I am having issue like SO Question then i am suppose to get error every time.
 
Wes
!!should i go to bed or have another coffee
 
You should have another coffee.
 
Wes
!!are you sure?
 
@Jeeves @Jeeves let him sleep
 
5:10 AM
Have a beer
 
@brzuchal yeah i have also red that last night :D php is not even mentioned there
 
Wes
............................................................. 1769 / 7751 ( 22%)
............................................................. 1830 / 7751 ( 23%)
............................................................. 1891 / 7751 ( 24%)
.................................................. this is going to take a while...
 
@wes is maintenance script is going on ?? :D
 
Wes
we still need to find out why code coverage is so slow on windows @bwoebi runs in 30s without code coverage, that instead takes half an hour or something
phpdbg, xdebug, same thing. phpdbg is slighty faster
 
nite all
 
Wes
5:20 AM
gn
 
5:35 AM
@Linus exactly, I think that PHP evolution stopped or is very slow, waiting next years for some usefull features which already exists in other languages is quite exhausting
 
Wes
while php is still very popular, it's losing its popularity fast
 
Is this kinda warning to us!? :O
 
6:05 AM
moin
 
Wes
hey joe
 
Wes
@BarneyStinson just stating a fact. something should be done to stop that
php 7 is a step forward in the right direction though
 
@wes Yep that's what I was reading at here
 
i can't able to sleep :P
i saw php is crticized by bunch of jave developers..
 
Wes
6:14 AM
java and php are the same thing, but php is like 10 years in the past :B
fucking flux capacitor....
 
no actually what i saw from my friends who are working on java what reason they give is that php doesn't have any security...
 
Yes @Linus that's why Bank's websites are built on JSp.
 
how one can say that? is language by default gives security protection or it's developers responsiblity ?
 
Only reason is security
@Linus you are right it's up to developer how to make things more secure!
 
show me the statistical evidence that php is loosing popularity ?
 
6:20 AM
if one's aim is bypassing security it can be done whether its java or .net..
however php is widely used for banking transcations but not for bank websites @BarneyStinson
 
Wes
here for instance..
 
it was never that popular as a general purpose language
when you said it was loosing popularity, I thought you meant with the people it was popular with in the first place ...
it isn't loosing that popularity at all ... it just still struggles to convince people it's a general purpose language
 
Wes
well, apart the graphs. i know dozens of people that moved to other languages recently
mostly node.js
in the past it happened with ror. didn't really work. that is losing popularity even faster than php, imho
also node.js could be a bubble
 
well first, there's nothing wrong with using node, or anything else ... we joke and call people traitors if they use another language, but it is just a joke ... second, for every person that you know that left, how many do you think are learning php this week !? you just haven't met them yet ...
anecdotes are difficult to accept as evidence, they don't really tell us anything ...
 
Wes
ok, let's skip this. i really don't want to have this discussion now :B
 
6:28 AM
:-P
 
Wes
bit tired... didn't sleep
 
i thought you had a coffee that's why you are still awake! @wes
 
you know that image, what's the depth of it ?
 
Wes
depth?
24 bit?
 
that's odd
 
Wes
6:38 AM
what's going on with it?
 
@Wes is it much faster on Linux (compared to xdebug?)
@LeviMorrison too much work AFAIK
 
being displayed 16bit depth @Wes
I think I messed up fb configuration ...
 
Wes
@bwoebi i didn't try yet because there was no precompiled php7 last time i tried :B and it's required..
@JoeWatkins can you even notice? it's not going to lose much quality between 24 and 16 bit...
as there are relatively few colors in it..
 
yeah it's quite bad
 
@Wes Meh, Joe can. He's the nonplusulta between humans … you didn't notice … he's a much better dev than we all combined, no? :-D
 
6:50 AM
there are bits of it that have distorted colours
 
hello
 
Wes
there are only 224 different colors in the image @JoeWatkins which means that would fit in 8 bit :P
something else must be wrong?
 
zack still here?
 
@Wes I quite agree
 
@NikiC Why are we disallowing writes on temporary expressions in general, though it would be totally fine to write to properties or object dimensions (e.g. ($foo ?: $bar)->baz = 10)?
 
7:37 AM
nin
 
morning Gordon
 
Wes
\o - An unknown error has occurred - retry / edit / cancel
 
7:53 AM
it might be the colourspace
I got screenshots for you to look at ... I dunno what I'm looking for
 
Wes
imgur them
 
wtf, they blank
 
Wes
running in a vm? i mean, because making screenshot of a vm is usually hard :P
 
no you can't, it's arm
I rebuilt kernel, it's definitely 32bit depth
but still there's some redness and strangeness, I can just about make it out on normal screen
 
Wes
hum?
 
7:58 AM
I can't get a screenshot for some reason
next to the tree on the right, in the middle of the image at the top, there's a couple of stripes that look reddish on normal screen, but are very pronounced
 
Wes
i have no idea..
 
@joe have you any idea regarding mPDF?
 
Wes
how are you making the screenshot? are you running the thing in a vm?
 
Sorry for interrupting!
 
Wes
without screenshot i can't be really useful :B
 
Wes
8:15 AM
this is how i'm imagining joe trying to make a screenshot youtu.be/pa_VO_6xvXk?t=59
 
8:30 AM
morngin
@Wes oh lol
@BarneyStinson lolwat
 
@PeeHaa stacked here :'(
 
stacked?
 
That was more a lolwat aiming at your security remark
 
wasssup
 
Stuck** ! It happens sometime :p @littlepootis
 
8:43 AM
Hi all
 
gut moaning
 
Boy that looks familiar... #SymfonyCon https://t.co/WTKAUkIuIO
 
9:01 AM
Aslam o Alaikum
i need some help
i want to know that how to make crone job in php
 
9:15 AM
22
A: How to create cron job using PHP?

Alister BulmanIn the same way you are trying to run cron.php, you can run another PHP script. You will have to do so via the CLI interface though. #!/usr/bin/env php <?php # This file would be say, '/usr/local/bin/run.php' // code echo "this was run from CRON" Then, add an entry to the crontab: * * * * * ...

 
I just typoed bitshift to bitshit…
 
Wes
9:35 AM
@bwoebi one doesn't write shit by accident. i bet you subliminally had a reason to write it :B
 
hehe
 
@bwoebi what's the difference?
 
best technology for a webcam site
 
@SalOrozco E_TOO_BROAD
 
9:47 AM
Your question is too broad
 
ok how can I implement a webcam feature in php or javascript
meaning allow users to stream their phone camera or webcam
 
1:1 1:many 1:a lot a lot:a lot
See too broad
 
ok
more detail
1 to many
and 1 to 1
 
Have you looked into webrtc?
 
no nothing so far.
 
9:50 AM
Start with your research
 
hello friends good noon to all
 
I like that you dont need to install plugins
 
i have some problem with my API call
when i run my API in local then it's work fine
 
@FlorianMargaine haha :-P
 
means by using xampp
but when i upload on server then it's stop working and send me error
invalid request
please any one know then help
 
9:56 AM
mo to the mummy loving in bitches
 
@DaveRandom please if possible then help me
 
@ShaileshLimbadiya Don't ping (dave)random people
It's annoying
 
ok
sorry i don't know about that
but please if you know then help me
 
No
 
because yesterday it's work fine
no problem
you know other who can help me ?
 
10:00 AM
Just stop begging, gees...
 
yo james o/
 
Wes
\o
 
Alright you called me by my first name, what've I done wrong now?
 
10:04 AM
:P
I would call you by your full name if you've done something wrong :D
 
Jimbo Ranjit PeeHaasMom, get in there!
 
Ranjit? :P
 
why not
 
Ranjit? That's an indian name right?
Either that or Khajeet from Skyrim
 
maybe?
dunno
I'm not very good with foreign names
like... typical british name? John?
isn't that American?
dunno
@Jimbo you have E_HERRO | E_INDIAN in your description anyway :P
 
10:12 AM
lol
 
btw, sensiolabs just announced SensioCloud
backed by the company Sara works at :P
 
You guys are busy :)
 
you have no idea
 
@FlorianMargaine btw… did someone from our side contact you yet?
 
@Gordon dunno, if there has been, it was probably to our sales
@Gordon you're a competitor of NewRelic, right?
 
10:22 AM
@FlorianMargaine I'll be cocky and say they are no competition with their product :)
 
Pushing complete php-src takes a while...
 
@Gordon hehe
@Gordon you're not competing with blackfire, at least
 
Anonymous
mornin
 
yo
 
Anonymous
!!wotd
 
10:28 AM
simonize: to shine or polish to a high sheen, especially with wax.
 
!!uptime
 
@DaveRandom I have been running for 1 day, 14 hours, 35 minutes and 9 seconds, since 2016-11-29 19:53:50
 
We need to keep an eye on that ^
 
@FlorianMargaine we don't compete with blackfire because blackfire is php profiling only. we are multi-technology. our php profiling is not as extensive yet as blackfire, but we will eventually add features.
 
A related question. Can he just be normally restarted when needed or do I need to start ith using a custom commend for that debugging shit? @DaveRandom
 
10:29 AM
No just restart as normal
 
kk
 
the kernel deals with getting a core dump when it dispatched the sigsegv to the process
(in theory :-X)
 
@DaveRandom I thought you specifically might like this
3
 
coolio
@Jimbo lol
 
Wes
ahaha great
 
10:35 AM
@Jimbo Great! I can cross that off the bucket list, someone has done it for me!
:-P
 
@Jimbo it has Fucking on the map. You know what leads to Fucking? Petting! And as you can see, it takes you past the Wonneberg, which translates to Pleasure Hill.
 
Is that the wan king path?
 
Wes
fun fact: they tried to change the name of "bastardo" at least 3 times. it never worked, people continued making fun of them :B originally it was "the bastard's tavern"
 
Wan King Path (Chinese: 灣景街; literally: "Bayview Path") is a road in Sai Kung Town, New Territories, Hong Kong. It is located next to the main public square in Sai Kung Town. == Name == The English name of Wan King Path is the phonetic spelling of Chinese words for "bay view", likely a reference to the fact that one can view the nearby bay, the Inner Port Shelter, not too far from this street. Outside of Hong Kong and China, Wan King Path has gained international media attention due to the name appearing similar to an English-language vulgar slang word for masturbation, wanking. In 2006, it was...
 
:P
 
Wes
10:37 AM
rofl
 
@Wes would you mind awfully doing a Christmas hat on my avatar? I know you'd do it so much better than me in 5 mins vs my 2 hrs
 
Wes
wouldn't it be redundant with SO's likely upcoming hats?
 
@Wes no one likes SO's stinking winter bash
 
^ this
 
Especially not the crap that happens because of it
 
10:39 AM
also I'd like to use it on Twatter etc
@PeeHaa also Bah! Humbug! etc
 
@DaveRandom Bah Humbug is a bar/restaurant in London. I've been there once.
 
Recommended?
I mean it's not like I will go, I will never go to London again if I can avoid it
 
I think it was nice. But it was about 20 years ago, so not sure if I should recommend it :)
I think @DaveRandom should become a German.
 
I'm English and white. I'm already a German.
srsly though, I would consider it if my misses was up for it.
 
Wes
 
10:49 AM
:D
 
@Wes see now that is way better than what I would have done. Thanks :-)
 
Wes
:B
 
When life gives you lemons, you Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn https://t.co/vQNW7uEgCm
6
 
:w morning
 
Wes
\o
 
10:52 AM
@Sjon o/
 
Wes
how it's possible that i suck at writing tests
 
it can be possible
 
Wes
i just realized that i'm doing everything wrong for the Nth time
 
where N = 1; :-)
 
Wes
10:53 AM
more like 10
 
then it can't be possible
 
Anonymous
@SagarNaliyapara You're looking into this too much, honest
 
So today I have to review an app.
It is written in using Laravel
Please, kill me now
6
 
@Leigh My Favourite Laravel <3 :-)
 
You've probably already got shed tonnes of ammunition on the architecture, design choices, global state etc
 
10:56 AM
The code itself is really well written....
 
@JayIsTooCommon shouldn't I?
 
11:20 AM
@NikiC During constant expression optimisations, is strlen(constant_value) reduced to it's actual number?
 
Anonymous
 
Anonymous
> Experience using Laravel and Composer
 
Anonymous
BBC.
 
purists
 
That's not the worst @JayIsTooCommon
> Some experience of Windows Server, MS IIS, MS SQL
 
Anonymous
> We don’t focus simply on what we do – we also care how we do it.
 
Anonymous
11:40 AM
clearly fucking not
 
:P
 
> Pair programming
go away
 
may be it's couple programming..
 
Anonymous
@PeeHaa wanna apply? ^
 
@JayIsTooCommon Does it involve holding hands and looking each other deep into the eyes?
 
Anonymous
11:44 AM
yes
 
brb uploading our resume
 
Anonymous
:-P
 
11:58 AM
@JayIsTooCommon I know a guy who works there if you're thinking of applying and want an honest insight ;)
 
@Leigh yes.
 
@bwoebi Cool, ty
(Do you know which version that's in?)
 
@JayIsTooCommon They use NodeJS as well, their tech stack is all over the place
I know someone who works there
 

« first day (2238 days earlier)      last day (2704 days later) »