« first day (2447 days earlier)      last day (2727 days later) » 

00:15
@FélixGagnon-Grenier bye bye life
where should i ask "i can't install a visual studio compiler" ? on superuser? stackoverflow?
 
1 hour later…
01:54
@FélixGagnon-Grenier playing aoe?
anno 2070
it seems I miss the stuff of aoe2
I'm totally lost in the new buildings and stuff
also... everything is gunpowder now :(
but I'll admit, I'll quickly get over it
they should've done more expansions
if you play it online though you will play against people that played it for 10 years straight. you are gonna lose hard :B
i have it installed in case you want to play though
twitter.com/WesNetmo/status/879880924309188608 i'm waiting for this anyway :B
neo
neo
@FélixGagnon-Grenier not php but is it mandatory to give any sort of identification cards in canada for buying prepaid sim cards ?
@WesStark is it mandatory to give any sort of identification cards in italy for buying prepaid sim cards ?
neo
neo
@WesStark do you have anything like SSN in US ?
what is your most valued id ?
02:04
id card or driving license
ssn counts less
neo
neo
you have SSN ?
neo
neo
@FélixGagnon-Grenier ??
pointy questions by a stranger on the internets, y'know ;)
neo
neo
@JohnScully is it mandatory to give any sort of identification cards in united states for buying prepaid sim cards ?
02:07
yeah this is very weird
neo
neo
@FélixGagnon-Grenier :D i don't want to know your details i was just running over quora and found a very weird answer to a question
Lol that's probably very close to the mark ;)
neo
neo
both the question and answer look weird,thats why i wanted to ask somewhere
@FélixGagnon-Grenier ??
02:29
https://t.co/aR2hPdzU61
i'm starting to question how the universe works. it was dawn already yesterday at the same hour. today is still dark :\
 
1 hour later…
03:57
@NikiC can you confirm me that scalar objects is unlikely to work on 7.2? i'm not sure if i made it break because i've used the wrong compiler (windows) or if it would be broken anyway. thanks
@Danack i think you suggested me to do this once, but unsure: as i've lost all my hopes on php on windows, i want to set up a linux vm and run the code there. however i'd like my file to be physically achieved in the host machine (ie, windows) can i do that?
similarly i want mysql to run on windows
but that should be easy
 
1 hour later…
05:02
morning
o/
05:34
morning, bitches
morning sir
o/
I've lost my glasses, so can't drive my car ...
or see very well actually ...
how the fuck do you loose something that is supposed to be balanced on your face !?
05:37
very quick, 10 internet points to gordon ...
yay \o/ internet points
think about what you just asked ...
hehe
they are probably in the fridge
probably, I've looked everywhere reasonable, and woken everybody up to look for them ...
the problem with looking for them ... is I can't really see ...
I never take them off, I don't get it ...
maybe when you took a shower?
05:40
I've looked in both showers
in car or under sofa?
car was checked, just moved out sofas, nothing ...
well not nothing, sweet wrappers because kids ... but no glasses ...
I think I've lost them outside somewhere
but how didn't I notice
I definitely didn't drive anywhere without them and they aren't between the car and the house ... so I dunno ... dark magic may be responsible ...
Time to get four or five pairs and keep them scattered around the house.
underwear drawer ... ffs
I did have two pairs, but a dog ate one pair ...
:P
05:50
underwear drawer? yours or the wifes (you little perv)? :D
you are making an assumption that mine and my wife's underwear are different ...
maybe we have the same drawer ...
nah, that's not possible.
well I'm just going to leave that hanging in the air ...
now I got this image of joe with dessous in my head…not sure I like the picture
that's me, underneath the tracksuit bottoms and programming t-shirts ...
on the subject of me ... the beard had to go ...
it's just too hot, I couldn't cope ... so clean shaven for a while, until end of summer at least ...
I can tell you are all devastated ... afk, walking dogs ...
06:01
:( clean shave last time i had it was 4 months ago
If I want to get the kilobyte value of an html output, can I use ob_start() with strlen or mb_strlen ? I would like to calculate an html output's filesize without having to save a file.
I have a domain like example.com and hosted on 3 servers for load balancing.I know the ip address of all three servers.What is main problem that when a user open example.com, he randomly connects to a server and then he uploads a file.Let suppose the file is now on server 1 and if someone connects with server2 or server3 the file is looking missing...is there anything that can synchronise all three servers??
@Darius strlen gives you the length in bytes, mb_strlen gives you the length in code points (ie characters). you probably are looking for the former
Thanks.
06:19
HAPPY BIRTHDAY JUSTIN @JIMBO
18
I'm looking for an English word which describes this: "the time we both approved to do something at"
which one is better?
- accepted time
- mentioned time
- approved time
- promised time
- agreed time
@AbhishekMishra either you handle this on file upload, e.g. the receiving server syncs it or you use a dedicated fileserver or you use a network drive or a synced filesystem
@Gordon i can't handle it on file uploading...can you please explain a best method i should use in detail...it's very urgent..
06:36
@AbhishekMishra how urgent?
i m dying :(
Should spend your last few days alive enjoying the outside space rather than inside coding.
okay i m going for scuba diving ;-)
!!? how to setup a network file system
Search for "how to setup a network file system" (https://www.google.com/search?q=how+to+setup+a+network+file+system&lr=lang_en)
• 3. Setting Up an NFS Server - Linux NFS faq - There are three main configuration files you will need to edit to set up an NFS server: /etc/export… (http://nfs.sourceforge.net/nfs-howto/ar01s03.html)
• Network File System (NFS) - Official Ubuntu Docum… - There is no need for users to have separate home directories on every network machine. Home directo… (https://help.ubuntu.com/lts/serverguide/network-file-system.html)
06:41
@AbhishekMishra see above. I am not available for consulting work at the moment.
@Fabor heheh
@Gordon okay thanks
@Gordon Damn, I was going to ask you about this rash :(
@Fabor rash? you contacted some STD? I am not a doctor
It's the usual type of consultation :P
06:49
yo fab
Hey Joe
@Gordon contracted*?
@MadaraUchiha yes
07:38
@tereško Codeigniter have mvc feature
MVC is a pattern, cannot be a feature
!!? MVC
Search for "MVC" (https://www.google.com/search?q=MVC&lr=lang_en)
• Model-view-controller-model - Wikipedia - Model-view-controller (of MVC) is een ontwerppatroon ("design pattern") dat het ontwerp van complex… (https://nl.wikipedia.org/wiki/Model-view-controller-model)
• Model–view–controller - Wikipedia - Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces on… (https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller)
• ASP.NET MVC | The ASP.NET Site - NET MVC gives you a powerful, patterns-based way to build dynamic websites that en
things to stop in 2017:
- engage in discussions about MVC
- engage in discussions about Laravel

I am sure the list will grow
@Gordon This would be hard because Larevil's popularity is growing
So probably there will be more people asking it here
that doesnt mean I cannot ignore them
07:46
sure
Im bit confused about session_regenerate_id
if we use session_regenerate_id after user has logged in the new session ID would again be residing in the browser session.
from their it could be copied and replayed in another browser to get login access
am I not correct here?
@DaveRandom i'm completely baffled by the ms compilers
i mean if stuff works it must be by accident, right?
just got an error, then did nmake again. it resumed before the error but this time it didn't error again, and completed the compilation
wtf
08:01
mornings
Anonymous
morn
@WesStark i see you're making progress! :D
Hi, i have a doubt in wordpress rest api
anyone can help?
i tried vs code. it's the same thing except that it runs the compilation within the ide :B
08:10
@WesStark I almost never use an IDE's compilation feature, especially in the JS ecosystem
In most cases, you just run npm start or some such from the console, and it compiles and watches files for you, then you just develop
0
Q: Login worpress website using wp-rest api

abilash erHi iam using Wordpress 4.8 and i am new to rest api . I have 2 websites , one is www.example.com and second is www.example.com/site2. That is second website is installed inside the first . In example.com i have many users. In site 2 , i have a custom page & in that page i create a custom forms ...

this is my case
@MadaraUchiha friend, may be you can help
@50l3r not really, no. I uses some names for marketing purposes, but that's about it.
@WesStark no idea, would have to test
no hurry, at least i got it working again on 7.1. windows is so fucked up -__-
@WesStark Actually, turns out I've been building it all the time
But running the tests right now, it's crashing all over the place
08:17
eheh
I think session_regenerate_id can only prevent eavesdropping if after login section is on TLS.. if attacker has access to the system physically he can still use the regenrated ID session cookie and use it to login.. isnt it correct??
@WesStark lol
fat bug in php
@WesStark github.com/php/php-src/commit/… Now working again
ha, that bug :D
08:32
i think i'm gonna write test names like_this_because_thats_just_more_readable
is that visual debt
please don't hate me
what's that
i think code should be ascii only :B
Jun 19 at 11:30, by Gordon
@PeeHaa I actually use a mixture of camelcase and snake case, e.g. testSetFoo_withBar, testSetFoo_withBaz where the camelcase is the description and the snake separates the specialization
yeah i do that too. i have test_methodName_descriptionInCamelCase
however, description is hard to read/edit
@NikiC wat
08:42
@WesStark yeah, theLongerCamelCaseGetsTheHarderItBecomesToRead
indeed
I wonder if there is scientific data to back that up
problem are short words, like It Is. they are horrible in camel case
> Results indicate that camel casing leads to higher accuracy among all subjects regardless of training, and those trained in camel casing are able to recognize identifiers in the camel case style faster than identifiers in the underscore style
the other:
> While results indicate no difference in accuracy between the two styles, subjects recognize identifiers in the underscore style more quickly
in js there is at least one testing framework that defines tests in anonymous functions, and you provide the description as string. that would be nice to have
it's such a stupid thing writing descriptions in method names
08:49
> The interaction of Experience with Style indicates that novices benefit twice as much with respect to time, with the underscore style.
@Gordon That's my guess, recognizing might be faster with camel case, but not actually reading it.
let's all use overscores‾instead‾of‾underscores
snake cased is easier to write and read, but conventions come before anything else
@Gordon It's easier to read than underscores and not as weird as a non-breaking space.
when php 5 was new, i hoped snake case would stick (as php already had functions like that)
but community ended up with copying java
:B
08:54
0
Q: Session ID Regeneration cant prevent cookie from being copied

techie_28This could be a basic concept but I am bit confused over it. Guidelines tell us to regenerate the session ID after user login in order to make it usable if it is being sniffed over the network thus preventing a replay attack. My point is that even after the session ID is regenerated it would ag...

@kelunik you think so? I get an urge to wipe my screen because it looks like dust or something :D
@WesStark Keep your method names short enough, then only recognition matters, no readability. :P
and why is it so much smaller than an underscore? _ vs ‾
they look the same length here
@Gordon true :D
08:58
@WesStark that's not what she said
double‗underscores‗for‗the‗win?
or‿maybe‿something‿with‿more‿swing?
@Gordon How can I easily type that?
what💩about💩this()
@kelunik oh, you need one of those professional developer keyboards for that. you know? the swing developer keyboard
09:10
@Gordon As long as it's not the emoji keyboard, that's fine.
there is an emoji keyboard?
@WesStark I assume so
I want a unicode keyboard. with all characters on it
it would look like these big ass church organs or these multi keyboard setups musicians use
09:23
@WesStark I've been using docker and it's pretty nice. I have a repo here that has basic stuff setup. github.com/danack/ReactTutorial
However - the yarn bit doesn't work correctly on Docker on Windows. The windows file system just doesn't support linking files in the same way Linux does, and so the NPM bits fail.
"similarly i want mysql to run on windows" - why?
morrrrrrninng!
o/
that looks so complicated :B what's wrong with virtualbox + random linux distro ?
i'm asking, not criticizing your choice :B
@WesStark nothing. it's just not hip any more :)
pff you guys and your trends
Anonymous
09:34
\o
@WesStark it's hard to explain why but Chef and Puppet just get too annoying. Although the docker looks complicated it's not. This is the config for setting up the nginx box.
Back to MySQL - that docker compose setup has the data files for MySQL hosted on the host machine. That means all my data persists the boxes being destroyed and recreated, while still having repeatable build environments for different projects.
o/
Oh - also for the last place I worked, doing a vagrant down/vagrant up cycle took 40 minutes. Docker (for admittedly a simpler project) is taking about 10 seconds.
@WesStark Bash on Windows doesn't work for you?
i don't even know what bash is
i know almost nothing of the linux world. it scares me frankly
if i set up a server it would probably blow up in seconds
09:39
@Danack have you tried ansible or salt?
Anonymous
so puny
i am puny?
@Gordon no. I will look at them if I'm required to use vagrant again. However Docker and it's simple commands are working nicely for us currently. Also - not Yaml.
Anonymous
@WesStark If you are so afraid of bash/linux to the point of not using it, then you are :)
if i had the time i would learn it
09:43
@AbhishekMishra you could look at "sticky sessions" to "fix" this in a shitty way. Really though, you should be using a shared file system, or S3 to store files that need to be accessed by all servers.
i mean, it's not something you can just "try till it works"(TM)
Anonymous
:p
No, you need to google examples and copy and paste them till it works.
Anonymous
No one flag pls. I thought it was funny :)
too much information
i have a linux vm. it's stuck on vim. i could never figure out how to quit it
09:46
@WesStark Just go through vimtutor.
Anonymous
@WesStark Now you are just playing.
i am joking now, but really i couldn't figure out how to exit nano, pico, and several others
Anonymous
So what are you using? XAMP/WAMP?
i use linux but we have a guy that does the server stuff. i develop on windows though
posted on June 28, 2017

New Cyanide and Happiness Comic

09:53
function test_that_get_terminates_the_probing_sequence_when_it_encounters_an_entry_that_b‌​elongs_to_a_following_initial_index(){
i like "test_that" it reads so much better
getcwd() incorrect output in register_shutdown_function() – #74823
Does anyone have example nginx config for serving pre-gzipped Javascript conditionally based on the accept-encoding header?
09:59
Why pre-gzipped?
because you can use gzip-static to avoid the overhead of gzipping it every request, why not
Also, i believe nginx does the compression on the fly, rather than being able to set a content-length header.
Doesn't nginx have a cache for static files?
Anonymous
I use this one for my sites: gist.github.com/samayo/428beedaec52f54436db
And here's a handy script gist.github.com/lt/4002185
10:02
user image
4
You mother f**
:)
@Jimbo Happy birthday. :)
@samayo These things will probably stay forever... gist.github.com/samayo/…
@Leigh pfft - webpack plugin or gtfo.
@Jimbo He should've called you a Wordpress dev instead?
> Created 5 years ago
Like I'd touch JS with a bargepole with you tied to the end of it these days
Anonymous
10:05
@kelunik How? It disables gzip for older browsers.
@kelunik I'm not sure of the details, but although it works, it's not ideal. Which is why nginx.org/en/docs/http/ngx_http_gzip_static_module.html exists.
@samayo Browsers not supported anymore by most sites.
Anonymous
btw: how do you guys or where do you keep access/error logs? I think they should mirror the sites ... but not sure
@bwoebi Could you review the byte-stream PR please?
@samayo Ours go into docker.log files and rsyslog sends them to our centralised logging
Anonymous
10:07
@Leigh neat!! what if docker is not available?
well, the access logs do, errors are handled using something else
if docker wasn't available we'd be having a "shit is on fire" moment, and there wouldn't be any access logs :D
Happy bday jimbo :D
Quick question, what's the best way to deal with someone who is too focused on what they want to do with the codebase to do the work?
The equivalent of asking someone to open a door, and they end up changing the size of the door, the doorframe, door handles, hinges, and then leave the door shut
@kelunik LGTM. Can I merge?
@bwoebi Yes, but I can also do that locally and directly tag a new release.
@kelunik Do that then, please.
10:15
@Sean set them a task, make it clear what the aim of the task is, ask them for a time estimate, let them fail, and then ask them where they spent their time. I am not good at doing things like that, as apparently I have resting angry face.
... I always use git merge -ff instead of git merge --ff...
well, -ff would mean -f -f … only two dashes for long options, always.
I know, but I keep repeating that typo.
Anonymous
well that fucked up.
hihi
Anonymous
10:18
o/
5 messages moved to Trash
@JayIsTooCommon Now you removed the source for the created issue.
:P
Anonymous
@kelunik still there, it'll just go to trash. Doesn't really need context anyway
10:21
@bwoebi I'd like to release Artax, could you review?
@kelunik so I played around with it a bunch last night, it doesn't seem to be possible to emulate that utility you linked in pure PHP, will have to ship an exe :-/
@bwoebi github.com/amphp/artax/blob/master/examples/… < Having to clear the cache is unexpected, we should probably clear it after writing a file?
even though it doesn't error, attaching an existing stream socket to a stdio descriptor directly just doesn't work on windows :-/
I feel like that's a bug in PHP's implementation more than anything else though
posted on June 28, 2017 by kelunik

- Fixed an issue in `Message` hiding exceptions when streaming.

@DaveRandom Why should that work?
10:26
@kelunik because in terms of the windows API, it does appear to be possible. Anything that can be cast as a HANDLE* should work
@DaveRandom And yes, it is a bug. github.com/reactphp/stream/blob/…
@DaveRandom yep, but these are special cased to not work.
@_DaveRandom yep, but these are special cased to not work.
@kelunik ugh, fine
I'm just going to build a standalone binding wrapper around that createprocess util then
Keep meaning to get back on that horse
Anonymous
same, trying to find time
@WesStark Did your mixed $code RFC for exceptions pass?
is there a way to access the native size of integers of a platform? (no, not PHP_INT_SIZE … or are these nowadays equivalent, always?)
10:49
@bwoebi In PHP or C? :P
in PHP
I want to get sizeof(int) in PHP
And no, I don't think there's a proper way, which is pretty annoying if you have system protocol that just use int in C and you try to implement them in PHP. I guess you just have to examine the arch.
@kelunik that's pretty much what I need
15
Q: Possible to find out the sizes of data types (int, float, double, ...) on a system, without writing a C program?

TimIs it possible to find out the sizes of data types (int, float, double, ...) on a Linux system, without writing a C program? Would the results for C same as for C++, and other programming languages in the same Linux system?

I needed that as well when reading /dev/input manually, just went with a fixed size for now.
What do you need it for?
10:52
Currently using a fixed size of 4 for file descriptor transfer…
Hi guys gd evening
I am using ajax as source for datatable. Everything works except the response is not loading in the table. It's still showing processing. I checked the console there is no error and json response also fine. But if give ajax reload it works fine. Anyone know what the issue is?
I need to make it work in the first time itseld
Preparing a coding task for a job interview. Now I can finally apply everything I learned from the visual debt video.
@astrosixer and how is any of it related to php? Shouldn't you be asking about this in the JS room?
@bwoebi If you want to release socket transfer for an Amp v1 version of Aerys, you have to do that before we release the Amp v2 version as it's a BC break.
@kelunik why is it a BC break?
10:59
@bwoebi Because of the constructor change in WorkerProcess.
@kelunik … people do instantiate WorkerProcess themselves?!?
@bwoebi It's not marked as internal so we have to assume that.
@Patrick PHP?
Something similar to PHP-PM might do that.
@MadaraUchiha yes
11:01
@kelunik well, I can relax that assertion for v1 and only assert it inside of recvServerSocketCallback()
@bwoebi What's the difference then?
that way this code is only ever is reached when --socket-transfer is set, which is a new option
@astrosixer you mean its working when you replay the ajax via FireBug?
What you could do is only doing socket transfer if it's an instance of our logger and leave the PsrLogger declaration there.
@kelunik Or that, yes.
11:03
https://stackoverflow.com/questions/44778877/oop-mvc-aggregate-gette‌​rs-architecture-inside-model-vs-inside-controller
@techie_28 yes its working fine when an ajaxreload to same url is given
@tereško srry actually now I dont even know which is which because I almost spend 3 days on it nothing i could find
@astrosixer perhaps you should ask it as a question on SO with relevant info like code details and firebug data etc.
Hi everyone, I am trying to add more than one image to a gallery. I want to use the product ID and add _1, second image _2, third image _3. How would I go about doing this?
I posted a question for a better explanation. stackoverflow.com/questions/44800445/…
user924016
høh
user924016
11:29
mornin
11:44
Isn't that just _js
11:57
I'm guessing when you send an email using PHPMailer, there is no way to have that email show in a folder on my email's webmail?
ah god. the everlasting "meh will replace double quotes with single quotes in documentation hurr durr"
user5876173
hi guys
user5876173
i need one help
just ask

« first day (2447 days earlier)      last day (2727 days later) »