« first day (2433 days earlier)      last day (2741 days later) » 

user924016
00:17
@LuigiLopez dont do that
00:29
!!rfcs
00:49
@RonniSkansing Ok. Any explanations?
user924016
@LuigiLopez that kind of logic should not be in a template file
user924016
Any specific reason you are looking to that? Maybe it would be better to make a route and controller to handle the data send by the form
I'm trying to sends mails with routes instead using the blade. I know is not a good practice, but I got problem with the controller.
user924016
What is the problem?
00:52
I honestly don't know how to take the variables to the controllers, like username or email.
Auth::user()
user924016
@LuigiLopez if it's a POST request, it will be in the Request object
monrngin all
Ok
Thanks Rooni and Valentincogni
I'll try.
user924016
good luck
00:54
Guys
Do you know why i get this error?
Nevermid!!
I solved :D
 
1 hour later…
02:01
@RonniSkansing Do you know or could guide me of how in a blade I call to a method in one controller?
user924016
@LuigiLopez you should not do that
user924016
When the user submit the form it will send a new request
user924016
for that request you add a post route that points to a controller
Thanks!!!
user924016
02:03
np have fun
02:31
hi, how can i check lines of a file and remove the files containing numbers only i tried this put it changed all lines
foreach($handle as $line) {
if (!ctype_digit($line)) {
$line = 'overwritten</br>';
echo $line;
}

}
Dan
Dan
02:44
Yo
Dan
Dan
03:00
My git-fu is lacking, so perhaps someone can suggest something here. I have a git repo at ./project1. I'd like to clone a different remote repo into ./project1/project2. I'd like to have the parent repo track the history of the child (as though nothing funny was going on), but still be able to pull upstream changes of the child into ./project1/project2. I will not be pushing changes to the child's remote.
03:46
i don't remember seeing anything about it on internals earlier, can someone point me to the original thinking behind PHP_OS_FAMILY
I'm failing to see how it's meaningfully different from PHP_OS or (php|posix)_uname('s')
@Dan a submodule should do it i guess, but honestly all of the solution has for "put some/all of another repo inside this repo" are crappy compared to what SVN did years ago, and what mercurial can do with subrepos
04:01
morning room!!!!!
good morning!!!
04:38
morning
Dan
Dan
05:25
@Stephen a submodule won't work, only because it won't keep the history in the parent repo; only the commit ref
@Dan sorry i didn't notice the bit about parent repo tracking the history
@Dan maybe something with hard links
 
1 hour later…
06:27
!!wotd
humblebrag: a statement intended as a boast or brag but disguised by a humble apology, complaint, etc.
that is yesterday's wotd
@bwoebi @DaveRandom Please review github.com/amphp/dns/commit/….
Sounds like Heisenberg :p
06:47
!!dad
I have a polish friend who is a roadie for a band I have a Czech one two, Czech one too, one too
hi
how can I get alter query for a column of a table?
I have this information when I execute show create table table_name
auditUpdated_at datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
07:17
PHP on FastCGI / override directives in php.ini files doesn't work anymore – #74757
07:32
Morning
07:43
mornin
@kelunik LGTM.
08:09
[tag;mon-ring]
Anonymous
mornin
\o
Anonymous
!!wotd
08:17
sibylline: mysterious; cryptic.
Anonymous
@Gordon yeah that's right. Noob.
Hey, I have a problem with merging two arrays. I know the solution is easy but I am now failing on it. Code and arrays here: gist.github.com/badbull/819e9c6863371c69552c841a92609cfb
Morniogn
Anonymous
yo pie eater
jayster o/
> I changed the existing PR to
throw a E_DEPRECATED notice on the cases where this RFC will cause a BC
break when the change is implemented to ease the detection of such cases.
Eeeeeeek @pmmaga
08:28
@PeeHaa also not a fan of the idea?
Very much not so
It has the potential to break code that is working just fine to accommodate the few cases where it is actually useful
i don't think that HAS to happen. I think it could prove useful but definitely not mandatory for the RFC.
are there people that actually promote DEPRECATED notices to exceptions out there? :X
Even if that is not the case. DEPRECATED filled logs for code that is still working as expected is meh
as no one apparently knew anything earlier, I shall pose my queries once more.
the notice could go on the last 7.x, it can not go at all if it is not viable. but i think that that's not what is being voted..
08:32
does anyone have a link or anything about the PHP_OS_FAMILY constant? I don't remember seeing it on internals?
It's in the rfc so surely it will be voted on
I wish the first rfc would have just gone through instead of this complication :P
yeah.. me too
@JayIsTooCommon did you just call me a noob?
but it wasn't going to pass.. but yeah, it sounds like I shouldn't have mentioned anything about the deprecation notice in the RFC itself...
Just so it is clear and I am not misreading it because I just woke up:
When exactly is the deprecation notice being outputted?
As in what triggers it?
08:38
Q : How to enabled php_fileinfo from php.
Adding an element with an implicit key after using an explicit negative key
so, on:
$a[-3] = true;
$a[] = true;

