« first day (1752 days earlier)      last day (3189 days later) » 

12:45 AM
Space
 
The final frontier.
 
That's 2 for 2, I'm really hoping I can keep up the 100% hit rate
:-)
You also may claim your bajillion intarnet points at your leisure
 
btw I submitted to PHPNW, with the same talk.
Though I didn't see the instructions at the top saying that I should link to joind.in
 
Ahh cool, well at least you'll be guaranteed an auditorium with less background noise
 
@DaveRandom yeah.....that was annoying.
 
12:51 AM
@Danack Just ping Jeremy (@phpcodemonkey) and tell him that, ask to append the link to your submit
 
The 'not having any where to put a glass of water' is also going to feature in my feedback.
 
Or do it on Slack, most of Magma are in there a lot
@Danack Yeh that seemed to be a real bugbear (no idea how to write that), maybe pocket a bottle
 
A bottle full of 'water'.
 
Yeh, maybe next time skip the /water|vodka/ and go straight for the ghb
It's mildly annoying that levenshtein('water', 'vodka') === 5
@Danack one thing I would say, that I know has already been said, but it was pretty clear that the whole slide-order thing kind screwed you there, it'd be worth trying to get a UG meet somewhere in to polish (if you get accepted, which I'm sure you will at least for track 3)
 
@DaveRandom to be honest, I'm just going to practice giving talks without needing to see my laptop at all. Not only was the slide order annoying, but the fact that the podium was so low compared to the microphone meant that I couldn't really see what was on the screen even when it was showing the correct info.
 
Abe
1:01 AM
Jul 27 at 1:02, by Ronald Ulysses Swanson
The final frontier.
#scary
o/
 
@Danack Yeh that room was kinda odd as an audience as well, I felt, even without the background noise. I felt like I was in a room designed for the wrong thing (which it is) and I hope that there is a phpsc16 but I also hope it will be somewhere else - I've already told James as much and fed that back on joind.in
@Abe Nope, #nerdcore :-)
 
Abe
wiki.php.net/rfc/objkey we can't have nice things
 
@Abe you should check the discussion, people don't always reject things for stupid reasons.
 
And iirc you should read it v. carefully, as the reason I declined to vote on that (because I want it very much) is because I didn't fully understand the "no" camp's reasons
Ugh, yet another occasion on which I wish that internals was something cleverer than a mailing list so I could link to the whole discussion in a single thread
 
This has most of it I think: serverphorums.com/read.php?7,1093638,page=1
 
Abe
1:09 AM
will read it tomorrow
 
Does anyone run a public IRC log of the efnet channels?
There really should be one, at least 1/3 of internals discussions about the really contentious things happens there
btw who is this @Abe guy? :-P
I assumed is was wes changing his name and avatar at the same time yet again but seems not to be
 
Abe
lol
bingo :D
 
Unless he's taken it a step further and creating a new account
@Abe oh ffs
stahp :-P
 
Jun 23 at 20:43, by PeeHaa
.user-4251625 .username { color: red; }
.user-4251625 .username::after { content: '( AKA Wes )' }
 
Abe
lol. i'm sorry for that
 
1:12 AM
lol, wish I could be arsed setting shit like that up
In fact, more accurately, wish tamper-monkey worked properly with Chrome sign-in
 
Abe
lol
 
was there a post/video which explained the implications of using large passwords with bcrypt?
 
I know I saw anthony discussing it the other day here
prob Friday
Specifically about left-padding was the convo I saw
 
that was regarding long salts
right?
not the passwords
 
Abe
1:15 AM
@Danack oh, yeah got it, would have sucked
 
Pretty much. The fact that the person who wrote the RFCis one of the least persuasive people ever didn't exactly help.
 
@tereško Well yeh, and (at least the part I saw) was specifically about left-padding with any salt because of the char limit to the algo. If there was another thread about the pass content itself then I missed it, but unless I fundamentally misunderstood something it's another manifestation of the same problem so any explanation is basically the same
Although large static "salt" is the epic-est fail
@Abe Two sentence summary? Never really understood the problem but also didn't look hard enough
 
Abe
@DaveRandom basically it would have been just a shortcut for $array[$obj->__hash()] = $data; and $obj reference lost and not actually attached to the array
 
I have a depressingly large amount of code that uses a static instance ID counter as a work around, it is something I would very very much like to have and one of the only things that stops me killing myself while working with VB
 
