« first day (2012 days earlier)      last day (2933 days later) » 

12:09 AM
Menging
 
1:00 AM
@NikiC praise you, o savior of all cpu cycles!
 
@NikiC that's awesome … why is it actually not yet merged?
 
1:24 AM
guys, how do you create list of objects
and access its member variable in PHP?
like
List<MyClass> list = new List<>();
list.get(0).stuff();
 
1:49 AM
Guys, what can you say about tutorialspoint.com? is it like w3schools that is not good?
 
> It is complimentary to and integrated with Java.
wtf?
 
LOL
 
@littlepootis ok :D
 
W3Schools is better.
 
@EnglishMaster $list = [$object1, $object2]; $list[0]->stuff();
 
1:53 AM
ok
@littlepootis but tutorialspoint has more tutorials for programming languages
 
Yes, but they are crap
 
@CharlesCraft50 both are horrible and you shouldn't learn from them
 
@littlepootis how about codecademy.com , I think Its good, I learn programming from codecademy
 
yeah, that's much better
 
@CharlesCraft50 magnitudes better, but it teaches you the very basics of programming.
 
1:57 AM
yeah
Codeshool, Codecademy, Treehouse, whats better?
 
It depends on you. I personally find watching videos, and the "try and learn m8" style exercises ineffective.
They just don't stick.
 
Ok. thanks
what did you use?, web hosting service or your own server?
 
local machine, then later own server
 
@CharlesCraft50 Are you a student?
 
I used web hosting when getting started, and I highly discourage from relying on them from anything other than tiny experiments
 
2:04 AM
no, I'm just asking
@Ocramius what you use? windows server?
 
Heck no
windows is not a production-ready environment :P
 
Linux?
 
Currently heroku or generic linux VMs
Heroku can be a bit expensive though
 
I use these for learning and testing: bitnami.com/stacks
Vagrant is nice too.
 
 
1 hour later…
3:22 AM
moin
 
moinmoin
 
4:02 AM
I'm about to write a wiki.. any suggestions for the language/framework.. or does php make the most sense? </broadquestion>
 
@captainrad why write a new wiki?
 
@captainrad what inspired that idea?
 
1
Q: submit ID using multiple checkboxes in PHP HTML Mysql