will throw for the second line
k
Going to give it some more thought this afternoon. But at first sight it's exactly what I didn't want to happen :-)
i'm tempted to remove the mentions of the deprecation of the RFC, close the existing PR and just have people voting on the idea of having it on 8.0. deprecation notice or not is just a potentially nice to have before the change happens
@pmmaga we'll skip 8. we'll go straight to 9. no more even major version numbers.
Anonymous
08:49
.yml Symfony parser pastebin.com/egFhNQpr why would 'secret:' throw A colon cannot be used in an unquoted mapping value but not the others?
@Gordon I thought we'd leave incremental spreads between major versions … 4 -> 5 -> 7 -> 10 -> 14 -> ...
@Gordon can we skip 9 and jump to 10 like windows ?
@Linus first we'll have PHP ME
@bwoebi fine with me, too. so yes @Linus, we can.
Okay, now I need help with squashing :P Can anyone commit their soul to making sure I don't break my commits? :D
git add ~/.soul
git commit -m "make sure @jimbo dont break his commits again"
08:56
Okay in a branch I want to merge into master, there's these 3 commits
I want them to just be the bottom commit
Here's what Version Control tab in PHPStorm looks like
soap? and here I was thinking working at trivago was cool
Yeah. It's depressing right now :P Google assholes
What am I doing to make those into the bottom commit? Do I rebase -i to the bottom hash and then force push?
:D
3 messages moved to Trash
Maybe I even need to cherry pick. My git foo sucks here
One more time, could someone help me with a array merging? Code will now duplicate too many questions. Code and arrays here, gist.github.com/badbull/819e9c6863371c69552c841a92609cfb
08:59
@Jimbo What are you trying to do?
I am not sure. they are merge commits so whatever they merged was applied into the history, or?
Yep they pulled from master in their branch to get up to date
@MadaraUchiha In the branch in the first screenshot, there's 3 commits (2 are merge commits). I want that to be one commit, so when it goes into master there's not all these extra shits
Or one is a merge commit. I don't know, it has an 'M' next to only one of them
We're using bitbucket
and that's why you git rebase
@Jimbo did you already push your branch to remote?
@Sjon Yes, the branch is already pushed
(It's not my branch)
09:02
Then I'd cherry pick that single commit on master so you don't need to force-push anything
if anyone else fetched those 3 commits, squashing them into one would break their clone
Nobody's pulled from those 3
then rebase -i; squash those 3 into one and force-push
this ^
and
Jun 8 at 19:51, by Gordon
merge commits are visual debt
Okay, so @Sjon I git rebase -i which hash do I add at the end
but imo the merge-commit wouldn't need squashing like you want
09:05
@Jimbo HEAD~3
Oh?
@Sjon agreed
because when you pull this into master you don't want the merge-commit to be included; just your single change
Sure
@Jimbo git rebase -i HEAD~3, but better paste the output here when you se pick commit
09:05
But if I squash it into 1, it's as if it was up-to-date with master when they added their stuff, right?
pick 0998472 [SEMS-17] Adds soap extension for php
pick 67645d1 Added docker configuration for RabbitMQ and AMQP extension for PHP
pick cd80b76 Merge branch 'master' of ssh://URLHERE into feature/SEMS-17-adds-soap-extension
Here's what I get
3 merge commits may have more commits in them, so you'll see in that screen when you do rebase
@Jimbo pick, squash, squash
So P because it's the one I want to squash them into
i.e. replace 2nd and 3rd with squash, save, close
or just manually reapply on a fresh branch from master. adding an extension cannot be this much
@Gordon This is just for me learning
09:07
@Jimbo is that interesting, assuming master will continue to exist and the feature-branch won't?
@Gordon I'm also for this, new branch, cherry pick, force push to master or whatever
I've never done the new branch + cherry pick
Looking back, you'd want that single commit in master; not a commit with unrelated merges squashed into it (imo)
@DejanMarjanovic I did what you suggested: pick, squash squash
Got an error message
error: could not apply 67645d1... Added docker configuration for RabbitMQ and AMQP extension for PHP

When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".

Could not apply 67645d11d8d0697a189bddf424faaeef02272538... Added docker configuration for RabbitMQ and AMQP extension for PHP
git rebase --abort
09:09
This is what I'm thinking haha
just cherry then
abort it, do git checkout -b master_new, git reset --hard HEAD~3, cherry pick, etc.
Okay so I need to do this cherry picking then. So - create a new branch, from this branch with the 3 commits or from master?
from master would the best, right
git checkout master, checkout -b new_feature_wihthout_crazy_merges, git cherry-pick
Hi, my mail-tester result is 10/10 but still my emails go to spam on Gmail, Outlook, etc. Do you have any idea what could be the issue? I'm using VestaCP on my server. (Sorry, if this question is irrelevant here...)
09:12
but don't cherry pick the merge commit
Okay, so I've created my new branch (from master)
from master because the merge commits in that branch have only been made to update to master
then just git cherrypick hash
And it's the hash of the one I want to keep
right
if you want to pick the last two, make sure to pick them in the order they've been commited
can you do git log -n 5 on that branch with the merges @Jimbo
09:13
The problem is, the one I want to keep doesn't contain changes from master
but you branched your branch from master, so it should include those already, shouldnt it?
They branched from master, did some work, pulled from master (which contained the AMQP commit you saw), finished their work, and pushed
user924016
morn
you can reset that new master branch to the commit from where the branched the master
and then apply
and then git rebase master on that new branch
09:15
Sorry for spam, will remove later. @DejanMarjanovic There's your git log -n 5
pick those commit: hashes (delete the log now)
sorry I suck at words, I know what to do
Haha no problem dude, halp!
@Jimbo yeah and you just branched from master, so your branch already contains the AMQP commit
@Gordon What I just pasted was the other person's branch with their commits
Not the branch I just created from master
git checkout master
git checkout -b new_feature
git cherry-pick 3cb3633dfdedc607fb8d1c74b7c564b7be0bf1d2
have you tried this? (I mean if that's what you want)
09:17
what dejan says
@DejanMarjanovic Okay so I'm making a new branch (I already did that, can just use that right?)
yes
yeah, should work fine
Then cherry-pick with the hash of.. the merge commit?
no, the commit, as I wrote up :-)
09:19
Yeah, it has d2 at the end. According to the log, that's for: "merge branch 'master' of blahblah"
huh? why not just git cherrypick 0998472
0998472 58842cb
you want to pick the soap one, right?
yeah, what @Gordon says :-)
Sure, you guys are pointing me to the hash for the merge commit though
09:20
> 0998472 [SEMS-17] Adds soap extension for php
merge commit is a commit, we're pointing to a commit before that one
yes, exactly
Okay
error: could not apply 0998472... [SEMS-17] Adds soap extension for php
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
ok, now go to phpstorm and right click the editor pane and choose git and then resolve conflicts from the submenu
Okay, doing :)
@Gordon Okay I've resolved conflicts
Now I just commit that as the change I want?
git add ., git commit -m 'I can haz git'
09:29
Holy shit it worked
It's so much easier just to use another branch!!
user4962466
just ship it, don't be a sophisticated jerk @Jimbo
2
Haha
@Gordon / @DejanMarjanovic Thanks a lot, my git foo just ++d
@0x13a How're you doing mate, how's stuff over in Lahndan?
user4962466
dude quite amazing
user4962466
09:38
i am working more with Go now
user4962466
:P
user4962466
i will come over in July for the party!
Go? Oh fuck
Ah great, looking forward to it!
@0x13a DeepMind stuff?
Anonymous
party!?
Anonymous
09:40
July!?
Anonymous
@Jimbo Why haven't you invited me.
user4962466
@JayIsTooCommon an amazing trivago party in mallorca
Anonymous
Do they allow you to bring partners?
user4962466
@FlorianMargaine images polling and boring stuffs
user4962466
only female ones
09:41
female polling?
user4962466
are you a php girl ?
Anonymous
I can work a skirt.
user4962466
LOL
@Jimbo I just helped you with git and I dont get invited to the party? that's just not cromulent.
Ah come on guys it's a trivago party :P Last time it was on a yacht
Then there's the huge full company party where last time they hired some place in the mountains or something
Anonymous
09:54
Surely you're allowed to bring partners?
Anonymous
Just pretend your gay and invite me ffs.
@Jimbo hey, look. we dont care who organized. we just wanna get alabandical with you
Anonymous
Your vocabulary frustrates me.
> trivago – Your application
I mean, komm schoen, you can party while your encoding sucks? @Jimbo :P
@JayIsTooCommon I sense a certain amarulence here
Anonymous
10:02
@Leigh ping.
@JayIsTooCommon jab.
Anonymous
You anywhere near the blaze?
@bwoebi Dunno why there was that if ($ttl).
Nope, it's far west, I can't even see smoke
(I did look)
@Gordon You're absolutely googling these
@DejanMarjanovic Bug report ;)
10:07
@Jimbo don't be so acrasial, you fopotee. I am full of flosculation!
HA got you, fopotee isn't a word!
@Jimbo That misquemes me. Of course it is.
Although I admit, I misspelled it. It's foppotee
now just get mingent, will you?
> It was used in the 1600's but somehow died off.
Such a shitpot
see, but it is a word :)
You're old enough to remember that!
Speaking of which, I'm 29 this month gasp
I'm waiting for that maturity day guys. It's not happening. When does it happen?
10:12
when you die
on a side note: "get mingent" must the most polite way of telling someone to piss off. i will adapt this into my permanent vocabulary.
It is rather splendid
It is also very close to minge
mornin
Which is why I think it's a particularly nice word to use, without saying the former
@Danack your site is down
10:23
@Jimbo for me, it wasn't age, it was events..
@FlorianMargaine Kids?
/ Marriage?
@DaveRandom I'm eating cookies for breakfast
marriage, not really
mostly the kid
suddenly you're like "shit, I have to help him not die"
3
10:24
Thank god, I still have time left to piss everyone off
(babies have a lot of occasions to die stupidly if you're not there)
tends to be the case with all babies
Anonymous
pfft weaklings
not just human babies
where @JayIsTooCommon wants to see baby death brawl
babies are the perfect excuse for not growing up. sure, they add some amount of responsibility and will mature you quite a bit, but you get to play with their toys and be silly and everything, so nope. not doing that for me.
10:28
I think if I had kids, I'd be a better children teacher
@Gordon You don't need babies yourself for that
@Tiffany When I have some free time, I successfully 'squashed' ;) I'll show you what I did with help from Gordon and Webfartoo in here
but not enough justification for me to have babies
alright
Anonymous
@PeeHaa yeah @Gordon, ever heard of toys r us? Much cheaper
10:29
@Jimbo is Webfartoo a nickname for someone else?
@Tiffany He used to be Webarto. Then someone called him Webfarto and he hated it so changed his name to Dejan and hoped he'd get away with it. But I never forgot
Ahhhhh
meanie
my cats are staring at me and my cereal with intense curiosity
Anonymous
May 19 at 10:55, by JayIsTooCommon
Just get a dog already.
dog would do the same thing
Anonymous
yes, but with love.
10:36
my cats do it with love too
Anonymous
pfft
it just doesn't work on me when I'm eating
one was like "aren't I cute? can't I have milk? please?" ... he's basically a dog in a cat body
posted on June 14, 2017

