« first day (1011 days earlier)      last day (4163 days later) » 

10:00
@PLB you should be using exceptions instead
both mysqli and pdo support them
@PLB I did use mysql_error() and now that I'm having a second look at it, it was trying to log but it wrotes emty lines
PLB
PLB
@tereško
19 mins ago, by PLB
@Alucard You use deprecated mysql API
@PLB and with the freaking Tail -f I couldn't see it
PLB
PLB
That's why I made in a dirty old way.
ehh'
10:02
@dragon112 I have 1 question for you. If I want to create apps in xcode, did I need developer certificate for it worth 100$?
@YogeshSuthar You can develop and test on the simulator for free. If you want to build on devices/sell on app store you need the $99 a year developer subscription.
@Ocramius ping
@DaveRandom pong
F*ck input, made a div with tabIndex, solved problems, feels like heaven...
@dragon112 okk. Thanks. Yeah I want to develop and test on simulator. :)
10:04
@dragon112 can you help with javascript ?
@Ocramius Hey man, have you got any cunning plans for creating multi-dimensional structures with PDO::FETCH_CLASS and friends?
I am having problem with my little cacher (in javascript) Here, is the code pastebin.com/LA26TnP7 I am calling cache( ) function when ever a AJAX request is made. The cache( ) is not storing value in buffer array for first AJAX request but is working fine for the rest of requests.
You should be able to do that without the subscription. Before you put it on the app store you should really test it on a real device.
@DaveRandom lol. PDO tesseract
@dragon112 So can I install app on iPhone/iPad without developer certificate?
10:06
Say I have a row that contains the props for an outer object and an inner object, is there any sensible way to utilise one of the fetch modes to create the multidimenisonal structure on the fly, or do I need a purpose-build data mapper?
@YogeshSuthar No. on a real device you need the subscription
@dragon112 Okk.
:)
@silverflash I don't see anything funny to be honest
@DaveRandom FETCH_CLASS only does row level object creation; are you talking about combining multiple rows?
user1125394
after reading the doc, and just to make sure, it's not possible to have 2 expressions in a SQL if clause? like if(pnl< 0, (@max_drawdown:=@max_drawdown + (pnl), @t:=ticket) , @max_drawdown:=0)
10:08
@dragon112 Apple is taking too much money for developer certificate. :( Compare to Google Android.
@silverflash Also why do you use str in buffer in stead of the buffer.indexOf(str)?
@Jack No, it's a one-to-one relationship between the objects, the single row can sensibly contain all required props for both objects
@YogeshSuthar That's true, that also means that users get higher quality apps imo
user1125394
I get: #1241 - Operand should contain 1 column(s)
So there are good and bad things
10:09
@DaveRandom Hmm, that sounds like a clear case for mapper logic.
@dragon112 Let me explain the problem. Might be than you can help me.
Sure shoot
@DaveRandom It's a bit like how ORM can do object hydration for you, right?
@dragon112 Agreed. But coding in Objective C is also no child play. ;-)
It's not that hard once you understand the bracket syntax
10:11
@Jack I thought so, the objects in question also implement JsonSerializable so I was hoping to cut down on the number of required classes and make it all self contained, but I think that might be wishful thinking
Isn't iOS developer registration free by now?
@dragon112 I am going to learn Objective C in 1-2 month. But I little know about that bracket syntax. :)
They're basically just value objects though, at the end of the day, so I guess sticking all that logic in there is probably a SRP violation anyway
@dragon112 Lets say. The user starts typing "sunday". A request is send for words suggestions as soon as he types "s" and then next on "su" and then next on "sun". Now lets say, user presses backspace. The code will not make request to server but will show cached data from buffer for "su". This works fine but if a second backspace is pressed and the code doesnot displays the suggestions for "s"
@Jack No it's not, have been iOS dev for 5 years now :)
@YogeshSuthar Ask me when you need to know something! :)
10:13
@dragon112 Hmm, strange.
@dragon112 5yrs gr8. :D
@dragon112 Ofcourse, and I will not become help vampire. :P
@DaveRandom nope
@Jack 'Safari dev' is free, but that's basically normal web development with some meta tags added for iOS/Mac devices
@DaveRandom actually, already doing that, but not via PDO...
I see.
10:14
@YogeshSuthar You better not prepares the stake and garlic
@dragon112 I checked in javascript console. The buffer is storing spaces for first value but correct data for rest of values
@Ocramius yeh in retrospect I think I'm trying to cram too much logic into one container anyway
@silverflash From what I have in the pastebin I cannot see what the problem is.
@DaveRandom nullpointerexception for that line :)
@DaveRandom there's no way around that, sadly. Hydrators are complex because you cannot make them slower by doing proper SOC there.
You don't want loading 100 records to take 10 seconds, right? :P
10:16
true :-(
@silverflash try to console.log("string is: " + str); in the cache() function, just to see what is taken from the element
@dragon112 I should add this line console.log("string is : " + str); in cache() function ??
@silverflash Or debug it and look what this line: document.getElementById("txtHint").innerHTML; returns and what str's value is in the cache() function
10:21
@dragon112 Okay. Let me try that
@Jimbo narq doesn't exist anymore
I know, I forgot
haya
Should've been, erm...
10:22
^ That's the one!
@dragon112 I have found the error. But, don't know why it is there.
@silverflash Ok what is the error?
Let's explore all ways to bastardize PDO.
^ It hurts!
10:24
Did he md5 it?
@dragon112 The log shows the code is caching suggestion for first request with key of second request. Means if "sunday" is typed, then the suggestions of "s" are cached and saved with "su" and so on. Hence. the suggestions for "s" remains empty :(
@silverflash Then my guess was correct,
You are caching before the data is updated
so the old data is still in the suggestion box
@dragon112 Yes
You should call cache() after the ajax call is finished and has updated the suggestion field/box
@Jack Unnecessary effort since PDO is a bastard already.
10:26
@Ihsan Awww don't be mean to PDO!
Meany!
@Ihsan Yes, that it is ... a product of many different database clients ;-)
@dragon112 :) Architecturally it is...
@dragon112 But, I am calling cache() after the AJAX request has been made. How can I wait for it to run after the suggestion box has been updated ?
@Jack product... Lol :)
@Ihsan That doesn't mean you have to be so so mean about it, PDO also has feelings :p
10:28
@dragon112 Should I show my AJAX request code ?
@dragon112 Lool...
@silverflash There is some sort of callback right?
@dragon112 meaning ??
You ajax call is asynchronously so it will have a callback function (the one called when the request is made giving you the response. (the function in which you build up your txtHint)
user1125394
cool, I have a SQL query that works well in mysqladmin, and not through PDO..
10:32
@dragon112 Okay. This is last part of my function that makes request. See, the cache() call in it
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
}
}
var radio = checkRadio();
xmlhttp.open("GET","gethint.php?q="+str+"&radio="+radio,true);
xmlhttp.send();

