« first day (2054 days earlier)      last day (2890 days later) » 

9:00 AM
/me is greedy and wants moar SO T-shirts
 
why don't I have that t-shirt ?
 
Ekn
cough even I have one cough
 
WHAT ?
 
Ekn
:p
 
@JoeWatkins You only accept t-shirts and never buy
Hmm, was there some SO t-shirt convention Joe and I didn't know about?
 
Ekn
9:02 AM
I got plenty of SO goodies recently
 
-_-
 
did you use witchcraft ?
 
Looks like we both missed the meta posts
 
Favoritism!
It's fine. Joe and I will create our own SO t-shirts... with blackjack & hookers.
 
Ekn
well... the meta post I got these was asked 9months ago. I answered on Sep 10 '15...and I got it in the last weeks
 
9:03 AM
@PeeHaa does the bot really need to use language like that ?
@Fabor haha
 
@JoeWatkins What language?
 
Oh answers were required. Definitely not for me then. -_- I like my rep. High enough to not be downvoted out this chat.
 
it's really very awkward for me when swears are starred, I can't see a good reason the bot has to repeat bad language, people are obviously going to star that ...
 
In Jeeve's defence, he was called a dick first.
 
Ekn
nah... this wasn't something like that @Fabor
 
9:06 AM
yeah, I've no problem with the language, but when it starred I have to look over my shoulder for kids entering my office ...
 
Trying to prevent it is going to be futile because it just repeats what somebody said unless you have a good idea :)
 
clbuttic
 
^ that
 
@PeeHaa I don't have a good idea, but can see it's a bad idea to repeat whatever is said ...
 
I wonder if SO chat would've counted as an answer.
 
9:07 AM
@JoeWatkins I'm not married to the idea so I will not oppose to another response PR if you like
 
We could have a simple \bword\b filter with some basic obvious ones without too much difficulty
 
How did SO help me become a better dev? Well I went to SO chat. Got insulted by @tereško. Got angry and decided to become a better developer.
 
We can put a configurable filter at the ChatClient layer pretty easily
 
please do that, I hate to whine ... but they are home all week, it's an immediate problem ...
 
@JoeWatkins would you be ok with d**k?
 
9:08 AM
yes
 
@Jeeves You are Fab
Where is that lazy elephant?
 
I'd rather it wasn't there at all ... but any solution like that will work ...
 
You could always use a profanity extension.
 
well there are other really very good reasons for not wanting profanity in the star list at all ...
I think it sends the wrong message, we aren't about that, again I've no problem with that language, but when we star it as "one of the most important things said", it sends a pretty negative message to people who are just arriving ...
if someone new came in and started using that kind of language, none of us would like it ... it's not a good idea to allow it to be starred for that reason ...
 
Can't say I agree honestly. I can see your point and I understand what you're saying but from a purely subjective standpoint I am okay with it. That being said if we favoured not using that kind of language I wouldn't object either.
 
9:15 AM
@JoeWatkins I thought we were all about that, seeing as we write PHP it's pretty much inevitable that we'll all turn into swearing zombie-like "programmers" :D
 
my problem isn't with swearing, at all, the problem is with that kind of language being forced to linger, and in a really prominent place ....
I swear, all the time ...
 
Then perhaps move to not star swearies and remove them if seen.
 
@JoeWatkins The fewest devs don't swear all the time…
 
yeah, I get that, I get that some might say it's necessary to make a point or whatever, and I'm sympathetic to that ... but in the real world, my 11 year old, and 6 year old look at my screens, and I have a duty to protect them from such language ...
 
so they are basically watching you work all day?
I feel fresh meat for php-src :-)
 
