« first day (1722 days earlier)      last day (3217 days later) » 
00:00 - 14:0014:00 - 00:00

12:00 AM
heh, used to pack that tsrmls inside closures
/me crosses fingers
here's hoping I don't break the world
(real C kind not the php version :)
 
wow @ElizabethMSmith is here o/
 
LOL - I'm porting php7 code soo... I'm a bit bitchy :)
also doesn't everyone work on open source on their holiday?
/me is broken
 
@DaveRandom well with the largest prison population on earth you as well needs the largest drugged base and some kind of let them play. Like counting 1 + 1 together.
 
@ElizabethMSmith If you're throwing exceptions (especially Error) you might want to do a quick pull :)
 
@ElizabethMSmith You agreed to take on GTK, PHP7 is a breeze :-P
 
12:02 AM
I'd say those "rights" are relatively cheap to obtain.
 
HAHA
trowski again? I already hit exception issues with it two days ago
took me 2 hours to realize that no, I was not insane, php was mucking that string and segfaulting :)
 
Anyway… if anyone wants x/0 be an exception, complain on internals, please.
 
Not saying I particularly dislike it, just saying it's not as generous as it may be made look like.
 
so I've discovered that although I can mail the list, it refuses to mail to me
stupid thing
 
@ElizabethMSmith Yes... sorry. I just changed how throwing Error can fallback to E_ERROR if needed.
 
12:05 AM
ah, that shouldn't be too terrible
I tend to exception most the time though - OO extensions and all
 
As long as you weren't using zend_error(E_EXCEPTION | E_ERROR, ...) it shouldn't affect you.
 
btw - the zpp throw flags makes me SOOO HAPPY
nope
soooo much macro ugly ripped out for that
wait, was there something added for 'filename or stream' or was that wishful thinking....
 
@SilentEcho what's public function refreshUser(UserInterface $user) ?
 
Not that I'm aware.
 
@RonaldUlyssesSwanson, it's purely for compatibility with the Symfony interface. It just takes a User object and reloads its properties.
 
12:08 AM
man, I want that
otherwise I have to keep around "I made this stream so later I must free it"
 
@hakre In the general case I agree, but it is interesting that is managed to get past quite so many elected assholes. I like to stay on the relatively superficial side of things like this and believe (pretend) that most of the people who let it happen are fairly virtuous... but also you should watch basically every film Adam Curtis has ever made (and then hopefully conclude that the world is not as bad as the one he usually depicts)
 
@SilentEcho omg. symfony must be terrible
 
@RonaldUlyssesSwanson It's quite useful, it's the only way to reload the attributes of the User from the database.
 
In particular I'd recommend watching The Power Of Nightmares and Bitter Lake @hakre - these are things that are easy to obtain, and need 100% attention for the duration
 
@DaveRandom sure, adhering to morale is a waste of time.
 
12:10 AM
why would you? @SilentEcho
 
@DaveRandom I try to get those.
 
@RonaldUlyssesSwanson Well what if I want to refresh the user's profile page, after changes? etc
 
refresh as in "http request"?
 
@SilentEcho an interface does not require to execute some action again (the wording "refresh" is a smell that the actual interface already is broken)
 
Changed the #php7 engine so what was throwing a plain Error can throw subclasses of Error. Anyone have suggestions for Error subclass names?
 
12:13 AM
@hakre Sweeping (and depressing) generalisation that I don't really agree with. I'm still encouraged by the whole Clinton/Lewinsky thing - that's a secret that the most powerful govt on earth would have liked to keep and they failed, even though exactly 3 people knew about it. It's pretty unlikely that any really serious secrets exist, simply by virtue of the fact that it's really fucking hard to shut people up without killing them, and when you kill people then other people tend to notice
 
Jun 24 at 2:15, by Ronald Ulysses Swanson
Error
'---NoSuchMethodError $x->thisDoesntExist()
'---IllegalAccessError $x->thisIsAPrivateMethod()
'---InstantiationError new ThisIsAnInterface()
'---ScalarPointerError false->lol()
    '---NullPointerError null->lol()
:P
 
@Trowski ^ context pls.
 
@hakre The code in question is...
  public function refreshUser(UserInterface $user)
  {
    if (false === $user instanceof User) {
      throw new UnsupportedUserException(sprintf('Instance of "%s" not supported.', get_class($user)));
    }

    return $this->loadUserByUsername($user->getUsername());
  }
 
@DaveRandom well guess who might become next president?
 