And blocked the ability to use objects as keys in the future, without a massive BC break.
 
Abe
1:23 AM
then good thing that it didn't pass :P
 
Oh yeh well that's pointless
 
anyway, nn.
 
Abe
gn!
 
I also should be asleep like a couple of hrs ago
nn
 
Abe
same here :D gn
 
1:26 AM
@Danack etnx
 
2:10 AM
Hi Guys
I have a problem
Anyone here willing to help me
 
2:28 AM
public function authenticate($code, $crossClient = false)
{
$this->authenticated = true;
return $this->getAuth()->authenticate($code, $crossClient);
}
I have this piece of code in the google client api
However, in index.php , which I created, I have a line :$client->authenticate();
but it does not provide the first parameter
So what should I provide for the first parameter
 
2:50 AM
good morning
@KnowMe Sorry can't help... don't know what should be there
 
3:07 AM
oh ok - thank you Orangepill
 
3:19 AM
@bwoebi ^^ I'm late it seems.
@Abe No.
 
@levi most of the cool kids are all tucked in
@levi any word on if you cs program is going to accept enum / union types as course work?
 
@Orangepill No – I really need to pressure them. I've just been busy.
 
well good luck.
those two and property type hints I think are some of the biggest missing pieces for the direction that php is going
 
 
1 hour later…
4:44 AM
morning
 
mornin
 
morning
 
@KnowMe Probably: if (isset($_GET["code]) && is_string($_GET["code"])) { $x->authenticate($_GET["code]); } else { /* show error */ }.
 
5:05 AM
is_string on a get parameter is not necessary. everything in GET (and for that matter POST and COOKIES) is a string
 
@Orangepill Nope.
 
how can it not be?
unless you set the value in your php
 
Try something like index.php?code[]=a&code[]=b and var_dump($_GET).
 
okay... got me there
 
5:30 AM
@bwoebi PHPUnit 4.8.0, due on Friday, will have it.
 
5:44 AM
good mornin
 
morning
any silex guru's arround?
Having some problems getting SecurityServiceProvider to play nice with TwigServiceProvider
 
Mornings
 
morning @ronni
 
@SebastianBergmann \o/
 
How to you CONVERT() in sql ?
For example I want to ORDER 'Date' column in ascending order
But the problem is the 'Date' column has a data type of VARCHAR
So SQL is not able to sort 'Date' column in ascending order
The second fact is I'm using UNION clause to join 2 table rows and then I want to ORDER them by 'Date'
Anyone has any idea for doing it ?
It's urgent guys :/
 
6:04 AM
Hi.
 
@ZahidSaeed store UNIX timestamps in your table then?
Instead of storing strings in your date column,
store a unix timestamp which is an integer
and you can covert that timestamps into a string in your program when needed
 
@HassanAlthaf Alright I get it
But Why CONVERT() isn't working ?
 
I don't know, never used it.
 
Hey dudes
 
6:05 AM
I find the simplest way to do stuff.
 
I ask really good questions on here, but they tend to get down-voted
so you ask 10 questions, get 10 -1s, and your account is banned
I enjoy using the site and just need a single upvote to ask my question... any help?
on stack exchange regular
 
@HassanAlthaf If I change the data type of date column then I have to change a lot of my functions :/
 
@ZahidSaeed Do it, UNIX timestamps is a very good method to store date/time instead of plain strings.
 
I mean I have wrote queries for String data type 'Date'
 
@TylerLangan stackoverflow.com/questions/14299502/cost-to-launch-ios-app This isn't supposed to be here.
@ZahidSaeed I don't get what you mean, but use UNIX timestamps
 
6:08 AM
I don't understand why, hassan
it seems like a lot of people would ask that
and me asking could be helpful to hundreds, if not thousands of others
 
@HassanAlthaf Should I use 'Date', 'DATETIME' OR 'TIMESTAMP' ?
I only want to store Date not time
 
TIMESTAMP
oh
idk then
 
it can fit perfectly to your website rules or it can help 1000 other people, dude
 
i use timestamp only
 
6:09 AM
it's not black and white... and it got me banned
 
@TylerLangan It is the wrong site my boy
Even I'm blocked. lol
 
lol
yeah dude
they down-vote everything with vengeance
 
