« first day (1891 days earlier)      last day (3282 days later) » 
00:00 - 23:0023:00 - 00:00

00:02
@Andrea That's about what I was expecting -> only works on 64 bit
cool
oh well, I am downloading GitS (1995)
 
2 hours later…
01:55
i need some help
0
Q: Delete multiple mysql rows with check box not working

Jack SmithHere Is my problem: I do not get any error with my code but my problem is when i click the 'Delete Multiple' Button it does nothing not even reload the page. Note: By The Way the redirect_to(); function i created so do not get confused by thinking that is a php function or anything PHP Code: ...

@JackSmith you should step through it with a debugger to find out what is happening, that is different from what you expect to happen.
ok @Danack
Wes
Wes
02:51
php7 is zend engine 3, right?
yes.
Wes
Wes
how many beer do you need to not go crazy with all those - not even indented - #ifdef's ?
that's the hardest part so far with C
Wes
Wes
much respect for always having the ability to find a relevant meme or gif :D
I actually had to make that one.....but if fits.
Wes
Wes
03:01
lol
Oh and #ifdefs shouldn't be indented - at least not with code. It's better to have them use their own indentation, so that when you have nested #ifdefs it's is still 'easy' (possible) to understand them.
Wes
Wes
i mean
#ifdef x
#ifdef y
#ifdef x
rather than
#ifdef x
    #ifdef y
        #ifdef z
i suppose you can't indent ifdef like that, # must be at col 1, right?
# ifdef x
#     ifdef y
#         ifdef z
would that work?
space before # is fine, so long as you're using a compiler old that yourself.
Wes
Wes
i'm not understanding, so why # ifdefs aren't usually indented in php internals?
Wes
Wes
ahahaha
@Wes Probably because of old, old compatibility issues.
And then it stayed to be consistent.
There are many decisions that are demonstrably bad now, but would be too much effort to fix.
Wes
Wes
@LeviMorrison how many neurons were killed since that?
it's not too bad if files are indented differently imho... especially because they are already
i did even notice files with spaces in place of tabs (which seem to be the preferred indenting)
i bought a new fan for the cpu today. 18cm. powered by two molex. up to 16k rpm :B now running at 3v, because more is more noisy than a saturn v during take off
How can i came php upload to create a folder for every file i upload?
03:31
Wes
Wes
03:44
if i understood it correctly, when one of the operands is an object, php calls zend_object->handlers->do_operation if present, otherwise attempts casting
that regardless of the order, 10 + $obj and $obj + 10 work the same way
the do_operation of $obj is called, otherwise $obj is attempted to get casted to int
 
2 hours later…
05:25
@Wes yes, I bumped the ver to 3 because I felt phpng was a big change
What am I doing with my life? I've been cleaning up comments on the PHP documentation...
Wes
Wes
@Andrea it wasn't? :B
almost 2016 and innerWidth/Height clientWidth/Height still behave inconsistently across newest browsers #w3c
i just want to die in the most painful way possible
05:56
good morning..
happy sunday
:-)
06:36
Morning
nice hat @AnmolRaghuvanshiVersion1.0
:-)
06:57
@SagarNaliyapara :-) thnks
07:17
@MadaraUchiha: Ping.
08:12
@AmalMurali pong
 
1 hour later…
can anyone help me on this?
http://stackoverflow.com/questions/34378130/uncaught-exception-pdoexception-with-message-sqlstatehy093/34378147?noredirect=1#comment56498037_34378147
10:30
@tereško That's a good thing that you had some research about those historical-religious topics ...! But actually that question is silly. Yes I know, they (religious writing) usually dated several years after existing that person, but certainly historians write them according to credible sources.
So, that question which is about being real of that person seems stupid ..!
@Shafizadeh Presumably @tereško disputes your assumption of them being written according to credible sources.
Or to phrase it differently: What are these sources?
Ah .. so you are discussing about the sources. well I don't know :-) ! I don't have any study about them.
user924016
11:26
mornings and sad sunday to all =)
user924016
o/
user924016
time is 12:38 here.. and I almost just woke up.. need to go get some lunch
11:41
@RonniSkansing why "sad" ?
user924016
12:09
Cause tommorow there will be no late sleeping, it's back to work
ah :-)
12:25
Is there a way to see the last time someone was active in here?
Wow; amazing. And for someone who didn't talk in the past 24 hours?
@Danack Thaaaaaaaaaank you so much for phpimagick.com <3
@QuolonelQuestions emm, I don't know, maybe you have to scroll-up and find the lase his comment ;-)
@PeeHaa I think "so much" is the same with all those more "aaaaaaaaa" letters ;-)
12:43
@PeeHaa Wauu
Inorite
@PeeHaa graphicsmagick
drop in replacement for imagick only faster and has more features
Does it come with php?
Or is it the actual lib?
12:46
Doctrine problem with discriminator map in where clause: pastie.org/10642930
Is it bug?
@Danack ^
 