9:20 AM
@Fabor this we could also automate with the bot, as long as clbuttic is acceptable (and tbh I don't actually think this is a big problem in the general case)
 
no but they come in, ask me if they are allowed a billion different things an hour, ask for 140,000 meals a day, and so on ... they hover ...
 
:P
 
mm, how would you name a table, thats just a linking table to itself so 1 to many and the links are for the same table , products linking to products?
 
products_children?
 
@Fabor I have no problem with playing the role of the "adversary"
 
9:26 AM
:P
 
products_related?
I think you should look at the domain purpose of the table, @Naruto, and name based on that.
 
@Naruto product_hierarchy
 
mm, I guess related is pretty nice here, thx
 
mind you, the table of products and the table of relations between products should be separate things
 
@tereško yes, that's what I'm aiming for? :)
 
9:30 AM
@Naruto What's the domain case for the table? If it's a hierarchy then you shouldn't need a link table, just a parent field.
If it's a relation, then you may want product categories or something like that.
 
can't use parent, since multiple products need to be linked to other products, so another table is required
 
Right, so it's not really a hierarchy. :) What is it?
 
what is what?
 
What are the relations? What do they represent?
 
they present being linked to one another
 
9:32 AM
@Naruto No, that's the programmatic purpose, what is the domain purpose of linking the products? What do the relationships mean?
Are they products in the same category? Products which are often bought together? Products from the same manufacturer?
 
@bwoebi what's going on with moving unions to voting ?
 
eum.. I think I can best describe as products which are simular for selling?
 
@JoeWatkins Wanted Dan to have a look at it first
 
So maybe it's better to have a categories table, and a products_categories link table, instead of just linking products to each other?
 
He's better than any of us filthy coders ;-D
 
9:34 AM
also, he has a beard
 
@MattPrelude products already have a categorie... but products can belong to more than 1 categorie, and they can belong to 1 or more products aswell and not every product is in the same categorie
 
@Naruto If products belong to more than one category, you use a link table products_categories with a product ID and category ID in each row. My point is that just linking products in a non-hierarchical sense probably means that your data is not being adequately represented.
@Naruto A relation in your database represents something, some concrete reason (or multiple reasons) why you choose to link these products together. If you can name those reasons, and create proper links, then you can avoid misunderstandings further down the development process.
 
Hi everyone! Please, help me. I'm running a php from command line(cli) as a deamon. It frequently check for a record in mysql database which consumes more cpu%. I want to reduce it. If the record exist it do some operation else, keep on checking for a new record.
If im right, I can not use session since it's a CLI script.
 
@SatheeshThangavel What does the query look like?
@SatheeshThangavel Correct, CLI has no session.
 
SELECT
ND.medium,
ND.receipient,
ND.composed_message,
ND.ref_1,
ND.action,
ND.delivery_id,
NC.cat_key,
NC.app_page_id,
NC.app_sound
FROM
Notification_Delivery as ND
LEFT JOIN
Notification_Categories as NC ON NC.cat_id=ND.category
WHERE
ND.status=1
 
9:40 AM
@MattPrelude I know what it does or why it is needed, I just hadp rolbmes finding a good name for it, that's all..
 
@Oldskool SELECT
ND.medium,
ND.receipient,
ND.composed_message,
ND.ref_1,
ND.action,
ND.delivery_id,
NC.cat_key,
NC.app_page_id,
NC.app_sound
FROM
Notification_Delivery as ND
LEFT JOIN
Notification_Categories as NC ON NC.cat_id=ND.category
WHERE
ND.status=1
 
CTRL+K formats code, also pastebin is a thing ... so is sqlfiddle, jsfiddle, all kindsa fiddling ...
 
@SatheeshThangavel That is a very complex query to check whether or not something exists. It would be much faster to just SELECT COUNT(ND.delivery_id) FROM Notification_Delivery as ND WHERE ND.status=1;. If the result is > 1, then start doing the actual query.
There is no need to get all those other fields and to join in the category table, that data is useless if you just want to determine if there are records with that status.
 
Hello

I have a wordpress website in which we have used widgets and we have added html mail like this


<a href="mailto: myemail.examlple.com"> my email </a>

**I want to protect this email id from spams when user did view source.**

I already disabled copy paste.
Any idea?
 
