« first day (2722 days earlier)      last day (2451 days later) » 
03:00 - 18:0018:00 - 00:00

Wes
Wes
03:24
morn
kinda
5:24am here
morning its 8:30 am here
04:20
morning room.
04:35
StackExchange started site on Quantum computing quantumcomputing.stackexchange.com
Wes
Wes
meh
04:52
How would you guys get file extension from a Stream Resource?
stream resource @336 ▼
  timed_out: false
  blocked: true
  eof: false
  wrapper_data: StreamWrapper {#575 ▶}
  wrapper_type: "user-space"
  stream_type: "user-space"
  mode: "r+"
  unread_bytes: 0
  seekable: true
  uri: "guzzle://stream"
  options: []
}
05:20
Does any one have any idea or any thought on the above question?
 
2 hours later…
07:01
morningz
morning @JoeWatkins o/
07:25
mornin
meanwhile over in javascript land: reddit.com/r/programming/comments/886zji/…
3 million installs of a 'module' to do i % 2 === 0 in the last week.
its more characters to include the module than to do the test.
07:48
Hi guys. Help me nuke this idiot, please. stackoverflow.com/a/42937623/285587
a person with common sense (?) asking to nuke something ?
keh it is justified.
// goes away in anonymity
sepulcher a tomb, grave, or burial place.
08:05
mornin
08:16
much better to not write WTF comments...
!!dad
Why did the can-crusher quit his job? Because it was soda-pressing
Hey guys, I am about to go in for the AWS Certified developer - Associate exam. Please, wish me luck. :)
Good luck <3
Thanks, It starts in about 40 mins, I am currently sitting in a garden that is close to the exam center. Trying to go through some important points. ))))
08:25
You can do it :)\
08:56
Hi there :)