1 hour later…
13:56
@PeeHaa Oh, that has a maintainer again? It didn't for a few years.
@Danack So... the same as imagick? :)
Ah yeah seems deadish
nope....'drop in' replacement is usually a lie...
The underlying library was deadish for a few years as well.
> GraphicsMagick is much smaller than ImageMagick and has dramatically fewer dependencies on external libraries. For example, on the FreeBSD operating system, a fully-featured install of GraphicsMagick depends on 36 libraries whereas ImageMagick requires 64. GraphicsMagick's installation footprint is 3-5X smaller than ImageMagick.
fyi, this is stuff I don't care about.
Well I see that as less LOC (lines of crap)
possibly*
@MadaraUchiha Have you actually measured the performance difference? I can't see any benchmarks, and the text is reading as if the performance was measured against the pre-forked version of ImageMagick. i.e. the comparison is from ten years ago, when disk speed was a thing.
@Danack Actually not sure, so I'll take the "faster" back.
14:10
It's probably also got fewer features now....the ImageMagick guys have added stuff over the past ten years, and the GMagick guys, not so much.
GMagick probably is more reliable though...
which one is correct?
... WHERE col1 between $a and $b and col2 = $c

... WHERE (col1 between $a and $b) and (col2 = $c)
user924016
14:26
?
-2
Q: How to use AND in a query which is containing `BETWEEN` operator?

stackI have a query like this: ... WHERE col1 between $a and $b Now I want to add this and col2 = $c to the above query, How? (should I use parenthesis ?)

user924016
have you tried both?
Both has error (however my query is really complicated and maybe the error is from other its part)
that's why I asked that as a question
14:43
And someone doesn't like your examples. And he's a Laralover!
heh
@PeeHaa I forgot to ask.....why are you using Imagick ?
14:59
I need to add some effects to uploaded images for a client project
15:26
@Fabor fuck 'em
@tereško Found any decent job prospects? As in things that might actually be interesting to you?
one, but I "woke up" too late and will have to wait till their next recruitment drive
basically, I read the ad a day before it was to expire
Dang. Know when the next will be?
I suppose in the interim you could always peruse around for freelance.
@PeeHaa What's the problem again? :P
hehe
In the renew branch the setup command wants a user
or if it indeed needs a user it should be added to --help so people know there is a --user flag
Hey guys!
I tried to improve an old code of me - I asked here yesterday and got some good hints to improve my code

here it is:
https://codeshare.io/b9zWI

Do you see something, what u never should do? thx
For one don't hard code credentials
Also this is terrible
const ipArray = array('HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR',
                        'HTTP_X_FORWARDED', 'HTTP_X_CLUSTER_CLIENT_IP',
                        'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED', 'REMOTE_ADDR');