cache(str);
}
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
cache(xmlhttp.responseText);
}
}
Try that (and remove the cache(str) at the end
user1125394
o well sorry PDO, it just doesn't suport multuple select, I had set @max_drawdown = 0; select shit...
@HamZa What are you doing to me?! Why would you link something like that? :(
10:35
@user2558479 I want to smack you in the face, why do you ignore the comments above instead of indenting that code ? — HamZa 3 mins ago
user1125394
$st = $pdo->query("set @max_drawdown = 0");
$st = $pdo->prepare("select ..");
$st->execute($stuff);
user1125394
^^ is it right like this?
@HamZa Don't get all physical on the guy :o that's not nice!
@dragon112 heh, I know. I just snapped when he said "ajax is not working here what could be the problem ?"
Haha :p
10:37
@dragon112 Yes .... its working now ... thanks :)
You are welcome:)
Next time make a pastebin when you are pasting a wall of text :)
@HamZa Lool... "Smack..." . But better keep your politeness. The other way does not fit/define/suit you.
@Ihsan yeah :(
@HamZa Or surrender to the dark side. You will be amazed how the force shapes in that case...
10:42
@HamZa Flagged! :p
Not really :p
I know, it was expected ...
I'm wondering if the mods can see "how bad a user is by how many times he were flagged" :p
Probably:p
PLB
PLB
@user2558479 You. ;) — PLB 2 mins ago
I could not help myself.
Truth can be told
@PLB I am about to suffocation due loughing.
10:46
@PLB you have 4 downvotes right after eachother :O
revenge voting yes?
PLB
PLB
@dragon112 Yes.
Both of my answers are good enough and at least, they don't deserve down-votes.
I can't say the same about my questions. But since downvotes appeared in seconds, probably, it's revenge voting.
@Ihsan I hope you're still alive. :P
@HamZa Ilim goes along with Hilim... @PLB Yes. Breathing... Finally :P
@Ihsan ilim hilim ???
@HamZa Ilim = Science, knowledge, Hilm = Tranquility, softness and selflessness in actions.
@Ihsan owh yeah. I didn't interpret it as arabic :p
10:58
@HamZa We had to incorporate some arabic words into Turkish, because they are heavily loaded idiomatically throughout the history and there is no single 'other' word to properly use instead neither in Turkish nor in English.
@Ihsan I see
0
Q: Facebook logging and data retrieve using ajax

