« first day (1779 days earlier)      last day (3155 days later) » 

12:35 AM
For people with Facebook API experience, How do I access user_about_me (i.e. birthday etc) on a sandbox mode. It's asking me to get it reviewed? Why do I need to get it reviewed while in sandbox mode?
 
12:58 AM
Hey
how do I combine these? UPDATE voting_system
SET good = good - 1 + 1
UPDATE voting_check
SET voted = 'good'"
 
 
2 hours later…
2:42 AM
@Danack I will take a close look at the patch later, but is there a reason you chose toCallable() instead of simply callable()?
 
3:08 AM
good morning
 
Wouldn't toClosure be more accurate?
toClosure(callable $callable) : Closure
 
good morning @Orangepill
 
@AnmolRaghuvanshi o/
 
@DanLugg is that to bind a callable to an objects scope?
@NSGod looks like a sane implementation of haversine distance in mysql ... what is the problem that you are running into
 
3:37 AM
@prograhammer Did @ocramius ever weigh in on the proper way to enforce the unique constraint on an AR?
 
@Orangepill refer to @Danack's messages ^^
 
3:52 AM
okay I see how that can be useful
 
 
1 hour later…
5:08 AM
good morning everyone
 
good morning
@tereško I see my name is being taken in vain... what am I being accused of?
 
use of if { in loops }
 
did I supposedly say that it was a bad thing?
 
No idea @Orangepill may be sajad took in wrong way
 
Probably...
Think it was in reference to this ... I can see how it may have led him astray.
 
5:31 AM
yes he took the thing in wrong way....
 
5:55 AM
What are some of your guys favorite ways to submit a form and show a confirmation on the same page (not just showing a small message)
I'm trying to reduce the number of pages I have in my project just because it would be easier to manage. I have a tripinfo_edit page which lets you edit the tripinfo and then the tripinfo_update page "confirms" the update of information. I could make those into one page and it would be so much nicer.
 
if on $_SERVER["REQUEST_METHOD"] and include different templates based on if the value is GET or POST
@benlevywebdesign something like this
 
form.phtml would be a file, correct? could I just include the form on the same page...
 
@benlevywebdesign You could but I like to keep my templates separate.
 
6:10 AM
template?
 
for me usually just a php file that contains mostly html with php to echo output.
 
At yet another airport, waiting I'm the lounge :-)
 
I'm the, in the. Same difference
 
keeping your code clean of a lot of markup is always a good idea
@ircmaxell looks like you are having quite the adventure.
how close are you to getting million miler status with united?
 
6:18 AM
So if I just include the form in the file
if ($_SERVER["REQUEST_METHOD"] == "GET"){
    include("form.phtml");
what would I do with the first if?
 
moin
 
morning
 
@benlevywebdesign are you asking what the first if is doing for you there? It's detecting if the request for the url was a HTTP GET vs an HTTP POST so you can behave appropriately to the request.
 
@Orangepill yup
@Orangepill 300k so far
@JoeWatkins Good evening
 
that is of course assuming that the form has method set to POST
 
6:21 AM
No
 
@JoeWatkins hey
 
still travelling about I see @ircmaxell, when do you get to where you're going ?
 
@JoeWatkins can you take a look at github.com/krakjoe/apcu/pull/107 for branch seven?
 
@Stricted do the testing in the seven branch and make a PR to the right branch ... and then sure ...
 
@JoeWatkins ok
 
6:22 AM
@JoeWatkins in about 4.5 hours
 
If I am on the page with the form
 
then tomorrow morning, it's on to hobbitontours.com
 
oh so you're on holiday then ?? I thought you were travelling for work stuff
 
nope,
 
@benlevywebdesign If you are on the page with the form you probably got there via a link which would relate to a get request on the url... once you fill in the form and POST it then you would get to the POST case of the if statement.
 
6:25 AM
speaking at a conf on Wed through Friday
but spending 2 days before on Vacation, then 4 days after
 
not even 8am and I've fixed an inconsistency that existed for more than ten years github.com/krakjoe/apcu/issues/40
5
@ircmaxell oh I see, pretty sweet ...
 
@Orangepill here is the current state of the page I am going to work on before I start making changes
 
@Stricted be sure of what you are committing ;)
 
@JoeWatkins yup, I try to do a day extra, but when I fly to the opposite side of the world, I make it a week
 