They are just headers any random person can set
which credentials do you mean exactly?
15:49
Also your dbal/orm makes me want to puke
@user3037960 All of them?
yes maybe they can, but how should I do that?
why? dont puke, say what I should change! pleaaase haha
maybe I dont know what credentials means
or what you mean with "hard code"
@PeeHaa Why does adding repositories to feedr not work?
It's right there inside the class
@kelunik Hmmmmm... the only logical explanation for that is because I have fucked up
I have been working on it, but it should just work
After adding the URL / name into the dialog, the feed is loading and showing up, but it's not added then.
You sure it's not a UX fuck up?
15:53
you mean for example, I shouldn't define variables in my functions - I should first declare them ?
You have to submit it still
@DaveRandom was also utterly confused about that one
You want me to give it a try?
FWIW I am completely rewriting the thing :P
@user3037960 No you should pass the credentials in
@PeeHaa Isn't that the standard answer to everything?
You know it :-)
@PeeHaa You mean I should instantiate an object of my class and pass it to the other functions of other classes? Not instantiate them IN the class itself?
That too
15:58
please make an example - I really dont understand what you mean ( maybe because of language, or I'm a noob - or a combination of both)
thank you
What happens when you need to change your stripe api key?
@PeeHaa Even if I hit that save button afterwards, it doesn't work.
It worked before you touched it!
Lemme try. url / repo?
kelunik/acme
@PeeHaa so you mean

instead of :
private function chargeCreditCard(){

\Stripe\Stripe::setApiKey("sk_test_XXXXXXXXXXXXX");
}

this:

...
private const myStripeKey ="xxxxxx"
private function chargeCreditCard(){

\Stripe\Stripe::setApiKey($myStripeKey);
}
16:02
@Wes Booooooooo
What happened to the creative stuff?
Wes
Wes
pwnd
@Wes lol no, noob
request with 10 stars
Yeah, not suspicious at all.
Wes
Wes
pwnd.
@kelunik Worked for me :-)
Dude, seriously
Wes
Wes
16:03
hahaha
@user3037960 If you have PHP 7.1-dev, yes.
oo iiiif not? haha my god
then with define(... ) ?
No no constant
Pass it in the constructor
You'll have to try harder than that
Wes
Wes
tsk
16:05
@PeeHaa used to do these type of troll links since before you were in chat
Boy.
lol
ahaaaa so if the key changes, you dont have to search the Stripe Class and DB class... you just change the Argument of your new instantiated object
Ok thx
Exactly
@PeeHaa Step by step?
thx! : )
16:05
incoming:
:O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O
1) Go to the feed
2) Actions -> Add repo
3) kelunik/acme [enter]
4) check checkbox for the found repo
5) add
6) submit
@MadaraUchiha Yeah was just watching that. Guy needs a hobby :P
@PeeHaa Major UX fail, yes. Clicked on Add directly instead of pressing enter.
Yeap. Exactly the same as @DaveRandom
You are both stupid :P
Not lazy enough, should not have left my keyboard :P
16:09
hehe. I will make it more clear in the next version
@PeeHaa I know why user is fucked up. I wanted to add it as a global option, but then wanted to add it to bin/acme issue, because you could have different users for different roots.
Maybe also the other way round.
Yeah a global user doesn't sound right
If I want it per issue, I have to save it to a config file, because bin/acme renew doesn't take any arguments.
Perhaps instead of naming it global we should call it default instead
16:13
Huh. Strict types + templates looks weird...
It looks weird and it feels fucking weird
The moment I added it I wished it was an INI option
/me ducks for cover
@PeeHaa That might be an option.
@NikiC Is strlen() an O(1) operation in PHP?
yes
But loading the configs and injecting them has to be improved anyway. But I don't know where to inject them :P
@QuolonelQuestions yup
16:14
Can anyone show where, in the source, that is defined?
@QuolonelQuestions Except with mb_string.overload? :P
It does not seem to be with the other string functions
...other... strlen functions?
Oh, I was grepping for PHP_FUNCTION(strlen)
16:16
One of these two
posted on December 20, 2015 by kelunik

* PHP 5.5 compatibility * SAN certificates work now * Improved error messages

Thanks @NikiC :^)
@PeeHaa How busy are you atm?
About to get food, but shoot
16:25
Not that busy then, watch Peep show already :P
hehe how many seasons are there by now?
9. The 9th is currently airing and is the last.
16:51
> PHP 5.5
> Warning: This function is special-cased by zend_compile.c and so is usually bypassed
My warning is still there :D
 