@hakre Ted Cruz. Please let it be Ted Cruz.
 
12:14 AM
@SilentEcho why would you typehint against UserInterface but allow only User instances? get rid of symfony if it forces to do such things
 
@hakre Hmm... I was looking for a name and from what error. Stupid 140 char limit.
 
spoil3r: not lewenski
 
you don't need that
 
@RonaldUlyssesSwanson Typehint is from the Interface, I then do a further check to make sure the User is a Coco\Model\User
 
but that kills the whole point of polymorphism
 
12:15 AM
@SilentEcho the further check is another smell.
 
@hakre Smells are the unfortunate side effect of implementing someone else's interface :(
 
@SilentEcho implementing someone else interfaces never is a side-effect. use a different interface then if it was not fitting.
 
@hakre I'm prototyping right now, planning to replace the security layer once I have this running as desired.
 
@SilentEcho you said you are trying to learn, iirc, right? you shouldn't be using symfony then. are you sure symfony is an actual requirement?
 
@hakre I'm already at the point of not wanting to use Silex.
 
12:17 AM
@hakre Yeh that's a problem, but it's a problem with democracy in a capitalist society rather than a problem with people - I don't know what what the best way is but I do know this is not the worst way
 
@RonaldUlyssesSwanson Symfony is only in use for prototyping, I plan to replace Silex/Symfony when I have things up and running.
 
@DaveRandom Well, I wasn't complaining at all. I was honestly true to me that I didn't want to moralize on that at all. Nice to read that from you btw.
 
@RonaldUlyssesSwanson Some of this is actually close to what I mean.
 
imho, frameworks create more problems than they claim to solve @SilentEcho
 
@RonaldUlyssesSwanson I've always felt that way, and using Silex here has only reaffirmed that belief. :(
 
12:20 AM
@hakre At the end of the day this a debate that's literally 1000's of years old, it's unlikely that #11 is going to solve it in an evening :-P
 
@Trowski those are in the Error branch of java if you want to check. basically it's compile errors
 
phew
baby fed and in bed
 
You've managed to get on bottles already?
 
yeah, wife didn't milk
 
Well done, that's genuinely an acheivement
@FlorianMargaine Ahh, that's cheating :-P
 
12:22 AM
^^
 
@RonaldUlyssesSwanson Some of that is alright. I wouldn't use the word pointer since that doesn't apply to PHP.
 
well, she tried, but the baby sucked at, uh, sucking
he lost too much weight, so we went with the bottles
 
@DaveRandom let's say it this way: I'm perfectly confident that #11 can solve it if it's shared property that it needs to solve it. It might take the one or other path before reaching a solution, but I'm confident and you should be, too.
:D
anyway it's late
 
yeah, 2:23am is definitely late, or early
whichever way it's not a time to be awake
 
@RonaldUlyssesSwanson If that is true, than it is also true, that they already prevented you from some minor problems you would have done your own when not using it.
only that the prevention is on the little side.
you can use applications but you can't use frameworks - now hit me
 
12:26 AM
@FlorianMargaine I'd discuss this in depth (I have experience) but it's likely to make other uncomfortable so... I'll just say these two things: 1) wife likely to get depressed about this and best solution in my limited experience is to point out that no longer need to avoid coffee, and 2) it's not as important as everyone makes it out to be that everything is sterile because milk (of any form) is definitely not fucking sterile, also humans survived many thousands of years without sterilisers
The latter point kind of pisses me off, people seem to have this crazy idea that they can somehow keep all bacteria away from their child. which would be a bad idea if it were actually possible
 
very bad idea. bacteria is life.
 
@DaveRandom thanks for the advice :) but it's been a week already, we've worked out theese things... We tried to be as clean as possible the first days, now it's a little more relax
 
Obviously I'm not suggesting you don't clean shit, just saying you don't need to be as anal about it as some people say
 
we're only guests on planet earth.
 
Biggest risk factor in most places in EU is cats (srsly), everything else is just paranoia. I mean it's fine to avoid dirtying your child, just don't freak out when they faceplant that stain from that curry you dropped on the floor three years ago(which they will)
Oh also, for the record: Lego definitey will come out by itself, one way or another
And an aside to that last one: children <2 years should not have proper lego, stick to the baby stuff
Also batteries are not as swallowable as you think
 
12:34 AM
@DaveRandom thanks a lot btw, I appreciate
 
okay. i guess you've got a kid at home
gn8 @all, this heat is kinda killing me.
 