KarimkhanI am trying to do login and Fetch user Interests using Facebook APIs. In Following code I have tried to do above using ajax, JS which works well. But i dont know whether it making proper use of ajax or not because it loads the page after login completes. <?php session_start(); $appId = '6693400...

@HamZa Do you know the most famous latin word in holy Co'ran?
@Ihsan no ?
@HamZa Sırat (-al mustakiym) Sırat(ar.) = Strata(lat.) = Street(en.)
11:03
@Ihsan wow sobhana Allah didn't think of that
@HamZa nvm. A lot to learn. A little time to live... :)
@Ihsan true
Back to work. Serve people. Get money to live and some plus. Use that plus to serve humanity. Yep work work work. :D
@Ihsan hehe see ya !
@HamZa I am around. Ping me in case of emerguency... :P
11:08
thx
@HamZa La rahate fid-dunya.... :D
@Ihsan hehe
Yes, and I check that php uses much more resources. However, I always have a concern that php exec is not a good practice or someone may say that it is an evil. Should I always use exec or just mimicking the behavior? — Ngai 2 hours ago
eval and exec aren't evil if you use it correctly -.-
Nothing wrong with exec(). eval() is evil.
Just use escapeshellarg() with exec(). I've never touched eval() in my life.
If you need eval(), you're doing it wrong.
11:13
I've yet to see a use case for eval() that couldn't be done in a better way. It's not necessarily insecure but it's horrendously inefficient.
@DaveRandom eval is interpreting in an interpreter with all overhead of re-parsing etc. Of course it is evilishly inefficient.
So we should use it! (grin)
Ok I may have lied.
@dragon112 I was about to star that for the record.... (file it to use against you in the future)
Phew just in time!:p
11:26
You said it, you can't unsay it
:-P
@DaveRandom wow
NOOO!!!
PLB
PLB
@PeeHaa reason?
@PeeHaa not worth it
My life is over.
11:27
Buahahahaha
@dragon112 U r framed. Hahahaha (lough of the mad sciencetist stereotype)
Ooh stars are prettier on a blue background
2 upvote for globaling variable stackoverflow.com/a/17808920/1679187
lolzzz
@YogeshSuthar lolz
@DaveRandom WHAT?! Who starred that message? Are you trying to ruin me?
11:32
1 message moved to bin
Because I'm a nice guy really
PLB
PLB
/me hiding
@HamZa Sheep voting. :)
Haha :p
@YogeshSuthar no votes from me :p
I voted all 3 upvotes
11:33
@HamZa I mean from other users. ;-)
0
Q: quotation marks in PHP and mySQL

