« first day (1077 days earlier)      last day (4097 days later) » 

00:01
@JoeWatkins How is importing a csv file a command that can only be done by an admin?
users shouldn't have permissions to do that sort of thing ... or not in the environments I'm used too ...
I assume we're not talking about shared hosting, right ?? we're talking about normal servers, maybe multiple users in a team but not actually shared ??
The default permissions that users get in mysql doesn't include load data infile.
well yeah but I wouldn't do it as a user ...
Also, even if you do use an administrative account to perform the import, mysqld runs as an unprivileged user.
but the client doesn't does it ...
00:03
What client?
the mysql client :s
the command line
I didn't mention client.
oh oh I see ...
The import is performed by mysqld.
yeah yeah ...
morning for you ... 1am for me ...
bit slow now ...
00:05
Yeah 1am here too
Both kids awake now, better get them groomed before school :) cya!
Bye bye :D
Load data local inline.. bla bla its too late to be doing this
I think ima hit the pillow
night 8-)
nite @JoelKidd
@MadaraUchiha remove that app, backup, reboot, try another method ...
@JoeWatkins Bummer :(
What do I do to avoid screwing up next time?
(Have any idea what went wrong?)
@Jack To be quite candid, I wish you'd just withdraw your RFC. It creates yet one more inconsistency in the array_ functions. I do agree with you that there are use-cases missing and we need to address it, but I'd rather address them on all in a standard fashion all at once. Does that make sense?
00:18
no idea to be honest, I'd only be guessing and that's not helpful ...
Ah well, tomorrow
Night folks
I'm definitely not criticizing your work; you are working to address a hole.
/me wants to make many hole jokes ...
gonna sleep instead ... catch you'll in a few hours ... nite chaps ...
00:50
@tereško reading the Tilaa agreement and there is this "All amounts owing to Tilaa shall become immediately due and payable in the event that the Customer is declared bankrupt, applies for a moratorium, the assets of the Customer have been seized, the Customer is deceased or [in the case of legal persons], is in the process of being wound up or is being dissolved."
does that mean if I die, I am still obligated to pay my bill?
what is wrong with this code: eval.in/50983
@crypticツ Probably. This is not that uncommon, sadly.
@blackbee use gdb and get a backtrace.
@LeviMorrison Are they going to come to my grave and steal my shoes?
You probably have a memory bounds issue.
ow.. well then i have to read how to use gdb, nevr done dat befor
00:59
You'll want to compile your code with the -g flag so you have symbols.
yep, i just read it.. so after gdb a.exe (m working in windows)
should i
   break 11
according to the eval.in output?
@blackbee Why do you post everything in monospace?
Just curious, I see it frequently.
well, i tried to put break 11 in monospace.. i selected it, and hit the fixed font button, and everything went in monospace... same is the case most of the time
Ah. I see. Just FYI then, messages in chat need to be either monospace or not; you can't mix the two.
You can use back-ticks `like this` to inline.
(gdb) bt shows no stack
well did i do that !! :) thanks FTI (for the info)
what is this Caught fatal signal 11
01:27
ok..
so
`(gdb) run` gave me a segmentation fault.
`(gdb) where` shows 0x00401463 in main()
what line number is dat??
well i got it.. taada
02:03
in HTML / CSS / DOM / webdesign, 47 mins ago, by rlemon
http://lorempizza.com/
02:13
@Danack Are you sure it's the same project? lol
@LeviMorrison It's not an rfc and although I agree that they should be addressed in a standard fashion, that standard is not there and it probably won't be called array_filter() either, unless internals would be convinced to "fix" all the array_ signatures :)
No, I would propose simply filter.
Likewise map, reduce, etc and would work with Traversables as well.
Damn, what is it with this test case: Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/file/disk_free_space_basic.phpt]
It fails randomly on Travis?
Okay, that test case is simply retarded. It expects that the free space after a write is always lower =s
Race conditions anyone?
hey hey!
pizza!
:runs:
02:29
possibly stupid question.... is it kosher for a rest service to accept a file upload?
nevermind
Sure :)
As kosher as accepting anything.
02:55
If my files are stored in the cloud, would they rust as well?
@Jack never ... the cloud is magic
But all those raindrops ...
I'd prefer the vacuum of space.
but ... MAGIC...
I don't believe ... it's probably better to apply a waterproof coating to my files before upload.
Coat them in a thick polyurethane
03:03
shellac all of your files before putting in the cloud...
If it is just a quick-n-dirty job a ziploc bag will suffice
@Jack Actually you are doing it wrong.... you are supposed to put them ON the cloud.... not IN the cloud...
thepiratebay.sx is the SSL version of TPB offline for you guys as well? oh, even the regular one is offline as well.
time to panic! =oO
03:23
@Orangepill No, that ^^
@Jack that must be the solution...
A file umbrella.
@crypticツ Secure and pirate bay somehow conflict in my mind :)
timeout parameter in $.ajax specifies the time that the app waits until it refreshes and gets latest data from the server again, right?
03:38
The time it will wait before receiving a response.
@AseanJazz It seems that what you're asking for is an algorithm for a page navigation view.
I would take the left and right extremes first, then take the current page and expand to three pages on each side; if either side doesn't hit the extremities, you add a ...
Has anyone tried using annotations for validation in a business application? How did this work out in the end?
@Justin You mean in the sense of AOP?
Jack: More of just using annotations. It wouldn't be proper to define join points and whatnot. I ran into the issue before where I have repeated validation logic in multiple places to update the same property and am trying to avoid it.
If you're using domain objects, you shouldn't have repeated validation.
03:46
@Jack Any advice for that ? because so many pagination number show...
posting copy/paste answer, using mysql_* when OP is using Oracle
@Jack How would i go about setting the refresh interval then?
without using setinterval?
@Mr.IDon'tCare Refresh interval is something else altogether.
I would rather use setTimeout() for it.
5 mins ago, by Jack
I would take the left and right extremes first, then take the current page and expand to three pages on each side; if either side doesn't hit the extremities, you add a ...
@Jack Perfect example is updating a user password. Lets say theres 3 pages that can do this, registration, forgot password? link, and mabey settings panel of user. Lets say you implement some RESTful api that can be used to update a password too. I generally just use my models as a data container, maybe doing some rudiment things such as encrypting a password if using setPassword(), but I've always kept validation out of my model classes, and had a seperate classed use for validating input.
@crypticツ The database engine used here doesn't matter, actually. I believe OP just wants an algorithm to trim the number of pages shown ... but yeah, bad answer nonetheless :)
03:50
Any advice ?
@Justin For account related code I have an AccountService, this holds the methods to change passwords.
Like $accountService->updatePassword(Account $account, $password);
@AseanJazz I've just given you an idea, did you not read it?
@Jack , I have been reading much about a service layer and it seems like the right way to go. I am still interested in getting errors about the data before applying it to a model, so I can return the info back to the model. Was thinking about creating a isValid($data) function for each model which does just that... returns a list of error codes
It's okay if you don't understand it, but asking as if I didn't give you anything is plain rude.
@Justin Why? Put any kind of validation you want inside the updatePassword() method.
Of course, if you have a slew of password policies you might want to inject that as a dependency.
03:54
@Jack yeah thanks for idea, but I still cant understand to make it in the code... :(
@AseanJazz I'm not generating code for you, so either wait for someone else to do it or think a little harder ... draw it on paper, that always helps for me :)
@Jack , what about returning errors to the user? I should say this doesn't just apply to updatePassword, but lets say we want to update a set of properties. I want to avoid the scenario of returning single errors at a table, and give a reason why a entire property update can't be applied. Lets say they entered the username, password, and email wrong.
I want to avoid reporting a error for username, then when fixed they find out their password is wrong, then went fixed they find out their email format is wrong, etc.
@Jack thanks for the help, been trying to find someone to pick their brain about this
@Jack yeah.. I hope that... :)
@Justin How would someone enter their username, password and email wrong?
@Justin Okay I get what you mean ... you don't want only a single error.
@Jack lets say its a json request to insert a user. Lets assume username was taken, password wasn't secure, and email did not contain a valid domain or something.
03:58
hello
@mmmshuddup hey
I'm gonna ask something the regulars around here consider annoying...
but does anybody use Zend Framwork 2 (that's two)
?
@Jack for your updatePassword, does it throw an exception or return a "Error Object", or just simple a integer code?
I started learning it a year ago but I didn't have to time to keep at it.. now a year later they're up to version 2.2.something and well it looks like ther'e snot much other there
I guess I expected to see more stuff on the web..tutorials, reviews, etc
@Justin I personally think it's fine to report the first error that occurs .. some of this validation can be performed on the client side.
04:01
did it just die or something?
Even for JSON requests, those must have some kind of front end.
@mmmshuddup no I haven't touched it. I saw benchmarks and stayed away from it.
hnmm
the benchmarks were good though
well, the beta ones weren't
but the later ones were
@Justin If the password value is objectionable I would throw an InvalidArgumentException.
anyway, none of this was supposed to preface a ZF2 question here.. really I just wanna know where I can get solid info on this stuff? I mean their documentation still blows..
04:03
@Jack take a look at this: jsfiddle.net/rlemon/pcnpN/3
and nobody is in the ZFTalk IRC channel.. which I mean last year at this time that place was bumpin
now it's like... dead..
@rdlowrey Stand back for the flurry of emails =D
I am trying to integrate Ajax polling into it, however I keep failing.
user895378
@Jack lol
user895378
I'm really pumped about the TLSv1.1 and TLSv1.2 support.
04:03
Hey cool, you added fingerprint matching too?
@Jack curious, what do you do when javascript is disabled? Just return one error at a time?
user895378
@Jack That's the only thing I fudged in the email the rest is all accurate -- tomorrow I'm going to add a "peer_fingerprint" context option that will allow that.
@rdlowrey I have a PR for that.
Ehhh no, rather, I have a branch for that .. hang on.
@jack also, do you recommend any books to read up on service layers or proper software design?
04:05
:(
user895378
I know! I was going to use your implementation under the hood and then say, "hey isn't this awesome? Merge @Jack's PR!"
Feel free to merge those commits in :) @rdlowrey
I don't mind either way.
user895378
I'm also going to propose an E_WARNING for any usage of sslv2 or sslv3 as of 5.6 (because both protocols are extremely outdated and insecure) and attempt to disable them by default.
That's fair I guess; I wonder if some of the existing test cases still use that.
> This branch is 10 commits ahead and 16 commits behind master
That kind of message always freaks me out.
@Jack you seem like a knowledgeable guy.. I know many of those don't use frameworks for whatever reason but do you know anything about frameworks..
user895378
04:11
@Jack Well the really nice thing about OpenSSL is that the SSLv23_client_method(); is capable of using any of the available protocols. So as long as you just use the "ssl://" stream wrapper you'll get the best available protocol automatically (once I tell it not to use SSLv2/3 by default).
I'm supposed to do something in ZF2 for work and it's a year later and there is not much new info out there..
been googling for a few hours
user895378
I think most of the test cases just specify ssl:// in the URIs so they shouldn't be a problem. And anyway that's a really easy thing to change.
@mmmshuddup Have you tried symfony?
@rdlowrey Should be rather trivial indeed.
@Jack a long time ago.. but I am obligated to ZF2 for this. not my call.. :(
is it just me or did ZF sorta die out over the past year??
user895378
I've also added specific stream wrappers for tlsv1.1:// and tlsv1.2:// so you can force the usage of a specify protocol.
user895378
04:13
I never realized that a full stop "." was a valid URI scheme character until today :)
@rdlowrey I suppose I could add this as a separate PR, what do you think? :)
@mmmshuddup I honestly haven't bothered with ZFx at all. I'm also not sure what your question is, are you asking me where all the updates went? :)
@Justin Thanks. I have seen that the development of the framework is still in full swing... but I mean the usage of it..
user895378
@Jack I'm all for that -- then I can basically just have the "peer_fingerprint" context option take the form of ["sha1" => $expectedHash, "md5" => $expectedHash] etc. and compare them easily.
04:15
@rdlowrey I already have that context option.
I haven't had the time to make it work as array though.
Simply look at the string length ... 32 chars = md5, 40 chars = sha1 ... I mean, obviously, right? :)
@Jack lol no.. sorry my question was very vague! I used to visit the ZFTalk IRC channel from time to time and there used to always be people there.. and now there is literally no one. so I guess I was wondering if anyone in the real world is even using 2.x yet. I remember people were excited about its release and now if you google Zend Framework 2.0 you don't get much as far as links or official reviews or anything
@Jack thanks man, now worked...
@AseanJazz Cool :)
@Jack so I suppose I'm interested to know if it's a dying trend.. if so then perhaps that would give me weight to convince my boss to allow me to explore other options. You know?
@mmmshuddup Right, well, I wouldn't be able to tell you where them zf folks went to ;-)
04:17
:P
user895378
@Jack Oh, good point. Well then it looks like my work here is done! I'll just add a section in my RFC discussing how awesome it would be to have that functionality and point to your PR :)
I think you should just tell your boss that ZF is dead and pursue something else =D
@rdlowrey Okay, let me add the PR.
user895378
@Jack No rush. It'll be a few days before I'm ready to submit an RFC.
04:18
perhaps.. honestly they overcomplicated it. they got obsessed with performance and programming patterns and crap
which all have their use and are good and all.. but they went over the top it seems
perhaps that's why there isn't much out there on ZF2
@rdlowrey Alright, then I can still add the array support in so that you can do ['sha256' => 'blaaaa'] :)
user895378
@Jack The fingerprint stuff is an awesome feature. Great work dude.
user895378
I'm stoked about being able to TLSv1.2 with full CA peer verification, SAN matching and fingerprint checks with essentially zero configuration. PHP ... security panacea!
Definitely a step in the right direction =D
@rdlowrey Btw, is having SAN-only certs a recommended standard?
user895378
@Jack I don't know if it's officially "recommended." It's better than wildcard certs IMO because you eliminate the possibility of bad wildcard matching implementations (like the one you just fixed in PHP)
user895378
04:25
The only drawback to SAN certs is ...
user895378
You have to reissue a new cert each time you add or remove names from the SAN list.
user895378
So you can't just willy-nilly add subdomains all the time. But as long as you just give it some thought ahead of time this shouldn't be a problem.
user895378
Using a SAN cert is easier than SNI in any case.
Actually, when I created the cert I used for your test case I wasn't actually able to add a CN lol
The whole process of creating the CSR is also way more complicated with v3.
user895378
According to the spec you're required to check against the SAN list before matching the CN anyway, so I don't think it's a problem to leave off the CN for testing.
04:27
more-ning all
ohh its fri-day
@rdlowrey Yes, your patch makes it no problem :)
04:42
Hi Friends good morning
I hope Gordon didn't posted that ugly video
@Jack hello pal..
@YogeshSuthar kutte kaise hai tu
@Mr.Alien me maje me hu meri pyari kutiya. :)
downloaded dark souls yesterday.
kaisa hai?
I am thinking since yest, how do I program notification system..
04:50
don't know, will check after learning iOS.
user652649
eeeoooeeeooo rebecca black alert, rebecca black alert eeeoooeeeooo
4
but its trailer is awesome.
so now I've came up with a solution, for every notification, I will create an insert entry when the user will see it, I will keep notifications I guess for a week that's it
ohhh ok ok
so u suree you studying for mobiles
?
@Wes I will ban u :p
anybody tell me how farecompare.com parse url and create session for other sites
Parse is so common word now, every one uses it, making the question complicated to read
04:52
@Mr.Alien yes, and learning iOS is quite fun, even with iOS7.
hmmm
howz that?
easy?
at first its hard, but after that when you know its syntax, its easy. Its same as .NET,VB
there are controls and eventlistener. same as .NET
I hate both
so I will stick with JS
Ok. OK. do you love JAVA?
not even tried
I had seen applets once, and since that day I left, actually I did tried it few years back, aah yes, with net beans
04:57
http://stackoverflow.com/a/19041682/1723893 (1 more to go)
@Mr.Alien that also have controls and eventlistener.
any body knows about sessions in farecompare.com
@YogeshSuthar bkwaas
abe tune padha b he kya, jo bol raha he bakwas.
morning .. bakwas karne walo :DDDDD
05:02
@Mr.Alien bro, ap ko farecompare k bare main pta ha
@NullPoiиteя kitna ganda pic rakha he is time. :)
@YogeshSuthar :P i know you are jealous ..
@Burhan nope
Why I will be jealous by seeing old person's pic. @NullPoiиteя
@Mr.Alien any idea hwz it working
05:05
@YogeshSuthar how could i know :D
@Mr.Alien flight/hotel reservation system
@Burhan No Idea :) ask @NullPoiиteя < he is a pro
oh that, if it's that its easy, so what do you want to know about sessions?
@Mr.Alien LOL pro == public raring officer :D yes i am pro :D
@Mr.Alien farecompare makes session when it parse url to other site. I want to know how they create
haha
@Burhan cookie
05:08
@Mr.Alien open farecompare and see urls in different popups
0
Q: I am conducting online test. To do this I am using Multiple popup window. can you guys help me to do all thing in single Popup window

