« first day (1018 days earlier)      last day (4156 days later) » 

10:00
@Peter It may be that the process isn't detaching properly and being killed when the PHP process exits, I have come across that before with SSH sessions
$products = DBO::table('product')->where('category_id', '=', '1')->take(50)->get(array('products.*'));
@DaveRandom I've just quickly checked the given cipher text in this question and it turns out that it doesn't decode at all =3
@Jack lololol
i dont think its possible to make that in 1 query without loading all products in memory
@ccd580ac6753941c6f84fe2e19f229 SELECT category_id, COUNT(category_id) AS cat_count FROM cat_table GROUP BY category_id
Something like that?
10:01
@Peter I'd consider creating a simple deamon script to run as a service on the server and pass jobs off to that. It's a much better setup in other ways as well
yes but its 2 query
No it's not
well thanks anyway, i think im gonna make 2
@DaveRandom @Peter I think this is because the parent process (your script) eventually gets recycled and therefore the new parent becomes init(1).
@daverandom ok i'll look to making my bash script a deamon then
10:02
bcs if you add LIMIT 50 to it, it would only count those 50 items
Just create a question on SO so all information is in one place, and you can make it a bit more logical
Either that or it becomes a child process of init directly.
ignoring all others and i need to make count of all products
Then don't add limit?
@Jack Yeh but it shouldn't be killed immediately
10:03
@jack yeah i think the script is being disposed of and hence killing the process mid way through...
if im not gonna add limit, and my table gonna grow to million, my memory gonna burn
for every search request
now it not firing since i added the > /dev/null 2>&1 &echo $! to try stop the php killing script
brb
@DaveRandom Yeah, not immediately, but it's at the discretion of init.
@ccd580ac6753941c6f84fe2e19f229 I don't understand your question at all it seems
@dragon112 y, im not good at phrasing :/
10:06
@Peter I've worked with these background processes often and decoupling the workers from the web scripts is the best option for sure.
@Jack I have one drop down, on selecting any value, it execute ajax call, if any error occurs in ajax call I want to set the previous selected value in drop-down. Any Idea how can this accomplish?
Gearman comes to mind ... Or stuff like ZeroMQ.
@YogeshSuthar Well, you have to remember the previous value :)
@Jack daemon all the things!
@Jack But how in JS?
Damn straight!
10:07
Unix socket, simple messaging passing, bish bash bosh, job's a good'un, see ya.
@YogeshSuthar You don't know how to use variables in JavaScript? I'm not sure where the problem lies?
Save original value; on change, do ajax; on success, update stored value; on error, update dropdown.
Hmm, to buy or not to buy - cambridgeaudio.com/products/…
@Jack But how can I get original value on change, that's problem.
You need the initial value on page load as well
@YogeshSuthar You can't. You could get it on page load or perhaps on click event.
The easiest way to do that is <select name="whatever" data-value="6">
10:11
@Jack I found this one. Is it helpful?
Hmm, not for Ajax though. Yeah, you could actually.
Let me think of nasty scenarios.
Nasty scenario #1 - change the value and before Ajax completes, you change the value, blur and refocus :)
@Jack Let me try this one, is it perfect for me or not. :)
@Jack ok i'll look into decoupling the worker from the php script.... any links u have for guidance on such a task?
@Peter Like I said, Gearman, ZeroMQ or even external services such as SQS.
@YogeshSuthar Oh, and you will need to cancel previous ajax calls when the value changes too fast.
ahh kk ty @Jack
10:19
@Jack Okk thanks.
@YogeshSuthar Btw, looking at this again, I would just get the value at page load and manage the changes only in change event handler.
Don't build a JavaScript jail in JavaScript; that just doesn't make sense. — Jack 9 secs ago
:)
@DaveRandom Ohhh nice one. Thanks man. :)
10:30
Btw, Ajax simulation can be done with a simple setTimeout() :)
Yeh I considered that but I think it clouds the point somewhat
Although I must admit the use of this might be confusing
(it usually is to JS newbies)
this !== that :)
I don't like the that convention. I prefer self or source
You can pull some fun stuff like onclick="myclickhandler.call(this, event)" as well, love that sh*t
Actually these days I prefer bind()/call()/apply()
10:33
@DaveRandom Yeah, it's a Crockford thingy hehe
When I have the choice, I choose .bind() ... though, it does create a new function :)
@Jack That's the only issue with it, and that does get trickier when you start wanting to do things like removeEventListener()
Exactly.
I hate that API actually, I really don't know why the event listeners collections aren't just specified as arrays and manipulatable in a nice easy way
as it is, there's not way to clear all even listeners without replacing the element and you can't iterate them either :-(
@DaveRandom I had something similar to solve, as you can see here; it introduces a special property on the functions to tell them apart :)
Not my proudest moment in programming history, but it gets the job done ;-)
@Jack That's pretty ugly :-P
10:42
Courtesy of jQuery =D
It makes me understand the jQ approach of abstracting the handler queue into a userland tracking system, even if it is inefficient and ugly as sin :-P
But it's a tough problem to solve.
Roll on ES6
dafuq is wrong with me today
How does ES6 help? :)
Well, the classes that are pretty much definitely going to be in it will have sane this bindings
It doesn't solve the crappy DOM APIs but it's a start
10:44
Perhaps I'll live to see that happen ;-)
^ Don't hold your breath
Sup*
SuperUser?
Supper?
Tea. That's a bloody good idea.
10:46
Time for the daily return commute .. laters!
Yes I am a SuperUser @DaveRandom
@Jack Bye !
You're either a SuperUser or a SuperLoser ;-)
Super Glue, Sir?
@DaveRandom Heeheheheh :-0
Seriously, we need an Off Topic reason for people that don't know the difference between an Array and a StdClass. stackoverflow.com/questions/17944933/…
10:54
@Gordon Hello gordon :) xd
@Gordon WHAT?! There is a difference?
@Gordon One of my flag showing active, what does that mean?
30
Q: What does "active" mean in my flagging summary page?