2 hours later…
18:28
help, how do I compile ext/mysql for PHP 7
or, screw it, I might just have to keep PHP 5 on my server for a little while
Can anyone help me with my project on github?
Yes, no... maybe...
@Andrea Why not do the only thing proper?
18:48
@Andrea Yup. :-/
@NikiC unfortunately, SMF is not my codebase
or perhaps fortunately, because it's awful
@Andrea Use the polyfill ;-)
@kelunik with auto_prepend_files? yuck
Or use another fcgi handler for that part of the your server.
aha, fastcgi_param PHP_VALUE exists
I can set a php ini option specifically for that site
location ~ \.php$ {
    include fastcgi_php_passthru;
    fastcgi_param PHP_VALUE "auto_prepend_file=/home/ajf/php7-mysql-shim/lib/mysql.php";
}
hope this works
> Connection Problems
> Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.
welp
let's debug!
19:05
@NikiC feels like a bad idea… these strict types in a template… indeed…
@bwoebi Explain?
@PeeHaa IMHO a template is a separate system which should follow loose input conventions...
Why do you feel it should follow loose?
ugh I cba debugging this
Genuinely interested @bwoebi
19:11
@PeeHaa I consider templates a system separated from the main code. I don't care about the exact type some fcall needs. IMHO, the important point about strict types is having coherent types inside a subsystem, not across systems.
But everything that happens is inside a subsystem
nah, as said, I consider templates separated
It's a separate one, but I cannot see any drawbacks from doing it
I agree it feels weird, but I think it's just because I'm not used to seeing it
@PeeHaa don't know…
I kinda get what you are saying though. Just not sure whether I agree or not
@Andrea you have also been dicking around with strict types and templates I assume.
thoughts?
19:19
@PeeHaa hmm
the main thing I added strict types to lacked templates
it was a single-page web app (i.e. entire frontend is JS) with an API backend
however I imagine strict types doesn't really hurt for templates, because strict types don't affect echo ;)
I wouldn't be surprised if the next PSR-whatever coding standard recommends strict types, but less strongly for templates, or something
If that is the case I must be doing it right ;-)
I like that as a quality check. If you do something different than FIG you're on the right track
hah
Hi how is every one doing
19:29
Pretty good thank you. How are you?
I am also fine
Thanks
So @PeeHaa what's up
Nothing much. Thinking about whether I am wrong or @bwoebi is wrong
@PeeHaa It's not about being wrong, it's rather a subjective attitude to it…
lolx that's good
@bwoebi Nope sorry. Binary or GTFO :P
19:32
grey is a nice color.
Aaaaarrrrrrrgh
There is no gray in my black/white world
@PeeHaa and @bwoebi i need a little bit advice regarding database design of chat system between two users if you have some free time then can you please advice me on this it will be really helpful and appreciated
Just post your question and if somebody is here and wants to help they will
it was a little bit confusion regarding database design so i though i should get help from seniors from here it's just 1 to 2 min question if you can do that it will be really great otherwise you can tell me post the question i will not mind it and will understand it Thanks :)
Just ask your question
19:39
Thanks @PeeHaa
It's not like people have to ask me for permission to post in here :-)
:)
You don't have to but you should or fear the wrath!
lol :P
Mornin gents
19:43
Mogguh @ziGi
i have users table what i want to do is to have a chat system between two users.One user can chat with only user at time no like this chat room but he can start conversation separately with other users like facebook chat box.
so what i have in mind is this database structure
users tables is already their so what i need is only one table for messages
which will have sender_id ,receiver_id,message,is_read,is_delete
one users can have many message with different users so is this database table design is right
but one conversation will only consists upon two users only
Do you want to have the ability to have multiple rooms / topics between same users?
no room simple chat between two users
conversation_id might be the only addition for something simple.
And a timestamp
19:47
yes i have time stamp sorry for not mentioning it
is_read could be a date too.
it is boolean 0 or 1
So you won't want to know what time that message was read? IE "Seen 4 hours ago"
yes i dont
boolean is fine then
19:49
@Fabor
conversation_id might be the only addition for something simple.
why do we need conversation id when we have all the message stores in message table when we click on that user conversation we can get the both users id and get the records from message table against those two user using joins and show them on the page
retrieve by one field instead of two
conversation id could be something like user_one_id-user_two_id as well
27-57
and how will it work with message and users table
@Fabor Is it 27-57 or 57-27?
cc @usama ^
27-57 obviously. What madman would choose 57-27
Also Peep show?
hehe I have a good excuse now!
I'm working on something!
19:57
@PeeHaa 27-57
in MVC who how the components interact?? I have checked and the digrams are confusing..
Forgot about MVC. Just focus on SoC
SOC??
I am wondering where I can find nice algorithms for matching profiles
In computer science, separation of concerns (SoC) is a design principle for separating a computer program into distinct sections, such that each section addresses a separate concern. A concern is a set of information that affects the code of a computer program. A concern can be as general as the details of the hardware the code is being optimized for, or as specific as the name of a class to instantiate. A program that embodies SoC well is called a modular program. Modularity, and hence separation of concerns, is achieved by encapsulating information inside a section of code that has a well-defined...
@ziGi Swipe left / Swipe right? :D
20:01
haha not really
people looking for jobs and people offering jobs
I don't see why the tinder way won't work for that
hah
it's more like restaurant jobs, not hand ones
:D
Short list of: location, pay, hours, benefits
brb... Writing app!
mkey
20:21
@NikiC when exactly will that branch ever be hit: lxr.php.net/xref/PHP_MASTER/Zend/zend_vm_def.h#4232 … Isn't it guaranteed that EG(exception) != NULL inside ZEND_CATCH?
@PeeHaa Any idea, how I should load and inject the config for different commands? Just injecting a base path and loading with a specific schema that can also be used in tests? Current bootstrap.
20:51
@kelunik Base path is a path where the config is stored?
Yes.
I think I would rather have a config object for the command
Problem is that I need a domain specific config and I wanted to keep it aside with the files, but a global config is also fine probably.
@bwoebi Only one way to know: Add a ZEND_ASSERT(0) and run the tests ^^
I would expect it to be dead code, but you never know...
@NikiC okay, I was wondering because Dericks mail.
20:56
Why not both? Store the specific configs and have a IssueFileConfig class , IssueArrayConfig etc. Although when I was done writing it I am not sure I like it myself :P
because that's the only branch which would use the extended_value for the last-catch case.
posted on December 20, 2015 by nikic