Anonymous
@PeeHaa Can i run something by you real quick?
 
@FlorianMargaine TL;DR Babies are helpless but they're not idiots, they're just hungry and frustrated they can't go anywhere - and trust me, it's the latter part that you need to keep an eye on. You get complacent about being able to go get yourself a glass of water and then you come back after literally one minute and they've managed to put your Back to the Future DVD in the DVD player and put it in some language you know nothing about
for me it was Cantonese and I had to get the guy from takeaway at then end of the road round to fix it
You have a good 3 months though so enjoy it :-P
Oh and also, the child mode on Android is not safe. I have no idea how to get out of it without the 8 digit pw I set, but it is apparently possible. Migrate all your contacts to your Google account where you can enable snapshots.
Also, (may not apply to you if you want to stick to French language things) Sarah and Duck m,ay be the best TV program ever made
If you do want to stick to French language things Les Triplettes de Belleville seems to go down well with very small children
also Amelie, but I think that was more being transfixed with the weird animated hair (I totally get that, I have a similar problem, I still don't know what the story is)
Also Les Vacances de Monsieur Hulot but that may be more me enjoying it and the child staring at the screen and enjoying the car crash scene
+ the original Italian Job for same reason
dammit, now I have to go watch Les Vacances de Monsieur Hulot
later
 
Anonymous
12:57 AM
o/
 
1:43 AM
@DaveRandom You mean the interface language was changed?
 
crap, this SSA transform is hard
 
static single assignment?
 
wow, actually, nevermind
I think I got it nailed
 
noice!
 
it over generates now, but that's ok
Block#1
	Phi<$_GET>: Var#1<$_GET> = [$_GET,]
	Phi<$_POST>: Var#2<$_POST> = [$_POST,]
    Expr_Assign
        var: $a
        expr: LITERAL(1)
        result: Var#3
    Stmt_Jump
        target: Block#2

Block#2
	Phi<$_GET>: Var#4<Var#1<$_GET>> = [Var#1<$_GET>,Var#5<Var#4<Var#1<$_GET>>>,]
	Phi<$_POST>: Var#6<Var#2<$_POST>> = [Var#2<$_POST>,Var#7<Var#6<Var#2<$_POST>>>,]
	Phi<$a>: Var#8<$a> = [$a,Var#9<$a>,]
    Expr_ConstFetch
        name: LITERAL('true')
        result: Var#10
    Stmt_JumpIf
        cond: Var#10
<?php
$a = 1;
while (true) {
    $a += 1;
}
$a += 1;
return $a;
 
1:58 AM
hmm let me see if i understand that :)
what are those $_GET things doing there?
 
they are auto-imported, don't worry about them
 
taint checking @ircmaxell ?
 
ah okay
 
Block#1
	Phi<$_GET>: Var#1 = [$_GET,]
	Phi<$_POST>: Var#2 = [$_POST,]
    Expr_Assign
        var: $a
        expr: LITERAL(1)
        result: Var#3
    Stmt_Jump
        target: Block#2

Block#2
	Phi<$_GET>: Var#4 = [Var#1,Var#5,]
	Phi<$_POST>: Var#6 = [Var#2,Var#7,]
	Phi<$a>: Var#8 = [$a,Var#9,]
    Expr_ConstFetch
        name: LITERAL('true')
        result: Var#10
    Stmt_JumpIf
        cond: Var#10
        if: Block#3
        else: Block#4

Block#3
	Phi<$_GET>: Var#5 = [Var#4,]
	Phi<$_POST>: Var#7 = [Var#6,]
@RonaldUlyssesSwanson no, building up a control flow graph
 
oh, cool :D
 
2:01 AM
so, this is to make optimisation easier i gather?
 
holy crap, it actually works
i need to drink more
 
errr
 
@Ja͢ck more than just optimization
analysis
 
because basically now you can see exactly what a particular operation depends upon
and the potential flows
 
2:01 AM
yeah :)
each variable is versioned heh
 
yup
 
but more so, the versions are interdependent
 
ooh .. okay, unrelated, but just figured a better way to make an executable phar ;)
$p->setStub("#!/usr/bin/env php\n" . Phar::createDefaultStub('index.php'));
 
2:21 AM
was reading the changelog. what's the reason behind this? 3v4l.org/urDMg it's a step backward, imho
 
why make a special case out of it?
 
because it breaks encapsulation. same thing for:
$x = new Something(10);
$x->__construct(20);
 
