« first day (1333 days earlier)      last day (3841 days later) » 

17:02
yo
sigh
you need autoconf to compile autoconf from vcs...
nevermind, got it compiling
You also need a compiler to compile the compiler from vcs ^^
@NikiC nah, didn't. just needed to use ./bootstrap.sh first
:)
17:17
morning again
I want to buy my mother a camera, but I am totally clueless about any of that shit. Doesn't really need to be fancy just ok.
@PeeHaa why a camera and nto a cameraphone?
user895378
Two fucks diverged in a wood, and I - I took the one not given.
user895378
^ Not a helpful attitude, of course, but pretty F-ing funny. Subtitled: HHVM collaboration on display?
@rdlowrey lol
@rdlowrey Sounds nearly poetic
17:30
@NikiC fuetic.
user895378
@NikiC Not sure of your familiarity with 20th century American poetry so I'll just leave this here: Robert Frost's The Road Not Taken
God damn it. Doctors want more blood tests before they do anythingt o fix my leg
@tereško What happenedn ow? :P
work
17:49
@ircmaxell I can already see the confused face of mother :P
@rdlowrey nice ^^
@PeeHaa no seriously. If you want a real camera, awesome. But if just a point&shoot, then why not just a cameraphone?
@ircmaxell hmmmm any candidates which are stupidly easy to work with for somebody old?
s/old/ancient :)
18:04
@PeeHaa I dunno.
github is wonky
@JoeWatkins I'm glad I'm not the only one experiencing GH wonkiness.
18:26
gone now @cspray ? (has for me)
@JoeWatkins Yea, it looks like it has. Will find out in a minute when I push some more commits ;)
@krakjoe @ircmaxell You guys should just marry already. PHP would never be the same. *ducks*
3
^ that made me chuckle
18:58
:-)
- are opcode numbers different on different CPUs?
- if yes, what's the best way to get the opcode of a specific instruction? By implementing it in a function in C (/ asm?) and look up the executable memory at runtime?
Could someone help me google?
read into disassembly
@ircmaxell I know what disassemblers are, but I need that information in a program to analyze some executable data at run-time…
@bwoebi what are you doing?
@NikiC nothing yet. Just thinking about how to do. First reading about and looking if it's possible… I want to insert some jump instruction at runtime into other function (in a new executable memory area) and call it…
I just need to get the jmp instruction opcode here, platform independent…
19:07
@bwoebi you want to disassemble that executable data (at least partially)
no?
yup, I'm not sure how I would do that…
opcodes expect different argument numbers, so I anyway need to disassemble the whole thing?
@ircmaxell am I correct here?
I'd just like to do that somehow in a platform independent way…
Not sure
I am not overly versed in that...
There's the problem. Google doesn't seem to know a lot about it either…
In that case it doesn't exists
19:28
funny… it exists in e.g. gdb, but I prefer reading text about the techniques behind it instead of analyzing tons of code
well ...there's no such thing because of position independence, there might be a compatible way to detect that and whatever else you need ... but it sounds horrible ... why do you think you need to do that ? @bwoebi
resen
19:52
@bwoebi Google knows it. You just aren't sure how to ask it :-P
"Twitter dein Gewitter." It's sad that this doesn't work well in English.
@ircmaxell then tell me how ^.^
I dunno :-P
@ircmaxell haha :-P
user3141603
20:21
Hellp
user3141603
hello
user3141603
$this->_query = call_user_func_array(array($this->_query, 'bind_param'), array_merge(array(str_repeat('s', count($params))), array_values($params)));
user3141603
returns Warning: Parameter 2 to mysqli_stmt::bind_param() expected to be a reference
user3141603
How should I fix it?
user3141603
Thanks.
20:25
I call them 'how do i brain surgery with potato?' posts. — Matt Joyce Jun 2 at 11:05
The syntax $row->data implies that $row is an object with a data property. What exactly are you trying to accomplish by casting an object to an object?... — War10ck 21 secs ago
hehehe
20:43
Is there any way to stop the trimming of a trailing newline when dropping out of PHP mode? As in, <?php echo $foo ?> <-- newline trimmed.
^^ Aside from adding a trailing space or other character
@DanLugg isn't the current behavior what everyone wants?
lolno No, not me.
It's actually a rather frustrating "feature" when trying to deal with output that is whitespace sensitive.
Hey guys I'm trying to install imagick via a bash script and I can't get it to automatically hit "enter" when it needs to to install the module.
I'm using the following command
yes "\n" | pecl install imagick
I've tried
Sorry to interrupt the conversation. I would have a PHP question out of your subject. Where should I post it? Can I post it here, or should it be in a separate chat?
20:52
yes "" | pecl install imagick
as well, nada.
I might add that both of these commands work fine from the command line, it only fails when run via bash script.
Any ideas?
@PeeHaa I would second the 'getting a smart phone as a camera' taking pictures is half of it, but then the more important half is getting those pictures off and sharing them with people, or getting them printed. The iPhone4S has a pretty decent camera - although other phones have better cameras (e.g. nokia stuff) they may be harder to share/print the pictures.
Any suggestions?
@billmalarky Don't spam the room or you'll likely start getting ignored?
I have developed a PHP/MySQL/PostgreSQL/JavaScript/AJAX/JQuery application to process and analyze data from different LMSs.