Is there any specific reason why `compact` notice us about undefined variables? From the [docs](https://php.net/compact):

> Any strings that are not set will simply be skipped.

I just learned that from https://github.com/doctrine/coding-standard/pull/49#pullrequestreview-108289401
* don't notice us
09:14
@Ikari u tagged me?
hum? no
tagged as in ping?
ye
I quote: ggs at me and samayo
no idea what you mean :P
oh, idk if I told you but I'm @Saitama :B
so... I was talking about those matches we were playing the previous night
09:47
I have successfully passed the exam. \o/
congrats
10:14
Is this sentence correct?
- Like always, when I was reading your reply I had feeling great
@mega6382 great, wish you all the bests
10:28
hello
I move my laravel project one server to another server so here in new server my api response comes different from old one. like in my old server every response comes in string but in new one response comes based on my database datatype. so is there any php version issue? In old server i installed php 5.4 and in new i installed php version 7.0
@Rajesh Probably random mysql vs mysqlnd driver?
i installed mysql
Well done?
:P
@Rajesh good question, I would like to know the answer, please if you get that, ping me and let me know the answer... thx
!!dad
10:32
What do you call somebody with no body and no nose? Nobody knows
@Rajesh had smthng similar, but in the end, it was Guzzle
10:45
@PeeHaa can explain what is mysqlnd driver
10:56
yo phomies
@Ikari O dear lord, you had a namechange, AGAIN?
... might have had
:P
@Naruto Yeah, he never can stop with them name and profile picture changes.
:P
there is no such thing as namechanges, you are new person 1,486,832 ...
@JoeWatkins I'll be completely available over the weekend to run tests on and maintain the code. I was completely busy with the exam preparations yesterday, and I didn't get a chance to do anything. So, don't worry. :)
@Shafizadeh No, i don't think so.
11:47
cool ...
I can't believe someone can reeeally hate doing any git stuff on cli
colleague commited with the previous, unrelated commit message
says it's going to stay like that if github doesn't allow changing it on ui :P
/me sighs
also every single commit he does mixes spaces and tabs now
What is wrong with people. Why would you use ui for git. Its so much cooler to use cli
he's a windows guy who only uses buttons in ide
says this is the power of windows...
at this point I am so annoyed I gave up on talking
Hi Team image facing same issue.

Let me explain. I have created API (Response format: json) which is working in local server. When I have migrated on live server the value of key in the api changed as per the column data type. For ex. for each value, datatype it returns string from local server but now it is based on the datatype of the column, if dataype is int then value datatype in response is int.

local
{
"id":"1"
}

live
{
"id":1
}
@HimanshuDudhat Didyu check the driver used yet?
wait wat
2 hours ago, by Rajesh
hello
I move my laravel project one server to another server so here in new server my api response comes different from old one. like in my old server every response comes in string but in new one response comes based on my database datatype. so is there any php version issue? In old server i installed php 5.4 and in new i installed php version 7.0
Read from there
user924016
12:47
lol
user924016
happy frydai
@BasheerAhmedKharoti pretty sure some people have, including: github.com/nao-pon/flysystem-google-drive
@Danack I've almost done with Oauth and even listing all the files but the download section seems confusing.
13:21
that's......nice?
Actually there are multiple methods for download:

Download a file — files.get with alt=media file resource
Download and export a Google Doc — files.export
Link a user to a file — webContentLink from the file resource
13:35
^ A programmer's poem
@mega6382 SO really should use another image-server-provider. imgur is filter in Iran :-(
@Shafizadeh use a proxy.
@mega6382 I do, but sadly proxies getting expensive these days ... 20$ per month for a UK proxy ..
@Shafizadeh Why would you pay for a proxy. Try something like zenmate, opera browser etc
are they free and working in Iran?
13:51
@Shafizadeh They should be. There is a premium version for zenmate but even the free version is more than satisfactory, and zenmate is available as browser plugin and desktop application. Opera is a full fledged browser built on top of chromium source, it provides built-in ad-blocker and VPN service.
nice.. I will give it a try
@mega6382 you're giving advice that is illegal in some countries, including possibly the one the person is in.
@Danack Freedom Of Information. But yeah you are right.
I don't know how accurate this graph is but Iran is like right in the middle of it le-vpn.com/wp-content/uploads/2016/05/censorshipinf1200x628.jpg
@Danack the person has name .. it's "Shafizadeh" ;-)
user8080618
14:13
hey, 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.
user8080618
class A {
public static function who() {
echo "A\n";
}
}

class B extends A {
public static function who() {
echo "B\n";
}
}

call_user_func(array('B', 'parent::who'));
user8080618
I've found an example like this, this has the "static" keywords, I am not sure if this makes a difference or not
user8080618
but something like "parent::", "self::"; E_STRICT warning because they were getting interpreted as static; so previously, what else were they suppose to be interpreted as in order not to emit this warning
user8080618
I am kind of stuck on this for 3rd hour now
user8080618
and the funny thing is that I read all about the OOP programming on php.net previously and I have forgotten it all :)
user8080618
14:17
but basically; "parent::", "self::" - this was getting interpreted as static in call_user_func and it was emitting an E_STRICT WARNING
user8080618
so non-static no warning, and this would be method, right?
user8080618
there are static methods and properties and also non-static methods and non-static properties?
user8080618
so non-static was ok, but "parent::" and "self::" was getting interpreted as static and this was generating a warning? Why?
user8080618
so they are interpreted as what now? as there is no longer the warning
user8080618
static and non-static, there is nothing esle; and this pertains to methods and properties of a class, and nothing else, in this context
user8080618
14:20
:)
I'm not sure if I'm at the right place to ask but I'll do it anyway.I'm having a few questions about staging deployment.I've understood that it can be categorized in Development, QA, Staging, and Production.
How do it split them up now?Is it right if i run the development and QA on my local environment where mobile developers can use the API.Then when its ready for staging I move it to an online environment.Is the staging environment accessible to everybody?Also, How are the databases shared(if they are shared)?And when I do CICD is it done towards the development server?
Wes
Wes
ewwwwwwwwwwwwww
got coffee with too much sugar
sucks to be you
@DaAmidza are you attempting to get a job in management?
Wes
Wes
:B
@DaveRandom no why?
Wes
Wes
14:27
i had to dilute with milk
and i am italian. do you have an idea how bad that is
@DaAmidza then my vote would be to not worry about it and do what you are told. That kind of process is defined by the management of a company.
user8080618
dont use sugar all together, I do that
it's company- and often project-specific
user8080618
probably healthier
@Wes how bad it is... to be an Italian?
14:28
@DaveRandom I run my own company(6 people in tottal) so I'm kind of interesting in setting this up right.
@DaAmidza what do those people do?
user8080618
average person consumes like 50 times more sugar per year than a person would do like 50 years ago, they put it into everything because it tastes better and people will buy it again
do you actually have a QA team, for example?
user8080618
Italian food is good, but is the economy bad there?
user8080618
Italy was like Germany, France, strong, it seems to have diminished, but I am not sure
user8080618
14:29
I've never been there yet
in fact better question @DaAmidza, tell me what those separate environments are for and you want them to fit in to your business process (in your own words)
Wes
Wes
:B
@DaveRandom We have: scrum master, Android dev, ios dev, full stack, backend and server (me) and a writer(he makes social media posts and whatever needs to be done.).Well for the QA it doesn't need to be set up i just want to know how it works with it.Well in my own words it would be like this.

