« first day (2723 days earlier)      last day (2450 days later) » 
02:00 - 19:0019:00 - 22:00

Wes
Wes
02:34
i just broke the internet and i want to tell someone
03:18
morning room.
@Wes Dont do that. I use the internet.
@Danack where do you suggest I look for jobs? Like a particular site?
03:37
@Tiffany If you spice up your resume the place I've had the best success is shotgunning Craigslist. When they post there they're desperate.
Then after I got that job and had networked a bit by going to local meetups I could slingshot 20k every 6 to 12 months.
Then I capped out around 80. That's why I'm here. Learning enough to get the good job.
I've tried Craigslist... actually where I found the job I really wanted, but they turned me down because I didn't have enough website examples
It was a senior front end dev job, and I'm almost positive I would've done well in it because they weren't asking for a deep knowledge of js
... they also had office cats ... and that was the main reason I applied there ...
I'd like to find a graveyard shift job, honestly. I don't care if I have to go into an office for it... graveyard shift is kind of a dream for me because I'm nocturnal. I either have to be on rexulti or force myself to be a morning person, and it isn't easy.
And I'm not touching antipsychotics again, if I can help it
04:13
@Tiffany I would guess you're going to have a tough time finding shift work as a programmer. It's almost all salary and they want people who can work in a team during the day when everyone is available.
Sysadmin work sometimes has night shifts, but...
I want picky. I just plastered my resume on every listing.
The worst thing that could happen is that you don't want to work there after the interview.
 
