« first day (2376 days earlier)      last day (2558 days later) » 

12:00 AM
oi
 
12:22 AM
o/
 
 
2 hours later…
2:23 AM
Hi guys can i ask question on this from india? stackoverflow.com/questions/43448283/…
 
@MaryDaisySanchez posted a comment but it's just a guess
 
hi @Dereleased thanks i'll check
@Dereleased sorry but its not working , i tried to contact and email the indian secugen on this the one which i bought at , but they doesnt response on a customers comment
 
 
2 hours later…
Wes
4:17 AM
mornin
 
var results = document.getElementById("results")
results.appendChild(newColSm4)
 
what does the above statement return ??
 
morning
 
4:20 AM
mean any way i can get that into a loop and break that ?
 
Wes
appendChild returns the argument you gave to it.
 
mean break the inner data and take it by parts
 
Wes
because dom
wat @Smple_V ?
 
senario i am using a js file to parse the data and at the end this iswhat i receive
 
Wes
"the inner data" "break that" is too cryptic
 
4:23 AM
if i get the result on the html page it gives out a list ...... how can i break it into parts to put it into respective boxes
 
Wes
sorry, i'm trying but i can't understand you
 
@Wes my bad ..... i am getting a list of elements in a abc.js file where i am filtering the data and applying some additional elements if the required info is not avilable . at the end i have that part of the code that i listed above
when i get the "result" at the html/php page it blurts out complete listed structure i want to break that list and put the elements in respective boxes
 
Wes
that seems a too hard question for an answer in the php room :P try asking in the js room but give them some code to look at, because you are still being cryptic
is there a way in pcre to have e.g. /^(a)|(b)$/ return a $matches of 1 element rather than 2
 
morning
 
// add results to the screen
var results = document.getElementById("results")
results.appendChild(newColSm4)
}
}
})
}

document.getElementById('button').addEventListener('click', yoursearch, false)
 
Wes
4:29 AM
exactly like if i wrote (a|b)
yo linus
 
o/
 
Wes
@PaulCrovella <3
\o/ OK (13 tests, 26 assertions)
 
Reserved keywords as function name? – #74463
 
Wes
@PeeHaa bug easily closeable ^
 
4:58 AM
helllo
anybody here
Good Morning
Guys I want to display an image in my site Codeigniter is my frmawork so that where I need to Keep images
?
@Wes please try
 
don't ping people
 
ok
 
5:11 AM
guys I got it neglect my querry Thanks
 
5:53 AM
@JayIsTooCommon No remote jobs unfortunately
 
Hi All
Can someone tell me which is the best way read inbox of an email using IMAP/POP3/SMTP and suggest any Github links
Using PHP
 
@KiranReddy step 1: learn the difference between IMAP, POP, and SMTP
 
posted on April 18, 2017

New Cyanide and Happiness Comic

 
6:13 AM
Morning
o/
 
Moinin ^^
Does throwing an exception always terminate the function that the exception comes from?
I want to make sure my code won't, in some rare case, continue to run after I have thrown an exception :|
 
Wes
@tereško it's snowing here too now lol
 
woa... don't you guys have like, no windows or something?
 
re copy and paste using command keys and file menu options too – #74464
 
6:40 AM
@Jeeves you can probably skip posting those
 
6:50 AM
it posts them before they are marked spam apparently, I suggested skipping them too
as usual
user image
3
 
:P
 
hahaah
 
lol
 
mornin r11
 
7:00 AM
mornin brzuchal,Joe,Akshay
 
morning everyones
 
morning sensei
 
\o
 
o/
 
mornings
 
7:16 AM
opcache.optimization_level=-1 will always turn on all optimizations, correct? Just like error_reporting=-1 will always turn on all errors.
 
@SebastianBergmann should, it's a bitmask and -1 sets all bits
 
That's what I hope(d) for, thanks.
 
7:33 AM
meurnin
 
how should I compile to use PHP embeded?
#include <php/sapi/embed/php_embed.h>
#include <php/Zend/zend_stream.h>
#include <php/Zend/zend.h>
I have those includes in my C program, and how to compile this?
 
see php-config
 
mornings 11!
back from easter holidays..
 
this project has php files loading multiple overriding ini files, which have keys referencing php files, which return arrays referencing ini values
its turtle shit all the way down
 
7:52 AM
moin
Apr 12 at 10:11, by DaveRandom
I just replaced every LAN switch in the building with managed stackable sexy switches. On the plus side, It eliminated the problem that we were having (switching loop that no-one could find because we had ~20 unmanaged switches). On the minus side, I now have literally no idea how to configure these things because they are modern and powerful and really fucking complicated :-/
Update: it was the fucking Sonos
These switches are fucking awesome though, re-cemented my "always buy HP" opinion
 