Development: Working code copy.Changes made are deployed and new features can be tested.This environment gets rapidly updated.

QA:Environment for quality assurance.

Staging: This code is the release candidate.
I want to set up a base so it will defiantly benefit whatever we work on.
I'm just wondering what would be the best use case for us.
there is a English word which sounds "counter" and means "alternative". Does anybody what's that word? (for example "counter proposal" which means "alternative suggestion")
@DaAmidza the point is more... who is going to do the "QA" and what are they actually going to do? and who is going to have access to staging and what are they actually going to do there?
user8080618
14:38
counter productive
@DaveRandom the QA is more for us internally that we test it before putting it on the staging server.And staging is for people who we work for so they can see at which phase(latest stabile) it is.
where I am going with this is: I have never seen a "QA" environment that was functionally any different from "staging", I can imagine that it is a useful separation in a very large company/team, but unless your business process has some way to derive value from each stage, you need to ask yourself whether that stage is useful for your business
user8080618
having the opposite of the desired effect.
user8080618
from google.com
user8080618
productive / non-productive; good / not-good
14:39
Wow! PhpStorm self-updated twice in a row?
Miraculous!
Wes
Wes
i disabled the update :B
i don't have a big need for new stuff right now. waiting for you guys to test it out for me :B:B
@DaveRandom thanks for the advice I will definitely explore more to see if its suitable for us.Anyway, can you help me out with the setup and if I'm on the right track?
@LeviMorrison I don't know if this is the case, but I have always been under the impression that patch releases can self-update, but minors and majors don't
@DaveRandom Prior to these last two self-updates I've never had it self-update before.
Been using it for years lol
I rarely see it self-update but that's because I frequently ignore updates for weeks, so I've always assumed the above ^^ and that because I leave updates for ages, most of the time I'm getting at least a new minor
Wes
Wes
14:44
i disabled updates because every time it did them i got my settings lost :(
@DaAmidza my approach in my current job is that every dev has a local development instance, then every tag goes to "staging", where there is a short (and poorly managed) QA process before asking the client to sign off the current staging. I don't find any value in separating QA and staging.
@DaveRandom can you clarify me this part, please 'local development instance, then every tag goes to "staging"'... Do you mean by local development instance one that for example is run online on a GC Compute engine instance or local VM environment?And what do you mean by tag?
local VMs (or one person just has it on local machine because he runs ubuntu as his main OS)
and by tag I mean git tags
but really my main point is that there is no single prescribed magic-hammer approach that works in all situations, you need to come up with a thing that seems like it will work for you in context, and not be afraid to change it up if it's not working
@DaveRandom thanks a lot.I'm not afraid, just trying to start out with the first phase than I'll change it during the time.
@code-kobold None of your business. He deserved it, much more than those upvotes he has. Neither any other comment will do any good.
14:54
@TomJohnson this is an incredibly complicated subject, all you need to know is: forget about what PHP 5 did, don't use call_user_func[_array]() and if you need to reference a specific scope in something that crosses an API boundary, use a closure rather than a string or an array, and use bind()/bindTo() if necessary (although I don't think I have ever found it to be necessary in the normal way of things)
if you do follow those rules, you will steer clear of all the weird edge-cases
"forget about what PHP 5 did" is a general rule for everything, because no-one should be using it for anything any more
@YourCommonSense I assume he meant "reference" but agreed that that answer is helping no-one
resources really need to die
Morning.
Wes
Wes
@FélixGagnon-Grenier $be_canadian->harder() youtube.com/watch?v=IAfV66vMONA
3
cc @rlemon
With fast ZPP how do we know if an optional was passed? Check ZEND_NUM_ARGS()?
@bwoebi @kelunik so this inet_pton() thing has got me thinking about how almost every @ I see in the wild in PHP is on streams-related code, and I just had an idea I'd like your opinions on.
I was thinking we could add a new context parameter of error_mode or something, that would default to the current behaviour, but could also be set to silence them entirely, store them in the context so they can be retrieved with stream_context_get_options() (or something) and possibly a "callback" mode. Thoughts?
/cc anyone with an opinion
e v e n i n room.
15:29
@DaveRandom the problem is that some of the warnings are indicating a mistake under specific contexts, but in other contexts it's totally unhelpful
E.g. client vs server code: we expect rogue clients (server wishes to silently ignore that), but not rogue servers (client is stupefied towards weird servers)
so, yeah, a context parameter would probably solve that
ultimately it's only like one or two of the warnings which we want to ignore
@bwoebi in callback/storage-in-context mode, we could even add some extra classification indicator of logic error vs externally influenced error (would need better terminology, obv :-P)
and like I say, the default would be to simply use the current behaviour
@DaveRandom that's what I mean, instead of being completely silent
for the most part it could all be done with macros, at least in terms of the locations where the errors are emitted
@Wes I love matthias
Wes
Wes
me too
15:36
If I call Auryn's make method, in the second argument can I define things which are passed to dependencies?
elaborate please?
yeah, C code won't be much of a problem, rather the PHP user API ;-)
If I make class A which has class B as part of it's ctr, and in class B there's an argument like string $foo, can I use it like $injector->make(A::class, [':foo' => 'bar']);
hi everyone
@Sean This is in the docs.
Let me find it for you.
15:39
I have quick question: is it consider bad practise having an index of array like this $arr["https://chat.stackoverflow.com/rooms/11/php"]
@ManpreetSingh That's just an associative array.
PHP favors associative arrays over stdClass.
Doesn't cover whether it works with dependent objects
Oh. I see what you mean. You want to be able to pass different dependencies on the fly to class B?
Yeah, setting up a test to see if it works ^^
I'm not sure but I would guess you'd have to do this.
15:45
@Allenph what is it? :)
:41885316
@ManpreetSingh I wasn't talking to you about your question when I posted about Auryn.
Doesn't seem to work. PHP Fatal error: Uncaught Auryn\InjectionException: Injection definition required for interface LED\RGB Ah well!
I'm going to have to figure out a way to get Auryn to use the result of a method call as a constructor argument and call the method. Know how to do that @Sean?
Not yet!
15:53
Does anyone know how to use multiple initial data sets in a single DBUnit test class? Seems strange that there's only one getDataSet method.
delegateParam would be nice
Oh I'm stupid. I can just delegate class B and change the params that way
@Sean maybe just make a function to do the creation....
Aye, that's what I ended up doing.. I think.
$injector->share(Labeler::class);
$injector->delegate(MockRGB::class, function(\Auryn\Injector $injector, Labeler $ledLabeler) {
    return $injector->make(MockRGB::class, [':label' => $ledLabeler->createLabel() ]);
});
16:03
CONFIRMED: #SpaceX "fairing" recovery vessel Mr. Steven is heading for YOUR MOM'S HOUSE. Yes, you read that right. @elonmusk has some explaining to do. Credit to @thechriswessel for the find.
2
I'm certain that he's no better than the next crazy-ass billionaire, but I can't help but like his style
I'm sure he's nuts but that doesn't stop me from loving him.
evening pheepz
16:25
xD
@Allenph dude is basically real world Tony Stark
Basically.
read somewhere that they mirrored MCU Tony Stark after him
Rofl. Wow.
16:43
Hi guys!
in the bonus facts section of the article, kind of irks me how they portray his ex-wife as this bad person... they only show one side of the story... as brilliant as Elon Musk is, he's not an easy man to live with and be married to
I have started with php
Can you tell me in which file should we typically store your database credentials for the web app in any PHP framework like laravel
I have mine stored in a config file
and it is added to .gitignore
ok @Tiffany
Also, like if my web-app just crashed in production. There are no crash logs on the screen because you have turned them off. Where are the crash logs stored on the server by default?
I'll say up front, my codebase isn't written by me, and I've been informed by the lovely residents of this chat that parts of it suck ass. I've been given ideas on how to improve it, but this is how it currently works.
16:48
@NovoLucas there is no generic "default", it depends on the web server, OS and config
If there's an error in the production site, it sends me an email with the error message and a stack trace, plus server, client, user agent information, etc
on apache, typically they will be in Apache's logs by default
THE PROBLEM with my system is that if the SMTP server goes down... shit goes to hell
indead
it doesn't do a check to see if it can send an email, so it starts spazzing out
16:50
Mail crashes your entire system?
one time our network went down, and servers were coming up at different times... webserver came up before SMTP server, and since the webserver couldn't barrage me with emails about being unable to connect to the database, instead, displayed the errors that it couldn't email me on the front page... but I might have mistakenly had error reporting turned at that time because I was a dumbass
@Allenph no, if the SMTP server goes down, and the web server can't send me email if something's broke, it spazzes
"spazzes" isn't descriptive, but it does weird stuff
Still no word on the fairing. D:

#PrayForTheFairing
it needs to be rewritten to where it will check to see if it can email me, and if it can't, it will do something else... I have a couple ideas of how to go about it
either have it log the error to a file, or stick it in a queue, and wait until it can email me, then when it can, send me the queue
buuut all of my improvement ideas for our codebase are on the back burner, since we're probably switching web platforms sometime this year or next year... so it'd all be wasted effort
I mean, it would be nice to learn to do it, but I couldn't do it on work time :/
are you working today @Allenph?
@Tiffany Yeah.
D:
if you didn't hate colleges so much, I'd suggest looking for a job at a university :P
but then again, wages might be worse than what you already get
17:00
Yeah. I don't work on government projects.
@Tiffany "switching web platforms" meaning what exactly? rewriting it in something other than PHP?
(and if so, what?)
Aww. They lost the fairing.
@DaveRandom this is what we're looking at right now: hannonhill.com/products/cascade-cms/index.html
haven't decided, but probably 60-75% chance we're going that route
> Technology agnostic CMS
I already hate it
in their proposal they say that we can drop in code, .NET, PHP, whatever... but it seems to expect procedural code....
17:03
I can't even work out what that product actually does
cause something I would have to integrate into their software is built as an MVC-like structure... I can't just paste it onto a page and expect it to work
Just looks like another modx
the "tech" person they had on their call said that it could take any PHP, but I had to explain that it's a "MVC" architecture, so he asked for an example to show to their programming team... so I supplied one
@Tiffany how's your job hunting coming along?
I think it would be an excellent product for our end-users, who are the ones creating the content for our website, but it looks like it would be a nightmare to extend...
@Danack been to busy with other stuff to bother right now, lol
busy/stressed
@DaveRandom their server architecture has two servers, one has Cascade CMS installed on it, and that's what our web authors would log into to modify content. The Cascade CMS server pushes to the web server, which would be hosting the public website.
17:09
Placing database credentials outside of root- I could define them in a php file above root folder and include them in my database file that is also outside of root, or I could put them in a .ini file and use $configuration = parse_ini_file('../configuration.ini'); - is there any security benefit to one over the other or are they basically just a different way of doing the same thing?
they claim that it's fast to load, but my boss looked at a bunch of their customers' websites and he felt they were a little sluggish and felt cookie-cutter in design
user9098366
hello, would anybody know this? php.net/manual/en/function.call-user-func.php ; Changelog, 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.
user9098366
This is - "Calling a non-static method statically used to emit a warning in PHP earlier than 7.x". This is now changed. But this pertains to this?
user9098366
so using "parent::" and "self::" means that we are calling a non-static method and are doing it staticallt, so the E_STRICT warning gets emitted? This would be the meaning of this "Changelog" text?
user9098366
a method can be static or non-static? Just these two types? So we are assuming that if we use these keywords the target method is non-static? Why?
user9098366
17:14
I just dont get these things. I've been working on this for a couple of hours now.
user9098366
you can basically open up the php.net url, and read the changelog part, this is what I am talking about
user9098366
Did using these keywords meant that the target function was non-static and that we were doing it statically, so the E_STRICT warning was emitted?
user9098366
like using "parent::" or "self::" in call_user_func() would mean calling a non-static method statically (and warning because of that)
..@Wes I'm watching a video on C#... and they used the "noughties" word... how the hell have I never heard of it before you mentioned it
@ThomasMorgan 3v4l.org/oY0mf - what problem are you trying to solve though?
@Tiffany that's how they get you. Make it so you don't have enough energy to look for a better position.
user9098366
17:22
Thanks @Danack - I am just reading the man pages and I got stuck on that. I am trying to understand it theoretically and move on.
@Danack I also have a confidence issue :P
@ThomasMorgan how about just ignoring ancient bugs that got fixed and doing something more productive?
@Danack because he ignores advice, chooses to ramble on about inane things, and insists on reading, reading, reading and not actually trying to build something
oh, right.
user9098366
@Danack - I just want to understand what this means. 1) I am assuming - Calling a non-static method statically used to emit a warning in PHP 5.x 2) So there is non-static and static methods (only these two types?) 3) If yes, how do we know that the target method is non-static, this would be assumed.
17:25
Mar 20 at 12:18, by Danack
@ThomasMorgan you urgently need to go and talk to your doctor about your ocd spiralling out of control.
@ThomasMorgan how did that conversation go?
user9098366
parent::FuncName, self::Func2name
user9098366
within call_user_func; I have some code example like this: pastebin.com/gEZsqY0m ;this is from php.net, the static keyword is there (I am not sure if it needs to be there as related to what I am talking about). I was also looking at your example, but basically the 3 points that I have raised above
user9098366
1) is this it? 2) just these 2 types 3) how do we assume that the target method is non-static?
@ThomasMorgan I wasn't fucking joking. You need to talk to someone about your OCD which is getting in the way of you being able to function.
user9098366
@Danack - after 8 months of learning I already feel like Level 2, all is easier now, like I could read the whole php.net a couple of times
17:31
@Danack not entirely sure it's OCD, but it's definitely something. I'm not being judgmental either, as I have my own battles with mental health
What the fuck is level 2?
(as I've detailed many times before :X)
user9098366
All is easier, not as hard to read and learn
user9098366
more like reading a book instead of hard math examples
user9098366
so the next month will be the same progress times two possibly
user9098366
17:32
so getting better, with the work that I put in
@Allenph my guess is a comparison to leveling in a video game
user9098366
I actually had like 2 full months of a break, and I think that drinking alcohol helps, when you get sutck, mentally
user9098366
"it clears the cache", at least try that
user9098366
supplementation, I am not sure, I did lecitine, magnesium and lineseed oil (for Omega 3)
user9098366
but drinking, you can try, when you tired and you get stuck
user9098366
17:34
it seemed to work for me
user9098366
I am also thinking about the hardware setup, do it good, after I learn
user9098366
like multiple monitors and so on, phpStorm and other software, do the software part good, but this after like 3 years in this
I'm un-ignoring you just this once, @ThomasMorgan/@AaronSmith/@TomJohnson, talk to your general physician, explain that you need mental help, ask for a recommendation to either a therapist, counselor, or psychologist, AND GET HELP MAN
get a diagnosis, and start treatment
and learn to chill the fuck out
user9098366
php.net/manual/en/function.call-user-func.php - "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."; I am "here" now.
what you're doing is not healthy to your psychological state
and trying to find ways to "cope" like alcohol, isn't healthy either
but of course, you're just going to ignore advice given to you cause it doesn't follow your rhetoric
Wes
Wes
17:37
ah now i get why all the people looked like that guy
Hmmm. What a lively evening. Mornings, ladies and gents.
user9098366
1) Calling a non-static function statically, correct? 2) If yes, how do we assume that the target method is non-static? 3) Just these two types exist - static / non-static?
and back to ignore
user9098366
I learn about food / nutrition and I've been doing sport for close to 12 months now
user9098366
programming + healthy lifestyle - these are my interests now, programming main, and the healthy lifestyle as a hobby - theory and practice
17:39
@Tiffany one pattern that is useful to do, is to get into the habit of spending something like 2 hours a week looking for a better job or related activities, like polishing CV, going to meetups/usergroups. Although great jobs don't often come along, being always on the lookout makes it more likely you'll find them, and be in a position to apply for them.
Wes
Wes
> Tiffany liked your Tweet
@Wes you told me not to like it, so I had to like it
@Danack I've tried looking for PHP usergroups in my area, and the nearest are either 2.5 hours away, or six hours away. I'm also not that social... I tend to just be annoying in person. ...I know... I need to put myself out there, somehow... I just don't like leaving my home unless it's absolutely necessary, or I'm doing it for something I truly enjoy.
@Wes That guy is amazing.
Wes
Wes
ye lol
@Tiffany you are just like the average programmer, you know :B
I mean... what a guy. My hobbies suck.
Wes
Wes
17:43
you play an instrument
i don't even do that
Placing database credentials outside of root- I could define them in a php file above root folder and include them in my database file that is also outside of root, or I could put them in a .ini file and use $configuration = parse_ini_file('../configuration.ini'); - is there any security benefit to one over the other or are they basically just a different way of doing the same thing?
user9098366
sport is good, you put these activities into yourself, day after day, just like learning the programming, getting better
user9098366
swimming, running / walking, climbing stairs, bike, jump rope, home fitness exercises
How do you guys do schema version control?
user9098366
various activities as the most bottom level of healty eating pyramide
user9098366
17:46
cooking is good too, if you have the money (I dont yet) - good kitchen equipment, good foods, some edu and you eat good
I know :S
A while back Joe made a comment about how he doesn't like going to conferences, and I'm in the same boat as him... I only go to conferences/geek conventions if there's something I really want to see. I just get ... overwhelmed ... by people. Any social event I go to, I end up having to take a break from social interaction for 20-30 minutes. Even family events...
user9098366
some sport
@BruceBanEm More or less different way of doing the same thing. I like to use JSON, other people love YAML, etc.
user9098366
but not all people are the same, I base it on what I want to do in my age
user9098366
I was not doing anything like that for like 6 years, just in front of the pc all days
17:47
@BruceBanEm Having either a php or ini file outside of public directory is equivalent in terms of security, as far as I know.
user9098366
I was getting out of the house, walking like 150 meters and cauging, 60 kg overweight, but I changed that
user9098366
but somebody told me that he actually got sick because of just sitting in front of the pc and I was getting to that state, I think
user9098366
so that healthy lifestyle is a needed thing
user9098366
active lifestyle, healthy eating, this is kind of whats in fashion now (at least where I am)
user9098366
17:51
but this should be a good mindset to have
user9098366
after running a person feels good
Thanks @Allenph and @FélixGagnon-Grenier -- @FélixGagnon-Grenier I actually have one of your answers open right now in one of my 78~ tabs. Working on implementing RBAC into my site and part of the process is changing the way I do my database connections in an OOP approach with classes as well as dependency injection. During this process I'm also trying to eliminate my use of mysqli and switch to PDO- anyway, a lot of changes to my approach. Thanks for your help.
user9098366
people get addicted to this
posted on March 30, 2018

New Cyanide and Happiness Comic

user9098366
user9098366
17:56
Do that!!!
user9098366
learning and practicing new sport is personal development, you get better than other people are; not like some 40 something people on tv who cant do basic fitness things
user9098366
clumsy and so on, run down physically...
user9098366
hygiene of life, physical culture
user9098366
this seems to be in fashion now, be active, not-overweight, healthy food
user9098366
and this is good
17:59
@BruceBanEm Nice! If I may, make sure you make frequent small single-minded commits (assuming you are using source control). Too often have I screwed such refactoring by doing too many things at once.
03:00 - 18:0018:00 - 00:00

« first day (2722 days earlier)      last day (2451 days later) »