3 hours later…
user8080618
07:16
anybody good in OOP?
08:00
kosher Informal. a. proper; legitimate. b. genuine; authentic.
morning
... and it has snowed again at night
08:12
hi I am using gmail smtp to send mail
but when I receive mail it shows gmailID which I set
How can I set other hosts like [email protected]
@TomJohnson do you actually have a question?
nevermind ... I'm just gonna go a some Warframe
@tereško I have small question here.In my new project where I am moved.The structure of code made in such a way that className::functionName is stored in table column
what do you this what is the advantage of this as compared to normal way?
what do you mean? Are those mean to URL routing?
I mean when one controller method call another controller method then it is fetched from table and then called
at the first glance I can only see it as a fix for PHP4 not having option to change method visibility (the protected and private stuff)
08:20
!!should I go to bed or go to the grocery store
You should go to bed.
Dammit
@Exception sounds like you are stuck on some "legacy project", which is ruled by some "really senior" developer
yes that's correct
I don't understand what this method will achieve.
from what I see: there is no advantage in doing that in PHP7
and instead you are having to pay a heavy penalty
08:24
well we are using php 5.3 and now moved to 5.6
buuuut ... you should not have one controller's public method calling another one
I am guessing that you have all then business logic stuck in those "contollers" and no service layer to speak of
we are using laravel 5.6 now
so it has middleware
and why you said about calling one public method via another?
any particular reason?
9 mins ago, by Exception
I mean when one controller method call another controller method then it is fetched from table and then called
I said that you should not be doing it
okay, but why not?
because that is not part of controller's responsibilities
if you do so, then you end up with a recreation of the include-oriented-programming paradigm ... especially since all your business logic is locked up in those controller methods
08:39
oh. okay
so what is the solution?you said about service layer.
using it will be the ideal solution..
?
morning
to get an ideal solution, you need an exceptionally smart team ... and you are working in a team, that came up with *that solution
what is timezone @mega6382 ?
but, having a proper service layer will improve things
haha
You know.. I can not replace seniors..
08:42
@Exception UGT
primarily, it will make the controllers more lightweight and remove the need for those cross-controller requests
09:19
can you suggest me some reference,because I am looking into google and there is no proper guidance..
10:06
Hello community
@Exception I have an issue to solve, can you share some insight.
@mega6382
I have 3,5 stored in the db, I just want to separate these two,find their respective names from another table,and then show names on the second last column in html table as comma separated name. How can this be achievable. Just some insight on this.
how to subtract 15 minutes from this current time: $current_time = date('h:i:A');
$out = $current_time - (15 * 60);
but it doesnot works
@hearthacker, get UNIX time, then subtract 15 minutes and convert with date('h:i:A');
@Ansh Why did you ping me?
Just wanted to get some insight.
OK, but don't ping random people. And usually on the weekends there are not alot of people here. So, be patient and someone might help you. )))
10:24
@notaprogrammer how can i covert into UNIX time?
using strtotime()
ya i tried this also but it doesnot works
$current_time = date('h:i:A');
$time = strtotime($current_time);
$time1 = $time - (15 * 60);
$final_time = date("h:i:A", $time1);
@hearthacker, $crnt_time = time();
$sub = $crnt_time - (15*60);
echo date('h:i:A', $sub);
@notaprogrammer ya its working thank you for your response
$format = "H-i";
date_default_timezone_set("GMT");
$date = date($format, time() - 60 * 15);
echo $date;
10:33
@hearthacker Just try this 3v4l.org/jnnLo
how to subtract 15 min from given time
$crnt_time = "03:47:PM";
$sub = $crnt_time - (15*60);
$datew = date('h:i:A', $sub);
get mega6382 sample
subtracting with current time working fine but unable to subtract with given time
$crnt_time = "03:47PM";
$sub = strtotime($crnt_time) - (15*60);
$datew = date('h:i:A', $sub);
echo $datew;
I'd recommend using DateTime::createFromFormat() (when possible) rather than strtotime() - strtotime() is error prone because of the way it tries to handle a range of formats.
user8080618
10:39
hello, in php class is "the" object; so OOP is like Class Oriented Programming?
@notaprogrammer awesme it working fine
thanks a lot
user8080618
and these classes have methods and properties
user8080618
or objects can be some other things too?
A class is not an object. A class is a class. An object is an instance of a class.
user8080618
and an object can be an instance of something other than a class?
10:41
No. An object is by definition an instance of a class.
user8080618
ok, thanks!
user8080618
I dont quite understand this, so I am doing the whole OOP now - php.net/manual/en/function.call-user-func.php - Changelog, Version 5.3.0, The interpretation of object oriented keywords like parent and self has changed. Previously, calling them using the double colon syntax would emit an E_STRICT warning because they were interpreted as static.
@hearthacker OR you can just try this 3v4l.org/ZrrEm
user8080618
so classes are like the "main roots" in object oriented programming; the classes can be declared; and objects originate from them?
@hearthacker There is no need to write extended login, when the PHP provides built-in functionality. Please, read up on Date/Time functions to get a better understanding.
user8080618
10:45
and then properties and methods of classes are objects too?
@TomJohnson OOP is mostly the same over various programming languages. Please, catch up on some tutorials about OOP to get a better understanding. Try reading this too stackoverflow.com/a/2079678/2394254
user8080618
ok, thanks, I will be going over the whole OOP on php.net now
user8080618
are there any good places for that, where this is explained?
user8080618
like to get a good picture of what all these terms mean
user8080618
maybe YouTube.com?
10:49
Just google "what is oop" and you'll find at least half a dozen decent articles on OOP along with some tutorial videos.
user8080618
ok, thanks a lot
user8080618
the man page that I was talking about, this is pertaining to calling a non-static method statically, correct?
how to display $des_cc=explode(',', $some_var); into <td> for each value.
So, many vamps here today, is it Halloween?
!!dad
Don't trust atoms They make up everything
11:04
@Ansh `foreach ($des_cc as $d) { echo "<td>$d</td>"; }`
Something like this? Or maybe better, write a question with your current code.
11:18
does duck appearing on anyone else profile of SO?
duck is only typing quack -_-
11:53
Morngins
12:08
o/
12:32
\o
12:59
Hello, is it possible to use php to change an elements css to display: block to retain a pop out form, incase of errors?
All info online suggests the use of stylesheet.php, but I am not too sure about using that
@Tpojka I am confused, are you helping or moking me?
Question is vague. Without more info, PHP can not change page. It can be done with JavaScript (i.e. AJAX). Link is pointed to article that is describing how question should look like.
I simply say this because I think I have asked a fair question, but your giving me some guide on how to ask a question?
@Tpojka My first part was the question, the second part was a solution i got, and therefore I mentioned it because I wasnt sure if it was good to apply?, how is that a poorly asked question?
@Tpojka Thank you, i guess i will make php call a javascript function, onload
13:49
@SShah it might be because of the way you phrase your sentence, but it's not clear that you understand the following: PHP does not execute on the client.
PHP can produce HTML code, with an onload event listener. the browser will call a javascript function, onload. Not PHP.
user8080618
php.net/manual/en/language.oop5.static.php - Like any other PHP static variable, static properties may only be initialized using a literal or constant before PHP 5.6; expressions are not allowed.
user8080618
What is a "literal". I found that this is a number, but this is probably not correct.
@TomJohnson In that context, anything you write directly in the code is a literal. So $a = 123; $b = "abc"; Both 123 and "abc" are literals.
user8080618
thanks
evening room.
user8080618
13:59
I've been reading php.net, I came across something that I did not understand so I started digging deeper, then I decided that I have to do the whole OOP on the php.net and I am getting stuck on some other aspect or aspects of this now :)
user8080618
of the OOP
user8080618
how good the php.net manual can be from 1-100? Is it good?
user8080618
or maybe it is badly written or overly hard and this is not needed?
@TomJohnson It is pretty good. However, for the 1000th time that someone tells you this, reading the entire manual won't give you much practical knowledge. You should really really start trying to actually create something. Putting the knowledge into practice is the best way to actually consolidate it
user8080618
yes, I understand that. Also, I am not reading the whole thing. I created a list of like 220 most popular functions and I've been going over that. I also have 2 Murach's books that I will read (MySQl + PHP overall). I feel like I need to do some theoretical preparation before I can start working on things.
user8080618
14:04
I did understand that the practical part is what is needed like 6+ months ago. For this I want to do GetBootstrap.com (I already know that, the manual and one book), the 2 Murachs books that I have (for the MySQL and PHP part) and go from there. The most popular PHP functions will be useful too.
@TomJohnson You'll be reading about 220 functions without relating it to any practical need. You'll probably forget it all in less than a month. If you look up a function when you actually need it and it solves a problem for you, then you'll learn about it, you'll understand it, why you need it and you won't forget it
user8080618
I will know when I am ready to start. I am not ready yet. But like I've been saying lately, I am on Level 2 now (my term; I already see an improvement, reading all these things is a lot easier and so on)
user8080618
yes, I actually forget what I read too, I noticed that. I know that you are 100% correct, but it just does not feel like phpStorm (that I have), GetBootstrap.com and MySQL + PHP from google.com yet
user8080618
I feel like I need and want to learn
user8080618
also, I want to specialize in this, be good
user8080618
14:07
I am more like studying this. Like I could easily answer any question on StackOverflow.com and so on. More like a university level of this
user8080618
do it right
user8080618
and also, I have time, I have a possibility to learn, so why not do it good
user8080618
like I said, when the time comes I wont be reading, I will be working on things, I am on the 8th month of learning now. I think like 2 years
user8080618
for the PHP and MySQL
how many accounts do you have here anyway?
user8080618
14:08
and also, I do the examples on the php.net, this teaches me things too
user8080618
I dont skip anything, I understand things fully before moving on
user8080618
all this is training me, I will be a different person "mentally" after like 2 years, more like a programmer's mindset, lets say
user8080618
this is more proper, Netbeans + google.com would finally teach me too, but phpStorm, Murach, doing things in more detail is a better thing
user8080618
the better the edu the better the written code (should be)
user8080618
and like I said, I am targeting being like in the top 10% of the php / mysql programmers in the World, maybe after like 10 years, something like this; I am targeting, I am not sure if I will be
user8080618
14:10
and again, I have time to learn, an opportunity, so again, why not do it good
user8080618
user8080618
basic php wordpress coding I was doing like 6 years ago and I was getting paid for that, so this is not new
user8080618
I also know all the websites part (seo, social media marketing, analytics, linux admin, various scripts, wordpress)
user8080618
6 years of experience in websites
user8080618
even if I read something, forget it, but I understood it earlier, it still has its use (big use)
user8080618
14:14
we are smarter than we think, probably, unconciously
user8080618
like I was taking a 2 months break before the current round of learning, I was passively learning during this time too
user8080618
organizing the info, optimizing and so on
user8080618
and now I feel stronger, after that
user8080618
so good training should be good
user8080618
and I read something and I dont understant, so it makes sense to take time and learn
user8080618
14:15
like I was saying, I also want to do the hardware part, good setup
user8080618
x amount of monitors that could be needed, maybe set up vertically, something like this
user8080618
the equipment part, do it good too
user8080618
if I will be able too
user8080618
like I've been learning nutrition / cooking
user8080618
get good tools
14:16
Can you use pastebin??
user8080618
This is from Murach's MySql (just any example, nothing particular) - prntscr.com/iyxhlb ; reading a book is different than reading google.com, better edu, more organized, different training
user8080618
so this is a positive thing, better
stop flooding this chat. I've an entire screen full of you talking to nobody.
user8080618
user8080618
14:25
good training, like the people who come up with the best musical hits (currently, like Kygo lets say or The Chainsmokers, as examples); they could have been training all their lives
user8080618
so what I try to do is the good training of this, and this should pay off
user8080618
and again, I am able to, meaning I have time, and as far as $$$ this is cheap
@TomJohnson can you stop that, it's irritating.
user8080618
ok
user8080618
14:26
he was probably playing all the dance songs all his life
user8080618
he got his style from that, training
@PeeHaa ...
user8080618
good training -> good hits; good training -> good programming
user8080618
even more so here
user8080618
14:28
all the aspects / layers of websites can be perfected
@MadaraUchiha ...
user8080618
better html, better php, better database, all is measurable, and can be getting improved
user8080618
good times we have now, sport equipment, cooking equipment, programming / Internet / computers
Kicked him
@TomJohnson Are you posting your life story here? What is all this nonsense?
stahp
14:41
@mega6382 HAMMERTIME!
is there a small duck on the lower right corner of SO now???????
omg ok
is that april's fool?
Wes
Wes
15:42
lhello
the duck is amazing
4
yo
@Wes dunno, I prefer deer
Quack
user8080618
in php there is just two types of methods: instance and static?
user8080618
15:58
and we can call an instance method statically and non-statically and then a static method statically and non-statically?
Wes
Wes
you can call a static method dynamically, but it would work like a static method...
user8080618
thanks @Wes
Wes
Wes
and you cannot call a dynamic method statically
user8080618
so an instance method is a dynamic method?
user8080618
I am trying to see 1) What types of methods there are 2) Then we have that static and non-static calling which was partially explained 3) And then calling statically would be denoted by the "::"?
Wes
Wes
16:13
->dynamic
::static
Hey, is the Duck like from the concept of "Rubber Duck Problem Solving"? Cause it seems to be serving that purpose. )))
Wes
Wes
dynamic means instance. it's usually referred as dynamic though
user8080618
@Wes - thanks a lot
user8080618
I've been stuck on this for two days now
Wes
Wes
@Ekin imagine living like this youtube.com/watch?v=mX4Lt466sqM
like mowgli but with dogs only
that guy is for sure at least 40kg
17:04
I think I made an error
17:20
@MadaraUchiha these two accounts: stackoverflow.com/users/9098366/thomas-morgan stackoverflow.com/users/8080618/tom-johnson are almost certainly the same person trying to get around people ignoring them, for having serious mental issues.
@PeeHaa can you escalate it to a month kick, if it isn't already? Using multiple accounts to avoid other people ignoring you is site violation.
Sadly I can't
I don't have the powers to handle trolls properly
In that case, we're going to just have to make this get awkward:
@Wes ha :D they're yuuge... and so fluffy
@Wes think I could do that...
Wes
Wes
lol
Looks like it's been handled by mods
Accounts are being burninated as we speak
17:28
* poof *
Wes
Wes
@MadaraUchiha checked that thing?
pretty sure I just saw a duck
@Wes Hmm?
... that must be new
17:30
@Ekin Check the date
Wes
Wes
--
What's so special about March 31st? :P
I see
Wes
Wes
@MadaraUchiha check the edited message ^
@Wes were you able to make php cmark work on windows?
Wes
Wes
17:34
not yet
I am trying but its not working
Was anyone able to make it work on windows?
@Tiffany I don't know. tbh a lot of the big sites are kind of terrible. I think the only thing I can suggest that might be of help is to recommend getting in touch with recruitment agent/headhunter that covers your area. Preferably find one that is reasonably honest. Decent recruitment agents are good at matching clients up with employees that are a good match for each other.
And obviously, bad recruitment agents just want you to accept the first job they find for you.....
@Sean I forgot to say; I find it a lot easier to just always use a real function with a name wherever possible, and only use closures where I'm actually closing over something. And even then I will assign the closure to a variable to give it a name: $createLabeler = function() {...}
It makes reading the code be so much easier when you come back to it more than 5 minutes later.
17:55
Doesn't he just want define there? cc @Sean
Unless I am reaaally misreading somewhere he just recreated define
@mega6382 what isn't working ?
The extension, I am getting "Failed loading php_cmark.dll" error.
you build it yourself, with cmark ?
No, got it from pecl
put it in ext dir ?
with the other dll in the archive ?
18:00
Yes
you may be able to put the other dll in bin directory ...
even the pdb files
got teamviewer ?
No, but can install it right now
do that, I'll look
18:01
ok
OK, installed, what do i do now?
send me partner id code so I can connect
you probably shouldn't put in here ... krakjoe at php dot net
weak
open house remote control @ mega's PC ;)
18:07
lame
mail me pass
pussy
:P
You feelin' extra australian @Pee?
cunt
But wouldn't the pass also be required or just the id?
and the id is sent btw.
18:10
yes, the pass as well ;)
but teamviewer passwords being [a-zA-Z0-9]{5}, there's not a lot of possible combinations
now gimme control
done, have your computer back ...
Thanks
and btw does zend_extension and extension make a difference?
yes, zend_extensions are distinct from extensions (zend_modules)
yes, just yes would have been fine ...
OK, and I think documentation should include that cmark.dll should be put in the main php directory.
zend_extension is a type, zend_module is a type, zend_module's are known as extensions and generally add classes or functions to php, zend_extensions are known by their real name and generally add some functionality to zend itself using instrumentation api provided to zend_extension but not zend_module ...
I think that might depend on your setup, but I hate windows, so do whatever you feel like is correct ...
if you want to make changes, login to edit.php.net with your social media/github username (not anonymously) and ping me when you have a list you want reviewed ...
it's a shame there was no overlap between @Jeeves and explain.so ...
high five if you remember explain.so ?
you youngens suck ... @PeeHaa should remember it ...
18:22
@JoeWatkins OK, but it is only giving me the option to login anonymously and to request an account. And when I click "Request an account" it shows me a link to this page doc.php.net/tutorial/joining.php
@JoeWatkins Never heard of it I think :P
I think it was the site that prompted you to ban me from doing frontend stuff ...
there's no Sign in With box to the right of the login box ?
Yes, and I clicked github and provided permissions.
18:24
I have no idea how it works
@JoeWatkins :D
And then it autopopulated the fields with my info, but still it remains the same otherwise
@PeeHaa do help, or login anonymously, but take note of the username ...
Wes
Wes
lol that guy @MadaraUchiha
because I'm not looking through a million pending requests ...
18:25
@JoeWatkins Wrong ping though :P
Oh
I see :P
Wes
Wes
so easily recognizable
no it wasn't, that was a request for help ... I've never logged in with any of that, guess you have ?
@mega6382 you don't see the social login block on the right of the login screen?
and I have, if anyone asks me to do web development, I tell them it's not allowed ... and I could be killed for transgressing internet rules ...
18:27
@PeeHaa I see that and I clicked github and it has populated the form fields with my info, but still only 2 options are available, 1 is to request an account and the other is to sign in anonymously.
Ah I see
You can just click login anon
It will use your github afaik
cc @Ekin ^
yeah although you get to click that anonymous login button anyway after github button
it shows as '<github_logo> <name> logged in' when you're in
yeah but why doesn't it redirect you to that rather than the login form ...
fix it fix it fix it ...
Nobody ain't touching that site :P
18:31
can we fix not having docs on github instead :P
don't think anybody likes that site
site, format, task ...
OK, @Ekin you are right, it does show that. Thanks
true
yw
and @PeeHaa just signed in too
what's more important, where it's stored, or the horrible format that scares everyone away ?
18:32
@JoeWatkins yes
:P
if he did that maybe he can also review the thing I submitted days ago - re the function Paul added
errrr
I can
or dunno who I need to ping
But need to login with my php account instead of git account
well there's some problem with that, we oughta wait until we know if the problem is going to be solved before adding that to manual ...
something something gcov build failure something something ...
18:33
@JoeWatkins ?
/cc @PaulCrovella
oh
@PaulCrovella
oooooooooh explain.so
Now I remember what that was / is
:P
edit.php.net came from a world predating git, it was an excellent attempt at opening up the documentation before the age of github ...
assumed so
and it arguably worked ...
I do hate it though, but at first I loved it, it stopped me breaking the build every five minutes ...
and I did break it every five minutes ...
is preview still mostly broken ?
18:38
Yes, I just tried to preview a file and couldn't see anything on it.
lol
yeah it occasionally works, but I could never figure out what broke it ... it's only some element(s) ...
Yea that's been broken now for a long time
@JoeWatkins Still would have nice to have some stupified interface instead of having to edit raw xml
But that's mostly because I hate cockbook docbook
Andreas Heigl is/was trying to get the editor moved to use git.
If I had spare time I'd love to help him out.
And he is never seen again
:P
18:46
## Title

### Title Abbreviation

Description

```prototype
function Hello::World()
```

```example[1][Say Hello World]
$o = new Hello();
$o->World();
```

```screen[1]
Hello World
```

{see also
  * linkid
  * linkid
}
we can dream ...
for some things, you would have to fall back on docbook, but for the vast majority of cases, it is so unnecessary ...
While we are at it can we also please kill translations
@JoeWatkins I am at the cmark installation doc file in the editor. I am thinking, if I should add the generic installation guide as it is on the other pecl extensions' installation page, along with a line referencing to copy the cmark.dll in the base of the php installation(on windows)?
sure, the pthreads pages might have useful info (on layout), that too has accompanying dso ...
OK, thanks will do that now.
02:00 - 19:0019:00 - 22:00

« first day (2723 days earlier)      last day (2450 days later) »