@JoeWatkins thank you :) but its better for me to open pull request to not push any bullshit :D
 
6:30 AM
yeah do that, I'll take a look ... this time ...
 
@Benlevywebdesign are you wanting to submit the form and show a confirmation page without reloading the page.
 
@ircmaxell hehe, gotta make it worthwhile ... don't you fly that far quite regular though, or is it a new place this time ?
 
morning
 
@Stricted I dunno if you noticed, but I'm not that into apcu, I took the project on thinking collaborators would come out of the woodwork ... there are quite serious problems that I don't see solutions too, the API is crap, it tries to support too much internally, the code is a mess (even though I worked on it for many many hours) ... if someone is going to take the time to test bugs and put in prs, then they might aswell push for themselves ... they are more interested in it than I am ...
 
morning
 
6:32 AM
I done seven out of a sense of duty not because I enjoy APC ... I definitely don't ...
 
well I need to get to sleep... goodnight guys
 
just a week ago I was talking on reddit about dropping it ...
 
@benlevywebdesign if that is what you are trying to do then you need to look at ajax
 
nn @Orangepill
 
@JoeWatkins no, this is at least 2x my normal "long" trip length
 
6:33 AM
@Orangepill yes, essentially
 
moin @AnmolRaghuvanshi
 
@Orangepill good nite
 
I am looking into ajax right now
 
@ircmaxell Have a safe flight and a good conference
 
last year I did argentina, which was 15 hours of flight time total. This is 24
 
6:34 AM
@JoeWatkins morning
 
I want to put the info from tripinfo_update.php on the same page as tripinfo_edit.php
 
@ircmaxell don't you ever miss home ?? I miss home when I go to the other side of the uk for a couple of days ... I've never spent a week away from home ...
I'm such a weed
 
morning
 
moin @Sherif
 
o/
 
6:36 AM
morning @Sherif
 
@Stricted looks right to me, ship it ...
 
@JoeWatkins ok, i will do the same for branch simplify
 
@JoeWatkins about 10 days is that line
 
@Stricted good good, thanks ;)
 
before that, I'm enjoying traveling enough to not really "miss" it. But past that, I just want to sleep in my own bed again...
 
6:38 AM
@ircmaxell Where ya headed?
 
@Stricted also, could you browse through issues that are connected to that and close em for me ...
 
@JoeWatkins sure
 
@Stricted thanks
 
@Sherif New Zealand
spent the day in Sydney, now chilling at the airport waiting to continue on to Auckland
 
Oh wow, that's a long flight.
You flying out from NY?
oh
nevermind :)
 
6:40 AM
that's extremely far
 
I hate long flights. I can't even stand the 5 hour flight from NY to SF
I can never sleep on planes.
 
@Sherif 3 of them. 6 hours to LAX, 14.5 to SYD, then 2.5 to AKL
@Sherif I slept like a baby on the LAX->SYD leg. And I never do normally either
 
Were you in first class?
I can sleep in first class.
 
business
but yeah, lay flat seats make a huge difference
 
Which airline?
 
6:42 AM
and I'm upgraded again on the way back (leg from SYD to LAX)
@Sherif United
 
Man I just recently had a spat with them on a flight to NY.
 
I have spats with them constantly
 
I've used United for a long time, but this was my first real problem with them. I don't know what happens. I have so many miles with them too.
 
but 300k lifetime miles with them, including 200k in the bank to be used, and on track for Platinum or possibly even 1K by the end of the year.
 
Oh dear, I don't have that many. heh
 
6:43 AM
Oh boy, my poor wifey is gonna be a disaster tomorrow; just had to drive into the city, pour her into my car, and essentially carry her upstairs.
 
@DanLugg make her drink water tonight
lots of it
 
Already did
Brought 2 bottles in the car
Been in her shoes; know the ropes ;-)
 
:-/
yup :-)
 
Anywho; random life update
Event sourcing and related transaction-and-materialized-view implementations for the win!
 
@jeremeamia @dcousineau That's what you get for writing https://github.com/jeremeamia/super_closure and https://github.com/jeremeamia/recursed! http://t.co/ISKZxgNe5P
 
6:49 AM
Yay, finally done with my response to #DisruptTechInterviews video youtu.be/7w0SEYFFTSI
:)
 
i am getting this error can in phpmyadmin at the time of inserting data - #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert into os_t_category_description values (3,'en_US','Academic','','academ' at line 15
 