AshI am using multiple HTML checkboxes to submit student attendance. The checkbox once clicked submit '1' and if not checked, will submit '0'. I am able to submit '1' when checked but cant submit '0'. Below is my code: <?php $subcheck = (isset($_POST['subcheck'])) ? 1 : 0; $date = date("Y/m...

 
senior project for my bachelors.
 
hai morning.. i dont understand the above question
Anyway i have the same problem...
 
4:13 AM
it would be a wiki specific/targeted at startups for managing and documenting policies, standards, and project specific rules and guidelines and expectations.
 
@captainrad Why not target web development in general and project management?
 
sorry, it would be targeted at web development specifically, but project management currently feels a little bit out of scope for what I am thinking
but i dunno.... i'm open
 
@captainrad I'd suggest target the framework. Businesses work with frameworks because it saves time and money rather than building everything from scratch, and coders are in a constant struggle to keep up with frameworks.
 
I think you might be misunderstanding.. which is probably my fault
I'm well aware of that as well as I work in the field right now for a growing company.. maybe my issue is that I am thinking of a project that can benefit my current team..
dunno.. I guess I am just thinking aloud at the moment
 
I think you're overthinking it. Know which areas you specialize in, or spend the most time in, and dedicate sections of the wiki to that.
 
4:29 AM
Well, I am writting a wiki platform, not content for a wiki
my question would have been better stated: Would php be the best language to write a wiki platform in?
 
considering wikimedia already exists, probably
if you need to add some features to the wiki, you can write some PHP to add the features you so desire
If your plan was to write a wiki-like software from scratch, good luck, ha
 
correct which is the purpose of a senior capstone project in my particular degree
 
wikis aren't particularly interesting applications, the language used is more or less irrelevant (within reason)
 
i don't disagree... i think the same thing could be said regarding blogs
 
4:34 AM
but ghost is an awesome example of thinking a little further in regards to blogs
it's writing something useful for the sake of writing it.. not that it is something that would be widely adopted or even cared about..
basically this is an experiment in professional development
 
Well... if you're working from scratch, and things like scalability and speed aren't emphasized, PHP would make the task easier in my opinion. But if you wrote it in another language such as node.js, it might be more attractive to businesses that you're up-to-speed with newer technology
From an architectural perspective, I'm a fan of modular programming and seperating .
gah, misfire lol
I'm a fan of modular programming and seperating by concern, a clean directory structure is important to me. And namespaces are very important to me for seperating modules from each other.
I like to approach a project like a human would approach any project in real life, thinking how to approach it, and separating concerns... so your code should be in harmony with this thinking
 
@captainrad my point is you can pick pretty much any language that doesn't suck to work with strings in and it'll make basically no difference in the end result - php, javascript, python, ruby, perl... pick your poison, there is no "best" language with the constraints you've given
 
for something like this all that's really gonna matter is what you and your team are most comfortable with
 
Yeah, if you're most comfortable with PHP, stick with PHP. Sounds like a very difficult task to undertake. In terms of features, you'd have to really sit down and decide how you'd like the "wiki" to behave in the first place, I'd suggest brainstorming features
@SagarNaliyapara g'morning
 
4:48 AM
@Ultimater do you thing there is bright future in PHP?
 
@PaulCrovella Fair point for sure!
@Ultimater thanks for the insights!
 
@SagarNaliyapara I personally see software like wordpress and magento keeping PHP alive. For languages like Perl, Cpan is what probably keeps Perl alive having one dedicated repo which validates code is written well
If not for cpan, I think Perl would have went extinct more-so than it already has
 
it's about providing the right feature-set for your solution.
 
But the market affects what programmers learn. Why learn node.js? Rather it's people out there which hire developers care about things like coding efficiency to save time and money much like the same reasons as using a framework in the first place. As long as PHP keeps some sort of market to attract the next generation of developers to learn PHP, then I don't see it going extinct
The current tend seems to be moving everything to portable devices and the cloud, so it makes sense investing in such technologies. PHP can remain in the business as code emerges to keep up with the demands
trend*
 
perl isn't remotely extinct, cobol isn't even extinct.. just because something isn't the sexy new node on rails.js in the buzzword cloud doesn't erase the miles upon thousands of miles of code that's been running shit for over a decade or obviate the use for more of it
 
5:02 AM
How many extinct languages can you name, though? "B" off the top of my head... but finding any kind of documentation for such ancient stuff is just non-existent on the internet
Just trying to find out what the "c" stands for in "calloc" for dynamic memory allocation in C is a debate due to missing documentation
 
Perl, Ruby, Pascal
 
@SagarNaliyapara these languages aren't dead
 
it's good to keep up on recent advancements of platforms, languages and their ecosystems; but don't mistake the latest thing that's happened as the only thing that exists or will exist tomorrow
 
fair point, but how many languages can a programmer learn, honestly? at some point job listings out there are asking for an 18-year old with 20 years of experience
 
5:17 AM
<?php
$thing = 50;
$glow = &$thing;

new class use(&$glow) {

	public function __construct() {
		var_dump($this);

		new class use(&$this->glow) {

			public function __construct() {
				$this->glow *= 2;
				var_dump($this);
			}
		};
	}
};

var_dump($glow);
?>
krakjoe@fiji:/usr/src/php-src$ sapi/cli/php use.php
object(class@anonymous)#1 (1) {
  ["glow":"class@anonymous":private]=>
  &int(50)
}
object(class@anonymous)#2 (1) {
  ["glow":"class@anonymous":private]=>
  &int(100)
}
int(100)
... endless leaks here  ... ignoring these ...
(just two actually)
/cc @bwoebi
 
@JoeWatkins Yuck, if you were trying to break the language congrats
 
@Ultimater good story bro ...
 
@JoeWatkins lgtm. ship it.
 
shhhhhh ... want fi first :)
 
you'll get yer fi
 
5:32 AM
I hope so ...
then this ... then back to properties if the types thing has gone away ...
I hope it does go away ...
I don't think I want to live in that world ...
 
which types thing?
 
intersection and union
I'd have been happy if dmitry had just pushed on with nullable return types ... this conversation has been going on for more than a year, and there is no patch ...
a year ...
we do things in one night ...
 
ah.. i think the hand wringing over those is overblown... really isn't going to change what people write, just whether the unions/intersections are in code vs comments
 