JonoI'm having trouble putting together mySQL queries containing quotation marks when I have to put them through PHP statements that also use quotation marks, and this gets even messier when I add PHP variables. So far, the best I've come up with is something like this: $sqlQuery = 'SELECT document...

PLB
PLB
In fact, it needs more down-votes.
^ I think this has a duplicate, but not sure ...
still upvoting. :(
1 downvote from me as well.
11:35
20
Q: Is it a Best Industry practice to restart web servers periodically?

GeoWe have a web application (developed by a third party) that runs on Tomcat. We have been getting very bad performance from the application. The application developer is claiming that it is an Industry Best Practice to restart web servers every night, to free up all memory usage and start over. ...

^ lolz
@HamZa It is an industrial standard "feature" to leak memory and bring the server down to its knees by bad coding... Lool...
good question.
@Ihsan lol
It's Java. What do you expect, competent developers?
@DaveRandom Hey hey, there are competent Java developers, the language is just not competent.
11:41
408
A: What's the difference between JavaScript and Java?

Shog9One is essentially a toy, designed for writing small pieces of code, and traditionally used and abused by inexperienced programmers. The other is a scripting language for web browsers.

@DaveRandom I knows 1 difference. JavaScript having Script in it but Java don't have it. :D
@dragon112 Alright, competent web developers.
575
A: What's the difference between JavaScript and Java?

Greg HewgillJava and Javascript are similar like Car and Carpet are similar.

@DaveRandom haha :p
answers are awesome
11:44
@PLB the post is formatted now
@dragon112 @HamZa I want 1000K point for finding difference. :D
PLB
PLB
I remembered my first j2me app.
^ me too, first year of uni we had to do j2me stuff (the teacher said once you have done this never use it ever ever ever again)
PLB
PLB
@PeeHaa I voted to close question because of non-reproducable code. Not participating in re-opening.
@dragon112 hahaha
11:46
No one gave me points for finding difference. :(
@YogeshSuthar +1
there you go
@DaveRandom my evil() message is still in the starred section! :o
"servers that need to be routinely restarted....it's also a clear indication that you have a **critical** bug"
pfft, I'd hate to see other bug reports from that guy. "UPS fails after power supply is disconnected for 6 hours - critical bug, must fix"
@dragon112 Thanks.
@dragon112 refresh the page
ah good! :p
my mistake has been fixed!
11:48
And hurt @balpha if you want him to fix that, I've complained before
@DaveRandom I think it's fair to use the general term "eval" for the "cache-in-file-and-use-include" use case too :)
@PLB free country :)
Learn about how to extend Laravel 4 to drop it's minimum PHP requirement to 5.3.2. http://laravel.io/topic/39/laravel-4-easily-extended Laravel 4: Easily Extended
@NikiC True. But at least it doesn't generally involve a bunch of error-prone string manipulation. And opcode caches can help there (I think?) they can't when you call eval(), if only because the code string is likely to change every time (otherwise you wouldn't be using it)
not sure how I feel about that
11:51
@PeeHaa Country? :p
The great country of StackOverflow
@dragon112 I'm Dutch
Me too!
I know :)
Me too!
:D
11:54
Forgotten Employee <= This was a fun read
@NikiC I am reading it. :)
@ircmaxell Looks fairly positive to me. IMO the solution to the problem is "get a better host" but if that's not an option then what the guy has done is far from the worst solution given the available tools.
jaust a quck question why would they ever drop pointer support from php6?
definitely
pointer?
11:57
php6?
reference whatever you call it
jaust?
drop references??
Uhhmmm wut?
@Andreas unlikely
While references are rather crappy, they are necessary for a few things
I dare to see just no
I do not know thats what I found somewhaere yesterday
11:59
@Andreas Link please (and it it's BS btw)
PLB
PLB
BTW, is php 6 coming soon?
I wouldn't hold your breath..
@PLB between now and two years
I am waiting for PHP 10. :P
PLB
PLB
12:05
@PeeHaa thanks.
good afternoon
@PeeHaa Am I was trying to find it my browsing history but no luck but yap It should be somebody that missinterpreted something or was writting very oppionionated staff (his idea was the theys shouldn't be used -but in my opnion your really need them in some cases and I 've been using them recently).
jo @PLB
@PeeHaa So.....PHP6.0 is 6 months away from pre-release? That seems ......optimistic. ;)
*stuff
12:11
in processing this two joins stackoverflow.com/a/2649195/747609 does the sql server go through the table twice?
@Danack My guess is after 5.3 is gone
So a bit less then a year
I would have thought it's going to take at least until 2015 to argue discuss what should be in 6.0
@iroegbu have you ever tried the magical EXPLAIN statement ?
@tereško afternoon!
@tereško no
12:17
also , due to Microsoft's marketing department being run by bunch of kindergardeners, the term "sql server" refers to a trademark by MS
Sorry, I meant MySQL
PLB
PLB
I reread my code and found something similar: pastebin.com/BjqG4Z0G
Solution: ctrl + A + Del.
> this website brought to you by the quo network
@tereško Thanks a million
user895378
@Baba Glad you like it. Sticking that one centralized mediator in the middle makes it really simple to attach multiple different protocols. You'll also notice that ModProtocol handles all the non-blocking IO for you -- the only thing your userland code needs to do is keep the $socketId references and pass them to the mod when you need to write to the sockets.
user895378
12:32
Also you can list as many ProtocolHandler class names as you want in the 'handlers' => array. The ProtocolHandler::negotiate methods are invoked in the order in which they're specified in the mod config.
@NikiC Possibly a true story in the jungle of corp. hierarchy. A good one, must read...
user895378
@Jack This is quite likely :)
@rdlowrey Nice .... Noticed the connection via Linefeed is not showing when log is enabled
@rdlowrey do i need to do that myself
user895378
@Baba Well this happens because ...
@Go
ga
/part
user895378
12:36
ModLog, like ModProtocol is attached to the afterResponse server hook. When ModProtocol exports the socket it removes all traces of what would have been a 400 Bad Request response from the server. So it's like the "request" never existed. There's nothing for ModLog to do at that point. I can possibly add some built-in logging functionality to ModProtocol though. Also you can do something like this inside your ProtocolHandler class:
@Derick long time no see \o/
user895378
@Baba $info = $this->modProtocol->query($socketId);
user895378
Gives you an array of the form:
@rdlowrey Oh ok ... eg. i want to see all connection attempts .. failed or successful want to know why
user895378
[
    'importedAt' => ...,
    'clientName' => ...
    'serverName' => ...
    'bytesRead' => ...
    'bytesSent' => ...
]
12:38
Reviewing some "new" code - I came across this, and my forehead touched my desk...
user895378
@Baba Okay in that case you'll have to manually log them in your ProtocolHandler::negotiate method.
	public function set($name, $value)
	{
		$xml = preg_replace(
			sprintf("/<%s>.*<\/%s>/", $name, $name),
			sprintf("<%s>%s</%s>", $name, $value, $name),
			file_get_contents($this->file)
		);

		file_put_contents($this->file, $xml);
	}
