« first day (2022 days earlier)      last day (2926 days later) » 

3:01 PM
@Sean Try reading that question again... :)
Also: nginx
 
@Oldskool I would assume you mean the answer is libphp7.so =p But it's not present in my apache modules, guess I need to update my Apache
 
Hello, Can I ask a thing that is OT?
 
@MattewDeveloper On the site, no. Here... you can try.
 
Ok, I found only streaming serietv in italian and in eng with subita
 
user895378
rebeccaday \o/
 
3:04 PM
Anyone know any site of streaming tv series in english/american?
 
2.4.7. Guess I need to update to 2.5?
 
@MattewDeveloper Netflix and Hulu are the first to come to mind.
 
@rdlowrey A typical Daniel … pops in only to tell us something totally irrelevant :-D
(hey)
@LeviMorrison it shouldn't - at least not if you don't check explicitly against == 1/!= 1 but rather if (arg_info->allow_null), which is typical usage
 
@bwoebi No, no: if they say 1 that now has particular meaning instead of >0
The behavior will work for purely allowing null but wrong semantic; see?
Such as in inheritance checks.
 
3:08 PM
don't care too much anyway … we should really fix that thing in 7.1 anyway
if not in your RFC, then sometime else before freeze
 
user895378
@bwoebi hahaha
 
hi
 
@rdlowrey But TBH, I'm really sometimes missing you as a room 11 regular :-/
 
user895378
I know, I'm really trying to be more available
 
@bwoebi So rather than mess with this we just use the commented code?
 
3:10 PM
is there a none shit ecommerce platform ?
 
user895378
You guys could just, you know, come work at Grovo and then we could kick it all the time
 
@Morton what are you doing btw (with the flag you raised)?
 
@LeviMorrison yes
 
@JonClements working on a magento store
 
@rdlowrey They shall introduce remote working
 
user895378
3:11 PM
It's happening ... slowly ...
 
@Morton okay - any reason you flagged your own "hi" message though? :p
 
and its just as bad as opancart
@JonClements buttons are hard ?
 
you flagged your own message?
 
ye i mant to delete it
 
The UI can be a harsh, unforgiving mistress.
 
3:13 PM
but somehow once realising that wasn't the option you'd chosen, still proceeded to type into the box the reason for your flagging and the fact it goes directly to moderators? :p
 
Of course Dmitry isn't in IRC again.
 
@rdlowrey still no progress on the ampq thing?
 
@JoeWatkins heya, I noticed you created a new repo. Uppon reading the following file https://github.com/krakjoe/transformer/blob/master/transformer.c
I was kind of surprised: "If you did not receive a copy of the PHP license and are **unable to obtain it through the world-wide-web**, please send a note to license@php.net so we can mail you a copy immediately."
So how is someone supposed to send an email if he can't access the world wide web? I suppose "IP over Avian Carriers" is out of scope here...
 
@AnmolRaghuvanshiVersion2.0 '
 
user895378
3:18 PM
@bwoebi I haven't had a chance to work on it yet. Hoping to do so this weekend
 
@LeviMorrison I've just mailed him about his absence on IRC :-)
 
user895378
I think I can just rip off a lot of the protocol logic from that existing library
 
@bwoebi The reason I don't want the fix in my RFC is that it it needs to be done whether my RFC passes or not.
 
@LeviMorrison you can fix it in the RFC and do another RFC in case yours doesn't pass.
 
3:19 PM
I'd rather just omit it from mine and leave it completely to another RFC if Dmitry wants an RFC for it.
Sound good?
Really we just need to chat with Dmitry in IRC ^_^
 
as you wish…
 
Hi @Oldskool, can you help me with LFTP?
 
Not right now, busy.
 
ok, mention me later?
 
user4406723
hi everyone
 
3:29 PM
@JonClements Usually I reply to people by flagging the message and having a mod tell the other user what I wanted to say. Since you are a mod I'll forgo that this time, but I'll still pointlessly ping @MadaraUchiha because I enjoy annoying him.
 