Private (invisible) html page [closed] for instance.
If you google it,
You will find the answer.
That is why they downvoted it.
If you don't want your questions downvoted, write very detailed questions, write what you tried, where you searched, and write what you found.
 
The thing is, I googled for hours before asking and there was no clear answer. I could see why you'd think that because it's such an obvious question that people would want answered
 
Well, you have to show that you did research.
I usually find all solutions on google.
 
6:11 AM
right but then I'd be penalized for not being concise/off topic
yeah I mean I'm an expert user, so while you might assume I'm unfamiliar with internet search, I am programming computers
 
Who can't program computers? L
 
that's really helpful advice but you have to remember that to 100 other people who google it
we get you
saying "google it"
over, and over, and over again
or -7 downvotes and "topic closed as off topic"
you guys are really smart and capable
 
I just need simple answers to my questions, not a penalty
 
The iOS one is off topic
 
6:14 AM
for asking
 
That should go to another site
 
stackexchange is a general purpose site
encompassing all languages
 
There are lot m ore
sites dude.
Not just stackexchange and stackoverflow.
StackOverflow is for programming questions.
 
hey, anyone know much about NGINX?
 
Nginx
A bit
Why? Whats up?
 
6:20 AM
@mindplay.dk just ask your question. ;-)
 
Wtf is wrong with 8 Ball Pool.
It's not loading lol.
 
yeah, posted here with my busted config here
this if (-f $uri) directive has no effect
everything points to if being "evil", and everyone says to use try_files, but how does that work with a rewrite?
 
@mindplay.dk magic
 
@HassanAlthaf yeah?
 
It's magic.
I don't know nginx
I just know little basic stuff.
 
6:24 AM
yeah, me too. no answer on their forums. hmm, time for a stack overflow post then.
or wait, is there a sibling site for server stuff? nginx isn't really programming I guess.
 
Yeah, I think I saw one
 
I think I'll try nginx, since this relates to PHP as well - many other NGINX questions get answered there...
 
I think this would be the right one: webmasters.stackexchange.com
 
I mean I'll try stackoverflow.
oh yeah.
 
@mindplay.dk superuser.com?
 
6:27 AM
ah, so many sites. let's see which one gets the most nginx answers....
 
Hello Friends , any one have idea, sucked in on problem

http://stackoverflow.com/questions/31723350/ldap-login-didnt-work-after-adding-user-from-php-script
 
well, SO has 1000 times more NGINX questions than either webmasters or superuser, so probably best best
 
@mindplay.dk TBH, I'd just copy all those files into one asset directory.
 
***sucked - stuck
 
@mindplay.dk well, because most users just use SO for everything somehow related to software. ;-)
 
6:31 AM
Fk my pool acc got messed up lol
 
@kelunik you'd have to run a deploy script every time you change a line of JS, so, no.
 
Yeah, depends how you deploy.
 
@kelunik well, I don't deploy for every line of code I write ;-)
 
@mindplay.dk No, not how often, but how? Git? (S)FTP? ...?
 
@kelunik there's a whole bunch of other concerns as well - it's a modular system, individual modules installed via Composer, there's an asset processing pipeline as well, trust me, a rewrite is by far the simplest solution.
 
6:34 AM
Might seems the simplest, but for things I do, there's a deploy script anyway. It combines all assets to a bundle and minifies it.
 
@kelunik we're actually going to stop doing that - with HTTP 2, it'll be a huge drawback, and with SSL, SPDY and GZ compression, there isn't much of a point either.
 
Wait, is HTTP2 out yet?
 
Out? Heh, it's supported in Chrome, Firefox, IE Edge and Opera already :-)
 
Never knew. xD
How do you use HTTP2?
 
Yeah, the spec was finalized about a month ago.
Good question, I haven't looked into server support yet - I don't know which servers support it, if any, yet.
Apache 2.4.12 supports it via an extension
NGINX "plans to support it by the end of 2015" and have an experimental module out
lighttpd do not plan on supporting it.
 
6:46 AM
I stick with Apache. :D
 
latest gen of IIS supports it, if anyone should care ;-)
 
fk MS
 
so yeah, HTTP/2 is definitely happening. my favorite thing about it is, it'll simplify asset management and deployment soooo much :-)
 
Morning
 
morning
 
7:00 AM
Morning.
 
moin
 
Sup Pat
Long time no see. ;P
 
posted on August 03, 2015 by kbironneau