Anonymous
what's the main benefit you're seeing? Just being able to swap them out without config?
 
isn't this why network engineers exist
 
I'm the closest thing to a network engineer in the company
 
Morgen all
 
@JayIsTooCommon They certainly do ship with sane defaults, but they are generally very high feature-to-cost ratio
 
Anonymous
7:57 AM
yo haa
 
so your company has gone all-in on the shitty version of 'devops'
 
They also have comprehensible APIs for programability, so I will e.g. be able to create a little wrapper tool for managing the VLAN config without having to train non-technical people on how to use the switches (we have a pretty complex VLAN setup for managing internet access
 
where DevOps == Devs can do ops in their spare time right?
 
@Stephen yes, but I work for a company with a dev team of 1. It's a call centre, I create software for internal use only (and a couple of internet facing APIs for feeding data etc), and I used to be a telecoms/networking engineer
 
Anonymous
@DaveRandom I thought with them being stacked, you only have to configure one and then the others in the same stack pick up the config?
 
8:00 AM
so you are a network engineer.
 
We do have other people to manage the LAN but when it comes to proper low-level shit-hitting-fan stuff I am the person with the most experience
@Stephen I don't want to be, but I guess so
@JayIsTooCommon well yeh but you still have to configure the stacking on each unit
 
i mean in terms of educational/work history
 
It's not plug-and-play magic
 
Anonymous
ah
 
Could not found driver for PDO Oci – #74465
 
8:03 AM
even so I wouldn't want the floor management - the people who decide which machines can access the internet, which changes almost daily - having to log in to the switches. I don't want to have to explain what a VLAN is, it just want to give them an abstracted UI which basically has a floor plan and a checkbox for each desk.
@Stephen I guess, mostly self-taught though, I don't think of myself like that
 
I've used php-config but then have some errors, my [gist](https://gist.github.com/brzuchal/7ec7def2b4fb809773ca93cf4d7268a1) and errors like:

gcc -o embed.o embed.c -c -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -Wall -g
gcc -o embed embed.o -L/usr/lib/php/20160303 -L/usr/lib/x86_64-linux-gnu
embed.o: In function `main':
embed.c:27: undefined reference to `php_embed_init'
 
So this is a thing which is worth knowing: if you have sonos hardware connected to STP-aware switches and STP is disabled, you are gonna have a bad time
although tbh with sonos in general you are gonna have a bad time
 
Ah yes
 
> gcc -o embed embed.o -L/usr/lib/php/20160303 -L/usr/lib/x86_64-linux-gnu
 
Good to know
 
8:07 AM
I don't see libs
 
Always wondered just that
The moment I find out what STP is I think if this very day
 
@DaveRandom it sounds like you should be requiring all machines access internet via a proxy, and giving non-tech's a way to configure that to limit/allow access
 
@PeeHaa It's RIP for layer 2
 
RIP layer 2 :(
 
@Stephen don't get me started
 
8:08 AM
doing internet access restrictions per-machine on switches with managers making changes sounds like a fucking nightmare
 
I used Makefile like this:

CC=gcc
CFLAGS=-c $(shell php-config --includes ) -Wall -g
LDFLAGS=$(shell php-config --ldflags )

all: embed.c
$(CC) -o embed.o embed.c $(CFLAGS)
$(CC) -o embed embed.o $(LDFLAGS)
 
@PeeHaa It's a map of the network which ensures all switches and bridges know the shortest route to any particular destination, and prevents loops
 
you need libs and you need to link against static embed lib
 
@PeeHaa Sexually Transmitted PHP
 
@DaveRandom it'd probably be less problematic to have two wired networks, and tell managers to physically plug machines into a red/blue rj45 socket depending on whether they want internet access for that machine that day
 
8:11 AM
@Stephen So the problem is that some fucking piece of shit software that we use is the thing which needs to be restricted. It doesn't operate over HTTP or any other sane proxyable protocols, it operates over a custom, and may I say fucking insane, mixed TCP and UDP protocol
<sad_panda.jpg>
 
@JoeWatkins I thinkg that's to much for me :/
 
@DaveRandom ever tried plugging both ends of an ethernet cable in 2 different rj45 sockets?
@DaveRandom there are TCP/UDP proxies...
 
@Stephen Yes I tried that once as well. Never underestimate user's ability to plug the wrong thing in the wrong place
 
@FlorianMargaine ever tried plugging a NIC into a jack that's wired into a PABX because the fuckers re-used rj45's on phone wiring instead of using rj11's ?
hint: the NIC comes off worst.
 
heh
in my case, the whole network comes off worst
 
8:13 AM
I'm fully aware that what we do is worse than bad practice, but a) my hands are tied in a multitude of ways b) it's not technically my job c) I just don't care enough to argue about it with the people who sign the cheques any more.
The VLAN approach is the best way on balance of all these factors and a load of other (mostly human) factors
@Stephen I have at least not got that problem in this particular case, the PBX is smart enough not to deliver voltage when it detects a circuit on anything other than the 4/5 ring
 
it was an old pabx in my case - educational institution using an old model to provide a pabx for an office training environment.
honestly not the weirdest network problem we ever saw
 
Yeh, the old "digital" panasonics were particulary bad for it
You even look at it the wrong way and it says "here, have 110V"
I once got a 110V shock from the tip of my fingers to my ass cheek
There's a possibility that was slightly my fault
I prefer to blame the system though
 
@DaveRandom So bgpish only smaller?
 
Wes
mornin
 
Actually nvm don't even want to know :P
Hey wesley o/
 
Anonymous
8:24 AM
hoi weswallington
 
Wes
hey pieter, jay
 
@PeeHaa pretty much
close enough
 
close enough for this fake but equally terrible monday
 
BGP is how disparate networks know how to reach each other at layer 3, STP is how a network know how to reach bits of itself at layer 2
 
Wes
8:43 AM
me contemplating code VS me contemplating life #programming https://t.co/bUvhkiK8Zl
damn m.
 
user image
4
(left)
 
Wes
AHAHA
 
(the silly-looking one)
 
Wes
i will never try to tweet again
:B
 
Image uploads are somewhat borken
 
Anonymous
What's the name of the setting for auto scrolling to file in the project window in storm?
 
Anonymous
@Wes ah, thank you
 
Anybody knows how jobs.SE works?
It kinda feels half arsed like the rest of the things they do
 
!!version
 
!!version
 
https://t.co/pA0F0QJe0p
 
\o/
 
9:02 AM
!!changelog
 
@PeeHaa Connection: close fixed it
 
[ Jeeves ] [ d0ade44 ] Set Connection: close when downloading images for twitter - Committed by: Chris Wright on 18.04.2017 08:59
 
https://t.co/onLXgsitp0
 
awesome \o/
 
9:14 AM
@Stephen for entertainment purposes you should ask why it's like that.
 
@DaveRandom lol
 
mrnngs
 
@Danack its zf1 based, more questions will mean more "why did i ask"
 
@Wes hmmm, some bignum stuff?
 
9:32 AM
agh what is the name of ext for overwritting native methods and etc for stubs/mocks
 
uopz?
 
YES
Thanks
 
But do you reeeally need that?
:)
 
