« first day (2785 days earlier)      last day (2167 days later) » 

7:00 AM
I was talking to sombody who does the php dev, and he was looking at me like I dont understad
 
Wes
i have so many people ignored
 
and again, two people that I was talking to where I live said - learn by doing
 
@ten5 That sounds about right.
 
so a) blueprint of a project b) (permissions) database c) html as a skleleton d) add the php code to that
how do we build this skyscrapers, step by step...
basically, good info like this and I would be two months away from getting the first job
more like a low pay intership, but i could probably start...
there are books - how to build your own blog and how to build your own cms, programming, but old
I may get these
if I would have this "skeleton info" I could put what I know on this and then continue better, connect what I dont get yet
also like a variable or array, how do we use these, in general
we pull stuff from a database and put it into arrays, then we process it
like the actual practical uses of variables / arrays, in real like / coding
 
@ten5 Have a filter between your thoughts and the keyboard, you are rambling again.
 
7:03 AM
I really dont see it, still
or the namespaces, like the layers of this (writing an app)
 
Keep your OCD in check.
 
this seems like what I am lacking at this point
 
noisy
 
are there any sources of this info on the Net, that you could possibly recommend?
and also Atom, SublimeText - a person recommended these
the Atom is free, seems like a copy of phpStorm to some degree, but I have not installed yet (I was just looking at Google Images)
ok, I will stop now
thanks!
 
no, thank you ...
 
7:05 AM
beer - not good - dont drink it
cognac - good
red wine good - but like one glass per week only, white wine - not as good
 
are you fucking broken ?
 
OK, that's it, someone kick this guy.
 
brown rice, whole grain rice, wild rice, all groats / greets, all lentils
 
Do tell.
 
:P
 
7:08 AM
ok, I will stop
 
No you won't, face the truth.
 
I've been researching the healthy lifestyle topic for some time
 
@Allenph I'm sorry. <3
 
a lot of crap out there, everywhere
 
Are you vegan?
 
7:16 AM
@Ende No, but most of animals I eat actually are. :P
 
Damn
Very good answer
 
@Tpojka So, vegan by association?
 
:D
 
morning @Danack, morning @Danack's beard ...
 
@Danack beard has his own rights aswell?
 
7:22 AM
@Ende His beard has more rights than you do. :P
 
For real , what kind of rights are that than xD
 
7:45 AM
anyone that know method that use session data in hooks of ci?
 
how are sessions related to continues integration ?
 
:P
 
@tereško you said to me?
 
@tereško It might be the other CI.
 
you mean Travis instead of GitLab?
 
7:53 AM
 
o/
 
\o
 
o/
 
Wes
this is the most British thing I’ve seen all week https://t.co/woPxspnlKw
not sure if it's british but it's great
 
concupiscent lustful or sensual.
 
8:04 AM
What's happening with namespaced scope declares?
 