Abe
morning o/
 
@ircmaxell sounds great
 
\o morning abe
 
6:58 AM
@Stricted you want me to do the c stuff for the modification_time/mtime thing ?
(it's one line, I'm sure you could do it ... but dunno if you're comfortable)
 
ohm
its better you do it :D
 
my c knowledge is not the best ^^
 
@Stricted volt/amp
 
I was gonna do that @ircmaxell
it's supposed to be mtime, not modification_time, just to be sure ?
it is, I checked ...
 
7:01 AM
yes its mtime :) i loked into the APC source to be sure ^^
 
so silly, but okay ...
 
i dont know why they named it mtime and not modification_time, thats stupid and not consistently but okey :)
 
^^ that's totally me
 
:D
 
@Stricted yeah, you try to make improvements and make it consistent and everyone complains that they want it the old way ...
it's silly that we're going to take the apc compat to seven ...
we'll be carrying them for another 10 years at least ...
 
7:05 AM
@JoeWatkins from my side you can kill the apc compatibility for seven
 
I dare not ... there would be murders ... I'm sure of it ...
 
i dont need it, i write a class to support both ways
 
I think most people wrap it because the api sucks, but I'll still get screamed at if I remove apc functions probably ...
@ircmaxell update /rfc voting section I would ...
 
@JoeWatkins yes, good point
forgot to even put it on that page
 
minor woops is ok on sunday ...
 
7:11 AM
done
 
nope, its a package maintainer issue
if debian/ubuntu cant build it correctly its not your problem :D
 
they screw everything
 
I tried to use packaging software once ... I still wake up in a sweat sometimes, clutching my pillow screaming "but I don't want to ask an alien for help, it's scary" ...
 
7:20 AM
wtf, the old apc is so inconsistently
on the iterator they call the key "key" on apc_cache_info they call it "info"
 
@Stricted whatever you do, don't try to fix it ... just go along with it ...
 
I doubt we are doing that are we ?
 
^^
 
we should I guess ...
omg, I hate making software worse, I didn't sign up for this ...
 
7:24 AM
I love making software worse. You get a backdoor. You get a backdoor. Everybody gets a backdoor!
 
i love to build backdoors :D (not really)
 
@JoeWatkins i found another issue :D
 
7:27 AM
excellent, what's that ?
 
num_expunges on apc is called expunges
 
oh god ...
erm ...
 
what's the game? take a shot every time someone finds an ACP/ACPu inconsistency? or...
 
APC*
wow I'm sober and I can't believe I made that typo twice
 
7:29 AM
:D
 
I tried to make it consistent when I done apcu, but there was much backlash, so now we're trying to undo that ... but involves making things worse ... I hate that ...
also, yeah, that's more or less the game ...
 
@JoeWatkins i change that und push it to github
 
changed what ?
 
num_expunges to expunges
 
