« first day (657 days earlier)      last day (4288 days later) » 

4:05 AM
@NikiC Another great use-case for generators: in-order binary tree traversal.
or any order binary tree traversal.
@rdlowrey you still awake?
 
user895378
@LeviMorrison oh yeah.
 
user895378
I'm riding high on super-fine-grained SSL client request control.
 
Is there a good way to have errors bubble up?
I haven't looked into socket error handling at all.
 
user895378
@LeviMorrison Well, the problem is that the notify context option doesn't work for sockets.
 
user895378
I'm pretty sure we can implement an equivalent on our own using stream filters, though. I was planning to look into that in a bit, actually.
 
user895378
4:17 AM
So you can't use a notification callback. From the very few resources I've found on the topic -- mainly a bug report -- I've gathered that the best option (outside of stream filters, though none have mentioned that), is to @ suppress the error messages on the stream functions and capture error messages and numbers in parameters passed by reference to those functions. Then we can compose our own exceptions from those results.
 
user895378
I'm making an assumption that the stream filters will work, though. Won't know until looking into them.
 
user895378
The next thing I want to do is add optional implicit persistent connection management to keep alive connections to the same server if you're going to be making multiple requests to that host (as in using a REST API from that host).
 
user895378
@LeviMorrison Oh, I also learned that PHP’s http stream handler does not decode chunked transfers, so that's something that we'd have had to figure out anyway.
 
@rdlowrey Really? Interesting :)
 
user895378
4:34 AM
@LeviMorrison Since chunked transfers generally mean you're dealing with a very large message, potentially something that you don't want to or can't fit in memory all at once there will probably be a need to add another request method that returns the response stream directly. Actually, now I think about it, that would be really nice regardless, because it would give you access to the raw HTTP message. IMAGINE THAT. *ahem* PHP *ahem*
 
lol
Have a callback that is called for each chunk?
 
user895378
Yeah, that would probably be good to have in addition to a request method that returns a raw string stream ... since people probably don't want to or won't know how to parse where the chunks start/end themselves.
 
user895378
In fact, I don't know how to do it yet. Need to learn. Unless you want to mess with it :)
 
Well, I'm messing around with auto-balancing trees.
I have one failing test case.
On remove.
Also, I need to find a better way to create iterators.
 
user895378
That's something else I need to do: wrangle some tests for all this socket business.
 
4:40 AM
Until PHP gets generators, I think I actually have to traverse the structure in the desired order and build an array as I go, and then return an array iterator when I'm done.
That's not optimal.
I do provide a traverse method which lets you traverse just once, but it'd be nicer to be able to do it in an iterator.
 
user895378
I assume this is for PHP-Datastructures?
 
user895378
Apparently stream filters will only be useful for tracking how much of the response has been received so far and how much remains. No error handling :/
 
The most commonly needed structure is a SortedSet.
 
user895378
@LeviMorrison That would be very helpful.
 
4:47 AM
So I'm creating the AVLTree (a self-balancing tree) and then wrapping it inside of TreeSet would be a piece of cake.
 
user895378
Sounds like a logical choice. I actually just got a bit excited about the possibility of using PHP-Datastructures as a jumping-off point to get into some low-level CS stuff like algos and data structures.
 
user895378
I haven't been able to justify learning something like LISP just for personal enrichment to do it. But C code would actually have some application for me. And I could get into some more serious financial applications with it.
 
I just noticed your rep is 800 higher than last time I looked.
 
user895378
I don't know ... I hardly ever answer anything anymore. Lately there's been an uptick in random upvotes on old answers. Not sure why.
 
user895378
I don't ever have time to sit down and write a good answer, so I mostly don't bother.
 
user895378
5:01 AM
Oh, you know what: the stream wrapper does support unchunking as of 5.3 -- the article I read was outdated.
 
user895378
But happily, it also has a built-in stream filter for de-chunking as well, so it should be very easy to implement :)
 
I was pretty sure it was covered. I wasn't going to argue, but meh :)
 