@Devilion That won't be today, gotta run in a few and won't be online again until tomorrow. But there's plenty of people here, so just drop your question and wait for a response.
(or post a question if nobody knows)
 
@DaveRandom That's "nice". You might want to consider that annoying us isn't really going to get you anywhere positive fast though. "The boy who cried wolf..." - it's a good story - I'd recommend reading it if you haven't already.
 
@Devilion as in lftp.yar.ru ?
@JonClements #friday (and sorry :-P)
 
@bwoebi Did he tell you why he's not in there yet?
 
@LeviMorrison no reply yet
 
3:33 PM
:/
 
it's a little probelm, when am trying to download the file to my local, it's copied to root automatically. pget test.txt
i need to change the path
 
> PHP Version 7.0.6-1+donate.sury.org~trusty+1
Wahoo! Thanks, @Oldskool
 
user4406723
I'm not sure if this is the right room, but since I started with php, I think this is probably the best place to start. I'm looking to work on a mysql database, but I need the front-end to be password protected. I've found and run through a ton of CRUD scripts, but I can't find anything decent that can be password protected to secure sensitive information. Does anyone have any suggestions on a solution - either produced/packaged, or a script, that they can point to?
 
@Devilion What does this have to do with PHP?
 
Was dumb, didn't realise there was a libapache2-mod-php7.0 package I could install.
 
3:35 PM
@Xerakon Well the "standard" web-based MySQL admin tool is phpMyAdmin
if that's what you mean?
 
@Xerakon Look into HTTP Authentication.
 
oh wait I totally missed the point
 
user4406723
@DaveRandom I use that myself to work on the database, but we don't want the data-entry people to be using it.
 
Yeh I totally did not understand the question on first read, which is my bad not yours
 
user4406723
3:36 PM
@DaveRandom We'll also need to be able to display results to outside users, hopefully using.. uh.. session user id tokens as WHERE clauses on it.
 
user4406723
Ah, okay. =)
 
@Devilion have you tried "man lftp"?
 
!!man session
 
@DaveRandom Command not found. Have you tried Windows instead? It's great and does all the things!
 
!!docs session
duh
 
3:37 PM
[ Session Handling ] Session Handling book
 
@HamZa nop, how is that?
 
@Xerakon have you done anything with this ^^
 
user4406723
@Oldskool So, I have found a few scripts on DevShed and such that looked decent as general login protection and such, but I'm worried because the db's contents will be patient information, so is covered by federal HIPAA laws.
 
Pro-tip: don't just copy paste random scripts found on shady websites...
 
@Xerakon You need to know precisely what those laws are before you start
 
user4406723
3:38 PM
So I don't want to have that crushing weight on my shoulders incase it is easily injectable or crackable or such.
 
"HIPAA" is an acronym that stands for "you need to hire someone who knows wtf they're doing.. for reals... this stuff is no joke"
 
http://stackoverflow.com/questions/36940568/installing-zend-framewor‌​k-2
 
user4406723
@DaveRandom from my understanding, the laws are vague, but powerful in their punishment: "Transmission Security. A covered entity must implement technical security measures that guard against unauthorized access to e-PHI that is being transmitted over an electronic network.27 "
 
@Xerakon Absolutely do not build anything without additional help or training regarding HIPAA. It's not something you want to get wrong.
 
user4406723
@PaulCrovella agreed. Which is why I am not interested in finding just some random script that promises against SQL injection. There are platforms out there, like wordpress, that can be HIPAA-compliant, but it is difficult to find what I am looking for using its framework.
 
user4406723
3:45 PM
@LeviMorrison Do you have any suggestions on where to look either for a contractor for that, or eLearning?
 
Not particularly. I work for a University so we have people dedicated to this kind of thing.
 
> A supplemental act was passed in 2009 called The Health Information Technology for Economic and Clinical Health (HITECH) Act
Politicians must have so much fun working out ways to make those acronyms mean something
This all sounds like PCI-DSS, which is a huge turd and I can tell you from experience that if it's even remotely like that then you want to pay someone who knows what they are doing to do this shit.
It also seems to be impossible to obtain a canonical copy of the rules
 