hint: no
 
np though
 
Anonymous
9:44 AM
> Theresa May will give a surprise statement in Downing Street at 11:15am
 
Anonymous
Ruins the surprise a bit
 
:P
 
you shouldn't use uopz, I heard the guy who wrote it is unhinged ... also I heard it's cursed ...
 
Ah dam
Hilarious, but also, ouch
 
Meh. Painful death by stupidity of douchebags shrug
 
9:48 AM
@JoeWatkins but it comes with a free frogurt.
 
!!urban frogurt
 
[ Frogurt ] 1. Slang/abbreviation for frozen yogurt--The correct short hand for frozen yogurt, as opposed to the commonly used by technically incorrect word "froyo."
 
In that case
\o/
 
oh lol
that one
 
10:01 AM
@Jimbo just ouch really
 
@JoeWatkins yea, I was talking with some local devs about some stuff and had to convince them that there where ext's that did that.. usecase not so much for me
;)
 
you should tell them about the curse ... it's real ...
 
Apparently we're getting a general election on June 8th
 
@DaveRandom thx for the invitation
 
Never accept @DaveRandom's invitations
 
10:11 AM
;)
 
@staabm tbh I was surprised when I noticed you weren't on it already
 
@Leigh oh good, because politics wasn't already taking up enough news space.
 
Anonymous
@Leigh good timing on her part, Labour are no competition atm
 
is guzzle good to use?
 
10:16 AM
Can be circumvented with a 2/3 majority vote
just like in PHP
 
@Linus It's got a solid api and works well, sure
 
Anonymous
> Only in the case of a vote of no confidence or with a two-thirds majority of the Commons may an election be called any earlier.
 