user895378
@deceze I'm really disappointed this message didn't get more love. It's timely. It references popular culture and the Olympics. AND it makes sense in terms of stream wrappers blocking. Just awesome all-around :)
 
user895378
10 hours ago, by deceze
zipline:// wrapper - may be blocking
 
It fell through my radar since I wasn't around when it was posted.
Very clever.
@NikiC Man, how the flip are you supposed to do an iterator in one pass for a tree without generators? I don't think it can be done. I think you have to either provide a callback function and iterate using a method, or you have to traverse the tree and build an array then return an array iterator.
It'd be a wonderful example to add to the RFC.
$AvlTree->traverse(function($item) {
    print "$item\n";
}, Spl\AvlTree::LEVEL_ORDER);

// vs

$AvlTree->getIterator($AvlTree::LEVEL_ORDER);
foreach ($AvlTree as $item) {
    print "$item\n";
}
Iterator syntax feels so much nicer, even when I have to manually call getIterator to use a different traversal type than IN_ORDER.
 
5:13 AM
is it possible to set up a website on a remote server using php alone?... maybe bash commands too..
 
Just noticed my iterator example doesn't use the iterator retrieved, but I promise it works :)
 
@rdlowrey Like, seriously. Right? ;)
Morning!
 
5:29 AM
morning dezece
 
hello all
i need some help real quick
 
@ShyamK php isn't a good tool for installing things on remote servers. The tools I would consider are: ssh for a secure connection and then something like git or scp for pulling in the website code. (Possibly composer to pull in code libraries if your website uses them).
 
is the some way i can list all the divs in a certian div inside a table in a php emailer script
 
@Paul hmm.. so its a 'no'...
 
ok, that was horrible, let me rephrase that
lets say i have a html code like this
 
5:40 AM
hmm.. thanks @Paul
 
@ShyamK it's possible, but among other things, it's so horribly fraught with security issues that it's not worth doing
 
its just that executing commands via php creates a lot of overhead if you do it well. Any system command can fail.
 
<player><div></player>
 
learn to love git+ssh
 
could i get all the divs inside that <player> tag ?
and list them in a tabel separete
?
can anyone help me please
WOW, i could get a better response in the C# room...haha
 
5:46 AM
@cHao The thing is that I have been am supposed to automate a site for hosting other sites.. in the sense that when the user signs up and selects his site URL it has to be set up automatically on the server.. Right now this is being done manually... @Paul
 
@EliteGamer This room is fairly quiet at this time of day.
@ShyamK Use make.
 
@cHao @Paul so since the two of recommend that using php is a bad option.. any good options?
@LeviMorrison make? what is that?
 
it's a tool for scripting building stuff
c and c++ programmers use it all the time to take the pieces, build them if they haven't already been built, link them together, all kinds of stuff
 
@rdlowrey Good night. I'll see you tomorrow.
 
user895378
@LeviMorrison ditto.
 
5:52 AM
@ShyamK I just read ircmaxell's n-tier blog entry I'd consider solving this problem using an n-tier approach. PHP gets the information from the user, this is sent to another tool / server. Reading that blog entry might give you some ideas.
@ircmaxell N-tier was another good blog entry, thanks.
You might want something like cron, phing, make, etc. as the other tool.
 
@Paul Thanks. I shall read his blog. And get back to you (or him) if I have any doubts..
 
6:12 AM
@ShyamK Understanding HTTP well is required to get the caching benefits of the N-Tier architecture in that blog entry, but the idea of separating your concerns and using the correct tools for the jobs is definitely covered.
 
With that avatar of his, every statement by @cHao reads like a snarky snipe... Can't help it. ^_^;;
 
I have a question about php include();
I am including a file in my web page, but the css wont apply to it
The css is linked and the include is placed inside a container div
the styling is applied to that div
 