One functionality of my web application involves performing lengthy analyses of huge amounts of records. For example, my code is doing math operations on the results of a SQL query. Depending on the size of the query results, it may take several minutes. Therefore, I want to allow the user to cancel the processing both in AJAX and also on the web server. For now, when the user cancels, only the AJAX call is aborted, but the script continues to run on the server, causi
@billmalarky maybe do yes "yes" or the appropriate response rather than than trying to just hit enter? Though I think compiling image magick from source is probably a better idea.
21:02
@Danack Enter is the requested response :-(
@billmalarky maybe try expect instead then - stackoverflow.com/questions/4566830/…
or just \r
@jeremie_se That's a lovely story. Do you know any story that have elves in them?
internet makes me sad:
I think this answer is good to answer something like, "Please help, I suck at learning and I either want to jump into ORM Blind, or continue working with TSQL Like I'm used to." In that case, of course this is a good answer. But if you use an ORM, and create an N-Tier application with common abstractions that create persistence ignorance, then there isn't an issue. This is a horrible thing for a developer to do if the cost/benefit isn't there. But then again, this isn't a developers job. If you're the architect, stop QQ'ing and go learn how to architect. That applies to non-ORM also. — Suamere 36 mins ago
21:18
@tereško I'd leave the "you get no points" video as a comment, but that'd be too rude.
@Danack Thanks, I'll give that a shot.
It's 1:25 am and I am still at work. fml
Fortunately and hopefully, I'l be leaving in August.
@Leri I left mine at 23:45-ish
Da heck? Is that even allowed?
21:29
@HamZa Not sure about West Europe but in the East one it's more than allowed. :)
Here in the netherlands you mostly work from 9 to 17 (sometimes to 18) as a developer
Hi! i moved project with symfony 1.4 to another server, and now my CSS and JS files are not loading. The path for example is /css/v2/style.1402428359.css which returns 404.
Do you know what that result code means?
i tried to clear cache, remove cache directory, but that didn't help
@HamZa I bet you also get paid 10x times more
21:35
@tereško Costs are also higher :)
The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with a given server, but the server could not find what was requested. The web site hosting server will typically generate a "404 Not Found" web page when a user attempts to follow a broken or dead link; hence the 404 error is one of the most recognizable errors users can find on the web. A 404 error should not be confused with "server not found" or similar errors, in which a connection to the destination server could not be made at all. A 404 error indicates that the ...
@HamZa Netherlands is relatively affordable :P
@webarto Depends where you live :P
i know what 404 means, the question is about symfony 1.4 trying to load something that doesnt exists. do i require rewrite rules for assets or maybes i need to rebuild cache somehow?
@Leri btw that prestashop & phonegap project is almost done :D
@HamZa Don't you randomly get angry without a real reason now? :D Congrats, btw.
21:42
@Leri hehe thanks
21:59
Can someone please look at this question for me stackoverflow.com/questions/24146428/…
@dotman14 i) There is no question in that question ii) you should learn how to debug code, because it appears you're wanting people to debug your code for you.
23:10
@rdlowrey are you about?
nevermind
`$this->scripts = array(
"css" => array(),
"js" => array()
);`

^^ Undefined index: js - Ummm... Welp?
23:27
Im assuming the backquotes aren't part of the actual code?
:17070052
Lol, nope. I forgot how to format things in here.
Does the css index exist?
Wherever you're trying to access it
foreach($this->scripts['js'] as $path)
They're declared in the constructor of my object. It has no issues accessing the CSS array, however it's blind to the JS array.
Are you positive its actually accessing the js array and not trying to find the key "js" after already accessing it?
Like foreach($this->scripts['js'] as $path){
$path['js'];
}
public function grab_scripts(){

foreach($this->scripts['js'] as $path){
echo '<script type="text/javascript" src="' . $path . '></script>';
}

foreach($this->scripts['css'] as $path){
echo '<link type="text/css" rel="stylesheet" href="' . $path . '"/>';
}
}
23:34
@JordanHughMcKimm bet you can't replicate that behaviour (aka the bug will be obvious) on 3v4l.org
Also ctrl-k for formatting or indent all lines by 4 spaces.
I broke it.
:C
Jordan, can you just use xdebug to verify that the state of the array isn't being changed prior to that line?
Ah, I'm so stupid. So so stupid.
I forgot to call the parent's construct in the sub-class. -_-
And it wasn't throwing a CSS error because in the sub-class, I had:
$this->require_css("css/styles/default/style.css");
@JordanHughMcKimm "Ah, I'm so stupid. So so stupid." I think that daily.
To be fair, it's kinda late. 00:40 AM. I forgot to buy caffiene. :'(
23:42
@JordanHughMcKimm Or maybe go to bed.
@Danack What's bed? :p
It's where the coding is done in your head, not on a computer.
@JordanHughMcKimm That place where your mind is too caught up with coding to fall asleep.

« first day (1333 days earlier)      last day (3841 days later) »