And what @JoeWatkins said. ^^
 
9:43 AM
@DaveRandom ^ is Jeeves dead or why does it not notify about the missing ctrl+k?
 
oh yeah I forgot about Jeeves ... maybe no support for SQL yet ? not sure how it works ...
 
Thank you @Oldskool. But, are you sure if I just simply check status remove all other part, will it reduce cpu% any significantly?
 
I didnt see MySQL support when I looked last week @JoeWatkins
 
@SatheeshThangavel Yes, less data to collect = less CPU.
That's just computing 101.
 
that's ... not always the case :)
 
9:47 AM
@SatheeshThangavel Also make sure you SELECT COUNT() on a field that is either the PK or an INDEX to speed things up.
 
@JoeWatkins We've disabled it for now because innocent people got trapped in the message which is really annoying for innocent people
 
@JoeWatkins Name an example.
 
at the lowest level, returning a pointer to a block of memory 6 bytes wide is the same speed as returning a pointer to a block of memory 60 bytes wide ...
 
@JoeWatkins Hmm OK fair point :)
But generally speaking... it's usually faster ;-)
 
you can't speak generally about that, is the point I'm making ...
 
9:49 AM
@JoeWatkins When you come to use the 60 bytes, that will still be slower than using the 6 bytes though?
 
@Oldskool Okay! that's relieving. Thank you so much. I was wondering is there any other way to do it, I mean, That table being updated by remote call, while updating, change status of a file. In this case, I can repeately check for changes in a file instead of checking table, if the file changes, I can conclude the table updated.
 
@MattPrelude depends what you mean by use
 
@JoeWatkins In the general sense of consuming that data. Reading it, overwriting it, whatever.
 
consuming every byte, one by one, obviously, returning a pointer within the block of memory at any address, no difference ... many things do the latter ...
think about how the binary index of an sql table actually works ...
 
doesn't know how SQL table indexes work, tbh :)
Though, a pointer to a 60 byte block of memory is technically the same size as a pointer to a 6 byte block of memory... assuming both either 32-bit pointers or 64-bit pointers?
 
9:52 AM
exactly, there's no difference, and returning an address relative to that base address doesn't matter ... that's how computer programs actually work, they don't consume every byte in a region of memory to do their job ... the same goes for a table index, only rather than memory, it's a memory mapped file ...
 
@JoeWatkins Sorry I was referring more to @SatheeshThangavel's example, which was reading more data vs reading less. Agree that in many cases you can work with larger sets of data and get the same overall performance metrics. :)
s/many/most
 
I was only responding to the "computing 101" comment ...
 
@JoeWatkins My bad, I'm half-reading. :)
 
@Oldskool could have called it RDBMS 101 and I would have been silent ...
 
@bwoebi not enough code lines
 
9:56 AM
I didn't notice the person had changed ... hi, I'm krakjoe, and I don't pay attention to what is going on around me ...
 
I don't think it looks for HTML either because cthulu
!!blame @PeeHaa
 
@DaveRandom :o
 
@JoeWatkins That makes 2 of us :D
 
@bwoebi It's only triggered when there are at least 3 "code" lines in the message (because sometime people do legitimately post non-code multi-line messages
 
so it doesn't depend on the language ?
oh wait, I can read code
ha
 
9:59 AM
:-P
It can probably be improved a lot, PRs welcome :-D
 
@JoeWatkins @MattPrelude @Oldskool What if I frequently access a file for changes instead of mysql. Is it any better or worse? It will increase IOPS dramatically. But, what you say?
 
I have no idea what you are saying
 
@SatheeshThangavel Please don't start implementing DIY datastores.
 
@JoeWatkins @MattPrelude @Oldskool I'm accessing mysql (every second - a deamon) to look for a record. It consuming more cpu%. I wish to reduce it, Mr. @Oldskool suggested me to simplify the query. I get it. But is there any other way?
@JoeWatkins That table being updated by remote call, while updating, change status of a file. In this case, I can repeately check for changes in a file instead of checking table, if the file changes, I can conclude the table updated.
 