maybe not, but I think if there were a patch, we would all be talking about how this isn't a reasonable thing to be discussing ...
having people write that stuff in comments costs me nothing, having them write it in code is going to cost us every time we want to change something anywhere near function entry or exit, prop assignment (if we get that), forever ... it's going to make the thing complicated and by virtue fragile, as if it weren't complex enough already ...
 
yeah I get your position. I hope a reasonable patch comes about that doesn't scare people, if for no other reason than to allow the feature to be judged good or bad on its merits rather than its implementation.
 
5:44 AM
yeah, but, merit is directly effected by the viability of the implementation, something can be a really good idea, but we can't find a good implementation ...
I'm not just saying that, it's happened, in memory ...
to bob ...
 
@JoeWatkins seems like it happening to you too with the edge cases surrounding typed properties (e.g. references)
 
it might do, yeah, and we have an implementation of that ... it's pie in the sky to talk about the semantics of things you have no idea how to implement, waste of everyone's time as far as I'm concerned ...
no no, don't do that @SirCumference
English please
 
hi guys
long time
 
yo @andho
 
yo @JoeWatkins
 
5:52 AM
12 messages moved to Trash can
 
So google translate is a hell of a help -_-
My friend is translating for me
Y'all happy?
 
morning
 
moin
 
Morning
It's night here though
Where y'all live?
 
morning
 
5:56 AM
That's not a place -_-
 
morning @gord
 
Er...can you guys read my messages?
Fun.
 
Who here plays the starfighter game. It's pretty good for programmers i think. Trying to get some time to do it.
 
@bwoeby, @kelunik are there any amp mongodb client?
 
who is starring all that stuff?
 
5:59 AM
Scum...
 
some people are really broken
 
indeed
 
That actually woke me up * shakes fist *
 
Good morning
 
So...
Is everything cool?
 
I'm feeling cool if that's what you are asking.
 
Oye.
Scientist right there
Hey
 
'nin
 
Hey guys can anyone tell me how can i covert a word document to html or how can i get the exact count of words available in word document?
 
6:18 AM
yay, I pass tests without leaking ... we can haz lexical scope in anon class
 
i guess passing rfc vote phase may be more fancier than beating memleaks
 
morning
 
@pinepain I'm not really interested in that ... all of the fun is writing the code ...
 
true
do you have it in some branch?
and how does static affect lexical scope, if any
 
Wes
msdfdmsdfng
 
6:29 AM
@pinepain we don't have static [anon] classes, so it doesn't ...
 
3
Q: What is the actual memory cost of storing an integer?

user81993lets say I just do this $arr = array(); for ($i = 0; $i < 10; $i++) $arr[] = $i; So I store 10 integers in an array. If the integer is a 32b one, the memory cost should be 40 bytes. Problem is, I didn't tell php that it is an integer so it either has to store it as something else? (js likes to...

kicking off the day by answering some internals question. pls correct me if wrong.
 
@Gordon Looks right enough at a glance. Only thing I'd add is that the array key label is an allocation as well (assuming string indexes, obv; numeric indexes are part of the bucket). The longer the label, the longer the allocation.
@JoeWatkins Alternate take on functional interfaces? Or just another new syntax thing?
 
another new thing, want both
really just finishing anon classes there
 
Hi Guys, Could any one help me in Mysql query.
 
6:44 AM
@Sara added. thanks.
 
For copy data from table to another table we used query like this if two tables have same columns names
' INSERT INTO TABLE1 (col 1, col2,..., the_extra_col) SELECT *, NULL from TABLE2'
But my problem is i have extra columns in TABLE1. i need to insert those columns data
 
interesting question . stackoverflow.com/questions/36709042/… .. is possible to include a phar file in composer autoload.. ?
 
Is it possible in that query
 
afk, school run ...
 
can one help with that query
 
6:48 AM
Hi
 
as a rule of thumb: never use * is selects (unless you are just messing with SQL client)
 
@Gordon Also... I'd have to double check the implementation... but I thought we had PackedArray implementations in PHP7 (which would make buckets for contiguously indexed arrays significantly smaller). Don't quote me on that though, I could be imagining it...
 
@pinepain don't know of any
 
Wes
mornings
 
7:06 AM
@Sara if we have, it's probably in one of @NikiC's blog posts I linked, so I guess it's good enough as is. I mention that there is significant changes between 5 and 7. Or do you think I should add more?
 