user4406723
@DaveRandom our webserver/host is HIPAA-compliant with SSL and such. The specialize in it, and I tell you.. it comes at a pretty penny. I'm more worried about injection into anything that I build.
 
user4406723
And yes. From my understanding after talking with IT people from our vendors... it's almost like there is not a set of hard-and-fast "it needs xxx encryption" or such. It's just "if it is breached, there might be a fine. if you don't tell people it is breached, there's definitely a fine."
 
Well since you are talking about an authentication system, start here:
!!docs password_hash
 
3:51 PM
[ password_hash() ] Creates a password hash
 
!!docs pdo::prepare
 
That manual page seems to be in a format I don't understand
@PeeHaa error has been logged. Fix it fix it fix it fix it.
 
stupid jeeves (nothing to do with me)
 
what do you mean "stupid"? that's the best error recovery I've seen from him yet
 
Oh wait it did give the ref
Oh i saw that "error has been logged" thing, must be to do with edits
 
3:54 PM
!!docs some_non_existing_thing
 
[ method_exists() ] Checks if the class method exists
[ session_register_shutdown() ] Session shutdown function
 
!!docs eval
 
[ eval() ] Evaluate a string as PHP code
 
need to special-case that one with the comic
or wait, that was goto
 
special-case with a kick/ban
 
3:55 PM
lol ^
@PaulCrovella both really
 
I used goto recently /o\
 
I used it a couple months ago, then I got better.
 
dammit I broke method lookups
 
but it was during a bunch of library initialisations in a C program, and I wanted to skip to the right stage of de-initialisation without having everything in nested if statements
 
!!xkcd goto
 
3:58 PM
 
@NikiC in the last example of that section wiki.php.net/rfc/… , A::method() would be allowed too, right?
(because same inheritance tree)
 
@DaveRandom Probably a fuck off message that slipped through
 
@bwoebi yes, sure.
I'll explicitly mention it
 
@NikiC thanks :-)
./sapi/cli/php -r 'function foo() { var_dump($this); } (new ReflectionFunction("foo"))->getClosure()->bindTo(new stdClass)();'
object(stdClass)#1 (0) {
}
@NikiC will this code be broken by the RFC?
 
@bwoebi nope
 
4:18 PM
because $this is not special cased anymore
especially property access on $this
 
@bwoebi I checked experimentally, still works :D
 
okay, fine
@NikiC does that apply to Closures too (as they may be unbound too), or only normal functions? (I assume the former, as else we'd still have to check for NULL)
 
@bwoebi implementation changes closures to fetch $this as a CV as well (instead of using UNUSED). It should still be net-positive performance wise because we eliminate a null check on every $this access in methods
@bwoebi actually, it definitely shouldn't get worse, because it's still just a single check for is_object
 
@NikiC yeah, and as we anyway won't be able to inline inside Closures (at least not as long as we cannot statically determine it's not being rebound), that's not an issue
 
@bwoebi yep
So what do you think, does this change stand a chance?
I'm afraid it'll get a "BC break in minor version" knee-jerk reaction
 
4:26 PM
Yeah, I don't see arguments against it.
@NikiC I think there really worse things we could break
 
hearts?
 
@NikiC perhaps we'll have that sort of reply on internals, but vote shouldn't be a major issue IMO.
@Danack hah
 
btw I decided to be tired/ill instead of doing that auth demo....but did you get a chance to work on a certain callable cast thing?
(working in an office appears to be very bad for catching colds.)
 
@Danack Oh, I should have already worked on it...? Nope, but I can, if you want to. [But was busy with politics and before union types impl last days and now doing something work related]
but I can give it a shot on weekend
 
@bwoebi What work do you do?
 
4:32 PM
@bwoebi it's beyond my abilities....I can write the tests, but if you could look to do the actual implementation that would be super-awesome.
 
