« first day (2655 days earlier)      last day (2518 days later) » 

17:00
I'm messing with nginx a bit on my VPS. I thought about using Apache, but decided to just skip it since I know I ultimately want to switch to nginx anyway.
I would just say "exposure" or "proficiency" to server administration. Personally I just say the things I use like "Apache" or whatever on my resume then lump "the rest" in with just saying "Linux."
I just need to keep using linux until I can find stuff easily, know where stuff is installed, and if something fucks up, I have a general idea of how to fix it. I know I won't be able to account for everything in that regard...
@Allenph even though I have no exposure to Hyper-V or setting up the specifications for the VM?
Sure. They're going to ask you questions in whatever interview you get I'm sure.
not for an interview
we have to update our job descriptions each year at work, and I noticed my job description says nothing about what I do for the web servers, so I thought it should. I'm being asked to give exact details and verbiage for it
@Tiffany Watering the servers everyday
17:13
@PeeHaa :P
make sure they're growing like pretty little servers
Yep :D
Man. the bureaucracy is strong at your work @Tiffany.
well.. I think this is it. I might have mentioned it, but I've been working exclusively with node and hipster js frameworks for the past year and a half, and I now know it with great certainty. people might bitch about php, but composer > npm, auryn > any concept of dependency injection js knows, architecture with php > architecture with js
@Tiffany My team lead's official title (per his request) is "writer of code"
I want a php job back.
17:15
you can't have it
it's been given to Ranjit, he works for a quarter of your salary
lol
guess I'll just have to sneak in micro services where I can
it's true, he produces twice as many bugs as you and the projects take twice as long to complete, but on paper we're saving money
@Leigh If it's a quarter of your salary, and the projects take twice as long, seems like a net win to me :D
17:16
pfff ;)
depends on the project's income, actually
@Wes Ah, I see. We should have the complaint about the mismatch behind an option so people can ignore those if they care to.
@Leigh My math teacher's name was Ranjit.
@MadaraUchiha you up for some Overwatch tonight?
:D
@SaitamaSama Most likely
Hopefully nothing too drastic would come up
\o/ @Naruto and @samayo are getting on as well tonight
let's get a 4-stack going
17:21
Anyone using DigitalOcean here?
Wes
Wes
but need to save to a file, you don't want to read all that stuff in the console
@CoderDudeTwodee yes-ish
@Wes No, they can redirect it to a file if they care.
@Wes I wonder how many of the functions are just calling the constructors of the types.
@Tiffany Did you get the new update? I probably will be switching to DO from AWS.
(This is what I do when I have a function of the same name as a type)
17:26
And how's the support at digitalocean?
Wes
Wes
@LeviMorrison uhm?
@CoderDudeTwodee I dunno. I just started using Digital Ocean like a couple weeks ago.
@Wes You know, "symbola-check ... > filename.txt"
Haven't had to contact support yet, I've been able to find what I need through guides
What type of droplet did you get?
17:27
Basic shell redirection.
$10/month
Wes
Wes
i wasn't aware of the naming
@Tiffany 2 gigs?
Wes
Wes
but does that force newline at 80 like in the console, or not?
because you don't want to have file path split in multiple lines
totally annoying
@CoderDudeTwodee correct. I'm using it as a dev/test environment, so I don't need anything more. I was considering the $5/month option honestly, and I might switch to it.
17:29
How long does it normally take moderators to respond to flags?
@Tiffany DO does seems to have quite the reputation around, I might give it a try given that it also has a DC close to me.
How's the experience till now?
@JonathonPhilipChambers less than 4 days
Huh, because I just posted into the general stackoverflow something that should be moved to the security.stackoverflow
@CoderDudeTwodee what do you intend to use the server for?
But only a mod can do that
(I didn't even know we had a security.stackoverflow until now)
17:31
@MadaraUchiha can you help out this guy?
42 secs ago, by Jonathon Philip Chambers
Huh, because I just posted into the general stackoverflow something that should be moved to the security.stackoverflow
My college just recently gave me admin access to a 16 GB server from its own DC to build stuff for the college. I really hope I don't screw things up.
@CoderDudeTwodee I picked Digital Ocean because they were the first I thought of and no one was around at the time when I was asking for suggestions. I don't know how they compare to other VPS hosts though.
@tereško Uh, just regular development and testing.
17:32
@CoderDudeTwodee domain controller?
@Wes lol :=P
Wes, this may be the reason I am uncool
@CoderDudeTwodee then just pick up the cheapest on here: time4vps.eu
Thanks for the migration
Sorry, if I knew such an exchange existed, I would have posted it there instead.
> The first thing I ever read about $_GET is to never use it for passwords, but that's what I want to do.
5
lol
17:34
@Tiffany Uh, no. An Ubuntu 16 gigs Xeon server. Currently using it for hosting a website for the Uni's cultural fest.
I'm guessing this is me putting petrol in a Tesla again?
Yep
:P
@CoderDudeTwodee DC = ?
That's exactly what I was talking about :D
@Tiffany Sorry?
17:35
Okay, okay. Go easy on me. I didn't even know what html, css, php, and sql were a couple of months ago. I'm getting there slowly.
@JonathonPhilipChambers if people say don't do x
Maaaybe just don't do x
@Tiffany Datacenter
Well, a tiny one.
ahhh
Regardless of skill level
17:36
I'm used to it being domain controller
Oh, oops. Isn't that a Microsoft thing?
@PeeHaa I know, but if I never ask why or look for exceptions to the rule, I'll never be able to expand my knowledge on why not to do X
well, I have no idea what it is supposed to be either...
And learning is good
only things that come to mind are "direct current" and "direct connect"
17:38
@JonathonPhilipChambers There are more ways to expand one's knowledge though
@CoderDudeTwodee I didn't think it was, but apparently it is. ¯\_(ツ)_/¯
But whatever as long as it stays on main go wild :P
@tereško Time4VPS looks cheap.
"stays on main"?
@JonathonPhilipChambers have you looked at something like edx.org/course/…?
17:39
@CoderDudeTwodee yes, but I have no idea how good it actually is
It feels like it's too good to be true.
well, it is
I'd read the reviews first though.
@JonathonPhilipChambers Sorry. I mean as long as that stuff stays on the main site instead of here I am fine with it. Chat actually can somewhat be moderated
@CoderDudeTwodee the prices on the landing page are actually for when you buy a 2 year plan
17:41
/me is out for food
and I have no idea how reviews would help you
peace hate
lol
u best bruv
:D
@tereško Well, for one- the users seem retarded.
17:41
Seems legit
@Tiffany, right now I'm in the middle of youtube.com/channel/UCzyuZJ8zZ-Lhfnz41DG5qLw I find if I do two "beginner to expert" courses at the same time, I spend too much time learning the same thing twice.
Wes
Wes
@LeviMorrison so yeah apparently that doesn't wrap paths
hahahah
@Wes ... what do you mean?
17:42
@CoderDudeTwodee are you even aware how hard I have to try not to go for the low hanging fruit ?!
Wes
Wes
E:\word\dijdfsjoijojoijds\dsoijdsoijsdoijfdss\odfjoidsfpress\wp-includ <- 80 columns
es\class-wp-simplepie-sanitize-kses.php
i just wanted to make sure that it didn't do that :P
if i redirect it to a file it doesn't split lines
@Wes What does that?
Wes
Wes
cli apps. apparently i shouldn't exceed 80 cols
Or how do you check the lines are split?
Never seen that before I think
17:44
@Tiffany Not a fan of MySQL?
@tereško The low hanging fruit seems too low.
@Wes What shell?
Wes
Wes
it does that automatically. if the line is longer than 80 cols, it wraps the text
@JonathonPhilipChambers MySQLi specifically
Wes
Wes
cmd, powershell, both
17:44
lol
Wes
Wes
i had it set to 200 cols, but i'm gonna piss linux users if i use more than 80 cols, got it?
it's not an actual limitation :D
That's probably why. I never use cmd.exe
@Tiffany keep in mind, I have no idea about any of the differences between all the SQLs.
Wes
Wes
you can set it to whatever size you want
You shouldn't have to though :P
Wes
Wes
17:45
i think the default is 120
That's just retarded
@JonathonPhilipChambers do you know what SQL stands for?
Wait
@JonathonPhilipChambers stay away from that youtube channel
You still on windows 7 or something? @Wes
Wes
Wes
17:46
yes, but i have powershell
do you actually think that powershell is better than cmd? it's the same :B
@Wes powershell is a bit more powerful
@Tiffany I will just avoid it
Structured Query Language (I have to google it every time)
Wes
Wes
doesn't even support ansi colors
@Wes cygwin :P
17:47
@JonathonPhilipChambers so when you use the term "SQLs" ... you actually mean "databases"
Wes
Wes
i confirm, by default it's 120cols
No I mean SQL, SQLi, MySQL, and so on. I know a lot of words with SQL in them, and I have no idea what any of them mean.
if the database supports SQL, the syntax is roughly the same across the board. There may be some small differences from database to database, but not much
I just know it's something to do with that language I've been learning
lemme check on my machine because I would have totally noticed it before I would think?
17:48
> No I mean SQL, SQLi, MySQL, and so on
what the fuck are those?
what is "SQLi" ?
So, I am still in this confusion- Can views and twig templates be the same thing?
does "i" stand for "injection"?
@CoderDudeTwodee no
oh lordy
I give up
Wes
Wes
17:50
someone that uses symfony console around?
@JonathonPhilipChambers then you have completely no idea what you are talking about
So, how does a view's code look like?
Is it PHP? Is it HTML?
Nope @Wes
Just upgrade
@tereško pretty much.
Is it something else I never heard of before?
17:51
Works just fine for me. Nothing get broken up. It just does a softwrap in the window
@JonathonPhilipChambers SQL is a lanuage, "sql injection" is a form of an attack and MySQL is a product name of a specific RDBMS
you cannot group them together and simply refer to all of them as "SQLs"
it makes no fucking sense
I can't help but feel I'm being picked on and made fun of.
I don't give a flying fuck about your feelings
So, you care more about educating me?
@CoderDudeTwodee a view (if you actually need one) will contain the code for pulling data from the model layer, choosing template(s) and rendering the with previously mentioned "data"
optimally, a method call on a controller would return a response object
17:56
lol. just thought of a bad great name for an interface that returns a response - interface Responsible {}
@Wes It shouldn't wrap, correct.
@FélixGagnon-Grenier it should probably be called IResponsible
4
...iResponsible? >.>
17:58
class Home
{
    public function main($request)
    {

        $view = $this->container->get('templating');
        $responseProxy = $this->container->get('response-proxy');

        $html = $view->render('index.html',
                              $msg);

        $response = $responseProxy->createResponse($html);

        $response->prepare($request);

        $response->send();
    }
}
only for $99.99
@CoderDudeTwodee why are you not passing the dependencies in a constructor?
why use the service locator antipattern instead?
@tereško Does this look like a view?
it looks like a mess
Wes
Wes
@Tiffany the joke is, that in languages like C#, interface names (e.g. interface IFoo{}) are prepended with a I
if you knew that already, sorry :B
18:00
@tereško I tried to make it like Symfony. Can you please edit the code to make it look better?
I am at work
Ah, okay. I will do some research myself then.
@Wes I did not :P
Man the previous developer that just left has fucked up this repo worse than I've ever seen before.
So should it be something like:
18:02
@Allenph was it his last "fuck you"?
@Allenph new job?
@Tiffany No. Everyone here just has no idea what they're doing other than a couple devs.
@tereško No, unfortunately not.
looking for?
Yep.
yes (sarcastic hijack of the question, not anything to do with @Allenph)
18:03
not offering, just checking
class Home {
    public function __construct(Templating $templating) {

 }
Apparently I'm supposed to be the architect on this giant 6 month project though.
Yet again I'm in charge of a massive project I'm not at all ready for.
@tereško Does it look somewhat better?
@Allenph Ask for a raise and dedicated time to learn stuff.
@Wes predates c# by a long way.. I remember.. windows API programming, with their lpszWindowName and the like
(because that's how you knew it was a long pointer to a null terminated string)
Wes
Wes
18:06
ah winapi, such was a mess :D
@LeviMorrison I would assume it has nothing to do with "needing time to learn"
it's more like the feeling of "I am in charge of a Titanic and all I have is this spoon"
Well, that too. Plus, we have to clock 8 hours of billable time per day here.
basically - having no idea where to even begin and being quite sure that it might not even help
No free lunches. No learning time. No planning time.
We're expected to code 8 hours then go home.
18:08
@Allenph Stick up for yourself. If they ask you to do something beyond your basic capabilities they need to compensate for that somehow.
for as much as I harp on my job, it isn't that bad
I'd love to code for 8 hours then go home
stupid people getting in the way
@LeviMorrison I've been telling them that they need to not have 1 controller for the whole application not to use ORMs...especially on this project where half of the app depends on an API and the other half on out DB.
This is them telling me to go ahead and try it, but in a way that I'm set up to fail.
Then say so.
You don't have to be bullish. Just don't let yourself get thrown under the bus.
Then I'll end up working on the codebase they come up with. Which is worse.
18:13
so, you are stuck as an architect with developers who by all rights shouldnt even be employed in their current position
@tereško Auryn doesn't do the Service Locator antipattern?
can someone explain this to him? I really can't bring myself to do this song and dance the 200th time
@tereško Basically, yeah.
@CoderDudeTwodee Take a dependency injector and inject it into another class and you've probably created a service locator.
Same issue if you make it global.
18:16
@LeviMorrison Injecting the dependency injector itself?
@LeviMorrison Oh, okay. That just feels... wrong.
Auryn solves this problem? Never tried it before.
@LeviMorrison I think you misunderstood what he was asking, because he did not bother to make a full sentence
@tereško Related.
Wes
Wes
magic methods all over the place
18:34
Nov 21 '17 at 22:05, by Danack
Sep 28 at 12:36, by Danack
Jul 31 '16 at 20:33, by Danack
$injector->share($injector); //yolo
4
18:59
nite all
Wes
Wes
\o
Wes
Wes
19:12
i sometimes don't write because i don't want to combo break :P
ooops
@Wes same
19:27
shrugs
!!lxr instanceof_function
[ /Zend/zend_operators.c#2268 ] ZEND_API zend_bool ZEND_FASTCALL instanceof_function(const zend_class_entry *instance_ce, const zend_class_entry *ce) /* {{{ */
@MadaraUchiha ping
Anonymous
what about @Naruto ...
19:43
ping @Naruto :-P
hi all. I am getting "Class Not Found" errors when using a lookup table like this:

use App\Repositories\StatusSleeper;

$events = [
1 => 'StatusSleeper'
]

I'm trying to get my method to return a Class. When I hardcode the name of the class it works:

return (new StatusSleeper);
// Works

But when I try to make it dynamic based on the lookup tables it says "Class Not Found".

return (new $events[1]);
// Error: Class 'StatusSleeper' Not Found

However, when I include the namespace in the lookup table, it works:
What's for lunch.
@JPLew Have you tried making a temporary variable with the class name in It?
Not sure if that helps but I remember some weirdness with that from like a year ago.
so just concatenate it when returning?
like $class = $namespace . $events[$id]
Yeah. Try that.
19:53
that's what I'm doing and it's working, was just wondering if I'm missing something.
I'm not sure why it is that way, I just remember running into that before.
ok thanks for confirming :)
... I just sucessfully used Loop::run with yields and async requests for the first time. yay!
I love it when I open a project in phpstorm, and I can't remember why
I can't remember what I was going to do
I see you have projectivitis-acerbitis
20:02
@FélixGagnon-Grenier async is for kids, real men use threads :P
nothing worth putting on a to-do list, I remember that it was busywork in nature
lol
You don't use a project management tool?
I do
I have like...two or three
but like I said, it wasn't anything worth putting on either
I do and sometimes I don't.
it was something like "move this code into something I can include into other files" or "clean up this file"
20:04
When I don't. I'm less productive.
I have other things to work on, it was just something to keep my mind occupied until somethign more important came up
(and something did... hence why I forgot :D)
our department uses a free ticketing software called spiceworks, and then alongside that, I keep at least two other to-do lists on paper
Spiceworks.
Ever try Jira.
@SaitamaSama Sorry about that, got caught in an unavoidable phone call for an hour :x
Will be up in about 20
If you guys are still up for it that is.
Well I got off tho.... :( @samayo might still be playing
Anonymous
Not sure gonna stay for that long...
20:13
@SalOrozco it costs money
Anonymous
Just about to play one last match
Yeah, it does. All these tools should be free.
I can say with 95% positivity that we won't switch. Mind you, I work in IT, my job may involve web development, but the ticketing software has to encompass all of IT related stuff
and it looks like Jira is only for software development
@Tiffany well, when you embrace the whole atlassian suite, jira can be linked to projects and git repositories
I'm the only one in the department that knows what git is
sorry, our netadmin knows what it is, but that's it
the DBA, supervisor and sysadmin has heard of git, but they don't understand it
on the bright side, I cleaned my desk :P
I can actually find stuff again
hehehe, I never get to cleaning my desk. it's invariably a mess.
Really, before git i used to make copies of the dev folder lol
That's how the professor showed us.
@SalOrozco And so should food! And housing! And blackjack!
20:26
@Danack ...and hookers?
Wes
Wes
@LeviMorrison there is no difference in wordpress between case sensitive and insensitive
Night all o/
Ideally....
@SaitamaSama 'night
Wes
Wes
means that if public $foo; and public function foo() exist at the same time, they have the exact same case
20:28
@FélixGagnon-Grenier I need to clean out my OneDrive and network share drive
Wes
Wes
@LeviMorrison analyzing references is going to be much harder. i doubt i can do it
unless very basic like function bar(Bar $bar){ $bar->foo(); /* check if foo() matches the case of the declaration */ }
also i think there are already static analyzers that do that
phpstorm is one, i wonder if it can generate reports?
@Danack that be even better. Everything free. No worries.
@SalOrozco go back to the barter system
@Tiffany yes.
"Your rent is.... 150 hugs."
20:36
Simpler times.
lol. the free huggers at the metro entrance could be "hired" to pay your rent with hugs.
@FélixGagnon-Grenier what would they be paid with?
... more hugs?
or maybe food
probably food
Timezone gets truncated when formatted – #75857
20:47
@Wes do you happen to have a 32-bit windows build env handy?
Wes
Wes
nope, but i can download it from windows.php.net?
no I need to test a PR
I will just make a VM
thx anyway
Wes
Wes
:B
unrelated: why the hell everything comes as docker shit these days
I'm not sure that this trend can be... contained
Laravel "model" called "Resource" used literally everywhere with a two row. "primary_key" and "content" where everything is stored as a JSON string. Jesus save me.
20:55
He's on holiday
Can any php-src people tell me what the correct thing to do here is? github.com/php/php-src/pull/3028#discussion_r162821942 @bwoebi @NikiC @JoeWatkins @Sara apologies in advance for pings
The suggested ZEND_LONG_FMT_SPEC seems to be used almost nowhere
and the only def I can find for it seems to trace back to windows-specific stuff

« first day (2655 days earlier)      last day (2518 days later) »