@NikiC I think the SSA transform I just pushed is complete. It's over-zealous (inserting nodes where one isn't needed), but strictly that's OK, as long as it never fails to insert one.
so much more efficient than the one I built in Recki (this is a single pass version, Recki's made 3 passes)
 
 
2 hours later…
4:40 AM
Hi all
Anyone there?
 
4:51 AM
nope
 
lol
I wanted to know, how php can detect, the active and inactive users by session id.
Is it possible?
 
5:11 AM
@bwoebi still thinking that the refcount in userland code would be gold. i was unsure about it, and i'm aware that the count could be confusing, but the returned value is kinda predictable and can actually work. will update you on this when i get the code i'm working on completed :D
 
So is there any particular reason MySQL will not cast the string "true" to 1 on a boolean field.
UPDATE objects SET someBool="true" WHERE object_id=4;
The result is someBool=0
 
just pass in an actual boolean, no?
 
@Swanson eh, sort of hard to when it's coming from a checkbox. I'm actually sort of surprised that Laravel doesn't cast it itself. It should just work.
 
lol
how can that be hard?
how are you getting the checkbox value? show the code
 
mysql has boolean fields? i didn't know
enum("false", "true") .. solved :)
 
5:21 AM
@Ja͢ck synonym of tinyint(1) lol
 
@Ja͢ck it's just a int(1) or bit in recent mysql versions
 
@EchoLogic right, it's a number ... and string to number conversion does exactly that, nothing to be surprised about
 
@RonaldUlyssesSwanson i.imgur.com/yjg8GU4.png
 
what the hell is that
 
I cannot not read your comments in his great voice, you'll have to forgive me.
That, my friend, is me setting the value of the boolean field in question.
 
5:23 AM
whose voice?
 
@EchoLogic i'm sorry but when someone shares code with an image i get that reaction
 
I guess I can just set the value of the "value" property on my HTML checkbox to be "1" and it'll work, but it's silly that it isn't typecast.
 
blame laravel
 
$boolean = isset($_POST['somecheckbox']);
it's as simple as that
 
5:37 AM
@Ja͢ck i can't understand how it's possible that such bad stuff gets popular so easily. i genuinely think that people only look at the fancy web 3.0 name, the flat design website with the web 4.0 fancy icons, and ignore the actual product entirely
 
morning
 
morning
breaking news! pluto is...
brown :P
 
round
 
ehehe, maybe it's not even round. in two days we will know
 
@RonaldUlyssesSwanson i guess what you're saying is that laravel sucks and people should stop using it ;-)
 
5:44 AM
yes :P
*two weeks
 
Anonymous

Wanted: Dangerous PHP developer

Network Merchants LLC

 The software development team at NMI is a small, agile group that works closely together but requires independent…

Posted on Stack Overflow Careers on July 1, 2015

 
Dangerous? o.0
Like, do they want a PHP developer that always uses global variables?
 
Anonymous
that's what I was thinking
 
Or, a PHP developer who carries a gun everywhere he goes and has rage issues?
 
5:59 AM
@DaveRandom I <3 Hippy Drugs
also, morningz
 
@Ja͢ck Perhaps they mean Wreckless ?
 
@bwoebi @NikiC Should calls to php_verror() which pass E_ERROR throw an Error instead?
@JoeWatkins Maybe you'd have input on ^
 
6:32 AM
morning
 
6:46 AM
I haven't looked at the new exception stuff yet @Trowski
 
@JoeWatkins Yeah, and when I tried doing a simple if (type == E_ERROR) then throw exception it segfaults, so apparently there's something going on there I don't understand yet.
 
7:20 AM
'ello folks
 
am unsure ...
gdb is your friend :)
 
 
1 hour later…
8:32 AM
@Trowski Nope, conversion to an exception has to always be manual
 
8:52 AM
Morning and happy weekend everyone
 
Not having the redis-server started resulting in Fatal error: Allowed memory size of 134217728 bytes exhausted, well.. ^^
@RonniSkansing morning o/
 
@RonniSkansing Morning and same to you
 
9:13 AM
@ircmaxell What algo do you use?
In PHP we should have a reducible CFG, as we only have limited goto
 