done it in the c or in php ?
(I don't see change)
 
7:31 AM
sure
wait a sec
done
 
okay good, thanks
 
the same for simplify branch?
 
yep
/me spawns another C programmer
 
:D
 
7:35 AM
hehe
 
actually i learn c#, bad thing ^^ it would be better if i learn c :P
 
I learned C in college, and it was useless
when I actually tried to work on projects written in C, none of what they taught was any use
 
doesn't look like it does in books, no sir ...
 
I ended up saying "balls to this" and learning the same way I learned every other language: through a process that is not too dissimilar to fuzzing the compiler
 
next time the misses asks me what I'm doing, and it's too hard to answer, I'll be using "fuzzing my compiler" ... just so ya know ...
 
7:40 AM
lol
C# isn't a bad language
it's like Java, but Microsoft flavored instead of Oracle flavored
 
agree, of all the things MS ever created, I hate C# the least ...
 
oh hey voting opened on the RFC
 
I already won at voting @ScottArciszewski ...
 
?
too bad I can't vote :P
 
I voted first ... so I won ... I think that's how it works ...
 
7:44 AM
lol
 
Let your tests run with phpdbg, you'll never have failing tests again. :P
 
wtf
whats goin wrong with google chrome -.-
 
morning
 
@RonniSkansing o/
 
7:56 AM
@Stricted wat
 
@Andrea look at the screenshot, google chrome gives me some crazy symbols
 
@Stricted yeah, that's what I was reacting to
maybe the monospace font is corrupted? idk
 
idk whats wrong, after a restart everyting is normaly
 
current status: arguing with someone on linkedin who thinks I'm incompetent because I don't believe there is any value in security through obscurity
 
@ScottArciszewski
im a "fake developer"
:D
 
8:05 AM
lol
I hate when ignorance and arrogance intersect
 
> Uh, no shit. If someone has persistent root access on your server, there's very little you can to do stop them from discretely logging passwords in plaintext.
Well, you could hash it on the client side, but not with a safe salt.
 
they could also change the JS to be malicious
e.g. encode it, and send it to a typo'd google analytics domain via AJAX to exfiltrate it
it'd be noisy (and they might need to rewrite the CSP headers, assuming those even exist)
 
@ScottArciszewski Using an image might be a better choice, most people, even if they use CSP, use * for images.
 
lol
that's depressing
but yeah
 
And even if not, proxying the user images doesn't help either.
 
8:11 AM
I updated the gist with their recommended code
 
@ScottArciszewski That's non-security through obscure code.
 
lol yeah
 
@ScottArciszewski Giving it a thought, how can we prevent such leakage? All images using a proxy with signed URLs could help, so the user can't dynamically generate those proxy URLs.
 
I had a proposal for CSPs signed with an offline key
EdDSA signatures, TOFU, etc
no one was interested in it
 
But there's still an issue, because every site that allows user generated content can still generate content then, e.g. write all the data to a README.md file on GitHub, but it's already way harder.
 
8:20 AM
@ScottArciszewski the code on gist is crap, if you get a bunch of hashes you can get the "salt1" and "salt2" parsed out and you have the reversed md5
not a big challenge
 
yeah
I just dropped an 3v4l :P
@kelunik Escape output properly
 
ah nice
 
as far as "malicious javascript provided by root exploiter", well
don't allow arbitrary user-provided Javascript
and then aggressively whitelist and authenticate all code
Ed25519 is a thing ;)
 
@ScottArciszewski i think we see this wrong
his code is the best in the world and unhackable ;)
 
8:23 AM
@ScottArciszewski There's always a place where a protection is missing or incomplete. ;-)
 
you're right, I better go tell jedisct1 to drop Argon2 in favor of this strategy
 
^^
 
Move over Argon2, this code from a REAL DEVELOPER is secure against, gasp, ALGORITHM TYPE MATCHES. https://gist.github.com/paragonie-scott/a6e0d9b9929cb0a2c3db
 
haha nice
 
> Many do not realize that the browser window on a hackers computer while on your website can enter their java
 
8:28 AM
I uninstalled Java years ago
I only needed it for Minecraft
:P
oh, and Netbeans, but I use Brackets now :)
this is fucking golden
 
i use komodo ide and visual studio :)
 
that's the person who I'm arguing with's github; merge conflicts in the README
 
wtf
 
@ScottArciszewski Its password field is clear text: essenceone.net/index.php?page=login
 
8:33 AM
I should stop before I accidentally a felon
y
 
@ScottArciszewski crazy guy
 
@ScottArciszewski word salad can be a sign of schizophrenia, it's possible the person you're talking to might be sick
 
>EssenceOne Framework provides a Class Module Routed Controller to handle Class Module Page Routers Views and Models in a alphanumeric way.

...
 
I admit I'm not very familiar with mental illness, aside from the ones I grew up around
antisocial personality disorder runs in both sides of my family :P
 
@PaulCrovella I genuinely words my get mixed up day every.
 
8:44 AM
this thread keeps on going
 
@ScottArciszewski i think he dont understand you
@ScottArciszewski are you sure you speak english? :D
 
@Jimbo Word salad is something quite a bit more severe than that. To be fair that dude's github project doesn't quite make the cut for it either, but it's the closest I've seen in MVC framework form.
 
you may be right Paul
it's not hard to figure out
but it's still ugly
 
essenceone.net can anyone else scroll to the right forever?
 
8:53 AM
yes, with the arrow keys
 
or middle mouse button
 
not forever, but about another screen width over or so
 
what does he even mean by "alphanumeric"?
 
@ScottArciszewski a-z0-9
 
:|
I walked into that
 
8:54 AM
:D
 
quite the selling point
that logo seems to be a popular steal: 1 samikshaa.in 2 infosoluce.com 3 joeyourcomputerguyllc.com
 
I don't think he means that in a joking manner.
 

« first day (1779 days earlier)      last day (3155 days later) »