> Insanity: doing the same thing over and over again and expecting different results. "Albert Einstein"
building such things into our programs is an obvious mistake ...
whole paradigms have grown up so that we don't have to busy wait, it's an obviously bad choice ... you don't keep checking anything awaiting a change in status, you designs systems that respond to real time notification of a change in status ... that can mean a bunch of things ...
 
10:13 AM
Thanks @JoeWatkins.
 
I have no idea what you are doing, but it sounds like you are using the table as a weird kind of replacement for IPC ... and I have no idea what you are using IPC as a replacement for :)
 
@JoeWatkins I don't mean to be bother. If you wish to help, I'm ready to explain further.
 
@SatheeshThangavel polling a database is never a good thing to do
 
I just said that ... with an unnecessary amount of words @DaveRandom
 
10:16 AM
:-D
@SatheeshThangavel there are a lot of alternatives and which is the right one for you depends on the rest of your architecture
How does data get in to the database?
^ reasonable explanation of why what you are doing is not a good way to do it
 
@DaveRandom What I'm trying to do is developing a push notification system. Local controllers and other devices uses http to push notification to my server. If I connect apple server and send notification, it take a little bit longer. So what I thought of splitting it to two part. One is receiving messages and records in a table and a demon is checks for the entry and sends to apple server to deliver push notification.
 
@SatheeshThangavel So you are on the right track, but what you are missing is something where the "receiver" part notifies the "pusher" part that there is new data to process
What you have there is all good and valid - the reciever and dispatcher parts should indeed be separated, and it's a good idea to back it with a database like you have done. But what you don't want to do is have the dispatcher constantly checking the database for new data, rather you should have the receiver somehow inform the dispatcher that there is new data to process
You should still store the pending jobs in a database, so that if the dispatcher stops working (e.g. application or server crash) then it can deliver then pending items when it is restarted
But you don't want it to keep going to the database and saying "is there anything to do?". It's much better when someone comes to you and says "there's something to do".
 
 Top 6 different files requested sorted by requests - percent - [bandwidth]
  1993    84.92%  /wp-content/plugins/mce-table-buttons/tinymce41-table/error85.php
  30      1.28%   /
  13      0.55%   /wp-content/themes/sketch/404.php
  12      0.51%   /robots.txt
Ohhh boy.
Mornin' 11
 
Anonymous
:P
 
Guess I've got some exploit cleaning to do.
 
Anonymous
10:27 AM
 
@Sean either that, or nobody but google reads your site and you have some broken links
 
@DaveRandom Wish it were the case, owner only brought it to my attention because the front pages of the site were filled with infected JS files and chrome blocked it as malicious content.
 
10:40 AM
 
No bias at all :P
 
Fuck impartial, this shit is important :-P
 
@DaveRandom Neither set of people? ;)
 
Why not just add Hitler to the out list then :P
 
Obama says 'in', so 'out' is probably right. He's been wrong on every other issue of borders and trade.
 
10:42 AM
Hitler would be IN - because then he can just get himself appointed to one of the 4 "president of EU" positions and job done.
 
Anonymous
@DaveRandom "Who do you trust with YOUR future?" Definitely not Corbyn..
 
^
or Cameron
 
that's true
 
or Yvette Cooper, or George Osborne...
 
but still, I'm definitely not on board with leaving the EU, feels like a giant step backwards
 
10:44 AM
I'm not convinced that it isn't a giant leap off of a sinking ship, to be perfectly honest.
 
I'm not voting due to lacking an educated vote.
 
Next step would be getting USA back under the crown
 
Anonymous
Yeah, shit really needs to change but maybe leaving EU isn't the best step
 
Make America Great Britain Again.
 
The EU is shrinking as a % of global trade, has clearly shown no intention of being reformed, I think leaving is the only way forward (or just wait for the markets to capsize the EU in 10 years or so).
 