/* by Frankie */

 
good mornings
 
Mornin' :P
 
7:13 AM
@mindplay.dk What's the drawback? Because it can't be downloaded using multiple connections?
@PeeHaa o/
 
@kelunik \o
 
@mindplay.dk HTTP/2 is harder to implement.
 
@kelunik lol, no
HTTP/2 is a matter of enabling a module in Apache/Nginx
Your PHP scripts shouldn't be aware of the HTTP protocol version
 
The the specs for headers the same as for HTTP/1.1
 
@MadaraUchiha Except if you're writing a server. ;-)
 
7:21 AM
@kelunik If you write a server with PHP, why the hell are you writing a server in PHP? :P
 
@Orangepill Nope, e.g. in HTTP/2 all headers names must be lowercase.
@MadaraUchiha @rdlowrey does, it's the thing that powers dev.kelunik.com ;-)
 
@kelunik Then @rdlowrey would have to worry about it :P
Still not you.
@kelunik And also
 
did they correct the spelling for referrer?
 
Do you also use PHPPHP by any chance?
 
@Orangepill I don't think so, there's not reason to break BC here.
@MadaraUchiha Nope, there's no reason for that.
 
7:25 AM
> "Did you saw your own arm off?"
"Yeah, I thought it would be fine. Also, I know how to saw off limbs, so that works out pretty well!"
"Will you also saw off one of your legs?"
"Nah, there's no reason for that."
 
good morning
 
@MadaraUchiha We don't want a slow server. ;-)
 
@kelunik You're not really helping your case here, you know XD
 
@MadaraUchiha Why? You didn't even see any benchmarks yet. ;-)
 
All joking aside, it's not just about performance
It's also about readability and expressiveness.
PHP fails miserably in that regard when writing servers
(And yes, I've seen rdlowrey's project)
 
7:36 AM
@MadaraUchiha How long ago was that?
 
morning
 
7:58 AM
ooooh fuck me I have to work with soap
 
@PeeHaa I salute you
 
@PeeHaa feel your pain, luckily I have to migrate a system away from it instead of working with it.
 
8:12 AM
0
Q: Edting google contacts and adding new google contacts through codeigniter application

Know MeGood Afternoon, I have just created a page which can import google contacts and display them using OAuth2. I have used the google-api-php-client for this. I can successfully get all the contacts' details and display them. However, my main goal is to be able to edit the google contacts' details an...

 
Anyone can help me - thank you
 
You already have an answer
 
@PeeHaa - Thank you - But It is not enough
 
Nobody is going to write the code for you
What have you tried after getting the supplied answer?
 
8:19 AM
Hippy, happy, hoppy mornings, roomies. :)
 
monginrgingn
 
@PeeHaa - The problem is what model function do I need to write and how to connect it to the view and make it be called with the right click at the right place and at the right time
 
@KnowMe Have you tried anything?
 
@PeeHaa - I need some direction to try something out
 
@KnowMe You already have some direction provided by the answer on your question
 
8:24 AM
@PeeHaa is there any function to encode string using key?
 
@PeeHaa - so do I need to add a new function to my models in the codeigniter application
 
@NeelIon Define encode
@KnowMe Only you can answer that. Nobody knows what your code looks like
 
@PeeHaa - it is like any cms codeigniter application structure
 
@PeeHaa like base64
 
@KnowMe So it is... crap?
 
8:27 AM
no
 
@NeelIon base64 doesn't use a key to encode
What are you trying to do?
 
@PeeHaa - No
 
@KnowMe Your question(s) don't make sense. Whether you are going to add a method for it or not is entirely up to you (the developer)
 
@PeeHaa - I am new to web, php and cms
 
@PeeHaa safely encode string and a key to decode
 
8:32 AM
@NeelIon Encode for what purpose?
 
why sometime "code method" does not work here ?
code method works
 
@PeeHaa to keep sensitive data safe
 
Eeeeek. That is not what base64 encoding is for. base64 is (mostly) used to share binary data
@NeelIon To keep sensitive data safe you want to encrypt the data
 
but `code method does not works`
but `code method does not works`
 
@PeeHaa which algo should i use?
 