which file should describe customizer action of wp theme
???
i am describing this code in function.php of wordpress theme.
<?php
/**
* Contains methods for customizing the theme customization screen.
*
* @link http://codex.wordpress.org/Theme_Customization_API
* @since MyTheme 1.0
*/
class MyTheme_Customize {
/**
* This hooks into 'customize_register' (available as of WP 3.4) and allows
* you to add new sections and controls to the Theme Customize screen.
*
* Note: To enable instant preview, we have to actually write a bit of custom
* javascript. See live_preview() for more.
*
* @see add_action('customize_register',$func)
But when i click apperance->customize of wordpress dashboard, i don't check added panel
 
@Jincowboy afaik nobody uses wp here.
 
so couldn't you help me?
 
@Jincowboy As long as WP can see the action adding it should be fine. So your theme should be enabled
 
But It is not good in theme customizing step
 
8:11 AM
If it's enabled and WP isn't seeing / using this customizer box when the code is in functions.php, then it's nothing to do with the location of your code
 
yeah, do you think why it is not working in my end @Sean
 
If in doubt, start dropping dies in until you break your script. Drop a die in your register method and go to the customiser
 
do you recommend something like this code?
function themename_customize_register($wp_customize){

$wp_customize->add_section('themename_color_scheme', array(
'title' => __('Color Scheme', 'themename'),
'description' => '',
'priority' => 120,
));

// =============================
// = Text Input =
// =============================
$wp_customize->add_setting('themename_theme_options[text_test]', array(
'default' => 'value_xyz',
'capability' => 'edit_theme_options',
'type' => 'option',

));

$wp_customize->add_control('themename_text_test', array(
 
ThW
Morning
 
what with the fucking walls of code?
 
8:19 AM
@Jincowboy For Wordpress questions I would recommend just asking it on wordpress.stackexchange.com
Wordpress, Laravel etc... it's just a co-incidence they were written in PHP
 
thanks @Jimbo
 
Wes
8:55 AM
i am starting to see the world with the eyes of @tereško
so many tiny avatars lately
 
Wes
9:17 AM
(removed)
 
(💩)
 
DateTime: constants moved into DateTimeInterface – #76401
 
9:46 AM
Oh damn, that's pretty baller. The guy who filed issues to remove i'm a teapot implementations from libraries has since went into the process of getting code 418 marked as reserved :V (after the overwhelming response to keep it in)
 
9:58 AM
@mega6382 Hahahaha!! I was laughing so hard reading this...
Morning all.
 
I think I will start need tho watch these DnD videos: twitter.com/Ritualist_dA/status/999890342320066560 :D
 
Wow... so many hilarious conversations and... ramblings from a certain "public figure" this morning in chat. Love to start the day off with a laugh.
I used to watch Wizards of the Coast play D&D on YouTube some. Haven't watched in a while. @tereško
 
those probably are very tame
 
Probably so compared to that Twitter post. =D
 
ThW
10:17 AM
@Sean The reason is the same - the implementation should match the defined standard.
 
10:28 AM
Probably a dumb and too broad a question, but "What is the best singular book about programming?"
 
@mega6382 TAOCP
(ignoring the fact you said singular book)
It is undoubtedly the best compendium of programming knowledge
 
sorry if it's wrong to ask it here, but any idea why I can't access a 711 folder in my CentOS WHM ftp ? :| i used shh and generated key etc coz thats how google cloud computing VM works. 755 folders open but 711 wont open, but i should be admin tho ?
 
You understand how the numbers work?

read, write, execute - 4, 2, 1

You've given full rwx to the owner, execute only to the group and others (execute only rarely makes sense)
If you have ssh access, check the owner, and check your current user
 
well I might not fully understand it, but as far as i remember, first number is for admin ? and 7 = u can do everything ? and I should be admin, so 711 and 755 both should be ok for admin, right ?
 
first number is for the owner, not "admin"
files can be owned by people who are not you
 
10:37 AM
what do you mean by "admin"?
there is no "admin" user on linux, there is only "root"
 
oh, if the whole server is for me, and i am the owner, is it fine and no security risk if i just make everything 771 or 755 or such ?

the thing is, It's my own VM from google, and i just made a ftp for the whole vm, but i can't open the /home directory, coz its 711, while etc and other directly with 755 works
 
hire a sysadmin
 
morning
 
o/
 
\o
 
10:38 AM
i had VM before, and used normal ftp, never had problem with these files. and 711 opened easily. but this google cloud computing made me have to make some change :|
 
I made cinnamon rolls :D
 
@Leigh Thanks, seems to be a lot of books. :)
 
my mood has noticeably improved since receiving that email from SiteLock
 
:) when is the interview btw?
 
@mega6382 and Knuth isn't even finished with it yet
 
10:41 AM
Well thanks i think i understands whats up a bit. I change the directly to 751 for now and use it until i get better solution.
 
he's pretty much given up doing anything else so he can finish them before he dies
@mega6382 dunno yet, need to make sure I haven't ruined my chances.......
 
@Tiffany Yeah, I was reading 4 more books are planned.
 
the dude is a legend
 
@Tiffany Yeah, I saw his picture and was like, "is he dead yet?"
 
he used to give money to people who found errors in his book
used to be real money but something about his checking account number if people took pictures of the check
so he came up with a fake bank and issues Knuth dollars
 
10:44 AM
Morgen
 
Knuth reward checks are checks or check-like certificates awarded by computer scientist Donald Knuth for finding mathematical errors, or making substantial suggestions for his publications. The MIT Technology Review describes the checks as "among computerdom's most prized trophies". == History == Initially, Knuth sent real, negotiable checks to recipients. He stopped doing so in October 2008 because of problems with check fraud. As a replacement, he started his own "Bank of San Serriffe", in the fictional nation of San Serriffe, which keeps an account for everyone who found an error since 2006...
he also has a great sense of humor :)
 
10:55 AM
cool
 
11:09 AM
moin
@EarvinNillCastillo looks like you forgot to change the test script to use the correct COM port (6 iirc?) change const COM_PORT = 1; to const COM_PORT = 6;
 
Christopher i/
 
only my mother calls me that, and only when I am in trouble
 
:)
 
I am willing to accept you as my mother, but why am I in trouble?
7
 
You tell me mister
 
11:13 AM
is it because I started making all optional parameters nullable?
 
What do you think Christopher Wright?
 
I think the 5th donut was a bad idea
I don't feel great rn
 
:P
@Wes heheheh
 
Wes
i can't even find it anymore
 
:D
 
Wes
11:19 AM
must be in some lost new folder (3)\new folder (28)\new folder(12)
 
And all that is on your desktop where it belongs I assume?
 
Wes
ofc
 
I have at least 25 nested levels of crap off desktop\crap off desktop\... on my desktop
 
:D
We all suck
 
maybe another donut will help
 
11:22 AM
Send me on too please
Bonuspoints for also sending over some bacon :P
 
I would, but it would make the "10 for £0.75" deal in Morrisons considerably less economical
stupidly I went into a supermarket while hungry this morning, and walked out with 4 sausage rolls and 10 donuts
there is now one sausage roll and 5 donuts left, and I feel sick
so all in all, a successful friday morning
 
:P
I need to do both breakfast and groceries too
 
the implication that "groceries" is not a strict subset of "breakfast" concerns me
 
I don't call ordering in breakfast or going out for breakfast groceries :D
 
this is the point at which I am forced to admit I have ordered delivery pizza for breakfast before now
 
11:29 AM
Did the same yesterday :D
 
the donut digestion process seems to be interfering with my ability to actually type all the words in a sentence
 
I miss proper donuts
 
is that like Miss World? I would be much more on board with a Miss Proper Donuts pageant
 
hehehehe
 
Guys, checkout my new Personal HomePage mega6382.me
 
11:40 AM
Riiiiiite
 
calling it a "Personal HomePage" makes me expect geocities
it had better be geocities
disappointed
 
whats geocities?
8
 
lol
 
I am so old
 
I like to call it "wise" instead
Or battletested
 
Wes
11:42 AM
geocities was the facebook of the mid 90->00
 
Well I wasn't alive back then, so, I don't really care. :P
 
Wes
you are such a disappointment
 
oh of course it died, Yahoo! bought it
 
Wes
actually i think in the 2000 geocities was already on the path of dying
lol
 
11:45 AM
Yahoo! really should change their logo to a Y in a grim reaper cowl, with the ! as the handle of the scythe
 
@DaveRandom Maybe @Wes can help them with that.
@Ocramius :P
 
My biggest wish for the tech industry is that Yahoo! buys Oracle
 
Which in an interesting turn of events would make them own VirtualBox
(now with ads at the top of your VM \o/)
 
tbf I suspect the only reason we don't have that already is that Oracle don't employ anyone with enough brain cells to think of it
 
@DaveRandom I remember Geocities, and Tripod, and Angelfire.
 
12:10 PM
mornin
 
o/
 
\o
 
o/
 
\o
 
!!dad
 
12:15 PM
What did the donkey say? http://chat.stackoverflow.com/transcript/message/31303392#31303392
 
It doesn't feel like friday to be honest.
Police have killed a bear and are still searching for two #lions, two tigers and a jaguar that broke out of cages in a #zoo in Lünebach in west #Germany, with police warning people to stay in their homes, German media report.
 
@mega6382 Thought this was a joke for a second and I was scanning it in reverse... "lions and tigers and bears, oh my!"
But then the jaguar came in and I think they got the joke wrong
 
why do the lions get a hashtag but none of the other animals do?
 
Because, king of jungle
 
Cause they are the kings, duh..
 
Wes
 
also "broke out" seems unlikely, it's not like they are all in the same cage, and the idea that they all simultaneously decided to break out and managed it is questionable
 
Sounds like they rioted
 
@DaveRandom Could very well be, have you watched "Madagascar"?
 
so basically you are telling me that one of the lions on the loose in Germany is voiced by Ross from friends?
oh no he did the giraffe
huh, ben stiller and chris rock, didn't realise that
 
mornin
 
12:39 PM
hi all! I need help to understand this, please github.com/nikic/FastRoute/blob/master/README.md
fast route addRoute from documentation
 
You will have to be more specific
 
must be defined for any class+(owned)method combination?
 
for routes you handle
 
about addRoute() for example... can t figure out...searched in source code...there is called a non-static method(addRoute) on an uninstantiated object FastRoute\RouteCollector
 
Why would it be uninstantiated ?
 
12:45 PM
$dispatcher = FastRoute\cachedDispatcher(function(FastRoute\RouteCollector $r) {
$r->addRoute(...)
 
That means the callback's first param is a RouteCollector
 
ok...i will search this... but tell me please, in that example 'users' is the controller?
 
What example?
 
I try to understand how it works, and doc is too hard for my noob skills
$r->addRoute('GET', '/users', 'get_all_users_handler');
 
No. /users is the URL path that you want to match
get_all_users_handler is the callback that gets called when the url matches
 
12:56 PM
handler meaning ... anything you want? I watched some tutorials like: url/somepath/{controller}/{action} fastroute is not like this?
 
Imo in most cases tying the url 1:1 to controller actions is a very limiting to do
 
but you can add more patterns, I think...nvm... can you explain me please, with no code, how fastroute (the main task: routing) works?
what is the callback? do I need to define one for each path?
 
It matches urls against whatever you defined and runs a function/method when a request with the matching url comes in
That's it
 
so, I need to define all urls? (without dynanic ones, with id's)
 
No idea what you mean by that
 
1:11 PM
if you have an url like: users/show/id=2000/
 
That's a single route
 
the pattern for this would be:... ?
 
/users/show/:id
or something
 
@BoteaFlorin It's in the docs
 
Actually in fastroute it will something like /users/show/{id:\d+}
 
1:17 PM
so, there won t be any dynamic way of calling $controller->$action()? I just have to define them for each path (static path)?
i am reffering on mvc case
 
You can
But it's a stupid thing to do
 
insecure?
 
yOU'RE A STUPID THING TO DO
 
@BoteaFlorin Depending on the implementation
 
lol capslock makes that extra good
 
1:19 PM
But the issue is tying urls 1:1 to methods
For one you can never translate your slugs
For two you lock your public urls to your private code
For three if you are doing something really stupid you may introduce an security issue
It's just a bad idea in general imo
 
You're just a bad idea in general
not even imo, that's cold hard fact
 
Also true
 
@DaveRandom wow...is stupid to wrong understanding things and prettending to know them, not to ask questions
 
lol
 
@BoteaFlorin I'm just throwing casual abuse at @PeeHaa
 
1:23 PM
It's friday. LIghten up / light one up
 
it's one of my favourite passtimes
and tbf he gives as good as he gets
 
:P
 
also note ^^ that is what she said
 
hey, how far off with the knowledge of php can I be? it seems like I could be learning how to put windows in a building without actually knowing how to build a building first
I've been studying for one year, but I may be off with the knowledge, the actual working knowledge part
learning the w3resource.com examples, regex, examples from the php.net, phpStorm
 
and on that note, I'm going to go and troll some admin people in in the office by breaking their computers in subtle but frustrating ways
 
1:25 PM
I was talking to somebody who knew the php programming and he looked at me like I would not understand
like we want to build a skyscraper so we dig a hole in the ground, do the foudnation, then the skeleton of the building, floors, windows, walls and decoration and the carpet and the furniture comes in at the end
I dont have that "3d view" of this
any good place where I can learn that
I was thinking about actually getting a job, maybe they will explain
 
School? University?
 
@BoteaFlorin I think frameworks used to work like that, back in the day. I used CakePHP probably 8 years ago, and I think it just automatically routed to a controller and method based on the URL.
 
is this a good idea, after like 12 months of edu, good edu
 
It's like 365 days.
 
what is that 3d view, of building like YouTube.com-like script? what are the steps
database first or html first?
it seems like this view is what I am lacking and then I can actually start
 
1:29 PM
@Tpojka Srsly, don't encourage him. This is a daily thing for him.
 
where this can be obtained?
 
Venus, but you have to physically go there
 
a good explanation and I am ready to go, I've been at an IT university earlier today actually, but today it is kind of closed, I will go there on monday, to talk to the website people there
 
@mega6382 Well, all we can get here is admin bans him for that, isn't it?
 
well that was totally worth a temporary detinification
 
1:30 PM
the foundation is the database, the html is the skeleton, the php code is what we put inside on the floors?
css is the wallpapers, paint
more or less?
start with the database, do the html, embed the php, type of thinking?
how to obtain the "3d view"?
 
@Tpojka Been there, done that.
Only thing remaining is permanent mod ban from entire SO chat.
 
It's all under control. I have read same thing this morning already.
 
@ten5 Try my blog, it has a lot of info there mega6382.me
4
 
@ten5 Is this your definition or you read it somewhere?
 
1:46 PM
@Tpojka Its his own definition, he came up with it this morning.
 
@mega6382 Damn that's some real effort
 
:D
 
@mega6382 I want him to say that. Stop protecting him. :D
 
:P
 
@mega6382 so, he's stupid and/or delusional.
 
1:54 PM
Both, I would say, and something else too probably.
 
@mega6382 I still think this is a regular chat member who is trolling... it has to be... it just has to be... right?
@DaveRandom =D
 
@StatikStasis I don't even know at this point.
 
Nice touch is company that (w|sh)ould hire him and start explaining what is 3d view in PHP app. :D
 
@StatikStasis My theory, it's Jeeves going rogue
 
^ PeeHaa threatens him to quit leaking into chat... it could be the perfect cover.
 
2:01 PM
Some really decent stuff here beckyschwartz.tk
2
 
I should have known by the name in the URL...
 
border-image:linear-gradient(to right,transparent 70%,#aaa 70%) 20;
can anyone explain what that last 20 means here
 
2:18 PM
@azamkhan See border-image and more specifically border-image-slice.
*wonders if anyone is brave enough to click links on Fridays*
 
^I was just thinking no after last week. =P
 
@salathe i am brave :P
 
2:34 PM
@salathe well, so far mozilla has been safe ;)
though coming from you, you might just be investing in your trustiness ratio to better troll us un a few weeks
 
@DaveRandom lol, work firewall flagged it as "potentially unwanted web content" and I'm guessing it's rebecca
 
2:57 PM
@DaveRandom .tk, I once had a lot of those domains.
 
store.steampowered.com/app/24010/Train_Simulator (click on the "see all" for DLC and scroll to the total)
 
$3,057.21? WOW!!
 
@salathe what is wrong with fridays?
 
@FélixGagnon-Grenier fake news!!!
@azamkhan Check my blog and you'll know what.
 
3:05 PM
where is your blog?
@mega6382
 
@mega6382 but people on internet say it's true!!!!
 
@azamkhan on the right side in starred messages.
 
Mine says over $7k
Oh! 50% off - what a deal!
 
Give 3 here.
 
3:28 PM
There needs to be a superscript of PHP like there is for JS(typescript).
 
Ick. Why?
Also o/
 
@mega6382 why?
 
It's that what Hack was, for a bit?
 
So, we can have something like Array<stdClass>. :P
 
I hate preprocessors in php
 
3:30 PM
or Array<string> etc
 
That RFC has come and gone.
 
@mega6382 you should probably switch to ruby then
 
C# is more like it, not ruby.
 
sure ... go with that
 
I am still hoping some people will manage to implement generics somewhere in my life
 
3:31 PM
@tereško Nah, ain't nobody got time for that. Anyway, I was just thinking out loud.
 
btw @mega6382 you want this preprocess.io
 
 
1 hour later…
4:37 PM
Weekend is coming!
Sorry, I'll show myself out.
 
 
1 hour later…
5:58 PM
@mega6382 Good riddance.
 
:P
 
xD
 
6:26 PM
php needs a parser generator ...
go ...
would be nice to be able to write a proper parser for that ...
 
6:42 PM
o/
 
\o
 
o/
 
@JoeWatkins didn't Anthony write one?
 
til
hehe, "How does it work?" ...
 
it works, it just needs a decent CLI harness, as well as some unit tests
it parses and generates the PHP7 grammar correctly, so :D
 
6:53 PM
very cool
 

« first day (2785 days earlier)      last day (2167 days later) »