« first day (2013 days earlier)      last day (3161 days later) » 

08:00
Ok will use X-code simulator ;-)
So if I buy one it would be better buying a 'Android' instead of apple device because I can render that in X-code.
@Duikboot But what about windows?
I could buy all of them but I think for starting apple & android will be ok.
@Duikboot Why you need a website?
@Epodax You're a born manager
@DaveRandom Not sure if that's a compliment :P
08:14
@Epodax I'm pretty sure that it's not ;-)
@Duikboot yeah basically xcode can simulate ios. for android, based on experience sometimes there are devices that doesn't behave the same as chrome's emulator. or if you wanna test native browser, you would need the device if you wanna be sure.
Wes
Wes
morning v2.0.0
morning @Wes
@Wes o/
btw, what do you call this type of text? ̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇͩ͌͝ and why does it look garbled?
08:22
fucking extremely annoying
Anonymous
haha
@reikyoushin ok :) thanks.
lol. @JoeWatkins
ThW
ThW
Morning
@reikyoushin zalgo?
08:25
@PeeHaa o/
@PeeHaa what's that?
415
Q: How does Zalgo text work?

MikeI've seen weirdly formatted text called Zalgo like below written on various forums. It's kind of annoying to look at, but it really bothers me because it undermines my notion of what a character is supposed to be. My understanding is that a character is supposed to move horizontally across a line...

Wes
Wes
@reikyoushin combining unicode characters
ie some glyphs that take the same space, like (roughly) if you type a and ' you will get à
I have just discovered that this insane network protocol I have been reverse engineering uses the endianness of the transmitting machine CPU for integers transmitted over a network!!!!!
What. The. Actual. Fuck.
08:27
@DaveRandom LOLWUT?
That sounds ..... funky.
inorite
@Oldskool You have no idea
it sounds like something adobe would dream up
Wes
Wes
Mar 25 at 1:31, by Wes
http://i1.mirror.co.uk/incoming/article5765055.ece/ALTERNATES/s615b/tallest-man.‌​jpg little endian, big endian. sorry.
3
lol
Wes
Wes
sorry again.
08:29
err, what was room11-reg's php promise implementation named again? And, BTW, why should I use that above e.g. react/promise?
Thankfully the first packet sent has ushort at the start that will always be <255 so I can detect it, but it didn't stop me from attacking my computer
!!package amphp/amp
[ amphp/amp ] A non-blocking concurrency framework for PHP applications
@m6w6 ?
Jeeves is alive!!!!
!!lick
08:30
@PeeHaa @wes yeah found this. marlborotech.com/Zalgo.html thnx! :)
Hmm, apparently Jeeves became OK with licking him.
@PeeHaa did you get any PHP error output (yet) btw?
!!lick
@PeeHaa At least buy me a drink first.
@DaveRandom yesterday not yet
08:31
@PeeHaa wasn't there a promise implementation of a room11 regular?
Ha! You have to buy him a drink first.
I guess Jeeves likes me better @PeeHaa ;-)
Hey people, i'm seeking help on this question: stackoverflow.com/questions/36737818/…
This is the php room :o
@m6w6 amp doesn't separate it out into a separate package, it may have done at some point in the past though? /cc @rdlowrey
/cc @bwoebi ^
08:33
@PeeHaa Ah, yeah, thanks.
@DaveRandom nah, I just forgot it was contained in imp
erm, amp even
So is there a spcial reason to use it over e.g. react/promise, except that it's a contender?
amp was built around uber-performance (more anally than react), and it uses generators to make program flow a bit easier to read/write, although I've not looked at react in a while and I don't know how it has evolved
JFC, packagist already lists a shitload of promise related packages
uber, eh? :)
@m6w6 Yeh, @rdlowrey has a C10K web server built on top of it
08:37
@Epodax Yeah but i thought someone might be able to help me
well, he built the start of it, many others now have a worthy credit as well
Man, I must be living under a stone: WTH is the "PHP HTTP group"? :)
@DaveRandom I wanted to do that, but @rdlowrey and @bwoebi didn't see any need for it.
c10k with php streams? o_=
08:39
Yeh, he got a little carried away I think :-P
like he would disappear for a week and we assumed he was doing something IRL but it turned out he was just coding 24/7 and too busy with it to chat
ha, ye ol' obsessed
Raj
Raj
can any one help me .....jquery ajax form submits twice
zomg, "Promises in PHP using pthreads v1.0.0+" :) krakjoe/promises -- packagist is full of gems
@Ocramius is it just me being biased or "using any ORM for requesting closure-table related data" would be either really slow or even outright impossible?
@Sara ping
in case I'm not here when you get my ping, you broke CI, can you look at that please :)
08:52
CI had it comin'
yeah, 'tis true, totally deserved it ...
@DaveRandom Nah, it always was one package and there's still no reason to separate them
09:08
@DaveRandom I tell you about my fire extinguisher yet?
Woo, PHP NE was fun ^^
Morning 11
!!eval echo 1.234 % 1;
(ಠ ͟ʖಠ)
09:22
WTF php eats the authorzation header :|
Why?
php/apache whichever it is it sucks
Raj
Raj
.jquery ajax form submits twice how to solve this ???????????
!!eval echo fmod(1.234, 1);
Ahhhh.
@Raj I don't know, ask in the appropriate room maybe?
Raj
Raj
09:27
@Oldskool ok thanks
@PeeHaa php never sucks, it's the greatest thing of all things
9
@FlorianMargaine Next time you're going to make a statement like that, please warn us beforehand. I almost spat out my tea all over my desk xD
@Ocramius Suffice to say I'm with you on the multi-catch blocks, I don't understand why there's a need to change it when there's already a solid solution for it.
@Oldskool spotted the british
hi
everyone
anybody good with YII here
?
09:37
I don't think there are many active Yii users here.
0
Q: Join two tables and show null in columns if column is not present