@tereško Ok. I given like that. But i have two extra columns in TABLE1 . I need to insert into those two columns. Is is possible with that query or i need to write another query
 
Moin
 
I wish I could see github.com/trending/php without Laravel stuff..
 
:P
 
also chinese stuff without english in readme..
 
I'm more interested in this one..
 
^ that too
 
@Saitama "'driver' => 'mysql'," ... nope nope nope nope nope
 
he he
 
o/
 
7:23 AM
\o
 
anyway, I kinda fell behind in the world of JS frameworks, and mostly use vanilla and some jQuery. what are the options for a client side frameworks currently besides angular? /cc @MadaraUchiha @tereško
 
Hey is there a way to pass an array to the bind_param() function of prepared statements?
 
no
 
@SergeyTelshevsky The main ones are Angular, React and Ember
Although I like React's concept better, its tooling is still not quite there yet
Right, meeting
 
Morning
 
7:31 AM
nin'
 
@MadaraUchiha just had a look at ember, the front page examples look neat, but I've read they have outdated docs and some other cons
 
Anonymous
Morning
 
o/
 
@Saitama for reals though, if you want "full featured full text search" look into things like sphinx or elasticssearch - don't try to wedge it into mysql
 
o/
 
7:33 AM
@PeeHaa No? Why not?
 
@PaulCrovella kk :)
 
@Loko Because it doesn't work like that
 
@PeeHaa So there is no way of putting an unknown amount of parameters (that can change anytime) to bind the parameters?
 
@Loko Are you using an IN() clause by any chance?
 
user image
3
 
7:46 AM
@MadaraUchiha what does React miss?
 
@DaveRandom nope I am not.
 
@Saitama is it some standard in europe?.
 
Anonymous
@Saitama hahahahah
 
@Loko Then why would you not know the number of params? Or are you writing some kind of abstraction layer?
 
@SergeyTelshevsky dunno :P
 
7:47 AM
This is one reason why PDO is a better choice than mysqli in most cases @Loko
 
@DaveRandom I sort off have this function which would run a select query but the user can fill in most of the stuff.
@DaveRandom So a lot of user input.
 
mornings!
 
@Loko OK, so can you show your query building code (in a pastebin please)
 
@Saitama isn't that the same in every country? :P
 
@DaveRandom Sure thing wait up
 
7:50 AM
@Naruto they are, at least in my country
 
@DaveRandom I think this is everything: pastebin.com/Wx6tgxk5
 
@Saitama same here
 
@SergeyTelshevsky It's too cumbersome to work with, it's too fat, it's called React but it's not Reactive at all.
You a lot of boilerplate and process to set it up
Which is no big deal for a seasoned dev, but it's cumbersome and confusing for a beginner.
 
@Loko Ah OK, so in a case like this one would generally separate each different kind of query into a different function (so you might have getUserByID($id) etc). This is often not very DRY, a lot of database code often is like this and it does somewhat suck. However, there is a way to do it using call_user_func_array()
 
mm, I'm trying to pass a variable like urlx.com/var_a/var.b/var-c , can soemone point me in the direction what I need to do to actually pass variable b with the dot, without having to encode it? or isn't that possible?
 
7:57 AM
I'm struggling to find a good example so give me a few mins while I write one based on your code
However @Loko, have you looked at PDO?
 
Wes
!!coffee @PeeHaa invent it please. morning :B
 
PDO has a much cleaner API for doing this, especially if you are treating everything as a string
 
@DaveRandom Yes I have. Why?
 
@MadaraUchiha I see, what would you recommend to get some basic routing+templates+data binding+xhr with ability to extend?
 
@SergeyTelshevsky The idea of React is that you don't have data binding
Data flows in one way
Essentially:
View = f(Model)
Where f is React.
 
8:00 AM
@Loko With PDO you can do foreach ($stmt->execute($params) as $row) {}, where you can pass the array of values directly execute and iterate the result directly
 
You treat your view as a result of a pure function, and React deals with selectively rendering only the parts that changed for you
 
However, you would have to use PDO throughout your application, if you've already written a lot of code it might be a PITA to change it
 
@MadaraUchiha hm, how about updating?
 