CSS has absolutely nothing to do with PHP's include(). CSS applies to the final HTML markup. It does not matter one tiny bit how that HTML was put together.
If you have problems with CSS not being applied, check the HTML and CSS that is output by your PHP script in the browser.
 
O.k Got it
Thanks
 
You're welcome.
 
Sem
6:58 AM
Good morning
 
7:09 AM
why i getting this error in soap request "soapenv:Serverunknown" plz anybody tell me
?????????
 
Good morning
 
@Lusitanian I don't think so
morning
 
Good CEST morning everyone. quora.com/…
^ Okay just checking the related queries, that site is even more obsessed with propaganda than what sometime does here.
 
7:41 AM
posted on August 03, 2012 by Stuart Herbert

Taken at the Google Campus in London last night: Right now, everyone is hiring. It’s nuts. In 18 years of being a professional software engineer, I’ve never known a time like it. We’ve gone from a society where it was considered a bit odd to be interested in computers, to a world where software engineering skills are the single-most in demand skill today. This is what you’re competing a

 
7:58 AM
good morning :)
 
@hakre morning :)
 
Wow, I asked in the PHP mailinglist about some EOL dates and now they sort all releases ever done it looks like and even planning a new page: php.net/eol.php
 
@hakre I saw the discussion
 
@hakre What have you done?!
Also: morning.
 
8:14 AM
@deceze I asked for example: "What is the EOL date of PHP 5.0" (or 5.2 for that matter).
 
Seems it was about time somebody asked that. :D
 
I was compiling a timeline graphic and I had problems to cite public sources on PHP.net for some of those dates. I think I'll publish it the next days, now I need to go through the feedback again.
 
Greetings Guys.
Quite positive day today, isn't it?
 
Sem
@DanielsPitkevičs Friday is a very positive day indeed.
 
8:19 AM
True, true
Someone can explain why I can't get content of website with file_get_contents, where address is IP? IP is, I suppose, local - 10.0.x.x
 
It's raining outside and I have a lot of code to write today which I'm not sure I'll get done in time.

Other than that, great day!
 
@deceze Big quantity or just hard core?
 
Sem
@deceze Coding while it's raining outside is a good thing, right?
 
friday is a very positive day.. cos the next two days you get to be at home.. and do what ever the hell you feel like.. Hate sunday evenings though.. reminds me that I got to work the next day
 
@DanielsPitkevičs Mostly big quantity. Remodeling a site, integrating the finished HTML/CSS with the backend again...
 
8:22 AM
@deceze is always a little pissed about one thing or the other.
 
@ShyamK Thats true, I suppose I should enjoy last summer days ^^
 
@ShyamK It's a way of life.
;P
 
@deceze I see, then We can't help, but keep it on - Friday evening beer will be more tasty
 
hi guys,UGT, i'm trying to make some sort of captcha , heres some code for now ,pastebin.com/Umsy9Dze, but it doesnt match. . ? or i'm doing something wrong??
 
But... I just had a nice talk and I may get the opportunity to ditch an old v1 system and rewrite it from scratch in v2. That's positive. ^_^
 
8:26 AM
Ok, my problem with file_get_contents is more complicated - file_get_contents can get website by IP, but mine is bad :D What the hell is happening...it seems there is devil which fu*ks up me, so I can't create that graph..
IP 10.0.73.4 is local, yes?
 
Sem
@tomexsans I think you might be better off using the rechapta api
 
morning
 
@tomexsans You are resetting ` $_SESSION['secure']` on every request so it won't match the post value
@Leigh morning
 
@DanielsPitkevičs That IP is on a local subnet. But to fetch a content from it, you will need to use file_get_contents("http://10.0.73.4"); with a webserver running on the server.
 
8:32 AM
file_get_contents("http://10.0.73.4"); retrieves me this error: failed to open stream: Operation timed out in.
So it can't connect. For me, to open that website on my computer I had to create route for that, maybe that is what prevents me from getting data?
 
@PeeHaa, ohh no ohh yes . .stupid me .. i'll use cookies then . .
thanks
 
