« first day (1938 days earlier)      last day (3010 days later) » 

7:11 PM
o/
 
\o/
 
just saw xcom is on sale now -_-
 
1st world problems
 
:p yeah
hey, can you see internal server error here? quora.com/search?q=%C5%A1
no, that's not it
 
nope
 
7:24 PM
it was ?q=š but when I paste it changed on link - try with that, please
anyway not really important
 
erlock holmes
 
7:39 PM
@Machavity comon why do u hate it ?
 
sh-4.3$
 
@Andrea fig-php, lol
 
@Machavity Room 11 has been lacking in kitten talk. *frowny face*
 
@Danack Did you trim your beard? it's not in the shot...
 
7:54 PM
@Leigh It also doesn't quite look like male legs to me…
 
As I used to tell my ex... die deutsche leute haben keinen sinn fur humor
 
@Leigh good that I'm not a German :-D
 
Oh? Now I look silly :(
Austrian?
 
@Leigh I did a tiny bit....it seems to grow more bouffant rather than longer...
 
@Leigh Luxembourg :-P
 
7:56 PM
@Danack I was at the shop earlier, and there was a guy wearing a tricorner hat, he didn't look like he was joking...
@bwoebi So YOU'RE one of the three.... :D
 
For some reason a lot of people (including me for while) think bob is german
 
@PeeHaa I have no idea why. Probably because I know he speaks German :x
or at least understands
 
@Leigh three … benelux countries?
 
@bwoebi no.. three inhabitants of the tiniest cutest little country in Europe :D
 
@Leigh nah, that's Vatican :-P
 
7:59 PM
wait.. the vatican is an EU member?...
 
There's only one inhabitant!
@Leigh well, it's in Europe … not in the union, but in Europe…
Also AFAIK Monaco is in the Union though ;-)
 
Yea but they have (had?) a hot princess
 
^^
 
The vatican has a grumpy dinosaur
 
Stop amusing me :-D
 
8:02 PM
Luxembourg, Monaco, vatican. My grammar is bad, but I still use capital letters for important words
 
@bwoebi Nope. Monaco is not part of the EU.
 
@Leigh hehe
 
@kelunik oh, it was Malta
sorry for confusion
 
@bwoebi gambling++ \o/
 
8:04 PM
@PeeHaa heh, I know there was one tiny country in EU, just not 100% sure which one :-D
 
@Ekin :P
 
@PeeHaa Isn't that Gibraltar
 
Most of them are in malta afaik
@bwoebi ^
@Ekin Looks like a lot of confused people in there :)
 
indeed :)
 
> Today Gibraltar's economy is based largely on tourism, online gambling, financial services, and shipping
They don't even do real work over there!
 
8:08 PM
@PeeHaa Heh, it's exhausting to do nothing all the day!
 
Some days I wish I could try it out :-)
 
You missed smuggling I think?
 
No I did not
> financial services, and shipping
:P
dit?! I suck at this typing thing
 
@PeeHaa so … going to do anything about that Amplify thing?
 
I want to, but I don't know where to start. Have been looking into some JS frameworks to use on the frontend (angular and react) mostly, but I think they both do too much
 
@PeeHaa And I still am not sure what this should look like … all I know is that it should be some backend+frontend framework over websockets … bit vague though for me ;-)
 
Yeah I am having a hard time articulating what I want to do (which is probably a bad sign)
 
@PeeHaa I think it's pretty common
You get to a certain point, and everything is boring.
Oh wait.. :/
 
;-)
 
user image
11
 
8:28 PM
@tereško heheheh
 
@tereško endorsed me for PHP. Holy shit. 4 bloody years later! :D
 
I was clicking through endorsement suggesting couple days ago
 
Endorsed you back for MVC, tempted to click Laravel too
 
:|
 
:D
 
@Ekin Aww, that's awesome
 
that's cute
 
/me singing all you need is love
 
Anybody familiar with SlimPHP?
 
8:37 PM
I swear there are just trolls upvoting wrong stuff on SO to confuse people
$name = ($_POST["name"]) is a boolean expression. it would return either 1 or 0. You need to do $name = $_POST["name"] instead. That will fix it — Miki Berkovich 6 mins ago
 