New Cyanide and Happiness Comic

^^ worth checking out... git repo
10:39
it links laravel
haha... And Symfony - you shouldn't have looked at "frameworks"
@SoVeryBritish
Very British Problems books: https://t.co/s6dusqHJtC & https://t.co/ENuC0VvKsZ • TV show: @netflix • Shirts: https://t.co/mcTVkEb1Nw
3.1k tweets, 2272k followers, following 1 users
@JayIsTooCommon yeah, but also much weirder. I mean, really? That wooden railroad is for you?
@JayIsTooCommon dog toys are not the same level of fun as kids toys
unless you like chewing on things
11:06
@everyboolean
Twittering every boolean value.
2 tweets, 1.1k followers, following 0 users
@PeeHaa the blog part is up - blog.basereality.com and I had to take the main bit down ages ago, as it had embarrassing content that I didn't want to come up during an interview.
And yeah - I should probably fix taht.
Anonymous
it's just a list to be fair
and it's from 2013
If I ever get to interview Danack I'll make sure to ask him Cake questions
@Danack What a load of crap
<3
@Danack Regarding blog.basereality.com/blog/17/PSR7_and_airing_of_grievances, are you happy with the new Artax API for Artax v3?
@Danack The Google cache and archive.org have it all, anyway. :P
11:44
Look at this epic fail: checkout.com/wp-admin/install.php
Very important website, handling payments etc. and now everyone is able install Wordpress :D
Anonymous
@mertyildiran no, you can't
Login as "laravel" password is "laravel"
@Jimbo hehe
Anonymous
wtf
Anonymous
11:46
XD
@Jimbo install backdoor using the file editor and remove the install file so nobody expects a thing
Check it out! : checkout.com
Check it out! : https://checkout.com
@JayIsTooCommon no I installed and after ~10 sec it went back to install page
I realized that give me a credit... :D
I visited that website to apply for a payment account and boom Wordpress install :D
lol "LARAVEL FUCK MY LIFE" who did that?
Please give me a credit on twitter. My website: mertyildiran.com
11:52
@Danack Maybe just redirect home to that for now?
@Jimbo Lol, it even has an EV cert.
I think they accidentally brought back the install folder then this happened...
Probably we wiped out their database lol
Finance sector is full of noobs...
Legendary, how'd you find it dudE?
It has 120 employees :'D
@JayIsTooCommon Screenshot for normal people?
> As Checkout.com is rapidly growing and expanding our capabilities, we are looking for a proactive Security Analyst to drive security awareness as well as adoption of security best practices across the business.
11:55
For a financial company that is just a scary fail
@kelunik Haven't had time to look.
They're looking for a Security Analyst... LOL
If somebody would have been really malicious instead of a troll they could have done some proper damage
I will take that job then.
I find out that shit :D
tnx @JayIsTooCommon sire
11:56
Please endorse me xD
@mertyildiran Incoming dildos and insertions in 3... 2...
@mertyildiran Seriously. You don't want to be endorsed by these guys on linkedin
It's mostly cucumber, butter etc
@Jimbo now I will motherfuckin shine dude or go to prison lol
lol
Should a function sendConfirmationEmail() be also responsible for updating the database if the mail had been sent successfully?
11:59
@CoderDudeTwodee Probably not
@PeeHaa SRP?
@JayIsTooCommon Why? It wasn't me...

« first day (2433 days earlier)      last day (2741 days later) »