@rdlowrey one moment let me check it out
user895378
@Baba I'll add an array of information about the socket as a second parameter passed to negotiate()
@rdlowrey ok
user895378
12:39
Because you can't query it from your handler until it's actually been accepted/imported by your handler.
@Baba @rdlowrey this is my implementation of this http/websocket github.com/bwoebi/http-websocket (there's something like an User class because it's bound to cookie etc.…) it works, but not without some manipulation to integrate it.
@Leigh awesome
@Leigh Glad that's not __set() ;)
Why the hell wont my page show errors even if error report is on _
12:42
heh
@rdlowrey am working on a mobile am now and it make it difficult to debug .... sending
0000  00 6C 00 69 00 6E 00 65 00 2D 00 66 00 65 00 65  .l.i.n.e.-.f.e.e
0010  00 64 00 0D 00 0A 00 0D 00 0A                    .d........
@Tredged you killed the parser
@bwoebi i"ll check it out
user895378
@bwoebi I have to setup a DB to use? :(
12:43
@Gordon Wait, what? xd nvm thanks
@rdlowrey so it would be a good idea to enable and disable such log information
@rdlowrey no, it's just because of the user class, see includes/user.php there is all the sql (2 queries), replace it with your mock objects…
user895378
Oh I see.
@Tredged Is error_reporting on the first line? Did you remember a semi-colon? That'll cause the parser to abort without displaying any errors.
user895378
@bwoebi Will check it out later today for sure.
12:44
@rdlowrey it's not fully decoupled from my application… will look what I can do
user895378
@Baba Well your protocol handler is passed the raw data. The only thing you're missing right now is information about the socket like ip/port, but I'll add that as a second parameter.
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 731270224 bytes) in /home/tredgy/
LoL
Is this amazon.com/dp/0072224770 nice book to get started with MySQL ?
@rdlowrey that is fixed .... my connection is something like this :
12:46
    sc = (SocketConnection) Connector.open("socket://192.168.1.120:1337");
    sc.setSocketOption(SocketConnection.LINGER, 5);
    dis = new DataInputStream(sc.openInputStream());
    dos = new DataOutputStream(sc.openOutputStream());

    // Start Protocal
    dos.writeChars("line-feed\r\n\r\n");