Mr_GreenI have two tables as follows. stages: stageid stagename is_corrected 1 abc 1 2 xyz 1 3 aaa 0 4 bbb 1 responses: stageid teamid diffscore 1 1 ...

^ Any help?
user5020521
hi guys I'm using json_encode to convert a php array into a json array
user5020521
and in my javascript SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
once try jsonlint.com
09:44
@Saitama Yes, that!
user5020521
tried it and it returns a parse error
Nearly happened to me xD
@Riccardo990 then the json is invalid
make it valid first
user5020521
what if I can't find the error?
user5020521
09:46
I'm really stuck with finding it and I can't
jsonlint.com show the line where the error is
user5020521
the fact is that the line is the first one
user5020521
that is the php declaration
well then there is the problem
user5020521
<?php
09:47
wat?
what php doing in json format?
user5020521
I'm using json_encode function
which file are you checking in jsonlint.com?
user5020521
a php file which contains that function
jesus christ
user5020521
json_encode of the array I need
09:49
no check the json code which you getting as response in jsonlint.com
user5020521
I make a select to a databse and wrap the returning text into an array and that array is being converted into json format
user5020521
so I have no separate files
user5020521
one php file converted into json that's all
you can't convert php files to json
use pson
09:50
pson?
user5020521
I actually did it thousand of times
2
user5020521
and this is the first time i have this error returned
@Riccardo990 you converted php files to json? Good for you.
wat, you converted php code to json thousand times?
even I did it. but never worked
user5020521
09:52
maybe not thousand of times but at least a dozen of times
^ dat
@Riccardo990 example?
user5020521
well here it is
user5020521
a successfull example
09:52
Riccardo, you need to know some fundamentals first
user5020521
let me give you the working example
@Riccardo990 lol, i think you explain problem bad, give pastebin link
user5020521
<?php
require 'connessione.php';