* Add HHI file for Hack typechecking support. The HHI file requires HHVM 3.9 or newer. * Fix support for empty routes. * Improve error message if optional part is not at the end of a route.

@bwoebi You looking into this or should I do it?
I'll do tomorrow… tired right now.
no java experts here?
*java room is empty xD *
21:08
likely no experts
java noobs maybe?
maybe its oop generally
@user3037960 I know for a fact that the Java room is not empty, because I'm there.
why dont you answer??
for peter griffins sake
@user3037960 Even if it were the right room, it's the wrong question.
oO
what would be the right answer?
or where are you?
@MadaraUchiha
*what would be the right question... haha
21:11
@user3037960 That's the right question. Answer: By making it static.
have we to define it? or is every class per default static?
You have to make the method static if you want to call it without an instance of that class.
because I have here some code and its like:

public class Assets {
public static void loadSheep() {
System.out.println(prefs.getString("identifier"));
}
}

public class Sheep(){
Asset.loadSheep();
}
aha ok true! thats given here
the method is static! ok thx
21:33
@Fabor A lot of the people who go on /r/php are just a bunch of bell ends who love Laravel
Not worth my time. I value the feedback of those in here
21:52
> I highly recommend listening to the podcast that I linked. Taylor Otwell who created Laravel framework talks about why mocking your not really testing much at all but using PHP as a "spell checker".
And that's when I close the page
@Jimbo lol!
@PeeHaa is there any reason to have multiple acme servers / accounts?
22:22
Not sure. Are account s in any way linked to domains?
Oops. Kernel panic via OOM. :x
you can revoke certs with either the domain key or account key, doesn't matter
22:37
How to draw a line on the text? I can do that in this room (using --), But I want to know how can I do that in the textarea (for writing a answer/question in SO)
22:47
@kelunik It looks like there is no reason to have mutliple accounts, but tbh I am a bit hesitant to say either way
@stack Use the html tag
ok
As in <strike/>
got it
well, shit
my AIO cooler died
or to be more precise - the pump died
had to switch to stock fan .. and it's fucking loud
00:00 - 23:0023:00 - 00:00

« first day (1891 days earlier)      last day (3282 days later) »