Anonymous
10:45 AM
I'm with @Fabor, I really don't know enough to argue or vote :P
 
I do think everyone should try to be educated and to vote.
 
@DaveRandom BBC had some government guy in for an interview this morning, his whole schpeil(?) was that "If we're out of the EU we could remove VAT" to which the anchor said "You mean, it's not a promise or a guarantee"
And it ran around in circles
 
@Sean Whilst technically true, I think anyone voting in the EU referendum purely on short term economic grounds has missed the actual point of the debate.
 
Actually got my blood boiling a little. Trying to push through fake idealisms but refusing to say anything more than "We have the potential to do it". When cornered he responded with "Well I'm not the prime minister or the treasurer so I can't promise that"
 
This is the shit I'm talking about, I haven't heard a single argument in favour of leaving that sounds like it's been properly thought through
 
10:49 AM
Aye.
 
The EU referendum isn't about whether we get 1% less growth or 1% more growth this year, whether we pay £100 less or more in tax, etc. Both sides want to have this discussion but really it's smoke & mirrors. We're the 5th largest economy in the world, there's no doubt we can succeed & thrive economically inside or outside of the EU.

The EU referendum is about whether we want to make our laws in our own country, and choose who can come to our country based on their skills and our needs, or whether we want to open the borders and legislative supremacy to countries like Turkey (prototheocracy
 
@DaveRandom Thank you so much!
 
http://stackoverflow.com/questions/37388426/cybersource-how-to-add-m‌​erchant-defined-data-field-in-woocommerce-closed
 
It's about whether we want 300,000 net migration, +10%/year London home values, crowded schools and overburdened transport networks to become a 'new normal', or we want to be able to take some control of our borders and let people in at a sensible rate and based on reasonable need.
That, for me, is the discussion to be had. There are arguments for those things becoming 'normal', but those arguments aren't being had. Remain won't talk about the merits of mass migration, they just pretend it's not a thing.
As a homeowner in London I certainly am not complaining about rising property values, for example. :)
 
I thought we had some leeway on this anyways as a special member of the EU?
 
10:54 AM
@Fabor None. An EU citizen can come to the UK regardless of his/her skills, employment status, intention to find a job, criminal history etc.
 
It's about more than that though, it's about co-operation. And there are a lot of people putting a lot of work into figuring out how to do that effectively, and we are basically talking about saying "you're not doing what I want, screw you guys" and walking away, instead of trying to work with them to create a fair system for everyone. Sure there are issues, and yes the stronger prop up the weaker, but things aren't and can never be instantly fair.
 
When will we know the results of the vote?
 
@DaveRandom But nobody's talking about cooperation which is my point. Remain has fought the whole campaign on spreading FUD about leaving amounting to us becoming a 3rd world country, instead of talking about the merits of the EU.
 
@MattPrelude yeh the public "debate" is bullshit all the way on both sides, no argument there
needs Dr Evil air-quotes really
 
@DaveRandom I see some benefits of the EU, but I'm not convinced that it's a vehicle for cooperation any more. Maybe if it was UK, France, Germany, Benelux etc (just rich western Europe with similar economies & skill bases) I'd see it differently. Right now it seems like a way to suppress wages on low-skilled Brits and create arcane legislation through an undemocratic process.
 
10:57 AM
Oh aye. The pamphlet through the door was not appreciated hah
 
@DaveRandom And I also think Cameron's attempt has shown us the futility of trying to reform the EU. I was open to staying until the pitiful 'concessions' he got.
 
Something doesn't seem right about the government using their power to influence a vote which should be left up to the people to reach their own conclusions
But I guess that's politics in a nutshell anyway
 
s/government/corporations
 
@MattPrelude a) I don't think it cannot be saved b) I don't think that people rage-quitting is the way to save it. However I concede it requires putting competent people in charge of the delegations from all member states and that is something that needs to solved globally (the UN has had similar issues in the past)
 