gnatMy flagging summary page displays "active" for a particular flag that seems to be not actioned yet. What does that mean?

@Gordon Ohh Now I get it.
What in the name is died() function? — Simon _eQ 43 secs ago
his function is dead ^^^
Anonymous
11:03
Oh, I get it now. @Mr.Alien I always thought, I would be more kind, helpful to newbies, than people were for me, once. But, sometimes it gets impossible
Anonymous
1
A: PHP undefined variable weird

Simon _eQUse this one instead $username = mysql_real_escape_string(htmlentities(trim($_POST['username']))); $query = "SELECT FROM table WHERE username = '$username'"; $result = mysql_query($query); if(mysql_num_rows($result) ==1) { // if there is one row with the username echo "Username is already take...

Anonymous
I love that answer + comment. It makes me laugh
Anonymous
Not anymore, I have added a bit to it. smh with thumbdowns — Simon _eQ Nov 4 '12 at 3:06
user1125394
I haven't find anything on it, is it possible to do a mysql PDO query with an associative array of variables for the prepared statement?
user1125394
like $st->execute(['foo'=> 2, 'bar'=>5]);
user1125394
11:18
where you do WHERE foo= :foo and bar= :bar ..
@Gordon How about Off Topic: Questions where the asker is clearly a complete fuckwit who can't be bothered to read manuals are not a good fit for the human race.
I feel rage xd @DaveRandom
@cx Um... yeh? What you show should work.
user1125394
o? if yes it's awesome
@Simon_eQ hehe, I was just pointing his function there ;) even I missed that at first place
that was not req imo
11:19
@cx but... when you do that everything is bound to the statement as a string, so it will work but it's less efficient.
user1125394
efficiency not important, it's just for a handy script for adding accounts
user1125394
$st->execute($_GET);
@cx Bad idea
user1125394
meh :(
@cx The main issue with it is that is the user randomly decides to add &baz=3 to the URL then PDO will blow up because you tried to bind an unspecified parameter
As long as you follow all the charset/no emulation of prepares etc advice, it's not actually unsafe, but it certainly smells of bad idea to me
11:23
0
Q: php pdo query result

Mr InternetI have the following code... <pre> $c = $en->getE(); foreach($c as $key=>$value) { global $cp; global $idd; $cp = $value['c_org']; // echo like cnnbbcofbabc $idd = $cop['ID_cmp']; // echo 12456 echo $ca; } </pre> and i have if statement <...

not related with PDO, but included PDO in title.
That is currently the worst piece of code I have seen today
There's still time though
@DaveRandom don't be so sure man ... I've not yet posted code today ;)
@DaveRandom there's a looot of time till the end of the day :)
Anonymous
-2
Q: Extracting strings from a sequence of letters

Mr InternetI have the following code <pre> $c = $en->getE(); foreach($c as $key=>$value) { global $cp; global $idd; $cp = $value['c_org']; // echo like cnnbbcofbabc $idd = $cop['ID_cmp']; // echo 12456 echo $ca; } </pre> and I have the following if s...

Anonymous
A little bit of radical change, to the title
11:30
@tereško mornig
@tereško I wish I didn't have a job and this was morning for me.
@tereško morning :)
anyone familiar with Symfony2 here?
@DaveRandom Speaking of jobs... Any luck yet?
@gr4devel Bring it on :-P
@PeeHaa A couple of kinda crappy offers but nothing particularly inspiring :-(
11:32
@DaveRandom i'm gonna be on sabbatical for at least whole next month and then start looking for something work-shaped
Although my gf has just put me on to an agency she reckons are good
@DaveRandom :(
I don't want to go from this job that I hate to another job that I hate
@DaveRandom I'm working on it ;)
Good morning
11:32
0
Q: Inject partial config as object into service

Elias Van OotegemI've been looking around for ways to get what I actually want. I'm in the process of integrating a hybrid Zend/Symfony/custom library into an existing Symfony2 project. I've created a bundle, and started editting the YAML file. The thing is, I didn't use too much ZendFW classes, except for the ...

Any help will be met with gratitude...
Anonymous
@PeeHaa I will keep it as a souvenir, and a benchmark of my evolution here in SE
Anonymous
Maybe you should either update your post or just remove it in that case? — PeeHaa 2 mins ago
@Simon_eQ evolution or revolution? :)
user1125394
@DaveRandom a small array_filter first :p
@cx Mmm, but the thing is that does a full iteration of the array and still requires being explicit about the keys, you may as well just bindValue() IMO
That way you can be explicit about the types as well
user1125394
11:35
ahh.. yep
Anonymous
@PeeHaa Evolution sounds accurate. Revolution, is more like, if I punched Rasmus Lerdorf in the face :p
user1125394
I have a dozen of :(
@ircmaxell What framework do u suggest?
Anonymous
@Tredged If my name was ircmaxell, I would suggest symfony2
@Simon_eQ Okay, and may I ask why?
11:37
@Tredged for what?
I cannot answer such an abstract question. Different frameworks and libraries exist for different reasons. So it really comes down to your familiarity and what problems specifically you're trying to solve
@tereško A friend wants to know a good framework and I dont know anything about it thats why I am asking I never used one so
@DaveRandom you have no idea how often today I wanted to use exactly that
@Tredged I see...I see the Delegation pattern!
:D
Nah :)
11:40
@Gordon 259 times?
@Tredged Silex would be the lesser evil. But he should learn a lot about OOP and application architecture ..
@Tredged sorry man it was an awful joke...not funny at all but my mind is fucked up with DP XD
-3
Q: How can we get the images from google drive in php?

user2633900I want a images url from google drive in php. I can only find how to upload the files in google drive. function downloadFile($service, $file) { $downloadUrl = $file->getDownloadUrl(); if ($downloadUrl) { $request = new Google_HttpRequest($downloadUrl, 'GET', null, null); $httpReques...

> I just find this function but don't know how to use this function
@gr4devel Haha its fine lol, sometimes people indeed do delegate xd
@Tredged yep :)
11:42
and if Im honest I also did it but I wont about the framework xD @gr4devel
agree @Tredged :)
Whats the point of a framework anyway lol
Anonymous
@Tredged If you don't know anything about a CMF, then here is the core principles behind it, or here as to why CMF here is goooood...
@Simon_eQ Thanks :P
whats up
11:51
@Simon_eQ Everybody wants to
@Simon_eQ BURN WITH FIRE, they use mysql_*
Anonymous
@dragon112 Its just for quick demonstration purpose. You can read that sf2, uses doctrine.
I know, but just the idea of showing that to people that are not very knowledgeable is just horrifying.
Test the SSL server: ssllabs.com/ssltest
Hello
12:09
@DaveRandom if you want I can post a link to a gist with some terrible code :D
@hakre wow this takes ages
Did anyone order terrible code?
Booooooo B grade tls: ssllabs.com/ssltest/…
:(
@PeeHaa This server does not mitigate the BEAST attack. Grade capped to B.
So probably you would have gotten A if you fixed that (not sure what it is though)
@dragon112 It's a new technique to "strip" SSL on a network if I remember right
12:13
So it becomes a normal request?
@dragon112 It's about prioritizing rc4 cipher suite
for tls 1.0 / 1.1
Ah alright
@PeeHaa BEAST attack; your server is nginx. have you checked for updates? - Slaying the BEAST in nginx
12:25
@PeeHaa: So not an update, just a configuration issue. See the link I just posted.
@PeeHaa Rank A here you come! :p
posted on July 30, 2013 by Nelmio

I spent the last two days going over most of our OS projects, Symfony2 bundles and other libraries to fix some issues, merge pull requests and tag releases. Here is an update on all changes: Alice – v1.5.0 – Expressive fixtures generator Added extensibility features to allow the creation of a Symfony2 AliceBundle (hautelook/alice-bundle) Added possibility to fetch objects by id with non-nu

@PeeHaa Which is also pretty questionable
@NikiC hi man what's up? :)
12:34
TLS is an amazingly broken cryptosystem considering how much it used
@hakre tnx1
@NikiC true
Can somebody help with a HTML query? I'm not getting an answer over in the HTML room. stackoverflow.com/questions/17946543/… - Can somebody tell me if @Parrotmaster has a good point? I'll happily hold my hands up if I'm in the wrong
@F4r-20 html is boring
@F4r-20 E_NO_PHP
@F4r-20 I don't see why don't you use float ?
12:38
well .. you found the reason for OP's "bug" but not a solutions
@F4r-20 It does look horrible to me to use comments to prevent the whitespace from screwing up your layout. Also remember, when using this technique you can no longer comment out the container of where you use this technique (easily)
OK all fair points, thanks for the inputs
@YogeshSuthar Well a good question to generate reputation in the SO cloud :p
@YogeshSuthar How so? It's not much of a stretch that he was wondering about that, and it's not a surprise that the question has zero upvotes
12:48
@Jasper repwhore for answers. :)
@HamZa Yeah, and most of answers are similar.
@YogeshSuthar well there are even crap answers. Not sure how to close this ...
What' the performance of count in php?
@HamZa Only moderator can suggest us how to close it.
12:50
@Jasper @YogeshSuthar Every question with "performance" between 2 functions, I would say: benchmark it
Is it O(n) or O(1) (stored as a property of the array)?
@HamZa I was talking about the more general thing and thought that perhaps someone knew
@Jasper O(1)
bye all. :)
@Jasper I was talking about the Q... You may ask @DaveRandom
@YogeshSuthar bye
Suppose I've a column named "abc". Is there a way to get the length of that column defined in the database? For ex: abc varchar(20) --> should return 20
12:55
@NikiC Ok, thanks. str_len too or is that one O(n)
@Jasper Also O(1)
@HamZa fair enough. I was just checking if the answers were even in the ballpark.
@NikiC Thanks. It's good to know these things about the language you're using
@asprin Are you using mysqli ? Anyways take a look here
This isn't the first time I would like to comment on a flag I raised previously. It really sucks if someone sort of "corrects" a post after it's flagged. Especially if it's int he grace period.
@Jasper haha yeah
> There are no items for you to review, matching the filter "off-topic; [regex]"
Yaaay !
13:06
@HamZa how'd you do that?
@dragon112 I was reviewing in the closevote queue
You can set a filter, that way it's more easy to closevote :P
Anonymous
@hakre I tried, this solutions, still gives me the error in the comment. Is that answer outdated or something.... ?
@HamZa Oeh how can I do that?
@dragon112 Click on review > Click on Close Votes > Next to Review|Close Votes you will see a small link filter, click on it
You can filter by tag and closing reason
whaaa
13:14
9
Q: Exercises from answers for learners on SO

tony danzaAs an intern for a web developer position, sometimes I find myself with nothing to do since people can't pay me attention and give me new work to do. So in this "free" time I try to learn something by myself, but since I have (at least) the basics of web developing, sites like codecademy or codes...

Cool idea that will never happen ^ :-\
@dragon112 It's way faster, especially regex questions: they are short and you could easily see if the OP has provided some code or not :p
@dragon112 Damn, I don't have a headphone now. Might check it later :)
The cutest dog EVAR
@PeeHaa I think NikiC pointed to it already,RC4 is also with problems: RC4 in TLS is Broken: Now What? (Mar 2013)
13:18
ok not true, but pretty awesome nonetheless
Good morning, take 2
@HamZa Use your imagination :)
@ircmaxell Good aftermorning!
alias shudtown='echo "slow down there cowboy"'
@salathe heh
13:25
@hakre So basically everybody is fucked like @NikiC already stated
@PeeHaa RC4 isn't the only stream cipher that TLS can use...
@ircmaxell Let me put it this way. What should I use to ensure I'm safe against currently known attacks and have 100% (or something really close) client support?
@PeeHaa Probably stay with CBC ^^
TLS_RSA_WITH_AES_128_CBC_SHA256
14
A: Which SSL/TLS ciphers can be considered secure?