@DanielsPitkevičs Of course. The client where you are executing the command and the server needs a valid route to be able to connect.
 
@Whisperity Am I able to specify route inside my php script? Or it should be done somewhere else?
 
@DanielsPitkevičs What's a "route" in this context?
 
I accidentally my develop branch as development, is it safe?
 
8:37 AM
@deceze Hmm, I dont actually know how to describe that. To open web page I had to specify route inside cmd on windows using command - route. Although, I'm quite bad at networking, but I think that could be some forwarding to open needed address or smth.
tcp/ip routing
 
@DanielsPitkevičs Not sure about Windows but I guess you'll need to set up the routes in proxy. Somehow... somewhere. I don't think PHP would handle that but I can always be wrong.
 
@Whisperity Webserver is linux where files are placed. Anyway, then I need to tell this to our linux administrator, yes?
 
@DanielsPitkevičs O_o Futzing around with TCP/IP routing on that level seems like quite a hack. You should setup your network so both machines can see each other without that.
 
@DanielsPitkevičs The routing needs to be set up on the computer from which you are running file_get_contents();.
 
@PeeHaa You've seen this, too news.php.net/php.internals/61957 ?
 
8:41 AM
IMHO You are doing it wrong ™. Just include in on every page and make sure the files are compressed and cached and you are done. No parsing of the document needs to happen at all. my $0.02 — PeeHaa 36 secs ago
 
@deceze Hehe, hackers rule the world, but I need just two temperatures from two devices which are printed in web page, I open with specified IP.
@Whisperity Ok, thank You :)
 
@PeeHaa Agreed.
 
Hmm, in 20 minutes olympic start - should go smoke now :)
 
@hakre Just now. Just shows it's a mess :)
 
@PeeHaa Edited my answer on that question to include it.
 
8:44 AM
Alright... off to coding...
 
@Truth tnx +1
 
Bon voyage, @deceze :)
Yes and YouTube obviously had to change their layout again. Is it only me who thinks that all these interface revamps are actually making the sites worse than what they were before: Gmail, Twitter...
 
Hey any Expert in Rest webservices?
 
Not me. You might try elaborating or asking on the main site.
 
9:00 AM
@hakre I had an idea for per-process configuration... stream_wrapper_register('tidy', 'TidyConfig'); .. but it doesn't work. It doesn't parse the stream wrapper when it tries to read the config file :(
 
9:13 AM
@Leigh Yeah, I thought so as well. It's like with the ZIP extension. Not all extensions use the wrappers :)
However, if there is some little function like tidy_set_default_config($array) as a feature request, this would be no issue at all, right?
 
ok, I've got this extremely stupid situation.
I've got a DB filled with faulty serialized strings (which by the way, ain't my fault)
the best solution I can think of is to translate the serialize syntax to json
eg:
s:5:"width"; => "width"
Any idea how I could proceed?
As far as I can tell, there are no serialized objects (with special classes).
 
9:26 AM
quick off topic question: any one here got an android phone? if yes, ever noticed what happens when a call interrupts a video that you are watching? After the call, does the video resume from the last frame or does it start afresh?
 
 
@hakre Code for what, the segfault?
 
@Leigh Yes, that demonstrates what you describe.
 
9:32 AM
@hakre php -d disable_classes=SplFileObject -r "\$a = new SplFileInfo('/bin/ls'); \$a->openFile('r');"
 
Well, what do you know!
I'm nearly there with two ugly regular expressions.
 
@Christian Maybe the serialized library helps you.
Faulty serialized strings are most often a cause of character encodings, so re-encoding the string first might help, too
 
@hakre The DB is utf8_general_ci
From some research, it seems this issue comes from the database
TBH I don't know.
 
is the field a binary string or does the column has an encoding, too?
 
It's a longtext
 
9:41 AM
@Christian Okay, that sounds wrong database design wise. It should be a binary blob instead, because serialized strings are binary not some UTF-8 or something.
 