Hngggggggg
 
@PeeHaa I … noticed :-/ you maybe should just try to write a crappy description down … just to get an idea at all.
 
I'm more of a "write a crappy PoC" kind of guy
 
@PeeHaa I'm too. But sometimes the PoC is too much to start with … then a few written notes are needed
 
@PeeHaa I'm sorry. That sentence made no sense. Then again I always read "PoC" as "piece of crap"
 
8:40 PM
A PoC is fine for things which you can just PoC.
 
@Andrea it's different to anything else we have. hard to explain, but it was a simple assignment before (so left hand assigned to right hand) and with the new list it's the other way round and a lot going on. and it's not comparable to an assoc array imo. also, I have a hard time seeing the utility of it. I can do what it does easily right nowand imo without forsaking readability.
 
... also, I need to do some sleeping
 
@tereško No, a PoC isn't a PoC. To misread it as PoC is a PoC though.
 
@tereško proof of concept, but piece of crap might also do depending on how it works out :P
 
@PeeHaa that's why I stopped looking at SO
 
8:43 PM
@ircmaxell sometimes I wonder how people even acquired these misunderstandings…
 
I don't know
 
Bad guess work on how they think it could work is my guess. Kinda reflects some developer's workflow
 
@PeeHaa Yea, bad things happen when devs think their bad guesses would be educated guesses.
anyway … good night :-)
 
Night @bwoebi
 
8:58 PM
"Duplication is far cheaper than the wrong abstraction" http://www.sandimetz.com/blog/2016/1/20/the-wrong-abstraction via @Donzanoid
 
That's the second time I've seen that today, did you link that earlier?
 
Don't think so.
 
maybe it was on YC or something
 
9:22 PM
People
Help please!
I have some encoded PHP
Starts with : PGxpbmsgcmVsPSdzaG9ydGN1dCBpY29uJyBocm
But have no base64_decode
or eval
nothing!
just start with PGxpbmsgcmVsPSdzaG9ydGN1dCBpY29uJyBocm
How can i know how to decode it ?
 
!!eval echo base64_decode("PGxpbmsgcmVsPSdzaG9ydGN1dCBpY29uJyBocm");
 
[ 5.3.22 - 7.0.3, hhvm-3.6.1 - 3.11.0 ] <link rel='shortcut icon' hr
 
Magic.gif
 
lol
 
@Victornez first rule of thumb: Try first.
 
ern
9:24 PM
:)
 
Although, somewhere between 3v4l and jeeves, it's htmlspecialcharsing.
 
lol
 
@jbafford Good catch
 
/me looks at the code and tries to fix
 
Oh sorry. Beat you :P
 
9:29 PM
fine. :P
 
I could revert though :-)
hehehe
 
@jbafford Thanks a lot!!!!!!!
If i get the job, i will sent you a bottle of wine jaja
 
!!version
 
On behalf of @Jeeves thanks anyway @jbafford
 
9:30 PM
welcome
 
!!eval echo base64_decode("PGxpbmsgcmVsPSdzaG9ydGN1dCBpY29uJyBocm");
 
[ 5.3.22 - 7.0.3, hhvm-3.6.1 - 3.11.0 ] <link rel='shortcut icon' hr
 
Much better \o/
 
wait.. in <insert whatever country> all you have to do to get a job is recognise base64 encoding...
 
lol seems so :)
 
9:32 PM
brb, just killing myself
 
@Leigh They're probably paying him like $2/hr
 
well... that does make me feel better :D
 
"Here, kid. We have these base 64 hashes. Manually paste them into 3v4l and decode them and paste the decode into this spreadsheet"
 
./doJob <path to file of hashes>
wait... why are we calling these hashes
stop leading me on -_-
 
Anybody familiar with SlimPHP?
 
9:40 PM
I am familiar that the first search result in duckduckgo is a 404 on github.
Which is actually kind of surprising.
 
I am familiar with AthleticPHP
 
anyway, jest aside, I've heard of it but never used it.
 
Ah damn then nvm lol. I've been trying to get a question asked but haven't had any luck yet
 
Just ask the question. You're much more likely to get a response with an actual question.
 