@NikiC see IRC
@Danack I doubt it's beyond your abilities, but you probably lack some experience to do it quickly. … I'll give it a shot then
 
thank-you.
 
!!xkcd random
 
4:47 PM
Halloe roomsters \o/
 
@PaulCrovella It's reasonable... considering the number of stupid questions today
 
@PeeHaa I sent the SO folk a message through the contact form about bluemix.. turns out their docs give really shitty advice about posting here. Hopefully someone from the community team with get in touch with them.
 
@PaulCrovella Oh god. yeah that's not going to end well. Both facebook (fixed now) as well as soundcloud docs basically was a single line "fuck off to SO and go screw yourself"
 
heh
 
bluemix's is more verbose, and at least they actually answer questions here, but still equally bad
 
4:51 PM
Yeah still the issue of crap, but at least some of the crap has answers :P
Good news everyone: after two days fucking around I have created a button in ios and it actually works
#BeerPower
 
@PeeHaa "button"?
 
@PeeHaa Much wow.
 
@Saitama Yes a whole button
 
gmail is offering me this "inbox by gmail" thing... anyone have experience with it? am I right to fear change and ignore it?
 
@PeeHaa what happened to #SwiftMagic?
@PaulCrovella inbox is having a nice material design...
 
4:53 PM
@Saitama Once you want to have something fancy it still boils down to painfully sewing views together
 
Wes
evening
 
Hey wesley o/
 
Wes
Hey pieter \o
 
@Wes '
 
the page describing it scrolls weird. I'm gonna pass.
 
4:56 PM
@Saitama You actually like material?
Ewwwwwww. Filthy hipster
 
@PeeHaa /me slowly flies away
ye.... yeah... I do
 
I do too. It's functional and generally stays out of my way.
 
Hello there o/
 
@Saitama eeeeew @PaulCrovella x2
@user2910809 ohai
 
Wes
!!tweet 30241376
 
4:59 PM
lolwat :P
 
Wes
is that the syntax?
 
@PeeHaa if they released a css file that made your stuff look as good you'd use it, don't lie
 
I think we should use $ or $$ instead of !!
 
@PaulCrovella I have used it for my last project and I still hate it :P
 
5:01 PM
@PeeHaa heyhaithere
 
@Wes !!tweet {permalink}
 
@Wes I'm sorry Dave, I'm afraid I can't do that
 
LOL HOLD ON
 
Wes
@PeeHaa it was a trap, right
 
5:02 PM
woops caps
 
Wes
:D
 
that's like the second or third time, at least, someone tried with just the message id... may as well support it
 
!!admin add 4251625
 
User added to the admin list.
 
!!admin list
 
5:03 PM
low tone
 
sadtrombone.com
 
I am fairly sure that was the command...
 
Wes
@PeeHaa jeeve's dead pete, jeeve's dead
 
Don't think so
!!version
 
5:03 PM
 
@PaulCrovella Good point
 
he's a resilient little elephpant
 