8:35 AM
Not so much an algo, but a standard:
The Advanced Encryption Standard (AES), also known as Rijndael (its original name), is a specification for the encryption of electronic data established by the U.S. National Institute of Standards and Technology (NIST) in 2001. AES is based on the Rijndael cipher developed by two Belgian cryptographers, Joan Daemen and Vincent Rijmen, who submitted a proposal to NIST during the AES selection process. Rijndael is a family of ciphers with different key and block sizes. For AES, NIST selected three members of the Rijndael family, each with a block size of 128 bits, but three different key lengths...
AES is (based on) rijndael
 
@PeeHaa how to modify the data and send an authorized PUT request to the contact's edit URL with the modified contact entry in the body.
 
@KnowMe Search the web
 
@PeeHaa - I did - it gives me nothing
 
Well if you cannot search I'm not sure what to tell you
 
@PeeHaa - I can search - I have searched many things
 
8:41 AM
@PeeHaa thanks man
 
@KnowMe bfy.tw/17RK and have a look at the HTTP client you're using.
 
Morning guys!
 
Mogguh @Naruto
 
user1804599
Goeiemoggel.
 
Mogguh @rightfold
 
user1804599
8:50 AM
@NeelIon You should hire somebody who knows a lot about security instead of floundering and creating insecure software.
 
user1804599
If you don't know the difference between encryption and base64 encoding then you shouldn't be writing software that deals with sensitive data.
 
@PeeHaa it's been a while,did I miss anything? :)
 
Morning
 
@Naruto Nope nothing much besides the beta release of php7 :)
Morning fapore
 
user1804599
omg PHP 7
 
8:54 AM
@rightfold i am not creating any sensitive software, it was only for learning purpose.
 
user1804599
Good.
 
O no they didn't! :P
 
@Tyrael do you get a notification when somebody is talking about 7 on the web? :)
 
@PeeHaa - which link should I click on
 
9:05 AM
hey guys, I have missed out some migrations and updated the schema directly. ( doctrine migrations ) any pointers on how to make sure I get upto to data fixtures
 
@MadaraUchiha naruget is down?
 
@Naruto Looks like it, yes.
For quite some time now
 
yes for 3 weeks or something
 
dan
9:24 AM
hello
 
hello
 
dan
dear do you have any idea about page redirection in php?
if ($_POST) {
// Execute code (such as database updates) here.

// Redirect to this page.
header("Location: " . $_SERVER['REQUEST_URI']);
exit();
}
i'm trying to prevent resubmission of input on refresh, and i found this method, but i'm not sure how to use it
any idea?
 
hello
I have one question
can i parse data inside the proxy website?
like this one
 
@dan - no idea sorry
@dan - i hope others can help u
 
dan
@KnowMe ok thanks anw
 
Anonymous
9:30 AM
@dan use the name attr in the post .. as in if ($_POST['somename']) {
 
song name pls?
 
dan
@samaYo where to use it
?
 
dan
@samaYo @VamsiKrishnaB than you both
 
anyone please
 
9:38 AM
hey guys has anyone evaluated AWS Aurora?
 
@winresh24 1. stop begging. 2. ask better questions (3. don't ping me when you ask again)
 
ok then
btw: I had no plan to ping you :P
 
No worries then, just happens too often :D
 
@dan Pro tip: if you are going to discuss in English drop the "dear" prefix
 
@AlmaDo, I have no arguments contravariance there. It's covariance of arguments. It ruins LSP and Strict Standarts.
 
9:44 AM
@PeeHaa bro its not working
 
I'm not your bro
 
yes you are
lol
 
so yes, you're declaring covariant types and indeed break LSP with that
@sectus because "covariance" must be in return types, not in argument types for LSP
 
@winresh24 how can you work in IT and think that "its not working" is a valid error description? =/
 
@Patrick ohh you ping me lol
 
9:46 AM
@AlmaDo Yes. So, I wonder how to reach my points with any implementation.
 
@sectus with any? Declare invariant type as only way PHP will allow it to do for you
 
@AlmaDo , mmmm... ... not only, I could use constructors... but I do not know how
 
@sectus how will you do that with constructors? (indeed you can narrow down your type in constructor because of overriding, but then question is - are you worrying about LSP or about - how to implement your design language-wise)
 
@AlmaDo , constructors not affected by LSP.
 
@sectus are they? Think about concept. If you will do that, then can you fulfill "substitution"? No
 
9:58 AM
I hate when SO bugs and won't show my any new questions :(
 

« first day (1752 days earlier)      last day (3189 days later) »