@silverflash if you want a Reference book, then why not just take dev.mysql.com which is always current
@rdlowrey in the PHP version i designed i found out that i need to use \r\n\r\n before it worked ... would you like to see that
user895378
@Baba lol, no, I'm aware of that. By the end of the day today it will work with one LF character ("line-feed\n").
@bwoebi Yes give us options of db .... like Memcache , MongoDB , Redis or Just use SQlite and set it up automatically .. just for demo
@rdlowrey but I'm unsure how I can bind a socket to an user (sending data is user-id and session-id based) without a db to usefully test it… should maybe just create two tables?
@Baba never worked with anything else than MySQL…
12:48
@Gordon I am new to mysql. I want to learn it. I know just basic queries nothing else, the contents of this book seemed nice, so I was just asking if it would be good for self study.
@bwoebi lol ok
@Baba (I know the other, but just not worked with them)
user895378
@bwoebi If I were you I would use a Gateway pattern so that you always interact with the backend information the same way whether you're reading/writing it in-memory for testing or using a database in the background.
@Baba How does this line work?
echo $this->when(), $disconnected ? "Disconnected" : "Attempting Connection", PHP_EOL;
Specifically, the $this->when(), <--- comma
12:51
@Jimbo Same as :
	echo $this->when() ;
	echo $disconnected ? "Disconnected" : "Attempting" ;
	echo PHP_EOL ;