@DaveRandom The UN would not be my model for a successful cooperative body.
@DaveRandom You and I will have to agree to disagree, I think. I don't see any real benefit to remaining in the European Union, beyond my own selfish interest in my flat continuing to rise in value. And I'm willing to pay the price of a lower property value if it means that my country is free to chart her own course. :)
 
11:02 AM
Indeed, and this is not really the place for such a discussion in any case
Can someone just hurry up and make the Star Trek utopian future a thing please?
I want to join Star Fleet, I'm getting bored of waiting for someone to invent it
Maybe we can write a Jeeves plugin for it
 
If someone could end scarcity that would be pretty nice :P
 
3D printers are basically the first step towards a replicator, I feel like fusion power is probably within reach... IT'S TOTALLY GOING TO HAPPEN JUST LIKE GENE RODDENBERRY'S FACTUAL DOCUMENTARY SAID!!!!!11111oneone
 
@DaveRandom 3D printing of organic tissues <3
 
@Sean I think you might be looking at the old plugin interface
 
@bwoebi Trying to print a GF?
 
11:10 AM
harsh toke dude :-P
 
What? -_- i'd print one for myself
 
@Fabor hahaha
 
hello i have an issue.. any one could help me?
any one there???
 
11:26 AM
@Sean usually written spiel, but schpiel is apparently a valid alternative.....and also the way it's pronounced.
 
Sounds better as schpiel anyway
 
hello everyone
can anyone help me to about php design patterns
 
11:53 AM
@NikiC it's an identity concern. Try proxying a fluent interface and you'll see that :-\
also affects friend objects btw
 
Someone suggestions for just a good router + template engine? (Seems blade is not available stand alone? )
 
Do they have to be combined?
I just use FastRoute and Twig.
 
I am famillar with blade, but could use twig also :) I really have to setup lots of pages >< But without a db
frontpage / product categories / product overview / product single / downloads/ calendar/ contact/ show-off / ....
 
Anonymous
 
Anonymous
A remote job that provides lunch daily + you'll work with a cow :>
 
12:00 PM
@JayIsTooCommon So, that's a data farm?
 
Anonymous
:P
 
Lol
 
@Oldskool lol
 
The cow is lunch.
 
Anonymous
 
Bask in the wonder of the fact that I wrote some documentation for something
/cc @PeeHaa ^^^
 
@DaveRandom Shiny
 
@DaveRandom holy documentation batman \o/
 
1:01 PM
@DaveRandom That's not a wonder … that's flat out impossible that sane devs willingly write docs…
 
who said anything about sane?
 
Even more impossible that insane devs do that!
 
1:41 PM
 
@Machavity You just hinted that @DaveRandom docs are shit?
 
https://pbs.twimg.com/media/CCtOO6qVIAAUZbx.jpg
 
oh you made images work \o/
 
"Work"
 
1:47 PM
oh it's already a twitter image
 
Eh, no?
 
I still need to fix it proper
 
Just shows up as a plain link.
 
I assumed it was working because of the URL
 
It extracts the source properly though ;-)
 
1:47 PM
At least it doesn't add empty beaces anymore
Braces
@Oldskool yeah :p
 
Yeh, you don't want empty beaces
lol I can't even spell your typo right
 
:)
 
Anonymous
xD
 
user1694691
Why does PHP7 throw fatal errors for covariant return types? When a class method specifies a return type that extends/implements the return type specified by the interface, it throws a fatal error. It is still fulfilling the method declaration, so it seems like this should be acceptable. Is it just an implementation difficulty?
 
@PeterTòmasScott return types are (currently) invariant because a sane implementation couldn't be created in time for 7
I forget the specifics of the problem
 
user1694691
1:55 PM
@DaveRandom Good enough for me, thanks.
 
@bwoebi Could also be read as a commentary on the readers of docs :P
 
Just trying to follow that, do you mean this type of scenario is happening?
Ah it's all going pear shaped.
 
[text](url)
 
I don't know why I keep forgetting that. Cheers :p
 