Can't I use the result set multiple times when mysqli_query is performed using Ajax ?
Check this code please:
function createVoucher($voucher_id){
	global $connection;
	$query = "SELECT *, (SELECT SUM(Amount) FROM `ogygafsf_pos` . `purchases` WHERE `Purchase_ID` = $voucher_id) AS Total FROM `ogygafsf_pos` . `purchases` WHERE `Purchase_ID` = $voucher_id";
	$result = mysqli_query($connection, $query) or trigger_error(mysqli_error($connection));
	$i = 1;
	while($row = mysqli_fetch_assoc($result)){
		# Further Code...
	}
	$test = mysqli_fetch_assoc($result);
	echo "<tr class=\"total\"><td colspan=\"7\"><strong>Total</strong></td><td><strong>Rs " . number_format($test['Total']) .
 
@ZahidSaeed if it's exactly the same result you can cache it, like using localStorage, or even by simply using Expire/Cache-Control
 
@RonaldUlyssesSwanson But can't I save it in a variable ?
and use it multiple times ?
 
9:29 AM
yes, but variables don't persist when you reload the page. as opposed to localStorage
 
@RonaldUlyssesSwanson The page never refreshes. I'm using Ajax
I just want to retrieve data
 
so just store it in a variable
the xhr response, in a js variable
 
I do it but if I use $row outside of that while loop, it never fetches the result !
That's what I'm asking
I'm confused, what is it happening ?
 
$row is a php variable, not a js variable
 
I know
Focus on this line:
$row= mysqli_fetch_assoc($result);
echo "<tr class=\"total\"><td colspan=\"7\"><strong>Total</strong></td><td><strong>Rs " . number_format($row['Total']) . "</strong></td></tr>";
$row['Total'] is not being fetched
 
9:32 AM
$collect = array();
while($row = mysqli_fetch_assoc($result)){
$collect[] = $row;
}
var_dump($collect);
 
If I use $row['Total'] inside of that while loop then it fetches the result
Did you get my problem ?
 
i answered you already
try that code
 
Is php faster if it knows what to excepts? For example class T { public $var = "" ;} or class T { public $var;}?
$this->var is always string
 
^^ does php care about that?
 
@VeeeneX no
 
9:42 AM
And what about PHP7? @NikiC
 
@VeeeneX still no ^^
 
:(
So using it like "" is useles right?
 
@VeeeneX youtube.com/watch?v=qjYyC47rdVs <-- you might like
 
Thanks
 
using "" doesn't mean I can't easily put and int in there in the next line.
 
9:46 AM
@iroegbu I've seen it 2 months ago :D
Yes, that's true
 
(y)
 
For the 'Merkins - possibly nsfw language
 
10:19 AM
Mornings fine people
 
ThW
Morning
 
Morning @PeeHaa - warm enough for yer?
 
Yeah it's warm enough to roll outside into the garden and do nothing for the rest of the day :)
 
Mornin' @PeeHaa
 
Morning, @PeeHaa
 
Good news everyone! The SE team has put a lot of effort in creating a new company blog! Good to know they have finally fixed all the issues with their actual site so they have time for things like a blog!
 
Anonymous
If you have a nested loop within loop, what do you make expr1 of the second loop so that the var in expr1 keeps its last known value :s?
 
@Jay Can you pastebin an example?
 
Copy it to a new value?
 
Anonymous
10:53 AM
@PeeHaa Sure, give me a sec.
 
@hek2mgl is it really that unclear?
 
@RonaldUlyssesSwanson as long as you don't maintain things in a gc collected structure etc....
 
Anonymous
<?php $loop1 = 20;
for ($loop = 0; $loop <= $loop1; $loop++) {?>
<div class="row">
<?php
for (????; ????; $var++) {
echo $image{$var}; } ?>
</div>
<?php } ?>

So the behaviour I'm after is that when first loop runs, nested loop runs 5 times but I need $var to keep its last known value every time it runs? Is this possible or am I not understanding loops properly.
 
Anonymous
@iroegbu to give context, $image is an array of image paths. Ideally, I want the output to be 20 images in rows of 5. Which is what the class .row gives.
 
@Jay "every time it runs", so it should always increase in multiples of 5?
 
@Jay you can skip any of the elements of a for statement: 3v4l.org/GoFAA
so just skip the initializing one.
 
Anonymous
@Jay within the second loop, when $loop is greater than 5 just use break
 
@Jay Oh if that's what you're trying to do, just don't try to do it in such a complicated way...just loop once and use some simple maths to figure out whether you need to do the start/end row things.
if (($loop%5) == 0) { echo "<div class='row'>";  }
 
11:22 AM
if you want images to show 5 in a row, I think the best way will be to style them correctly.
 
12 hours ago, by PeeHaa
float: left; box-sizing: border-box; padding: 20px 5px; width: 20%;
Or flexbox as @kelunik noted
 
Anonymous
@Danack I had a feeling I was over complicating it. Thanks man, works
 
The "issue" with @Danack's methbod though is that you would have to keep track of the closing of the div
 
Which would take at least 20 characters of coding to handle!
 
Anonymous
@PeeHaa @iroegbu yeah I appreciate that, just wanted to work out how to do it this way. - couldn't I just do if %10 for the closing div?
 
11:25 AM
@Danack Yeah I did put quotes around issue ;)
#IndependenceDay #4thjuly http://t.co/mpJgwv2vQN
 
Anonymous
i.e. It would be an issue for me ^ xD

Anyway, I have something to go on now, I'll keep trying. Thanks for your help
 
Anonymous
11:44 AM
@iroegbu thanks a lot mate, exactly what I was trying to do. Appreciate it.
 
@Jay Problem with a closing div: It's not responsive.
 
12:03 PM
ini_get("mysqli.default_host")
I did not know this was a thing.
 
Scary right?
 
Yes, I'm also scared to look up to see if it was discussed before being added.
 
Imo the problem is not including the code in the question itself
 
@PeeHaa you'd include jQuery's code in the question itself? What if you want to provide more context?
@NikiC a PR explaining the literal escaping hex literals would be very appreciated in github.com/benjamingr/RegExp.escape/blob/master/EscapedChars.md btw (cc @bwoebi )
 
12:13 PM
@BenjaminGruenbaum If you need to include an entire library for context you are doing it wrong
 
@PeeHaa an entire 40 LoC file, where 3 lines are quoted for context - for example stackoverflow.com/questions/24987896/… has plenty of links, they're not needed but they contribute.
 
12:26 PM
Maybe it's just because I haven't been hit by the issue that much
 
12:40 PM
Small problem with Composer : pastie.org/10272885 -> Any idea how to fix it?
 
@Danack Isn't that what everyone needs?
 
@VeeeneX What does your composer.json file look like?
@Ja͢ck lol you are a dick :P
 
i have one too!
 
:D
 
Ehm I'm using command composer create-project aurora-framework/app Sample-App
 
12:43 PM
Not sure whether a linebreak is allowed in json tbh
 
Line 7?
 
yeah
 
Ok, I will remove it.
 
Although it should work afaik
> Aurora is not just an another php framework
Sure it is :P
YAFF
 
:D
 
12:46 PM
;-)
brb gonna get some food. If you are still having issues when I get back I could have a better look
 