Oh @Gordon already tried to tweet that one @Wes
8 hours ago, by Jeeves
@Gordon Boo! The message exceeds the 140 character limit. :-(
As usual "it's on the list somewhere" :(
 
Maybe if a message exceeds 140 chars, substr it, add some periods and put a permalink to the message
 
@PeeHaa is there any good reason not to at least show the message of surprise exceptions to the room? It's not like Jeeves is a production tool that needs shiny idiot-friendly errors, it's a tool for devs by devs...
 
5:08 PM
@DaveRandom The main reason I didn't do it is because PHP tends to dump credentials in traces when you least expect it
 
Yeh full trace probably not a good idea but even $e->getMessage() might provide a clue
I'm setting up a test instance anyway
 
try it out :)
 
I should be fine running it as myself right?
 
Works for me
 
Might have to put a patch on to make it only respond to me...
 
5:10 PM
@DaveRandom Use the cv pls account
Assuming it's an SO openid account
 
Doesn't have an SE login and I forgot the google password :-X
 
The latter is fine as it only currently support SO :P
 
wait, let me try and hack my own stupid password again
Oh I remembered it \o/
 
I bet it was hunter2
 
It's even more super-secure than that
which is why I couldn't remember it
 
5:17 PM
12345? correct horse battery staple?
I've gotta be close, I mean how many passwords are there
 
admin123
' OR 1=1;-- also works sometimes
3
 
Does anyone how would I find the post loop for displaying Portfolio items on this Worpress theme: demo.select-themes.com/stockholm11
 
@user2910809 Are you looking for the specific file to edit?
 
A.L
5:34 PM
I think that the closest chatroom for Symfony. How should we deal with a question about tag aliases that has been forgotten? meta.stackoverflow.com/questions/297725/… Thanks in advance
 
Open a beer and agree that meta just doesn't work
4
Works for me ™
 
+1
Only 15 more days to go for summer vacations!
\o/
 
What's this vacation you are talking about?
 
I mean, a long term holiday for school...?
 
Anonymous
I doubt any developer truly can take their mind away from THE CODE!!
 
Anonymous
5:39 PM
We all have some sort of adhd
 
@PeeHaa Yep, I'm trying to figure out if it's the shortcode.php file or something else.. trying to solve this conundrum of mine stackoverflow.com/questions/36943598/…
 
@Saitama Oh that thing I had 10 years ago
:P
 
@PeeHaa by the way, sorry for the late reply - I was AFK crying about not being able to solve this
 
@user2910809 try to find something uniqueish and search through the entire project
 
youth is wasted on the young
 
5:43 PM
@PeeHaa heh
 
@PeeHaa what would you suggest as being uniqueish? I thought it might be this in the shortcode.php file: prnt.sc/aydsj7
 
Just find something in the html that is unique enough and search for it
 
Hey core peeps, I need to verify something for a ticket that a library user submitted: PHP programs themselves can't cause a segfault (barring explicitly exploiting a bug in the PHP interpreter), because there's no way to directly modify the memory locations being accessed... correct?
 
Note I don't know enough about wordpress, but that's just general advice
explicitly or accidentely
It's not like segfaults are that rare
 
True, but they're bugs in the interpreter, and the general advice is to recompile with the latest PHP, yes?
 
5:48 PM
If it is fixed yeah
 
Thanks. :D
 
@Ghedipunk could also be a bug in an extension
 
I got to face an seg fault, when I tried to do tinker around in the source...
 
:P :D
 
Lel
 
Wes
6:17 PM
w3c/whatwg sucks the life out me and make me depressed. even worse than php
 
the larger picture of jeeves on twitter makes me wonder what exactly he's doing with his trunk just out of frame
with the look on his face it's like we walked in on him during something
 
Wes
lol
 
No, it's not forreal, it's Friday.
 
@Ghedipunk Wutcha on bout mate? It's Saturday for me.
 
Wes
6:28 PM
@HassanAlthaf dammit
 
@Wes How may I help you, sir? Did you encounter a syntax error? Or did you reach to a page which has a uncaught exception?
 
If you're going to post Friday, the least you could do is get clever with it. rebecca.friday
 
Wes
dammit 2
.... /me actually enjoys watching rick astley every time :B
 
Wes
how did you do that
 
6:30 PM
@Wes fiow.
Used stackoverfiow instead of stackoverflow
 
lmaooo
did he just buy a domain for a prank?
 
@Ghedipunk you too, musn't be fun at parties
 
Wes
damn u haxxor
 
@HassanAlthaf it was @FélixGagnon-Grenier
 
I see.
 
6:32 PM
You should see me at Penn & Teller performances... Hint: when they put Teller's head in a box, they never show the back of that box.
 
Apr 19 at 11:29, by Gordon
@MadaraUchiha the only reason we are here is because of rebecca
 
We need a new Friday ambassador.
 
there hasn't been a good new rebecca link in weeks
 
:'(
 
6:35 PM
when jeeves got the command I think everyone just gave up
 
Not Rebecca: (Turn the volume up) youtube.com/watch?v=NGJV0P_r1Rs
 
Rack city bitch, rack rack city bitch.
 
@Wes Blocked in my country.
 
Wes
dammit.
 
6:37 PM
My parents are sleeping atm and it's night in here, and if I turn the volume up....
 
@Saitama Headphones exist mate.
 
Wes
@Saitama if you have those issues you shouldn't even be in here on fridays :B
 
Friday is meant to be
No-PHP day.
At least for me.
 
@HassanAlthaf I hacked the Motherboard so much the port doesn't work anymore.. :P
 
@Saitama I did not mention any specific port. I am pretty sure you have USB ports working. Or if you have none working, bluetooth headphones also exist. :P
 
6:38 PM
Stick headphones in your normal audio out port, then.
 
Wait, how do you even connect your speakers?
LMAO
 
@HassanAlthaf That 3,5 mm only works....
and its really hard to reach....
 
Wes
sometimes my mind goes completely blank and i even forget how for(){} works. it could be a disease and worries me a lot
 
@Saitama It is not a problem. You can try Audio Technica M30x. It is about a $100, and it has got such a long wire. I think it is like over 2 meters long.
 
6:41 PM
Skills -> Laravel... Isn't that like saying "Dexterity -> Falling on my face"?
 
Or you can also try Sennheiser Orpheus if AT M30x is too cheap coming at a sum of only US$50,000
@Ghedipunk I don't even know. Most people ask if I know Laravel.. so yeah... I just listed it there... lol
I honestly like Laravel. It is nice. :)
Don't know why most people don't like it. It boosts development time a lot.
 