user2787527I am conducting online test To do this I am using Multiple popup window. can you guys help me to do all thing in single Popup window. Structure is like this. User logs in with is credentials.(userdetails.php) If successful creates table of particular user using username. Question 1 : dispalys...

OMG E_TOO_LONG
0
Q: URL parsing and sessions in Reservation system

BurhanI am creating a flight/hotel reservation system like farecompare.com Farecompare parse values to other sites and create sessions other sites too. Anyone tell me how they create sesssions in it. I can parse url but i am not able to create sessions. public function flight($depart, $return, $from, ...

hI aLL
0
Q: URL parsing and sessions in Reservation system

BurhanI am creating a flight/hotel reservation system like farecompare.com Farecompare parse values to other sites and create sessions other sites too. Anyone tell me how they create sesssions in it. I can parse url but i am not able to create sessions. public function flight($depart, $return, $from, ...

@Burhan ya so what's so tough in that? it's onclick window.open with same get param but with different values
05:12
@Mr.Alien most of them working fine, but some sites have sid/session_key in there url. And they dont parse
than they must be using site api
@Mr.Alien Nope, i checked they have affiliate programs but no api they give banners. Expedia/Wego have api
@Mr.Alien That is why i am using url parsing method, other wise i can use api
hmmm I hardly go for 3rd party so not much idea than...
Here any one know magento ??
@NullPoiиteя do u know about farecompare
05:18
Please help im frustating
@faizphp it is someone else question, why you are worried?
also, instead of sharing the SO url, you are sharing google redirected url.. y?
@Burhan sorry no
http://stackoverflow.com/a/19043152/1723893
@NullPoiиteя i know about sessions i want know about farecompare
@crypticツ yeah, that seems to be the implication
user652649
does someone know if there is an optimal way to specify enums via phpdoc? @NullPoiиteя ?
05:42
how is this possible? am using header('location:'.$_SERVER['REQUEST_URI']); exit; and the page doesn't redirect, but it exits..
@Mr.Alien use php output buffer/flush
user652649
header('location:'.$_SERVER['REQUEST_URI']); flush(); exit();
already tried, doesnt work, the code exits but doesn't redirect, if I use it outside the condition, than it works, browser shows that page isn't redirecting properly, obv cuz it's on infinite loop
if($real_captcha != $captcha) {
		$_SESSION['error'] = '<div class="error" style="margin: 10px;">Wrong Captcha</div>';
		header('Location:'.$_SERVER['REQUEST_URI']);
		exit;
	}
that's all I have
and it exits, doesn;t redirect
user652649
why do you need exit? and why are you storing html in a session? xD
user652649
anyway @Mr.Alien are you sure it isn't some browser's fault? did you analyze the response headers? maybe Location: is sent but browser tries to prevent someway infinite loops
05:50
@Wes just to throw error, this is just a test, later I will pick up the html and will put that where am throwing the error, I will just echo out the text
and no, it's not browsers fault, how it works if I take that out from the condition
user652649
yes but try to analyze response headers anyway
this clients server is really bullshit, any change you do, you will get random 500 internal server occured errors, now am placing the header outside the if condition but inside if(isset($_POST['whatever'])) {header()} <-- stil fails
user652649
header('Location:'.$_SERVER['REQUEST_URI'] . "&" . uniqid());
?
lol, this is getting more funnier, I have session_start() at the top and than very next I have is header('Location:'.$_SERVER['REQUEST_URI']); and it is just ignored
@LegoStormtroopr Is that HTML6? — Mr. Alien 4 secs ago
@Mr.Alien What exactly is ignored?
user652649
05:59
Y U NO OPEN DEVELOPER TOOLS AND WATCH IF LOCATION HEADER IS ACTUALLY SENT
@Jack header('Location:'.$_SERVER['REQUEST_URI']);
@Mr.Alien Are you sure it's not sent?
@Jack page reloads, and when I refresh, a dialogue popups that resend or cancel, so it doesn't redirect for sure, @Wes yikes, your shouts, wait
You realize of course that this is newb level stuff right?
obv, but as you know, this server sucks anyways
06:01
If a header is not sent, it's obviously because output is already there.
great, now redirect works, but the line before that doesn't $_SESSION['error'] = '<div class="error" style="margin: 10px;">Wrong Captcha</div>'; this is lost on refresh, I've session_start() at the top of the page..
blah, I am just leaving it as is, no redirects, as soon as the page redirects, sessions not saving the value if page is redirected :p
I wonder .. Should I look for a job ?
2
I mean, I can keep doing nothing for next 6 month at least, but should I be looking for a job or investing time and effort in studies?
no, I actually cannot look for anything new until ERGO latvian branch decided to launch the customer site
Good morning, @JoeWatkins ... Guess what day it is!
06:44
Interesting, it seems to make sense to have an upper limit to the length of a password ;-)
Anyone ever used : codeschool.com ?
@Duikboot is it a free service?
never used it though
Some start tutorial vids are free..
Others require an account.
( Pay peanuts get monkeys )
@Duikboot hahaha ~ pay peanuts get monkeys! ~
?did you pay for some courses
No I have no account yet, at work we got a Lynda.com account but It feels so outdated Lynda.
06:52
can you help me out on some cakephp issue?
you are using cake, that already is an issue
hahaha why is it already an issue?
Yep, you have to eat the cake and work with just the php :)
What a rookie
Coming from you, that does make it somewhat funny :)

« first day (1077 days earlier)      last day (4097 days later) »