Well anyways, since I've got your attention: are you familiar with uploading files via AJAX?
 
9:42 PM
I think I've done that before.
 
I need to upload files ( for example: image ) through AJAX POST method
So the problem is, it's easy to just use PHP's standard $_FILES global array, but in this case the array isn't populated with the pertinent file
Since I am trying to upload it via a separate API.
 
Right, because you're using application/json, and not multipart/form-data
 
correct.
but in javascript, I made a FormData object
 
Blogged! PSR-7 file uploads in Slim 3 http://akrab.at/1X7CjlK
 
presuming that the file data is still in the body of the request, you could open php://stdin, snarf the data, and parse it yourself.
 
9:44 PM
probably.
 
Or you could read that blog post which probably answers the question.
 
it's still in the request body, but i can't, or don't know how, to access it.
But i will read that blog post
lol you can't hate me for not having read it though can you?? It was published TODAY!
 
posted on February 05, 2016 by PeeHaa

# New commands - Added `!!rfcs` command - Added `!!package` / `!!packagist` command - Added `!!eval` / `!!>` command - Added `!!canon` command # New features - `!!docs` can find class methods - `mysql_*` docs searches respond with the "u...

 
hah, that's funny
 
what does !!cannon do? Oo
 
9:47 PM
I think you use it like
!!cannon globals
 
!!canon sqli
 
2788
Q: How can I prevent SQL-injection in PHP?

Andrew G. JohnsonIf user input is inserted without modification into an SQL query, then the application becomes vulnerable to SQL injection, like in the following example: $unsafe_variable = $_POST['user_input']; mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')"); That's because the us...

 
!!canon list
 
oh, misread it. lol
 
The following canonicals are currently supported: errors - headers - globals - utf8 - parse html - sqli
 
9:47 PM
@Gordon hehehe
 
oh. Helps to spell canon right.
 
lol x2
 
i just quit a game of nuclear war, so my brain is still on firing cannons
 
"great" minds :P
 
Don't mind me, just firing off the head cannon.
 
9:48 PM
:-D
 
@Gordon I thought the only winning move there is not to play?
 
10:11 PM
alright PHP friends, Help me out here
http://php.net/manual/en/mysqli.real-escape-string.php
my user switched from mysql_real_escape_string to mysqli_real_escape_string
The problem is that mysql_real_escape_string(string)
 
fallout is cool too
anyway, can I do something like sending an empty string? I am not sure how to switch the parameters
 
> my user switched from mysql_real_escape_string to mysqli_real_escape_string
Just because they have similar spelling doesn't mean they work exactly the same
 
Also it's spelled PDO :P
 
10:25 PM
That poster looks like an old playstation commercial @ern
 
ern
@PeeHaa :=)
 
10:40 PM
any laravel pros outhere?
 
posted on February 05, 2016 by kelunik

**[Commit Log](https://github.com/kelunik/acme/compare/01c72e7a3d844e715a0c35e7fe43b35e06b9f7d0...4048b032bf196fd465948de2787eade34c6ad8ad)** * Fixed typo in bad nonce retry routine (thanks @janfabry)

 
@Danack yeah I looked at the manual. They do but .. I don't know how to not pass a param for the first value. I know in C# you can have foofuncution(username = "10") and that would ignore the function order
was hoping there is something like that.
 
ern
11:01 PM
 
11:27 PM
Hello here
I have a question about ZEND_FASTCALL: are there real benefit of it and did someone made some measurements about it? I certainly believe that registers are faster than stack), but anyway, see some numbers would bring more light on how effective this is applied to avg php app
 
@zaq178miami For average PHP app it matters exactly zero, because it's only relevant on 32 bit
AMD64 CCs are register based anyway
 
thanks!
isn't compiler put in register args (sure when it possible and suggested by optimizer) on x32?
 
@zaq178miami If it's an exported symbol the compiler definitely can't do that.
I'm not sure whether the compiler may switch to a different cc for static functions those reference is not taken, but I doubt it
 
true, missed that
so is fastcall macro in php mostly for legacy reason (and x32)?
stupid question. got answer by just looking into macro.
 

« first day (1938 days earlier)      last day (3010 days later) »