Tell that to the wordpress people
Basically, we're making use of featured images
These are saved as a serialized array inside table wp_postmeta (column meta_value for when meta_key is _wp_attachment_metadata)
 
one trick is to base64 or uuencode first :D
however if you can pass me some contact details I can send you my skype account and I can take a look.
 
uuf6429@gmail.com
(or something like that)
 
Guys can you tell me how that jquery libraries (for example jquery UI) affect page performance and speed? I just want a simple datepicker and i had to integrate tons of libraries and css files.
 
@John You can get a "lean" jquery ui with just the datepicker.
That said, I wouldn't advise it
 
9:48 AM
@Christian Ok, what if i integrate full package. Is speed change noticeable?
 
@hakre wow, not seen uuencode for like... 10 years
 
@John Depends on how you put the code. But I'd say there's always some difference
 
@Christian okay, thanks for explanation :)
 
10:27 AM
@Truth is not my choose to don't use tables. I can not do that. — Andrea Turri 1 min ago
 
Anyone know what causes line numbers in debug symbols to be majorly incorrect? I've done a make distclean + rebuild, and I'm getting spl_filesystem_object_create_type() at spl_directory.c:218 in my backtrace, when the function is actually down around line 450
 
@AndreaTurri: Your boss hired you because you're supposed to be the expert, not because you're a highly trained monkey with a keyboard. Go to your boss and burst his bubble, tables are not evil. Tables for layout is evil. This is not tables for layout. It's tables for tabular data. — Truth 9 secs ago
Anyone care to back me up on this one?
 
@Truth It kind of is tables for layout
 
@Leigh It isn't
There's a clear table structure here.
Title
-----
content
and multiple columns which mean the same
Table is the most (if not perfect) semantically correct element for the job
 
Hey. I have some weird thing. I have this code:

<?php
$content = file_get_contents("http://10.0.73.4");
echo $content."<br /><br />";
$air_temperature = null;
$air_humidity = null;

echo substr($content, 0, 1);
?>

$content starts with letter 'U', but outputs '<'. Why?
But if I add just string to $content, it prints correctly.
Why? Return type of file_get_contents is string. What's the difference?
 
10:48 AM
Daily cap reached!
not too shabby.
 
Hmm, my bad for the top question, never mind
 
Now the good questions'll begin :(
 
@Truth Daily cap? This fast?
 
I'll start with good questions. If I retrieve html code, can I create an array from that, just like with xml files or ini files?
 
@DanielsPitkevičs var_dump($content); and file_get_contents("http://10.0.73.4/index.php"); ?
 
10:51 AM
hello php guyz
 
@DanielsPitkevičs Of course. A while ago (well it might have been 3-4 years now) I was parsing HTML output with PHP using basically explode around the output's syntax to fetch the array.
 
@Whisperity Output was just a text, but inside source code there is html code and first letter of html is "<". Too simple
@Whisperity But its not the easiest way :D There must be easier. Can I use that I use with xml?
 