$my_sql = "SELECT * FROM negozi ORDER BY denominazione ASC";

    error_reporting(0);
    ini_set('display_errors', 'On');
    try {
		$res = array();
         $dbh = new PDO("mysql:host=$servername;charset=utf8;dbname=$dbname", $username, $password);
        // set the PDO error mode to exception
		$dbh->setAttribute(PDO::MYSQL_ATTR_INIT_COMMAND, 'SET NAMES utf8');
        $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
		$sth = $dbh->prepare($my_sql);
now where's the json output?
user5020521
this example works!!! and it is an old project
user5020521
09:53
click see full text
user5020521
@Oldskool next time i use it I'm sorty
I think there's at least one language barrier that's a problem here.
user5020521
@PaulCrovella what are you talking about?
apparently
user5020521
09:55
no it isn't
user5020521
it works
user5020521
that is a working example I'm using in a desktop application
and yet you use a json linter on php source code
user5020521
let me explain you the whole stuff
user5020521
in javascript i'm dealing with ajax and to get the json encoded array I must use the json parse function
09:58
any sql query help?
Good mornings
@Riccardo990 no, just explain why you're putting php source code through a json linter
user5020521
@PaulCrovella what should I do if javascript returns a parse error?
@PaulCrovella he thought so. now don't confuse him more
user5020521
09:59
the first attempt was to try to validate it
validate what?
no, you should validate the JSON actually not PHP file
JSON is the response you are sending from PHP file
user5020521
@Mr_Green so tell me how I can validate the JSON if the JSON is the encoded array?
open console and go to network tab and then copy the JSON
and paste it in jsonlint.com
check whether it is a valid json or not
and let us know
I'm wondering how you managed to even get a parse error in JavaScript
10:01
I can't tell if this is a parody or not.
Just came across this beautiful totally fine autoloader in the framework we're using.
I am feeling the same but showing patience
was wondering why unit tests weren't working.
user5020521
@littlepootis if I had known it I would have fixed the error
@Sean lol
user5020521
10:02
parody? what's the matter I'm failing to parse a damn json this is it
You're not parsing JSON. I'm sorry.
you please continue.
@Sean wtf
user5020521
I'm parsing it
10:03
#WouldCOuldPossiblyGoWrong
Murphy's Law
user5020521
if a php array is converted into a json string using json encode then I'm parsing it
Can you... like.. debug?
@Riccardo990 convert array to json and echo what you get
user5020521
I did it
10:04
copy what was echo'ed and paste in linter
paste it here
user5020521
$json = json_encode($myarray);
user5020521
echo $json
what does it give?
user5020521
wait
user5020521
10:06
it can't work without the rest of the code
alcohol isn't going to cut it, I need something stronger
facepalm
@Riccardo990 why not just die($json); you'll get your json and script will stop
0
Q: Join two tables and show null in columns if column is not present

Mr_GreenI have two tables as follows. stages: stageid stagename is_corrected 1 abc 1 2 xyz 1 3 aaa 0 4 bbb 1 responses: stageid teamid diffscore 1 1 ...

user5020521
@iroegbu I can't understand it if I use die?
Wes
Wes
10:08
@Mr_Green you linked that twice already. we saw it
user5020521
my json script will stop
> json script
> stop
poot poot poot poot
@Sara ping again ... can we get a release of ssh2 on pecl please, thanks :)
user5020521
and how can be useful to me to stop a script execution?
Anonymous
@Riccardo990 At the end of your script, add die($json) This will dump the json :)
Anonymous
10:10
@Riccardo990 It's for debugging... Not to fix the issue.
user5020521
thank you for your explaination
Anonymous
no prob
Wes
Wes
@Riccardo990 look for a mentor, you are only wasting time by proceeding with random attempts
user5020521
i can't use die
I posted it again after long time seeing more activity
user5020521
10:14
and I don't need a damn mentor bc I've already gone this way and it worked for me
ask question on SO
Wes
Wes
it's not working at all in my opinion @Riccardo990
user5020521
@Wes I have more then a dozen of working examples
@Riccardo990 would you talk to people like that in your office ?
Anonymous
@PeeHaa My bad.
Wes
Wes
10:17
@jay there's an acceptable range of questions that is pretty large, but that doesn't include questions from people that seem convinced they can learn by trying randomly
@Riccardo990 seriously, ask a question on SO and explain the problem in detail. you literally wasting your time.
user5020521
@JoeWatkins you are trying to shut me down for nothing I'm not asking your help just trying to explain you what I did plus I'm telling you that this code has worked earlier
@Jay Wasn't me. I also only see a single sided conversation because I have ignored the other side eons ago
Why the kick @MadaraUchiha?
I'm asking you to think about how you are conducting yourself, and nothing more ...
Wes
Wes
10:18
@Riccardo990 your working examples are probably just the ABC of programming, are you aware of that?
The prick thing? (linking to deleted messages doesnt work for non mods) @MadaraUchiha
Anonymous
@MadaraUchiha My bad, apologies.
Anonymous
@Wes Yeah I agree, just better ways of going about it
user5020521
maybe they are the abc but they work this is all
Wes
Wes
how old are you? @Riccardo990
user5020521
10:19
I'm not more then a beginner and I'm aware of that
user5020521
@Wes what the hell has the age to do with a json parse error?
@PeeHaa I edited to the history link
@Riccardo990 lol, you still didnt show your code
@Riccardo990 I think we've spoken before, and I told you my opinion. I don't sense willingness to improve out of you. You only want to solve the problem you have at the moment. And that's holding you back.
@Riccardo990, give pastebin of your php and html/js
10:20
kk tnx
user5020521
@MadaraUchiha I dind't ask anybody's help
Wes
Wes
your attitude @Riccardo990
@Riccardo990 You kind of did, and still do, all the time.
user5020521
what the hell I'm not even allowed to state I have a problem
@Riccardo990 You are allowed to
But when it's the tenth or more time, and it's the same level of problems
You're starting to look like a help vampire.
And that's not something you want to look like in a chatroom
10:22
From JSON parse to Hells highway.. wtf
user5020521
jesus
Yes child?
8
Anonymous
hahaha
haha
10:22
I'm just telling you my opinion man, I don't mind the questions you ask (although I probably won't try to answer them)
Finished Clannad \o/
user5020521
what's the matter if I say I'ma prick
But I'm an experienced developer, and so are many of the people in this chatroom (and other chatrooms)
user5020521
one thing is to say I'm a prick another is how can't I be a prick?
If we're all telling you the same thing, maybe it's time you listened.
@Riccardo990 I don't think anyone here called you a prick.
10:23
stop cussing, there is no need for that ...
user5020521
@MadaraUchiha that was an example
user5020521
@JoeWatkins it was a mere example
user5020521
if I cuss I can't lol
I do not care, you need to calm yourself down and learn to listen ...
what do you want?
user5020521
10:24
actually nothing
user5020521
I just told you I'm dealing with a parsin error
yeah please stick to the point
user5020521
@JoeWatkins I'm calm don't tell me to calm me down please
\o/ error manually typing a token replaced I by 1. Another hour wasted
user5020521
I didn't offend anyone here
user5020521
10:25
and I dind't ask anybody's help here
@Riccardo990 loooool, PASTE THE CODE
user5020521
I'm sick the help vampire goes to suck somebody's help
Ugh anough with this. re-enables ignore list
user5020521
in the neck though
@Riccardo990 I would recommend you to get off the computer for a while, have a cup of coffee, and then sit in front of the computer...
user5020521
10:26
@Saitama you know what I'm really angry bc I feel blame for something I didn't
user5020521
well once I was a help vampire but now I just warned you that I'm dealing with a parsing error and then what
Wes
Wes
@Riccardo990 have you noticed that your presence in here always causes a lot of chaos? i don't know, but if i were you i'd review my way to communicate with people
@Wes That's not constructive.
user5020521
@Wes sometimes it's hard to communicate with ppl if you mean shit to them
Wes
Wes
10:27
it's a good advice @MadaraUchiha
user5020521
maybe if you were a help vampire once you will always be
@Riccardo990 Calm down
user5020521
calm me down? can't I offend myself?
don't say that to him he said that before
@MadaraUchiha It's kinda true though. I don't mind being constructive, but said user has been on my ignore list for a long time and survived on there multiple pardons (meaning it always ends back up there)
10:28
@Riccardo990 You want to not be seen as a help vampire?
Some are just a lost cause sadly
Stick around for more than just asking questions
Talk with people
Learn things
If you only come asking for questions, and if they're all relatively basic questions, that's the view people will have of you, whether you want it or not.
user5020521
@MadaraUchiha I din't ask nobody's help today
user5020521
therefore I didn't act as a hel vampire
10:29
@Riccardo990 You entered the room and asked for help with a JSON parse problem
user5020521
this is an assertion
This whole thing started because of that.
user5020521
I've just told them I tried to lint the json
Okay, I'm going to stop now, I said what I think.
@Riccardo990 just stop typing for a bit... Look at some kitten gifs or something
10:30
You can take the advice of several seasoned developers, take a little break, and improve
You mustn't defend yourself or your actions everytime
Or you can not, I don't particularly care anymore.
user5020521
@MadaraUchiha you always day what you think
@Riccardo990 Yes, I always do.
user5020521
10:31
what if you shouldn't
user5020521
bc I'm innocent
@Riccardo990 I don't see a really interesting need for political correctness. It makes my intentions unclear.
If I have a problem with someone, I tell it to them. And if they have a problem with me, I wish that they do the same.
@JoeWatkins well if that cant make someone carefree, then i dont know what can
If you can't take constructive criticism on the internet, well, too bad.
user5020521
@MadaraUchiha you know what I'm a fucking newbie and whatever I say mean shit to you
10:32
> My father used to say: "The first time someone calls you a horse you punch him on the nose, the second time someone calls you a horse you call him a jerk but the third time someone calls you a horse, well then perhaps it's time to go shopping for a saddle." - The Rabbi [Lucky Number Sleven]
@iroegbu Hehe
@Riccardo990 you should listen first
In Hebrew it's more like "If two people tell you you're drunk, go to sleep"
2
@MadaraUchiha You jews don't know what fun is :P
10:34
@iroegbu horse, horse, horse … now please go buy a saddle and wear it :-)
lol
yeah that is open to abuse
@PeeHaa Nah, those are Germans.
@bwoebi spoken like a true saddle salesman
@MadaraUchiha That's really true
@bwoebi You're one of those people who will go buy 6 milk if there's eggs, right?
10:34
@MadaraUchiha hmm? what do you mean?
@bwoebi Programmer's wife tells him "Go to the grocery store and buy a bag of milk, and if there are eggs, bring 6"
He comes home with 6 bags of milk "There were eggs"
A programmer goes to the shop to buy some milk. His wife calls and says "While you're out, get some eggs." He never returns.
Ah, sure … I'd say that as a joke … but I wouldn't quite do that
another version ^^
Wes
Wes
@MadaraUchiha did you ban the guy? :B
10:36
@Wes Joe kicked him
But he already returned
Darknight returns
@MadaraUchiha a bag of milk is a weird idea to me, we don't have those here
Anonymous
@MadaraUchiha Who buys a bag of milk xD ?
Anonymous
.. Wait, a bag of milk is actually a thing?
@Jay Yeah
10:44
Any help with mysql query? stackoverflow.com/q/36739698/1577396
@Jay So is bags of water.
Figure it's probably impossible to test for is_uploaded_file using vfsStream
Guess I'll need to stub it
@Saitama write a php extension for it
Well, I am not at all familiar with C, infact I started learning it, a few days ago tbh
11:00
@Fabor <insert penis joke here>
@stelian @ftrain I think we can improve this https://t.co/FI57GpzV1A
If you stub a test result, should you mark it as incomplete?
now I remember why @Riccardo990 was in the ignore list ... off ya go
Wes
Wes
@tereško that was 30 minutes ago, we didn't need that information
11:27
2
A: What should you do if you catch ransomware mid-operation?