@Jimbo \o/ thanks
 
@JayIsTooCommon And there hasn't been a no confidence vote, and the conservatives don't have 2/3 of parliament...?
 
@JoeWatkins I will =)
 
10:18 AM
> There will be a Commons vote on the proposed election on Wednesday.
 
Anonymous
@Danack yeah, I wonder what backing she'll get from other parties.
 
Hello all, Do you know places where I can get freelance PHP jobs. I currently use Upwork. Others like freelancer.com in bad situation. Which one you think is best?
 
@JayIsTooCommon well Corbyn will likely assert that this was his idea all along
 
Anonymous
I can't stand that prick
 
@JayIsTooCommon Hey... please don't insult @DaveRandom like that
If you don't like him fine, but no need to say it like that
 
10:23 AM
I don't think I'd even bother with "prick"
 
Anonymous
I said prick, not dick
 
:P
 
Anonymous
!!wotd
 
avarice: insatiable greed for riches; inordinate, miserly desire to gain and hoard wealth.
 
@Оzgur they're all pretty terrible. I think finding a web agency that is based in the UK/US and is open to the idea of remote workers might be a more productive way of finding work.
 
Wes
10:34 AM
meanwhile, in canada @FélixGagnon-Grenier @rlemon huffingtonpost.com/entry/…
 
cows are very curious creatures.
 
Anonymous
Your mum's a curious creature.
 
Your face is a curious creature.
 
Wes
that's just my face.
too nerdy? :B that's the Curiosity rover's "face" :B
... fuck you @PeeHaa
 
@Danack thanks for the answer. Do you know any such agencies or where can I find one?
 
10:47 AM
@Wes You didn't have to explain it :P
 
Wes
1 min ago, by Wes
... fuck you @PeeHaa
:B
 
:)
 
@Оzgur Sorry, no.
 
11:02 AM
@DaveRandom but that means I have to tell the government things about me :(
 
I'm pretty sure they already know your NI number and where you live, there's literally nothing else you need to tell them
 
I'm actually not sure they do know where I live
 
If you receive a paycheck from a UK registered company (or ever have at that address) then they do, it's a tax requirement
or at least, the inland revenue do
 
@JoeWatkins I did it, I was missing libphp7.1.so and -lphp7.1 in my Makefile - yeppi :)
 
Not sure how the data flows, IR certainly do, but I've not registered with a council since I moved here (council tax paid through landlord - so not dodging that)
 
Anonymous
11:07 AM
@DaveRandom never
 
12 year olds can't vote anyway, you'll understand when you grow up
 
Vote for LibDems, tiny sliver of a chance to stop this brexit farce
 
Anonymous
@DaveRandom rude.
 
My favourite is The Standing At The Back Dressed Stupidly Looking Stupid Party
 
11:31 AM
hi
 
who put monday on repeat ?
@PeeHaa was it you ?
I'm going to assume you are too ashamed to answer ...
 
:P
 
Wes
 
I have a MySQL database and JAVA software the later insert each some minutes in the database and I want that to be rendered by php web page but I don't have idea about hosting how I host my java software on a hosting server?
 
@JavaFan docker!
 
11:44 AM
Java: write once, run nowhere because no-one will let you
5
 
Java: write once, run nowhere because no-one will let you
 
Could I change MYSQL db after it been hosted?
 
Nope. Once it's hosted you have to live with it for the rest of your life
 
11:59 AM
@JavaFan look it all depends on what kind of hosting you have. Shared hosting: you have very limited choices
if you have a vps/dedicated hosting then you can practically do anything
 
@HamZa If I buy storage area and domain in a vps/dedicated hosting how I can do that?
 
Wes
i've found something in reflection that works like i've expected it to work :O
 
@JavaFan you do that the same way you do it on your local pc but this time most probably via the command line
 
@Wes assume that your expectation was flawed then. Only logical thing to do.
 
Wes
good point
@PeeHaa what did verstappen say against brazilians? ahaha i've missed that one
 
12:20 PM
@HamZa even though I work in Windows OS?
 
@JavaFan you can get a windows based VPS although most (sane) php users would probably prefer linux based.
 
public function __construct(Client $client) {
$this->client = $client;
}
we can pass an argument to the Client constructor to set the base_uri.according to guzzle docs but ,How do we set the 'base_uri' in the constructor
 
@Wes Pfff bitching Brazilians. Nothing really happened
 
Wes
what did he say exactly?
 
IIRC "nothing to say, he's a brazilian"
 
Wes
12:33 PM
lol
well, he shouldn't say that on team radio
 