@DanielsPitkevičs Depends on the original output, of course.
@Daniels Consider the following webpage: logout.hu/tag/kalandor.html . (It's just a profile from an IT forum site)
 
Or this outputs me array from html -
$xml = simplexml_load_string($content);
print_r($xml);
 
You see a wide range of stuff on that user's profile. I have made a "parser" for it which does create same HTML output. It's mainly chucks up the original output using explode. Craptons of explode. (Then it calculates reputation points and all that stuff...)
Spaghetti code, massive spaghetti. But for local use, it worked.
Can you send us a sample (Gist?) of the raw output of `10.0.73.4`?
 
10:58 AM
That is the output
Just some information
but checking with source, it turns out that its a bit different
 
Raw output. Use Gist.
 
@Whisperity Ok, I should copy there just output, not source code, yes?
gist: 3246652, 2012-08-03 10:59:47Z
Unit Status Unit On Return Air Temperature 22.2 °C Return Air Humidity 44.0 %rH Supply Air Temperature --- Return Air Temperature Setpoint 22.0 °C Return Air Humidity Setpoint 30 %rH Supply Air Temperature Setpoint No Fan Status 100 % Compressor Status 39 % Freecooling Status 0 % Heater Status 0 % Dehumdification Status 0 % Humidifier Status 0 %
 
Raw output. Right click in the browser "View source..." We need to see the HTML tag setup too.
 
Hmm
Ok
gist: 3246652, 2012-08-03 10:59:47Z
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="/simon.xsl" ?>
<icom:SimpleMonitoring schemaVersion="1.00" appVersion="WXG160069" xmlns:icom="http://www.emersonnetworkpower.com/icom" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.emersonnetworkpower.com/icom icom-1-02.xsd">
<Item id="79" name="SinglState">
<Label>Unit Status</Label>
<Value valueType="262144" offset="0.000" gain="1.000" precision="0">Unit On</Value>
<Unit></Unit>
</Item>
<Item id="86" name="LocTemp">
<Label>Return Air Temperature</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="1">22.2</Value>
<Unit>&#176;C</Unit>
</Item>
<Item id="104" name="HT_Humi">
<Label>Return Air Humidity</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="1">44.0</Value>
<Unit>%rH</Unit>
</Item>
<Item id="678" name="PTC_TempD2">
<Label>Supply Air Temperature</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="1">---</Value>
<Unit></Unit>
</Item>
<Item id="81" name="TempSet_ac">
<Label>Return Air Temperature Setpoint</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="1">22.0</Value>
<Unit>&#176;C</Unit>
</Item>
<Item id="365" name="HuSetActDi">
<Label>Return Air Humidity Setpoint</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="0">30</Value>
<Unit>%rH</Unit>
</Item>
<Item id="126" name="SupplySet">
<Label>Supply Air Temperature Setpoint</Label>
<Value valueType="262144" offset="0.000" gain="1.000" precision="0">No</Value>
<Unit></Unit>
</Item>
<Item id="862" name="Bara_Fan">
<Label>Fan Status</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="0">100</Value>
<Unit>%</Unit>
</Item>
<Item id="512" name="Bara_Cool">
<Label>Compressor Status</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="0">39</Value>
<Unit>%</Unit>
</Item>
<Item id="514" name="Bara_FC">
<Label>Freecooling Status</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="0">0</Value>
<Unit>%</Unit>
</Item>
<Item id="515" name="Bara_Heat">
<Label>Heater Status</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="0">0</Value>
<Unit>%</Unit>
</Item>
<Item id="513" name="Bara_Deh">
<Label>Dehumdification Status</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="0">0</Value>
<Unit>%</Unit>
</Item>
<Item id="516" name="Bara_Hum">
<Label>Humidifier Status</Label>
<Value valueType="393216" offset="0.000" gain="1.000" precision="0">0</Value>
<Unit>%</Unit>
</Item>
</icom:SimpleMonitoring>
Its an xml file
I thought of html, but still 2lines and I have array from source
 
In the MySQL-related documentation the term “driver” is reserved for software that provides the database-specific part of a connector package.
i did not get this statement from mysql documentation ,would someone like to clear the difference between connector and driver
 
11:07 AM
$simple = file_get_contents("foobar.xml");
$p = xml_parser_create();
xml_parse_into_struct($p, $simple, $vals, $index);
xml_parser_free($p);
echo "Index array\n";
pretty($index);
echo "\nVals array\n";
prettyVar($vals);
Basically. Then you just have to search through the two arrays and fetch the proper values.
gist: Output PHP variables in a prettier format for human-readable dumping, 2012-07-24 16:05:49Z
function prettyVar($variable = NULL)
{
	return str_replace(array("\n"," "),array("<br>","&nbsp;"), var_export($variable,true))."<br>";
}
 
Or just this is my full code:

<?php
$content = file_get_contents("http://10.0.73.4/");
$air_temperature = null;
$air_humidity = null;

$xml = simplexml_load_string($content);

$air_temperature = $xml->Item[1]->Value;
$air_humidity = $xml->Item[2]->Value;
echo $air_temperature . "<br />" . $air_humidity;
?>
Now need to pass these values to Cacti system
 
@DanielsPitkevičs Hm. This worked too.
 
@Whisperity But thank You :)
 