Dasya[Mod Note: This answer is receiving a lot of flags, but is not worthy of deletion. This is a potentially valid course of action, though risky and potentially illegal in some jurisdictions. From a technical standpoint, this has a chance of being a way to preserve the data. Please see Meta for furt...

@HamZa probably a troll
is there an SPL structure for directional graphs?
2
A: What should you do if you catch ransomware mid-operation?

Dasya[Mod Note: This answer is receiving a lot of flags, but is not worthy of deletion. This is a potentially valid course of action, though risky and potentially illegal in some jurisdictions. From a technical standpoint, this has a chance of being a way to preserve the data. Please see Meta for furt...

lolwut
@tereško no
11:41
@PaulCrovella I was surprised about the "vote" contradiction whether it should stay or not
apparently it's a valid answer to the question
but I can't trust sloppy ransomeware developers
or people who claim to be ransomeware developers to get a rise out of people
lol
@SergeyTelshevsky :D
@SergeyTelshevsky An old one, I remember being angry at that :D
as someone who doesn't know shit about bikes I thought he was drunk driving at the fence.. but then a guy told me it's for adherence :) @Jimbo @JoeWatkins
11:52
the man knows the value of traction - ain't nothin' to be mad about
yeah, warmin tyres

« first day (2013 days earlier)      last day (3161 days later) »