I just found out a hashing algo in php named gost and I would use it just because it sounds cool :P
 
GOST has a collision at 2^105 evaluations, and preimage at 2^192... link.springer.com/chapter/10.1007%2F978-3-540-85174-5_10 Still pretty good, but sub-par for determined attackers.
 
I posted my third comment on 9 gag the day before yesterday and it got 1050+ up votes
 
@Saitama :p
it's getting old though
 
6:50 PM
dy/dx
 
I have to start using it for phishing
 
:/
 
how do i dy/dx in PHP?
 
(no worries, I'm only 15% serious)
 
Fuck...... Calculus......
 
6:51 PM
Calculus has gotten up my nerves.
My school math is fully calculus
so rack rack city bitch
 
@HassanAlthaf What do you mean by that? Are you looking for a symbolic differentiation library written in PHP?
 
@FélixGagnon-Grenier then it would be only a matter of time, after which chrome would display those ugly red banners
 
Calculus is both the shiz and the nit
 
:P
 
@NikiC I want a simple library, that takes an equation which has a single variable 'x' with multiple terms which produces a differentiated equation in terms of x.
Something like, if the user inputs: x^2 + 2x,
The program should output,
 
6:54 PM
2x + 2?
Or 1/3(x^3) + x^2 ?
 
2x + 2
 
... + C obv
 
@Sara Second one is Integration.
Indefinite Integral of the equation x^2 + 2x
 
@HassanAlthaf Right, but your question wasn't clear, so I was trying to get you to clarify
 
And yeah the first one is the differential equation.
Will help us kids to check our homework
 
6:56 PM
@HassanAlthaf After a bit of searching, found this: github.com/mossadal/math-parser
 
There's nothing baked into PHP to do anything remotely like that.
There MAY be libraries out there, I have no idea, but tbqh you probably want an entirely different language for that...
 
It claims to support symbolic differentiation
 
@Sara Oh.. :o
@NikiC Whats symbol differentiation?
 
@HassanAlthaf It's what you want
 
@NikiC Oh, thanks, I'll take a look.
 
6:58 PM
@HassanAlthaf What concerns me is that the sample differentiation output in the README is actually wrong...
I hope the README is wrong and not the library :D
 
@NikiC Wher e about?
 

« first day (2022 days earlier)      last day (2926 days later) »