I usually see it in systems that flag sets are basically 2^x value constants which can be calculated so that I can add two flags together and I get a non 2^x value and from it I see what flags are to be used.
Like how E_ALL is 32768 and E_USER_ERROR is 256 and I can set error reporting to 32512 so I will have everything but E_USER_ERROR. How could that be implemented into a PHP script? I'm thinking about leveraging access controls via this method. Or is it overkill/underkill?
 
@Whisperity You mean like error_reporting(E_ALL & ~E_USER_ERROR) ?
 
11:20 AM
@Leigh Yes, but with using their numeric representatives in the database. I have seen this method at various places, most notably in Mangos where you were able to set the flags of an entity/item with adding the wanted flags' value together and setting the field to the result number.
 
@rdlowrey just tested this morning after pulling -- still having the same issue. i'll try debugging it tonight.
 
12:03 PM
Facing small issue in html2pdf. render page is not fit inside the pdf. Half of the page is coming inside the pdf, remaining half goes outside. what i done wrong ?
 
@Truth Only in layout, really. It's not "tabular data". Tabular data is rows and columns with specific meanings. Think Excel used properly. In this case, it's really individual articles which are displayed three-in-a-row. !== tabular data
 
12:18 PM
http://stackoverflow.com/questions/11794940/how-to-display-a-user-name-and-all-its-subjetname-including-marks-of-that-user-w
 
was just coming to link that one :D
 
12:37 PM
Hehe, I love Olypmic Games
^^
 
morning
and morning @Leigh
 
@NikiC morning
 
@Leigh Seen that you wrote stuff to internals :)
morning @DanielsPitkevičs
 
@NikiC I've written a few things.
What do you think about it? Warning for disabled function vs Fatal for undefined function. Inconsistent, or legitimate reason?
Also, I wasn't able to fix the bug that caused me to write that email, so I had to put it in as a bug report :/
my debug symbols are reporting the wrong lines for functions even after a distclean
 
12:46 PM
G'Afternoon
 
@Donut ello
 
@Leigh yes, legitimate reason ;)
@Leigh did you compile with --enable-debug?
what fonts do you people use for programming?
 
@NikiC Menlo
 
hi
anyone know any good tutorial on watermarking
 
@Ziinloader php watermarking?
 
12:57 PM
I think I'll switch to Consolas
looks sharper than the one I currently have
 
watermarking transparent image with my logo over and original image, made dynamical when uploading images to server
ah thank you :)
 
@NikiC do you have DejaVu Sans Mono?
 
@Leigh No, but I could install it
Worth it?
 
@Ziinloader I must say that this was the first search result of: php watermarking
 
Sem
12:59 PM
@Ziinloader google.nl/…
 
yeah I noticed, I sad thanks before clicked on the page
but thanks anyways for trying
 
@NikiC They're all very similar to the font used by sublimetext.com (Menlo), you can also get Meslo (github.com/andreberg/Meslo-Font)
 
Looking for some other tutorial
 
@Ziinloader Google them, there a lot of them
 
@Leigh Just tried out dejavu, but it doesn't look as nice as consolas
 
1:06 PM
yeah I found a good one now :)
 
goedemorgen
 
Sem
Goede morgen meneer
 
@NikiC Well everyone "likes what they like", did you try ms-studio.com/FontSales/anonymouspro.html ?
Apparently levien.com/type/myfonts/inconsolata.html is better than Consolas :D
 
1:24 PM
hi everyone
 
morning @ircmaxell, @MikeB
 
1:36 PM
working week is over
great thing to know :)
c ya guys
 
gnite @DanielsPitkevičs - have a good weekend
 