@DaveRandom That's so unintuitive… I've got it always wrong years ago too…
 
2:05 PM
Hey, I didn't invent markdown.
I blame @PeeHaa
 
@PeeHaa Fix markdown! Now!
 
I tried it once, but it's kinda hard
 
That's what she said
 
@PeeHaa You want to hint that there exist things almighty programmers cannot solve?
 
You would have to ask an almighty programmer :P
 
2:08 PM
which you obviously are… And don't even try to deny that!
 
That feeling when editing AD object attributes directly is the best solution to a problem
 
Anonymous
I think @bwoebi is flirting with you @PeeHaa ..
 
I am more a "consumer" kind of programmer who builds on other's hard work
@DaveRandom Defuck are you doing with ad anyhow
 
@PeeHaa me too… just consuming the hard work llvm people did…
 
@PeeHaa probably best not to ask, I don't want to make you cry
Let's just say "working around a really shitty UI" and leave it at that
 
2:17 PM
:(
@bwoebi :P
 
Hi all, Trying a "strange" thing with Doctrine (& symfony), I want to create a db table called "relationship" which is supposed to represent the relationship between 2 entities, so I get fields like "entity_one","entity_two","comment","relationship_type". I try to add "ManyToOne" relationships on "entity_one/two" fields, linking to "entity" table, but it fails... any reason?
 
That is all really confusing :-P
forgetting tables for a bit, make a gist with just the classes (only relevant fields)
 
please define the "fails"
also, don't create a db table. just create an "entity"
 
@AdilIlhan Running the generate:entities command from the console returns a "[Syntax Error] Expected PlainValue, got ''' at position 28 in property... ::$slaveEntity"
syntax is fine, I use the same in other classes with no errors
 
2:26 PM
how about your annotations?
 
@Julo0sS Try clearing your caches first.
 
indeed!
 
Sometimes, something bad gets stuck in there and all console commands that do something with Doctrine fail.
 
ok thx, seems it was related it works now
 
Oscar goes to @Oldskool
 
2:29 PM
It's always the first thing to try if console commands start acting up ;-)
 
eheheh i had an alias like this: alias generate='rm -rf data/DoctrineORMModule/cache/* && doctrine generate bla bla'
 
Well, that's a little overkill. Makes all your commands pretty slow.
Or at least that specific command.
 
it was slow but it wasn't "pretty slow". only 1-2 second
 
Oh OK, that's not too bad.
 
Jay
guys I have a date
2016-05-30 22:33:01
I want to find out if the date is between 12 and 13 months old
 
2:34 PM
congrats
 
Jay
how can I do this
 
is she/he nice?
j/k
 
@Ocramius :')
 
Anonymous
lol
 
@Jay DateTime::diff
 
Long time ago I did this stuff :p github.com/duikb00t/TwigRoutes/blob/master/src/routes.php someone an idea why my echo is not showing up from that route?
 
An echo inside an array? Really??
 
What
where
 
Oh wait, nvm. Coffee effect must've run out.
 
@Oldskool echo inside
callable function
 
2:42 PM
missed that inline function
 
Request URL:http://localhost:8000/hello-world
Request Method:GET Status Code:200 OK Remote Address:[::1]:8000
That looks at least ok
But still a blank screen :D
 
is there a log?
 
Negative, I mean there is but there's nothing in it.
 
localhost:8000/not-exists
 
blank
 
2:50 PM
how about status?
http status *
 
200
Looks like the 'return 'arrray is being ignored.
 
Hello guys, I think this could be so simple that does not need a question for it, I'm using SlimPHP, when Im working in my local server (Mac) I need to reference slim with \Slim\Slim->someMethod..., but when I deploy the code to my debian (production) server, this does not work, I need to replace \Slim\Slim->someMethod just for Slim->someMethod... any idea?
 
@AlejandroMorán Looks like you don't have an autoloader on your Mac.
 

« first day (2054 days earlier)      last day (2890 days later) »