« first day (1183 days earlier)      last day (3991 days later) » 

user895378
00:16
@Danack lol ... story of my life.
user895378
It's like the one time per year when I have to go noodling through an apache or nginx config ... I always want to (in the words of HL Mencken) ... "Throw up my hands, hoist the black flag and start slitting throats."
I can understand people not writing clear documentation, but what I can't understand is that I've met a couple of guy who work for puppet labs - they just had the worst condescending attitude to people who were trying to use Puppet, but were doing it wrong.
TBH the lack of documentation may even be part of puppetlabs's strategy for getting more billable consulting hours.
user895378
Were they developers or actual customer service/evangelists?
user895378
Rule number one of customer service: never let the devs talk to customers.
@rdlowrey tech developer/consultant/evangelist
00:20
Rule number two of customer service: anyone who follows rule number one should be immediately fired and replaced by someone competent
nice guy otherwise, but really condescending about a large Oz bank.
user895378
Rule number three of customer service: never listen to the writer of rule number one on matters of customer service because he doesn't know the first thing about it
user895378
Although, I'm a dev and doing the customer service for my real work has resulted in financial independence and happy customers so ...
btw @rdlowrey what redis client to you use for PHP?
user895378
@Danack lol you're going to laugh and say, "that figures" but I wrote my own because I needed a non-blocking one.
00:24
You're right - that does indeed, figure.
user895378
And the predis one didn't have the features I needed.
@rdlowrey :)
user895378
I'm sorry but rolling your own is not a mistake when the available tools suck.
Yeah - that's why I'm asking. it doesn't support the expiry time in the set command yet. (You can set it through executeRaw, but that kind of defeats the purpose of using a nice API).
@rdlowrey isn't that actually called necissity?
00:26
@hakre narcissity?
@Danack lol. or that, yeah :D
\o/
but if something does not work, you need to replace it
user895378
@hakre Yes, but I make enemies in the php framework club by pointing out the glaring failures in their super awesome code. So people like to say "reinventing the wheel is stupid" as a defense mechanism.
user895378
@Danack I wouldn't feel good about pushing it onto someone else yet because it's not well-tested but I'll let you know.
00:28
unknown (google): That's just silly, Chuck Norris doesn't parse HTML. When he shows up, it parses itself. — ryandenki Nov 15 '09 at 14:40
hmm
500 Internal Server Error <-- Nginx does not like me. :|
@rdlowrey yeah awesome frameworks. awesome. until you actually need something.
@VoidWhisperer PHP does not like you, Nginx is probably working fine.
user895378
@Danack Basically I have to do two things before I can open source aerys ... finish the NoSQL redis client and implement a non-blocking postgres client that takes advantage of the ext/pgsql functionality I'm merging for PHP 5.6
You would get no response if nginx was borked.
00:30
Hmm
m59
m59
Should getters/setters always be used?
@rdlowrey So....2014?
m59
m59
I have a property that is only used once to calculate something and then I never need again. It seems odd to use a getter for it.
user895378
Who knows. Time is such a metaphysical concept ;) But yes.
@m59 no
00:31
@VoidWhisperer This reference may have be of use.
Which is better, Nginx or apache (hides from possible approaching argument)
If you need the custom features, Apache. If you don't need the features and just want speed, Nginx.
In my personal experience, apache is also easier to setup :L
@VoidWhisperer Until you get to re-writing.
Well, in my experience setting up nginx (two times) it does not like working. xD
00:36
@Danack Well Apache is getting faster and faster even it's an old rusty lady.
user895378
My experience is that Apache is faster for PHP than nginx if correctly configured.
user895378
If you're going to do dumb things like .htaccess then no, but otherwise it works well.
I'm going to attempt to reinstall it with apache since that is also easier to get working in my experience
user895378
Nginx can hold open tons of concurrent client connections because it's an event-driven thing but that gains you exactly zero because PHP still needs a process/thread per request.
00:39
@rdlowrey but that's what I love my apache for :)
I'm sometimes such a lazy bastard.
user895378
Hey, if you don't need max performance it's great.
user895378
Although putting application logic in random web server config files has always seemed wrong to me ...
Yeah, it especially doesn't scale well. And not so primarily because of speed and resources, it's just a configuration madness.
You should have a concept how you want to manage your configuration. .htaccess makes it extremely simple to not have a concept and start to collect less and more less useful configuration bits here and there.
monkey patching deluxe.
Welp, this shows my lack of any ability to install anything to save my life.
I removed nginx and installed apache2 (since I'm on debian)
and apparently it thinks I still have nginx..
m59
m59
try { $obj->foo(); }
public function foo() { bar(); }
private function bar() { throw new someException(); }
for some reason, I'm wondering if foo should catch that and throw it again?
Like...so that it's clear in foo that something it does can fail?
00:54
PHP's driving me crazy.
I have the following script:
$URL = explode("/", $_SERVER['REQUEST_URI']);
$teamExists = $db7 -> checkIfTeamExists($URL[2]);
$teamExists = count($teamExists);
print $teamExists; exit();
if ($teamExists > 0) {
	$teamName = ucwords(strtolower($URL[2]));
} else { print $teamExists; exit(); }
On line 4, it says print $teamExists; exit();. exit() is there just to prevent other stuff from happening and only show the output of this script. When line 4 executes, "1" is printed out. That is the expected result.
/me slams head into desk
@AGirlSaidMySmileIsCute doesnt it always....
However, if I get rid of line 4 and let the script run, somehow, the if statement skips to else. Since else also asks to print the value of $teamExists, it does, but however, now that value is changed to 0.
Which makes sense why only the else part of the condition executes, since 0 is not greater than 0.
and i am still confused why my script wont load w7-server.jvarhol.com:81/DROPBOX/Dropbox/FTP/test5.php
The question is, how did the value of $teamExists change from 1 to 0?
oh well I am leaving for the night
thanks for the help everyone
00:59
Anyone else would like to help me a little?
anyone?
m59
m59
That really doesn't make any sense.
I'm going to be shot here for saying this - but has anyone here used JSPs and if so how horribly ineffective are they memory wise? d:
lol
@m59 Exactly.
I don't know how.
user895378
@AGirlSaidMySmileIsCute What happens to your code if I send this request:
user895378
GET http://www.mysite.com/you/can/send/absolute/uris/ HTTP/1.0
01:03
The first print statement prints 1, as expected. But the value changes (i don't know how) while is why the if condition only executes the "else" area.
user895378
You have to check if the request URI is an absolute URI ... it's not guaranteed to be a relative URI.
@rdlowrey It's gonna fail and definitely execute what ever is in the "else" part of the if condition.
user895378
@AGirlSaidMySmileIsCute but you'll be failing when you should succeed. Just trying to help.
All this script does is divide the url by the number of slashes, looks at the 3rd part (if available), checks if that word is inside a table in the DB. If it is, then it should return 1 (there will always be only ONE matching value. If the word isn't in the table, it will execute the "else" statement.
@rdlowrey I'm not sure. What do you mean?
user895378
explode("/", $_SERVER['REQUEST_URI']);
user895378
01:07
http://mysite.com/path/here won't give you the same thing as /path/here
user895378
And either value can appear in $_SERVER['REQUEST_URI']
Either I haven't made my logic clear or I am unable to understand the mistake you're pointing out.
So I will detail my logic and perhaps you can point out where I go wrong?
$URL = explode("/", $_SERVER['REQUEST_URI']);
assume URL to be website.com/team/tester/123
After I run that line of code, I get:
m59
m59
If you're using the exact same url each time, it seems like the problem you're describing is impossible. Smells of failure to var_dump things.
$URL[0] = website.com
$URL[1] = team
$URL[2] = tester
$URL[3] = 123
Since I only want the third part of that URL (ALWAYS), I will use $URL[2].
m59
m59
are you var_dumping that to ensure that it is the same for both tests?
01:16
var_dump($URL);
returns:
@AGirlSaidMySmileIsCute Take care that 2 is not always set. You can prevent warnings by being more concrete about what you ask for.
array(3) { [0]=> string(0) "" [1]=> string(4) "team" [2]=> string(3) "123" }
$URL = explode("/", $_SERVER['REQUEST_URI'], 3) + [NULL, NULL, NULL];
The way I have set it up as is that if the URL does not at least contain these three parts in the same exact way as I want, it will redirect to 404
sounds very good.
01:19
I figured from past experience that I will face a lot of problems later on, so I decided to just use a fixed system that only worked in my way, so that no one could tamper with the website.
But I still don't understand how the value of $teamExists changes from 1 to 0.
m59
m59
@AGirlSaidMySmileIsCute I assume the problem is here $teamExists = $db7 -> checkIfTeamExists($URL[2]);
if $URL[2] is always the value you expect, then that function must be returning something you don't expect sometimes.
Possibly. The point of checkIfTeamExists() is to match the parameter argument against the DB to check if it exists inside a table.
Well, it's not the value every single time.
the format will be the same
extra/extra/stuffINeed
hence, I always call the $URL[2]
01:36
This is freakin ticking me off
@rdlowrey, @LeviMorrison: Based on feedback by ircmaxell I wanted to be more constructive and started to actually review the code in that HTTP PSR. I made a mistake in doing so finding out that I originally checked out github.com/mtdowling/fig-standards/blob/http/proposed/http.md - that's basically a reduced set which is more after my taste minus some details like having setters and using namespaced invalidargumentexceptions.
Perhaps worth to know about in context of that PSR. I do not know why it didn't get accepted. To me this really looks more and more that the new draft editor is basically adding "from Guzzle" just being in the position of editing it. I might even step back from any discussion of that draft. In the end it tends to be the same PSR shit then and I dunno if it's worth the feedback. Yours appreciated.
user895378
I agree. I've already muted the thread. It's just more arbitrary pointlessness. I know people mean well but that's just not good enough if they're going to set themselves up as authorities.
user895378
This is why we can't have nice things.
user895378
I still can't help the thought that php-src is in part to blame for this PSR mess for abdicating its the leadership role in the first place.
user895378
01:51
The false dichotomy that somehow you can't write readable and maintainable code without assassinating performance drives me nuts too. That's just a cop out to defend terrible framework code.
user895378
After a while the chorus of people defending bad code because they don't know better just beats you into submission. It's soul-crushing.
02:28
yo aka good morning
@happy make me happy by helping me.
@AGirlSaidMySmileIsCute how can I?
@happy Read the last couple of my messages.
$URL = explode("/", $_SERVER['REQUEST_URI']);
$teamExists = $db7 -> checkIfTeamExists($URL[2]);
$teamExists = count($teamExists);
print $teamExists; exit();
if ($teamExists > 0) {
	$teamName = ucwords(strtolower($URL[2]));
} else { print $teamExists; exit(); }
@AGirlSaidMySmileIsCute what is you want to achieve, more importantly then the step you tried so far to fix it? (I am ready you messages)
The if condition doesn't execute.
Mostly because the value of $teamExists changes right before the if block is executed.
print $teamExists on line 4 prints 1, which it should. But when the if block is executed, the value goes to 0 and as a result, since the $teamExists is no longer greater than 0, it executes the code inside the else block.
02:38
are you sure your script file is encoded in utf-8 whithout BOM? it is very important because it could change everything\
okay, could I ask you to get me an online resource with a complete description of $db7?
ore more easily a complete source of the situation so I can reproduce it trough my own computer?
$db7 is just a wrapper class of the mysql db
if you want to know what checkIfTeamExists does, then it simply searched a table in the DB to check if $URL[2] exists.
understood
could you do a var_dump of $teamExists = $db7 -> checkIfTeamExists($URL[2]); before it get evaluated?
Moved somethings around
and it works!
02:53
@AGirlSaidMySmileIsCute tell me please!
$URL = explode("/", $_SERVER['REQUEST_URI']);
$teamExists = $db7 -> checkIfTeamExists($URL[2]);
$teamExists = count($teamExists);
$checkTrue = ($teamExists > 0);
if ($checkTrue) {
	$teamName = ucwords(strtolower($URL[2]));
} else {print $checkTrue;}
Instead of doing count($teamExists), I just put that in a separate variable and checked the results inside the if.
what you think was the issue?
@AGirlSaidMySmileIsCute I am curious
I know why it's working, but I still don't know why it was initially not working.
Since the value is changing, I might as well check if teamExists is true or not before it changes. Since it still hasn't changed, whatever the correct value is is saved into the $teamExists variable.
interesting
@AGirlSaidMySmileIsCute can I ask you a question, unrelated with yours?
I am asked to build a business program. The purpose is to ensure the business is enforcing rule on employee. Should I explain procedure reason to be or should I just enforce them with rule making it impossible to work with the application without following or should I explain it? Some folks in the process won't understand it.
this will be the fourth version. The first was very permissive but not much folks follows the rule, even if the previous version was almost only paperwork
from my experiment, only being authoritative is the only way but on the other hand I fear folks not using it
@AGirlSaidMySmileIsCute what do you think?
please?
03:25
@happy To be honest, if I understand it right, you might be better off making it idiot-proof and at the same time avoid making it waaaaay too strict, otherwise it will make many from not following it. Let me know if I understood it wrong.
@AGirlSaidMySmileIsCute you understood it right.
idiot proof seem a good balance\
I mean look at Apple products. They are so stupidly simple that even the most ridiculously unsmart people will understand it without an issue.
you are right!
somewhere inside me, I hoped folks would follow my program as they were following paperwork. Somehow, being more easy also bring people being more lazy..
idiot-proof seems a good middle, I just hoped folks to follow it I guess... That is my problem @AGirlSaidMySmileIsCute isn't it?
Yup. You gotta be idiot-proof, but you have to maintain the seriousness.
@AGirlSaidMySmileIsCute thanks, it will be my next version main goal :)
@AGirlSaidMySmileIsCute can I ask you one more question if you don't mind?
what is what you are building is purposed for?
It's a sports website for basketball.
@AGirlSaidMySmileIsCute do you know the website purpose you are working on? Me, I get projects I most of the time have no idea prior to. Do you?
I mean the subject by itself
03:42
It's a personal project.
I am just doing it for fun.
@AGirlSaidMySmileIsCute ah okay :)
@AGirlSaidMySmileIsCute parts of why I like what I do is I get inside intel about how business run
it is interesting
Yup, it's always interesting. Plus, there are so many inspirational stories.
Microsoft, Apple, Google, Facebook
indeed :)
what I have seen so far is business core program save the day, but is it really? Isn't programming just meant to be a tool? @AGirlSaidMySmileIsCute?
is etc. an synonym for whatever?
03:56
No, it was supposed to a part of "Microsoft, Apple..." comment, but it didn't send for some reason.
np :)
m59
m59
@AGirlSaidMySmileIsCute you didn't accept an answer for this
4
Q: glow around div with border and color