@SergeyTelshevsky You update your Model and call f().
 
    @DaveRandom I just got to the php documentation again and it gives this example at PDO:
     $sth = $dbh->prepare('SELECT name, colour, calories
        FROM fruit
        WHERE calories < ? AND colour = ?');
    $sth->execute(array(150, 'red'));

wouldnt this just work for me?
 
8:01 AM
(React does this for you automatically in some cases)
 
@DaveRandom This is the first query I wrote in my project
 
it's well worth getting to understand PDO though, it makes a lot of stuff a lot easier, 99.99% of applications don't need the extra features that mysqli brings
 
@DaveRandom so no problem in using PDO throughout the whole application
 
@Loko OK, so all you really need to change is wherever the code is that does new mysqli() change it to new PDO() (obviously you'll need to understand how to pass the server details and auth, it's different but not difficult) and just change your class to accept a PDO instance in the constructor rather than a mysqli instance
 
hi why importing rows from a table to another is slow and doesnt import all rows $centersdt = $otf->getTable('centdt');
$centers = array();
foreach ($centersdt as $center) {
$centers []= array( 'id' => $center->centid,
'name' => $center->centname,
'region' => $center->centregion
);
}
DB::tabel('center')->insert($centers);
 
8:04 AM
@Loko Yes, this would work fine for you, however there are a couple of extra steps that it's worth taking (or at least understanding)
 
@DaveRandom What extra steps?
 
Hi, I'm learning GIT Hub and come up with a snag in my understanding. I have a master branch, and a few devs will be working on it. dev1 is to add a contact form (and all associated code) and dev2 is going to add another feature. Do both devs create seperate branches or forks? I assume branches.
 
This has always been useful for me @Loko PDO_Tutorial_for_MySQL_Developers
 
Kez
Hey why are these characters displaying instead of the correct ones? • in a pdo update statement? all is UTF8 collation.
 
Though I know you're mysqli it still is useful
 
8:05 AM
1) you can store the result of ->prepare() in a property of your class, and reuse it. So if you need to run that query more than once during a page load, you only have to do the ->prepare() step once, which is more efficient
2) PDO can use named parameters. So you instead write this:
 
@Fabor Thanks for the link
 
sooory to bother you guys , why importing rows from a table to another is slow and doesnt import all rows $centersdt = $otf->getTable('centdt');
$centers = array();
foreach ($centersdt as $center) {
$centers []= array( 'id' => $center->centid,
'name' => $center->centname,
'region' => $center->centregion
);
}
DB::tabel('center')->insert($centers);
 
@undefined You should be doing that on the database level, not application level
 