hiya @MikeB @NikiC and @ircmaxell
 
Morning all
 
Hi @PeeHaa @Event_Horizon
 
It's like a shift change :p
 
1:39 PM
@ircmaxell I was reading the SO chat log and was wondering if you had any online resources for building a compiler you would suggest (I have google searched but I value your personal resources/experience).
 
building a compiler? óÒ
 
@Event_Horizon coursera.org/course/compilers This wasn't bad, and crenshaws old guide is still valid, compilers.iecc.com/crenshaw
As places to start :)
 
Yo
 
@Leigh Alright I'll check those out
 
Good morning again
@Event_Horizon Not particularly
 
1:53 PM
@ircmaxell Did you learn the advanced stuff you know through books? I know you've got a good bunch of suggestions for books on your blog.
 
Some of it. Some of it I learned from reading posts. Some I learned from experience. Some I learned from other people...
 
hi
i have an out of topic question
may i ask it?
 
can't hurt to try
 
2:08 PM
posted on August 03, 2012 by Anthony Ferrara

"Don't Reinvent The Wheel" is a phrase that we hear used all the time in software development. Usually it's used in the context where a library exists to do what the user wants, but they are writing their own. While the sentiment is usually correct, I can't stand the implication of the phrase. Therefore, I can't stand it when people use that phrase without understanding what it really means. Le

 
@ircmaxell It feels like a bad analogy to start with (imho). I probably spend 50% of my time making better, faster, safer, and easier to use wheels.
I doubt there is a library (of any substance) "perfect enough" that there is no room for improvement.
 
have you used SEO
 
@ircmaxell good post
 
@techno I wrote applications for SEOscheduler.com
why?
 
@Donut hiya
 
2:24 PM
@PeeHaa OAuth gogogogo
 
@Lusitanian First things first (it's almost 5 o clock here) --> BEER!
 
hehehehe
 
@ircmaxell, New Jersey, USA
Anything Regarding Software Security, Performance, Quality and Architecture...
2.7k tweets, 999 followers, following 135 users
Only 1 more...
 
@LeviMorrison which is the best SEO in UK
do you know?
 
@ircmaxell you were a firefighter?
 
2:29 PM
yes
 
@techno Dunno. We tried to make SEOScheduler country agnostic, but it's harder than you might think.
 
interesting
 
ok
 
^ I know where some of those comments actually are in SO . . . :)
 
I got a gangster support rep in chat: 09:33:23 Agent jaspreet_singh4
Thank yo.
 
2:36 PM
@PeeHaa damnit, 1h25 to go before I can begin my journey towards incapacity.
 
Sem
@ircmaxell Great stuff man, keep 'em coming!
 
@tereško oh god
 
Yay! 1000 followers!
 
Sem
Congrats!
 
2:44 PM
congratulations o:
 
@ircmaxell 999
I "follow" you, but I don't actually do anything of the sort. :)
 
@ircmaxell, New Jersey, USA
Anything Regarding Software Security, Performance, Quality and Architecture...
2.7k tweets, 1k followers, following 135 users
@salathe lol :-P
 
Am I the only one getting problems with twitter?
It loads (I see the title), but the page remains blank.
 
@Truth : firefox ?
same issue..
 
Chrome
Nothing in console either.
 
Sem
2:46 PM
No problems here
 
no issues with chrome..but its always blank in firefox for me
 
I actually don't understand what's Twitter all about
What's the point of it?
 
Short news spurts from whatever you're interested in
And it's not just for high-school girls.. You can follow things like nasa or people/orgs in the php community
 
@ircmaxell gratz
 
@ircmaxell 1001 :P
Next milestone: 1337
 
2:50 PM
lol, thanks!
 
@ircmaxell : your ratio in twitter is pretty good.. for me its 1:1 .. if some one follows me I follow back
 
Yeah, I'm pretty tight about who I follow...
 

« first day (657 days earlier)      last day (4288 days later) »