Thomas PorninThe cipher suites with a "NULL" do not offer data encryption, only integrity check. This means "not secure" for most usages. The cipher suites with "EXPORT" are, by design, weak. They are encrypted, but only with keys small enough to be cracked with even amateur hardware (say, a basic home PC --...

@ircmaxell That's only TLS1.2+
13:31
then go down one
19
Q: Exercises from answers for learners on SO

tony danzaAs an intern for a web developer position, sometimes I find myself with nothing to do since people can't pay me attention and give me new work to do. So in this "free" time I try to learn something by myself, but since I have (at least) the basics of web developing, sites like codecademy or codes...

@PeeHaa well, that's likely not true :D
^ self-duplicator / cross-poster
13:49
@NikiC Isn't there some mechanism whereby it does extra work that you might not expect? (So it's still O(1) but it's not just simply reading the length value from the array)
or something
I can't remember exactly what but I'm sure someone mentioned something once
@DaveRandom Well, if the array is a reference, then the whole array will be copied of course
@ircmaxell Isn't that also vulnerable to the BEAST? attack
But assuming you are smart and don't use references, it's just looking up a value in a struct
@NikiC lol "assuming you are smart"
ow wait you posted an article :)
13:50
@PeeHaa that particular one, no. Because it's TLS 1.2
@ircmaxell ah great. tnx
@NikiC That might have been it. I know there was a sound reason behind the for ($i = 0; $i < count($arr); $i++) vs for ($i = 0, $l < count($arr); $i < $l; $i++) (apart from just the function call on every iteration)
@DaveRandom the function call is a pretty sound reason all by itself :)
Well indeed, but just remembered there being more to it than that
@NikiC That sounds pretty ugly. That is in fact O(n) (copying the array), right?
Hi. YouTube API search sample works perfectly on localhost but NOT in server. When I try to open sample search page it shows just blank page. So what is wrong?
@Someone E_NOT_ENOUGH_INFO
@Someone I hope you have enabled error reporting ?
no I think.
> White Screen Of Death: If you're seeing a blank page (and view-source is empty), make sure your php.ini contains error_reporting = -1 and display_errors = On (only recommended for development). Putting: <?php error_reporting(-1); ini_set('display_errors', 1); ?> at the top of your script might have no effect if your script fails to compile such as in the case of PARSE errors.
@Jasper yes
14:06
Forgive my naivety my I'm surprised at how PHP is resolving directory paths... Let me explain.
@iroegbu It's surprising and it took me a while to grasp it myself
Does PHP have a method for searching through an array of datetime objects by date/time (lol)
@billmalarky loops
Yeah I just wanted to know if there was a built in function
@billmalarky depends on what you want?
14:09
@salathe and @HamZa Thank you guys. Now I see the error
@Someone yaaay !
I have "ehospitalityUser/admin", "ehospitalityUser/config", "ehospitalityUser/pages"... within "/admin" I have "users.php" from there I can include "../config/config.ini" and from "ehospitalityUser/config" I can include "../config/config.ini"
I'm building a moving average and right now I'm building each point by grabbing the data from the 30 days prior to it to average in. With Each. Single. Point.
@iroegbu Basically, what it does is: 1. Check include paths 2. Check from the current path (generally the path of the file that includes other files). 3. From the path of the current file (which may be an included one). The third option is often the one that does the work (perhaps not for experienced developers, but clearly not less experienced ones)
@sgroves there is nothing wrong with mysqli_*Neal 12 secs ago
:-|
14:10
Obviously I need to select the range of data that I'm working with from the DB once and then just filter it appropriately to calculate the moving averages.
@Neal Huh? Nearly everything is wrong with mysqli
@NikiC "that's not what your mother said" -mysqli
@NikiC Then why does the pre-made comment say to use mysqli_*?
@Neal political correctness
@NikiC baaah.
14:13
we can't just discriminate against mysqli can we ^^
Also some people think that mysqli is preferable over pdo, even though I absolutely don't get how you could think that
@neal besides the fact that it's harder to use than pdo and only works with php? yes, it works fine, but i don't see a reason to ever recommend it over pdo (or confuse a newbie by telling them to pick) — sgroves 20 secs ago
Then why do we tell them to pick?
@iroegbu Now, the kicker is that if the path is relative, it skips all that except for 2. The path is relative it starts with . or ... As such, you can't use 3 when you need to up a folder.
I can almost hear the noise on SO, whenever I find myself obligated to downvote questions, and skeptical to upvote the answers (skeptical because the questions for which they are answers are just so not worth it)
user895378
@Ocramius Ran into some compilation problems yesterday -- going to try again today.
Because of this, and the fact that using 3 is bad for performance (because it will need to do system calls to check 1 and 2) it's best to just always use absolute paths, based on dirname(__FILE__) (or __DIR__, I suppose the other one is just an old habit of mine)
@iroegbu I haven't looked at your specific problem, but does that answer your question?
@NikiC Its API is somewhat poor (mainly names inconsistent with other OOP php libraries, and a lack of Exceptions) and there's the multibyte injection thingie if used incorrectly. Other than that, what's wrong with it?
14:22
@Jasper Mainly the API being really bad
oh hey lol
Not much more than that, but the API is really all that counts
yeah mysqli blows, why are people recommending it ?
@sgroves It's a choice, better than mysql atleast
^ everything is
14:25
The goal is to encourage people moving from mysql_. We are shouting for decades to do so, yet I still see crap comming in SO.
@NikiC Fair enough. I still have a spot for mysqli because I feel PDO is a leaky abstraction (I do use it when appropriate). When I do use mysqli I wrap it in a class that abstracts away the API anyway (so I can easily switch to another DBMS if I want) so I don't have that much of a problem with the API
@Jasper "All non-trivial abstractions are leaky" :)
@NikiC but PDO leaks a bit too much in my opinion. You wouldn't know how many php developers I have come across who thought that their code was guaranteed to work with different DBMSes by only changing the connection string. In fact, it's what I thought (that was before I had ever used it, though)
@Jasper Not PDOs fault really
After all it just abstracts the APIs to send queries, it can't do anything about wildly disparate SQL flavors used by DBs
For that you'd use something that constructs the queries for you - something I'm not really fond of
the contract lies!
Anonymous
14:31
Any difference between curl and git bash?
@Simon_eQ they are completely different things...
@NikiC What I do is make functions in my DB wrapper that return sql where it would be different in the DBMSes I support. It still needs you to not write those things yourself but use those functions, but at least I can say "this class supports dmbs x, y and z" interchangeably if used correctly. PDO may support more, but not interchangeably.
@Simon_eQ exactly the same thing
Just a naming convention ;-)
And yes... I am shitting you
:-)
:P
Anonymous
@PeeHaa I'm very close to serial down-voting you right now :p
Hi guys, I have a php script which grabs the content of a fle located at ../settings. I have been told that the permissions on settings have to be 777 for php script to be able to read it. Does having 777 permissions on folders make the site very unsecure?
Anonymous
14:35
@user2015338 nope
@user2015338 they probably meant to write to it
@Simon_eQ do it (a good waste of time, because your votes are automatically reverted anyways...)
Oh for all you Chrome users out there: Stylebot is pretty nice!
@Jasper So if I just want to read it 774 should be enough?
!!php-method PDO::query
14:37
@ircmaxell it no work
Anonymous
@NikiC I don't have time :(. I am trying to access curl globally from terminal, and can't find a way to do it.
@Simon_eQ if you have the git bash it should work in there
not from the windows terminal
Anonymous
I had git bash, but only used is three times, to download composer. @NikiC but didn't know if curl was better or not
@user2015338 There are some issues with 777 (especially on shared hosts) but I wouldn't say it makes your site insecure by definition.
@user2015338 I think you'd get away with 770 and still be able to write to it, but it does depend on your setup
Anonymous
14:40
@user2015338 File Permissions
@Simon_eQ curl is something you call from git bash. It's not "better" or "worse" than it. It's just what you use to call it
thank you for the info :)
Anonymous
@NikiC So, the issue here is, if I can access curl, php, composer... globally without a hassle, if I user gitbash, right?
@Simon_eQ that sentence has only has two ifs, and no content to the ifs bodies
i.e. it makes no sense
Hi @HamZa and @Simon_eQ!
14:45
@MaciejCzyżewski hello !
Anonymous
Sorry, I was distracted by this hot chick. @Jasper Anyway, I got the answer
Anonymous
@MaciejCzyżewski hello
@Simon_eQ "hot chick" where are you xD ?
I see that it is still the same people :-D
@MaciejCzyżewski always is
Anonymous
14:48
@HamZa Why, I am in my camp
Anonymous
@HamZa Why, I am in my camp
@Simon_eQ I think that that chick made you repeat words :p
Well I'm off for today, see you all tomorrow
Anonymous
@HamZa its possibre :p
14:50
@dragon112 cya
user895378
@Jimbo I've answered and closed your issue. It was a really interesting problem to deal with from an HTTP standpoint and I had no idea PHP was so wasteful with connections in scenarios where you use flush().
0
Q: Allow comments on unhandled flags

JasperToday, I was visiting a question that asked for a comparison between two techniques. Then, a new answer appeared and said "you can also use this third technique". I immediately flagged as not an answer. Within the grace period, though, the author proceeded to add a line addressing the issue. It s...

thought I'd make an actual feature request of it
@Jasper +1
it's probably going to get a at best, but that's not really a reason not to post it, right?
@Jasper yup

« first day (1018 days earlier)      last day (4156 days later) »