$sth = $dbh->prepare('SELECT name, colour, calories
    FROM fruit
    WHERE calories < :calories AND colour = :colour');
$sth->execute(array('calories' => 150, 'colour' => 'red'));
@Loko ^
Which may look more long-winded, but it is often more readable and can be quite powerful in dynamic query building
 
@MadaraUchiha Im trying to make the user upgrade the app using the old DB in the old app into the new one I hope you understand
 
8:08 AM
@DaveRandom thanks! I didnt quite get what I had to change by the way to get from mysqli to pdo. I just now changed the connection. You said something about the class being able to accept PDo instead of mysqli?
 
is the master branch currently 7.1 ?
(php)
 
Morning.
 
@Oldskool \o
 
sooory to bother you guys , why importing rows from a table to another is slow and doesnt import all rows $centersdt = $otf->getTable('centdt');
$centers = array();
foreach ($centersdt as $center) {
$centers []= array( 'id' => $center->centid,
'name' => $center->centname,
'region' => $center->centregion
);
}
DB::tabel('center')->insert($centers);
 
DRY
 
Anonymous
8:13 AM
@Oldskool o/
 
Kez
@DaveRandom who are you talking to?
 
how to make importing row from a mysql table fast ?
 
@MadaraUchiha then, as I understand React requires you to create multiple views across the application, more like a component-based application like facebook, rather than a xhr-based website?
 
@SergeyTelshevsky Yes
XHR is handled outside of React, React is purely a View language.
You use XHR to update your model (or "state"), and then update React.
 
BTW, Clannad is pretty nice too ^-^
 
8:21 AM
I mean when only some component refreshes, otherwise it would require to refresh almost full page template each time something changes
 
ThW
Morning
 
@SergeyTelshevsky That's the beauty of React
 
-1
Q: how do i add two sessions in codeigniter which can be used simultaniously without logging out one for another?

Hishamhow do i add two sessions in codeigniter which can be used simultaniously without logging out one for another? employee_ session in employee controller $newdata = array( 'username' => $dta['usr']['emp_name'], 'type' => $dta['usr']['type'], 'id'...

help-eth
 
Your pure function returns a virtual DOM
React then knows to diff this new virtual DOM against the older, and only update the actual DOM where there are changes.
That's what makes React performant and attractive
 
@MadaraUchiha I see, so the proper use case for React would be a dashboard where each component refreshes itself, etc.
 
8:23 AM
@SergeyTelshevsky Yes
Where you don't want to deal with coupling the data with who needs to change
 
how do i create multilevel login system in codeigniter .. session part please
 
the samsung sami dashboard also uses React :)
 
Wes
 
Angular 1 is pretty much dead code by this point
 
Wes
that didn't go well.... UUUUUUUUUUUUU
 
8:24 AM
In favor of Angular 2, which I honestly don't know how well received it would be.
 
thanks 4 d downvote , that helped me alot
 
@Wes Ouch, that's usually why I --stop-on-failure .. to prevent the flood ;-)
 
@MadaraUchiha if you don't mind, tell me how would you implement a facebook-like chat using react. would you refresh the whole chat component on each message, or?
 
@Hisham You asked a question, didn't try anything yourself before asking (or at least, you didn't say you tried anything, or presented what you've tried), you didn't search beforehand (because multi-device login is a solved problem)
@SergeyTelshevsky You update everything
The entire "Main" component
 
Wes
why is doing that :\
 
8:27 AM
React knows which parts need updating, and which don't.
 
@Wes "F" for Fine... it's all just fine
 
Wes
i'm pretty sure it stands for FFFFUUUUUU... :B
 
...NNN :D
 
Wes
:B
 
F is for friends who do stuff together
U is for U and me!
 
Wes
8:31 AM
more like the opposite of that. i broke everything basically
 
halp mii
 
@tereško what's up?
 
I am looking for examples of a good UI for hierarchical RBAC configuration
 
I will need a UI on web
 
Wes
8:40 AM
not suggesting that specifically, just saying that you can do it with js and css
 
@tereško I used something like this in the past for managing the ACL in one of my apps. Not perfect, but simple enough and did the trick: cdn-ak.f.st-hatena.com/images/fotolife/y/y_guriko/20101222/…
 
ouch
 
Yeah, it's no eye candy though ;-)
 
for managing user, this approach seems sensible:
(only with a different layout)
 
@Loko Imo you are abstracting the wrong thing
 
8:44 AM
@tereško That looks OK, yeah.
 
@PeeHaa Sorry what?
 
what I am looking for is the "Role management" section
 
You are trying to abstract executing queries which only can end bad
 
posted on April 19, 2016

New Cyanide and Happiness Comic

 
^ flagged for repeatedly spamming same question (4th time in an hour... sigh)
take a hint, we apparantly don't have a clue
 
8:46 AM
@PeeHaa I mean theres nothing wrong with my code, security wise right?
 
take THAT @Feeds
 
Heh, yeah feeds got in the way there.
Obviously I would never flag Explosm.net posts :D
 
@Loko Don't think so from a quick glance
 
@PeeHaa Im just gonna add a insert,delete and update query now. I'll see if it's insecure or not and maybe even ask here again.
 
@Loko The point was that it makes very little sense to abstract queries away like that imo
 
8:57 AM
@PeeHaa How come?
 
Can someone recommend nice (cheap, trusted) wildcard ssl seller, please? Obviously, Let's Encrypt would be the best choice but they don't support wildcards yet (and do they have any plan to do that in future?).
 
Instead have specific methods that retrieve specific things
@pinepain Do you really need wildcard?
You can have multiple domains in a single cert
 
@PeeHaa does letsencrypt support that?
 
Yes
 
my problem is that subdomains number in my case is variable
e.g. it can be 10k subdomains
 
8:58 AM
That's too much for LE yeah
 
one client - one subdomain (ok, 10k is a bit epic)
i guess LE will limit to 100, not more
even 100 is too much
 
yeah something like that
I use a comodo domain validated wildcard myself
 

« first day (2012 days earlier)      last day (2933 days later) »