@Wes he didn't
It was an interview
 
Wes
ah, in an interview
 
He said it jokingly, but them brazilians don't like humor
 
Wes
it's fun joking about stereotypes, but if you say that publicly obviously someone will complain
 
I am offended.
 
12:37 PM
Your face is offending
 
Offensive, sorry, I meant "offensive"
 
Wes
do you have a brazilian @DaveRandom ?
 
Nope, smooth as a baby
 
Wes
why did i even ask
:B
ah the picture of you in my mind, with all the crazy pics you posted
@DaveRandom but you still can't beat i don't remember who that jumped in the chat saying "i have bought 300$ worth of dildos" or something
 
Anonymous
@DaveRandom hahaha
 
Wes
12:40 PM
i laughed all day
 
Anonymous
beautiful.
 
Wes
do you remember? :B
 
That would be Dan Lugg, presumably
 
Wes
Feb 10 '16 at 18:00, by Northborn Design
Semi-related: $300 out of $450 worth of dildos received.
 
I forget what his current screen name is
 
Wes
12:41 PM
AHAHA
 
oh right, that ^
 
Wes
and the discussion continued for a while too
 
think he changed it back
 
Wes
@Leigh the mocking framework :B
 
I don't need a framework to mock you
 
12:44 PM
nice of him to automate it though
 
:)
 
@Wes Nope I don't have osteoarthritis
 
Wes
i forgot you are 60
in addition to being ginger and possessing no soul
:B
 
:P
 
Wes
12:47 PM
ah, you don't! but you are wrong, you can't do that if you have osteoarthritis :B
 
@Wes there's a framework for that too
 
Wes
is that what i think it is
 
lol
 
Wes
i don't want you to answer actually
bloody pervs.
 
no, lube up and take it slow. if you're bloody you're doing it wrong.
 
Anonymous
12:52 PM
what beautiful weather we're having
 
Wes
@JayIsTooCommon yeah! what a wonderful morning!
:B
 
1:02 PM
@Wes Wait, he's ginger?
 
Wes
ish
but he for sure has no soul :B
 
it would explain many things. not everything, but many of them.
 
1:23 PM
apparently my colleagues didn't find it that funny that i changed my status on slack to: Rejecting your code
 
Change it to "Refactoring your mom"
 
tempting....
 
Hey, let's get that Shoe guy in here again, he's hilarious
 
2:00 PM
@Wes this is amazing.
I love it's so beautiful.
someone needs to add captions to make that confused_drunk_beaver.gif
 
2:14 PM
Morning
 
Morning Trowski o/
 
@Trowski moin Aaron … I'm eager to hear the point of you newest driver splitting branch? :-)
 
@bwoebi Driver is very opinionated in it's implementation and relies on Watcher that is marked internal.
So it depends on how we want to approach extending Driver. Should it be allowed or discouraged? Right now we seem to have an odd mix of both.
 
@Trowski I think it's quite fine as-is, just that there's no point in marking Watcher as internal (wat?)
 
@bwoebi Sure, another approach is just moving that class to the Loop namespace instead of Internal.
 
2:25 PM
@Trowski Does your approach have any advantages over that?
 
@bwoebi My approach would allow someone to implement watchers in an entirely different way if they desired.
Though I think Watcher should be moved either way.
 
@Trowski I do not see much advantage of transforming between representations
 
@bwoebi Mostly it's just allowing someone to write a driver implementation that completely differs from ours. Not sure why they'd want to, but at least the possibility is there.
If that's a door we want to close, then I'll just move Watcher.
 
@Trowski well, you can still just override the public functions, if you want something totally different (without calling parent::)?
 
@bwoebi That is a good point… leaves some unused stuff, but meh…
That would be rather odd, but I guess technically there's nothing wrong with it.
 
2:34 PM
I'm just pointing out, that it's not totally shutting the door
 
@bwoebi Yep, I see that now. It's certainly discouraging it, which I'm totally fine with.
There's little reason to write another Driver unless it's for a new extension.
 
right
 
@PeeHaa Remember that BS that I told you I wrote down? It may make no sense whatsoever, so sorry... but I found it. and I need to look back into it again. It's not even difficult.
 
@bwoebi I'll just move Watcher then.
 
any method of transfering variables to a php/html page from a abc.js page???
 
2:37 PM
@bwoebi Should drain() be part of Amp\Iterator?
 
@Trowski I don't feel so … It feels like an implementation detail simplifying certain things
 
@bwoebi I agree. Another iterator may not want to allow draining.
 

« first day (2376 days earlier)      last day (2558 days later) »