AGirlSaidMySmileIsCuteIs there any way to add a glow around the div? Look at twitter login and how there is a blue glow around the input box, can that be done for the div?

So I gave it a shot
04:13
@m59 You get the check just for the effort :)
m59
m59
thank you =D
Hello, im trying to Collect all instagram API including next pagination value and put it in one file called cache.json. The code provided in this link pastie.org/8622645#13,23,29-30
It must be tricky since i combine more than one json in one file
Im sorry not to say hello first to the room :)
Hello all :D
04:44
@cutez7boyz what is your issue?
I must say some of you folks have strange name
or at least uncommon
Im trying to combine more than one json response to one file.
@cutez7boyz what have you tried so far to separate each answer?
and why is it preventing you from working the data as on line 32?
Good morning
morning
First, Instagram API has limit to show photos. So, the api has pagination attribute to get next photos.
04:49
and?
Since working with API is so slow, im trying to create cache file.
And i put api to file called cache.json
ah so your question is about caching result?
what is the problem with it?
yes, caching result is made of more than one json
so it doesnt validate as json
user652649
have you noticed that duplicate code stinks?
04:51
still
if all your worry about is bracket, why not using regex expression to remove them?
@Wes could you remove your gif stuff plz?
user652649
sorry, it's from wikipedia anyway :o
I removed it from my dom browser but meh
it be nice if just like 9gag you had to click on a gif animation to make it play
Good morning
morning
@Wes have you seen code replication in this? pastie.org/8622645#13,23,29-30
I want to get some trick with the file. I want to remove some words and replace.
Aha, so i ask the question how to do that :D
04:57
@cutez7boyz do you have a pattern and a context because personally I think it is all your need
@cutez7boyz why don't you cache the result you want, instead of all the input values
yes i think more efficient if just cache the result i want. But i dunno how to extract the values
Actually i want to remove
[{"pagination": ... "data": [
from the api and save it to cache file.
And adding {"data": [ to the first of file content.
updated the paste pastie.org/8622710
personally I would threats it as an array
good night
you can look at pastie.org/8622718
thats the structure file of cache.json contain more than one json
good night happy...
@cutez7boyz read this git.io/chatroom-pact
05:11
i've read before get in
then you can do:

$data = $json['data'];
$data = array_merge($data, $json2['data']);
$data = array_merge($data, $json3['data']);
// cache this shit
thanks for the code :D ill try
05:30
hello
how can I do this eval.in/88216 recursively ?
@DaveRandom this is what I meant about matching URLs with hashes in them chat.stackoverflow.com/transcript/11?m=9631935#9631935 the delv-pls is for the answer/comment but the SQL Injection pointer question ID will be grabbed inadvertently. Going to add a negative look-ahead for the hash char, which should fix it.
@EmilioGort call the function from the function?
@EmilioGort what have you tried
@EmilioGort try to do it. it should be fun
@crypticツ I dont think so, $arr[]= $key.'.'.$key1.'.'.$value2 entre mas niveles el array, mas crece la concatenacion...I dont know how to say in english
@andho array_walk_recursive
@EmilioGort shrug
you can try that
When you want to solve a problem, the best thing to do is write out all the steps for someone else to reproduce it.
m59
m59
Anytime I display an article, I need its category info also (from a different table). How should the response from my api handle that?
05:40
here stackoverflow.com/questions/21058600/… is the question, I did because I want to learn how to work recurvily
m59
m59
[
  title: 'Some Article',
  content: 'blah',
  category: [title: 'Category Title Here', desc:'cat desc here']
]
@EmilioGort if you wanna learn i can help you step by step
m59
m59
If I do that ^, is that too much fluff? If you got 20 articles with the same category, that category object is repeated 20 times..
if your problem is distilled, it seems you want the first level of the array to remain as separate items, so the recursion starts at the second level
@m59 depends on how frequent it is
@EmilioGort so first you just loop through the first level. Then you need the recursion
05:46
it means in if(is_array($value)){array_walk_recursive(//call function again)}
in the flag question as off topic was removed include attempt...?
@EmilioGort in the recursion there are two cases.
1) that the array value is not an array in itself. Then you can just add the key (if exists) and value concatenated, to the return array.
2) that the array value is an array. Then you call back the same function.
let me try
@andho sorry but I get lost in the line 14 eval.in/88222
06:03
@EmilioGort let me see
@EmilioGort because the test function returns an array you cannot just concatenate is. You need to do array_merge at that point
I know test is returning an array, but thats the problem I want to avoid put more foreach, looking a way to do that recursively
array_values but that work with array of N levels?
@EmilioGort array_merge
in that question someone answer. but I tink taht just work for array of 3 level stackoverflow.com/questions/21058600/…
@EmilioGort this also means that the key needs to passed into the function for recursion
give me a min
06:26
Good morning
@EmilioGort eval.in/88231
let me check
this can be done more beautifully
if ($prevKey && !is_numeric($prevKey)) $nextKey .= $prevKey; this is for the recursion no?
when the function is called again that if is true
thanks
yeah, it's to send in the previous keys. Like user2 and user3, otherwise to do concatenation of key will need another for loop
06:34
morningz
thanks...I undestand better now as your code avoid the second foreach
@JoeWatkins good morning
I never new about iterator garden
06:52
neither do I
07:04
I think I just figured part of the "PHP problem" out: PHP still clings to the page-controller architecture. If it shipped with a native "framework" (and I use that term carefully) my guess is that people would use it in lieu. Anyone can hack something together, but because everybody does, we have a disparate array of pseudo-micro-userland-frameworks that don't quite work together, and end up with things like FIG.
Really, just any way to abstract the page-controller architecture away; a lightweight HttpApplication class, and a few other utilities to pull it all together.
@DanLugg Maybe instead of running PHP using cgi or apachge module, maybe an http extension that can be invoked from php
People will argue "THATS BLASPHEMY! NOT PHP'S RESPONSIBILITY", but in a manner, it is PHP's responsibility, if PHP is to mature, it needs to realize many of the users aren't.
@andho So PHP just becomes glue to another platform?
I just think that as long as <?php echo '<h1>Derp!</h1>; is the native limit of architecture options, people will continue to do that, until they switch to Cake or CI and enter a whole other world of hell.
If I have a MySQL Innodb and need perform 30k row reads AND 30k writes in less than 1 second (making use of indexes and the rows are small) what kind of HDD I need?
People bark about responsibility, but as I mentioned, if PHP wants to be responsible, it should provide end-users with responsible options. I'm not saying abstract away everything; I'm just saying provide a way to level the playing-field that isn't necessarily procedurally page-controller driven.
@We'reAllMadHere Too many variables; can't really answer that.
But I'm guessing the 5400 RPM HDD on your netbook isn't going to be the best option.
Can you please give an idea. Will this work with one 7200rpm HDD, do I need SSD or something even faster?
each read will be about 10 bytes and each write about 20 bytes.
07:15
You'll need to profile it.
Yes but I am at the planning stage and I just whant to know if it's possible and how much it will cost
Right, so create a test environment, and profile it.
Thanks, I will do this, but can you give me a rough estimate?
Hardware is cheaper than manpower, you can always upgrade.
Rough estimate of what?
what kind of HDD or SSD I need for this?
07:17
2 mins ago, by Dan Lugg
You'll need to profile it.
I have no idea; your requirements will dictate that.
I see... Generally speaking, is this possible with an 7200rpm HDD or not?
Look, you need to profile it. Sure, it's possible I'm sure, but you're not going to know if the performance will be acceptable until you test and profile it.
OK, thanks a lot, I will go and try
@We'reAllMadHere i would say yes it is
@We'reAllMadHere Again, too many variables at play: Are you doing this every second? Is the DB going to be clustered? etc.
07:20
also if you need to do 30k reads and 30k writes in 1 sec, first you need to find a way that you don't have to do 30k reads and 30k writes in 1 sec
I have the DB on one server with a 4 core xeon. I am doing this every second nonstop
@We'reAllMadHere so this is a short term process?
This sounds a bit like an X/Y problem. As @andho mentioned, your first task should probably be to figure out how to not do 30K R/W.
Basically, I will read 30k items * 10 bytes and write 30k items * 20 bytes per second nonstop for at least a month. I am using a big index also
I am just planning and exploring all options...
@We'reAllMadHere use a distributed queue and process on multiple machines if it doesn't have to sequential. Just an idea. As your problem is not known (to us) this might not work for you
07:25
I am downloading many small items and I must write them to the HDD, while reading from a list the next to download
I download 30k per second average
Each item is about 10-20 bytes
Sorry but wouldn't an SSD be a better use of this? I mean you'd be waiting on Seek time for the hard drive, but with an SSD it'd be instantaneous
@We'reAllMadHere so everything has to be on the same storage. Then you also need to distribute your storage based on the load
@Sparatan117 Sure it would, but it doesn't matter because our requirement knowledge is incomplete.
@We'reAllMadHere I'd say, a MessageQueue could be better for you
bye
07:28
I know WD does a lot of stress tests against a HD failing under constant R/W commands, but I think you'd be pushing the limits of a HD making it constantly work. Might want to think about Raid 1 or Raid 5 for redundancy sake
I like the idea of a micro-framework being distributed with php, a base standard for modern php applications ...
however, it'll never happen @DanLugg, let it go ...
@JoeWatkins Oh, I never said it would happen ;-)
The term "framework" is heavily abused, maybe a better term would be "component library" (NOT SPL!!)
yeah I was thinking the same thing the other day, I called it SWL
Standard Web ____?
library, yeah ...
07:32
lol, derp
Names aside, a set of RFC conformant HTTP message interfaces and implementations should be shipped; along with that could go an application interface, possible base implementation, and some handler/module stuff to formalize the construction.
I know FIG is doing the message thing now, but FIG isn't PHP.
SPCL, Standard PHP Component Library, pronounced "Speckle".
yeah, better name ...
I'd write it up if someone wrote the abstracts in php ...
but I don't have the energy to fight with internals
07:48
I hear ya; then we'd end up just being FIG 2.0
well not really, they have only implemented stream stuff from this new psr, otherwise they don't do code do they, I'm saying if you write the abstracts in php (no implemented functions) I'll turn it into working C, in about a day ... I don't think it would be useful to provide the abstracts in Zend land, I want the base implementation to exist ...
well, there's a pretty strong argument say that SAPI is the only folder that never gets updated, it is just impossible that a SAPI from 15 years ago is good for 2015, it clearly isn't, and nobody is really using it, they are loading a shit load of userland code in order to provide a decent abstraction of what we call SAPI ...
SAPI2 has been a long long time coming ...
Well, favoring true interoperability, if the FIG attempt is standard-adhering, and garners enough positive support as a good HTTP interface layer, then perhaps piggy-backing on their interfaces would be most sensible for a C implementation.
I'm no RFC2616 guru. I'd sooner hear from @rdlowrey as far as API design goes.
I haven't read their other abstracts to be honest, haven't even read all of this new one ...
I've been following with half an eye; it'll be interesting to see how clean or fucked it becomes in the coming weeks/months.
Anywho, I must return to the drudgery of web updates.
have fun with that :)
07:57
And then, seeing as its 2:55AM, I should probably do some sleeping or something.
lol, oh, I'll try ::eyeroll::
if (rand(0,1)) goto bed; else make_coffee();
^^ that'll decide my fate later on.
user652649
08:20
@DanLugg use mt_rand if you want more entropy blah blah blah xDxD
for ($i = 0; $i < 3; $i++){ $a[] = rand(0,2) } ... bleh nevermind I was gonna say best two outta three but I'm too tired lol
08:50
good mornings

« first day (1183 days earlier)      last day (3991 days later) »