@silverflash it's a reference manual so I doubt you'll find anything in it that's not at dev.mysql.com/doc/refman/5.7/en plus the latter is up to date
user895378
@Jimbo echo can take multiple "arguments" like a function.
Ha, didn't know that, that's pretty cool
@Jimbo :)
user895378
In many cases it's better to do that because PHP doesn't have to do any string concatenation to meld together what you're outputting.
12:52
@Jimbo ^^^ see @rdlowrey comments
@Gordon Okay. Then can you suggest me some book that can teach me about how to deaign databases things like normalization etc and run complex queries like joins, transactions etc. I am more comfortable with books.
user895378
@Jimbo Also, fixed my dumb websocket bug.
So, it's the equivalent of: `echo $this->when . $disconnected ? "Disconnected" : "Attempting" . PHP_EOL;
@rdlowrey I saw your commits briefly, what was the main issue?
user895378
@Jimbo yep.
@rdlowrey yes, would make sense. Good point, will do this. (just: why can't we import traits conditionally at run-time? … then I just could include trait MySQL, trait WhatEver… depending on some setting)
user895378
12:54
@Jimbo Not worth mentioning. It wasn't even websocket-related. Had to do with server infrastructure stuff that I had carelessly changed earlier in the day.
@rdlowrey @Jimbo the thing to be aware of there is that if you are one of the hateful people who uses brackets with echo, echo(1, 2, 3); doesn't work.
@silverflash sorry, I don't have any to recommend, but I remember @tereško has some he likes to recommend. so just wait til he gets back.
@Jimbo The difference is that with , you don't have to bother about operator precedence. E.g. your particular code will not work corretly
@rdlowrey Cool, okay, well tonight I'll give it another run through and get back to where we were before - probably in about 4/5 hrs, will you be free then?
user895378
@bwoebi ehh ... I don't know about that. Sounds like you'd be asking for trouble allowing runtime conditional traits. Sounds like a code-smell.
12:55
@NikiC So, no concatenation overhead then
user895378
@Jimbo Yep, I'll be around, just ping me.
@rdlowrey compile-time with constants would be enough…
@Gordon you mean the SQL Antipatterns @silverflash ?
quick question, how do I set "set_charset('utf8');" for the entire class:

class Core {
	protected $db, $result;
	private $rows;

	public function __construct(){
		$this->db = new mysqli('127.0.0.1','root','pass','data');

		}

	public function query ($sql){
		$this->result = $this->db->query($sql);
		}

	public function rows(){
		for($x =1; $x<= $this->db->affected_rows; $x++){
			$this->rows[] = $this->result->fetch_assoc();
			}
			return $this->rows;
		}
	}
@silverflash high performance mysql
12:56
@HuseinHusibegović ctrl+k your code please
excellent book
@HuseinHusibegović the MySQLi instance should be injected in the constructor, instead of instantiated there
@tereško yeah, that and I wondered if you had more
hello grt people out ther :)
12:57
@Gordon not any that i know from the top of my head
@HuseinHusibegović the class should not be called Core. That's a meaningless name
user895378
@bwoebi I just see that capability as creating all sorts of unmanageable code. Why would you do that when it's so simple to directly inject the functionality you need through the constructor? Or at worst a factory to create it? Conditional runtime trait resolution would allow for all sorts of spaghetti code disguised as OOP.
 foreach ($this->input->post('status') as $status){
         $task_title= $this->input->post('task_title');
         $working = $this->input->post('working_hour');
        $status[]=$this->input->post('status');
         $pro_id= $t_id;



        $data = array(
            'project_id' =>$pro_id,
            'Task_title' => $task_title,
            'working_hour' => $working,
            'status' => $status,
        );

        $this->db->insert('task', $data);
       }
@user2206616 are you looking for people to donate money, so that you can buy a keyboard with all the keys ?
4
@rdlowrey Where is the best place to put var_dump now to see all incoming connections pending when the log feature is done
12:58
@tereško but SQL Antipatterns is for those who already know SQL
sumbody plz help me with this
@silverflash yes
@tereško I know almost NULL
hmm ...
not really @tereško i am looking for solution
12:59
@rdlowrey i mean before negotiate is called
@rdlowrey was just a thought; didn't think a lot about it
@silverflash mysql or postgresql ?
@rdlowrey am thinking Aerys:server ??
@tereško MySQL
user895378
@Baba What information do you want to see? In your var_dump, I mean.

« first day (1011 days earlier)      last day (4163 days later) »