Nope it's same problem
Packpagist hates me
 
oh right, that explains it ;-)
 
Yes, :(
 
What happens if you switch off prefer-stable ?
 
1:03 PM
@PeeHaa any good idea for a endpoint name for chat message sequences? Currently, it's /messages/sequence, but I'm not happy with it. It returns a number of messages in a specific room before or after a specific message ID.
 
Btw composer require "aurora-framework/aurora: ~1.0" works
 
Maybe /messages/history would be a good option.
 
1:27 PM
Hey, could somebody point me to some tutorial or example of pagination without Wordpress or a framework?
 
@KyleDunne that's a little vague - is your data coming from an SQL database?
 
@Danack yes and I use MySQLi if thats anymore clear.
 
30
Q: MySQL Data - Best way to implement paging?

aryaxtMy iPhone app connects to my PHP web service to retrieve data from a MySQL database. A request can return 500 results. What is the best way to implement paging and retrieve 20 items at a time? Let's say I receive the first 20 ads from my database. Now how can I request for the next 20 ads?

 
1:43 PM
Is that more for static pages? I should probably make a post to be more specific.
 
@kelunik Yeah I would totally hit that
 
I wanted to look at Gitter's API, but their API seems horrible, closed that tab pretty fast again. ^^
 
:P
Damnit the sun is too bright for my laptop screen :(
 
Does anyone have a complete function for processing an Exception::getTrace thingy?
I guess Zend/Symfony must have one somewhere...
 
You mean something like a trace parser?
 
1:57 PM
the array it returns contains different stuff depending on whether that part of the trace is in a function, or a class method.
and doesn't have file/line for some entries.
 
I'm just guessing here, but wouldn't custom error/exception handler libraries have something like that?
 
00:00 - 14:0014:00 - 00:00

« first day (1722 days earlier)      last day (3217 days later) »