« first day (2440 days earlier)      last day (2508 days later) » 

12:27 AM
@Wes Even though I am not sure to understand what amPHP is, I like the logo ;-)
 
Wes
thanks
but sucks :B doing an improved version...
 
thanks for the blog link
I mean I do understand what asynchronus programming is
it's just that I am not sure when to use it
or where this would significantly improve an application
I should dive into it more one of these days ^^
@Wes maybe you think the logo sucks because you looked at it too much
 
Wes
1:03 AM
@Valentincognito it's the opposite. i looked at it so much that i got used to the mistakes :B
 
 
2 hours later…
2:58 AM
Would it be possible to use a wildcard with $mtype = finfo_open( FILEINFO_MIME_TYPE );? Because I've tried if($mtype == ( "image/*" )){ but that didn't work. And I honestly don't see myself listing all the possible image mime types there..
Though I guess I could just use strpos() on the return string and see if it starts with image/
 
3:37 AM
@hakre nice spotting there
 
Wes
3:53 AM
user image
3
ignore the bottom part of the ear and the trunk
 
Morning @wes & r11!
 
4:31 AM
Nice @Wes That one is actually much better :)
 
posted on June 21, 2017 by trowski

- Fixed an issue where fast-finishing or blocking tasks issued to a worker simultaneously would resolve the promises returned from `Worker::enqueue()` in reverse order. (Note that enqueued tasks may still finish out of order. Order is only maintained...

 
Beats my rage squid: imgur.com/a/0gc2K ;p
 
Wes
i don't believe you
it sucks
commits suicide
 
4:47 AM
 
5:06 AM
0
A: How to display data value in real time depending on the other column with AJAX?

amit rawatOn select box change event pass questionid to server side and query your database for answer_type and options and in that method add a condition $options = ''; if(anwsertype=='radio') { $options .= <input type="radio" /> Your option } else { $options .= <input type="checkbox" />Your option ...

 
5:19 AM
@Wes ooooh. nice. that's it. that's what was wrong.
 
Wes
i don't believe you guys anymore, even when you react positively to it :B
i'm just gonna finish it and drink a lot of wine
 
although I think the plushies and php logo is an african elephpant. it has large ears. but I like the asian elephpant variant.
it doesnt look like a squid anymore.
 
Wes
it's a young elephant
 
now it's more like a manatee
 
:P
 
Wes
5:22 AM
@Gordon /me adds to the list
 
manatees are adorable
for the record, I also like squids. but manatees are very cute
well done @Wes
 
@Wes lol. Actually this one is better
 
Wes
it's not finished yet. don't despair, maybe it will look like shit in the end
 
:p
 
@Wes I am sure it will be great. fwiw, your previous work was already good enough, but you continue to improve each time.
 
Wes
5:29 AM
i'm not that kind of illustrator that nails the thing at the first attempt... i suppose because i don't often do these things these days... so yeah, it takes me a while... like the monkeys randomly typing words... :B
 
I guess most illustrators dont nail on first attempt either
 
Wes
some do. but they have a history of hundreds of projects like that
i can barely use illustrator instead...
 
dont worry, we'll make you room11 illustrator so you get lots of practice for all our shitty side projects
not saying that amp is shitty
but there is @PeeHaa if you know what I mean…
 
Wes
i have big hopes for amp, otherwise i wouldn't have done all this work
i have never touched it, but considering who's doing it, it must be awesome
i'm very open to async. i just didn't have the chance to use it :B
 
5:49 AM
can foreach display real time?
 
@Jola the question probably only makes sense to you. can you clarify what you are asking or trying to do?
 
Displaying data real time when data from dynamic dropdown is chosen
 
I dont think you mean real time.
like for instance, when I sent this message, it still took a few milliseconds to get transferred to the chat server and then some for processing and rendering… so while that is already pretty close to real time, it has some latency.
In computer science, real-time computing (RTC), or reactive computing describes hardware and software systems subject to a "real-time constraint", for example from event to system response. Real-time programs must guarantee response within specified time constraints, often referred to as "deadlines". The correctness of these types of systems depends on their temporal aspects as well as their functional aspects. Real-time responses are often understood to be in the order of milliseconds, and sometimes microseconds. A system not specified as operating in real time cannot usually guarantee a response...
 
But it won't refresh the page right?
 
that depends how you implemented it
are you asking about ajax? or websockets?
 
6:06 AM
Hmm it's because I have a dynamic dropdown that displays data from database
sec
0
A: How to display data value in real time depending on the other column with AJAX/PHP/JAVASCRIPT?

amit rawatOn select box change event pass questionid to server side and query your database for answer_type and options and in that method add a condition $options = ''; if(anwsertype=='radio') { $options .= <input type="radio" /> Your option } else { $options .= <input type="checkbox" />Your option ...

Here's my full question please read it
 
you keep mentioning "real time" in that question.
 
I'm sorry that's the only term I know i wont use it anymore
anyway im wondering if it refreshes because I have text boxes at the top need to be filled up before choosing a question from the dropdown
so i don't want that to happen
 
when you do an ajax call you usually return the recordset in json or as partial html which you then insert into your page via the completion handler of the ajax request. that will then only refresh that particular part of the page. it will not reload the entire page.
 
@Jola let's make it simpler. Do you want to implement this kind of dropdown list using ajax?
 
No it can be any way as long as it does what I want
@Akshay
 
Wes
6:19 AM
what the hell am i doing with my life
why has my life gone so wrong :B
i'm having a huge geometry inducted headache
 
6:43 AM
I hear geometry induced headaches and hallucinations of purple elephants can be controlled through medication
 
correction "hallucinations of purple ragesquid"
Good mornings
 
hmm, how do I create a new SplObserver from C?
 
7:00 AM
!!dad
 
What does an annoying pepper do? It get’s jalapeño face
 
Good morning
 
What you guys do to the JAVA guys
they are so uptight.
 
huh?
 
@Wes wow, that is really nice!
 
7:12 AM
sup gordon
 
Wes
hey \o thanks
 
Built in webserver crashes on successive requests – #74790
Built in webserver crashes on successive requests – #74789
 
@Jeeves :P
 
@Linus What does that mean??
 
@Jeeves idk
 
7:19 AM
@Linus Well then.
 
moin
To start off this fine day!
All hail @wes' persistence!
 
@Jeeves wanna punch me :D
 
@Linus I don't.
 
@Jeeves <3
 
@Linus I love you too :-)
 
Wes
7:22 AM
@DamienOvereem 2 months, 5 months, 9 months... it's all the same :B
 
;p I'm serious though. From ragesquid to persisting and improving. I tip my fedora to you.
 
morning
 
I think now is the time for me to start digging around on amphp.org. Your dedication has inspired me ;p
 
Anonymous
7:45 AM
@Wes well would you look at that, an elephant! Looks good.
 
Anonymous
morn
 
Concerning the ears of the elephant: its actually pretty good to cut them off like that. The end of an elephants ears actually are pretty thin. Cutting them off like this actually makes it look more like an elephant.
 
Wes
we are playing reverse psychology, right? ok i revert back to the other ear
 
is there any slack channel for r11? 0_o
 
Anonymous
@Wes I know it's hard to believe, but I think my constructive feedback paid off
 
7:54 AM
@DamienOvereem that depends. african elephant versus asian elephant. big ears versus small ears. but in the end it's really a matter of manatee versus squid
 
There we go again ;p
 
Wes
i knew it
 
Maybe it should just be turned into a chimira. Cover all the bases.
Or better yet. A chimera sitting on the Taj Mahal.
 
AMP is an acronym for alaphant, manatee and pulpo (spanish for squid)
9
 
mornes o/
 
7:57 AM
Before we confuse poor @Wes. All previous compliments were honest. No sarcasm there.
 
true dat ^
 
Anonymous
what fiverr artist did it? @Wes
 
Wes
your mum did it, as she does everything
 
Anonymous
touche
 
Anonymous
@FélixGagnon-Grenier ^
 
Wes
8:05 AM
which will come first, amp v3 or the logo?
my bet's on amp3 :B
 
morning
 
Wes
\o
did another major change... tilted some stuff by some degrees
obviously means redoing everything
 
Just avoid all discussion. Make it an animated gif and just keep it rotating ;p
 
hey @Ocramius
 
8:23 AM
oh, vaughn vernon is here in the office.
 
Wes
go shake his handdd
 
How to select id that are not null in mysql?
 
Wes
select * from bla where field is not null
 
Anonymous
@Jola google.
 
Anonymous
!!wotd
 
8:32 AM
estival: pertaining or appropriate to summer.
 
@Wes witty
 
Wes
dddiddd you shake his handdd
 
no, he is in a workshop
 
LOL @ headhunters trying to get away with a 90K offer requiring relocation and full-time on-location work.
 
??!How to select id that are not null in mysql?
 
8:37 AM
I'd rather be poor and work from home in my underpants.
 
Anonymous
Have we got any welsh 11ers? Need help with pronunciation.
 
And if you can afford the leather chair, you can spare the pants even.
 
@hakre genius!
 
@Ocramius I thought you were poor
 
@JayIsTooCommon just put a wet sock in your mouth and start talking. then cynefin will become canafinn
@Naruto is not null
 
8:43 AM
@Naruto I kinda survive well
The Finanzamt makes the rest (helps me stay poor)
 
@Gordon tnx <3
 
@Gordon I just copy pasted his queston, but I failed Jeeves command :(
 
Morngin all
 
Anonymous
@Gordon thanks
 
@Naruto it's !!? not ??!
 
Anonymous
8:43 AM
yo pidajfig
 
@PeeHaa I <3 you too.
 
Anonymous
@Gordon back off.
 
Holy shit. Look where I will be in
 
@Ocramius I was just joking :)
 
8:45 AM
@Gordon Ah yes, silly me
@PeeHaa morning cunt
 
And no that is not fahrenheit
 
@Naruto you are too young to use that word
 
Anonymous
@PeeHaa oh jolly, that looks quite hot my dear.
 
@JayIsTooCommon LANGUAGE
 
@gordon What's the minimum age on that word?
 
8:46 AM
now that mysql on ubuntu doesnt allow users to login to the database server as root - does anyone know what the idiomatic way to create new users and databases is ?
 
@Naruto when you saw one IRL
 
lol
 
I'm already overaged then
 
not your moms
 
btw peehaa, that's at the place in Turkey?
 
8:47 AM
yea
 
Anonymous
@Ocramius sorry sir, love you sir.
 
@Gordon does my aunt count?
 
@Naruto no relatives, you little pervert
 
@PeeHaa I'm already melting here, why would you want to go even hotter?
 
Anonymous
@Gordon he might be american?
 
8:48 AM
@Naruto I like to burn I guess :P
 
Anonymous
byrne
 
:D
That too
 
Work hard, burn even harder
 
Feel the byrne
 
Anonymous
:D
 
8:49 AM
0
Q: How to do a condition displaying input type based on table column in PHP/Javascript/Mysql?

JolaThis is my database table. I'm currently displaying option1-10 as text but I want to display it as an input type for each option depending if its answer_type column is radiobutton or checkbox. Here's my code of displaying the text <?php $con = mysqli_connect('localhost','root','','imetrics')...

 
the code to create a class implementing an interface in C for PHP is weird. but then again… why am I surprised… all that php c is weird
 
Anonymous
@PeeHaa did you see @Wes finally listened to us?
 
Nope
Where?
 
Anonymous
5 hours ago, by Wes
user image
 
Manatee <3
 
8:52 AM
oooh
 
Anonymous
so conclusion, bullying works.
5
 
No it doesn't fatty
 
Anonymous
:( I'm going to the gym.
 
Wes
ahahaha
you see, it works
 
:P
 
Wes
8:55 AM
-26 days
2
can someone pin it. thanks
8
 
np
 
:D
 
Wes
not that you damn dutch peeing cowboy
:B
 
Which one? Be clear pastahead
:D
 
Wes
and why am i not a room owner
 
8:57 AM
lasagnaface
 
Wes
why kelunik isn't
i hate you
 
I'm really at a point where exceptions should be interfaces instead of classes...
 
Wes
and more importantly, why jay is one?
:B
 
he bullied me into it
 
We all know what he had to do to get it PeeHaa
 
Wes
8:58 AM
@JayIsTooCommon you are disgusting if you did that
 
Anonymous
Jun 14 at 9:41, by JayIsTooCommon
I can work a skirt.
 
Anonymous
no big deal
 
In unrelated news @kelunik. I got distracted by writing a lot of stuff around setting up a project around testing php implementation of different things and I will not be able to run do proper tests for a week. Buuuuuut:
13 hours ago, by PeeHaa
uuuuuuhhhhmmmm @brzuchal am I doing it wrong?
13 hours ago, by PeeHaa
array(2) {
  [0]=>
  string(37) "http://www.example.com/wpstyle/?p=364"
  [1]=>
  string(50) "Malformed authority string, given: www.example.com"
}
 
Hello, I have a question. I'm new to PHP and I'm trying to track when users do some things on my website E.G. Clicking a button. How would I go about saving that info to a database?
 
The good news is. I can start properly testing after my vacation
The bad news is it's now use for you now :D
 
Wes
9:01 AM
i might have ruined the elesquid
i did lots of changes, hopefully for the final stint
 
@RyanJ cant you just use google analytics? or some other eum tool.
 
Wes
but i might have ruined something in the process. will not know until i add colors
 
No as i need to show the info on the website to the admins
 
I am agree with that german for once @RyanJ
GA or piwik
 
@RyanJ give the admin access to GA or piwik then or create daily reports and mail them
 
9:04 AM
I'm trying to keep them all on one website. And there will be an app that needs to update the same info, So would have to be a DB Or can I link an app to GA?
 
It has an api
 
It might help if I tell you more about the website. There are boxes and people can add/remove items. I need to track when they do with their username and time stamp.
 
@bwoebi @Trowski Please have a closer look at github.com/amphp/file/commit/…
FilesystemException extends StreamException now, but sure whether that's right. Maybe we should just keep the change to ClosedException.
 
@RyanJ do you want to actually track the click or do you want to track when a new item was created?
 
Anonymous
this is sounding like an xy
 
9:09 AM
@Gordon When the new item was added and removed
 
Anonymous
So add logging wherever your add and remove logic is?
 
will you have more audit requirements like this?
the simplest is just a log of events
so add monolog to your app and log whenever something important happens
 
Seriously though @Wes. What did you need to be punned?
 
the other option would be to go cqrs+ddd with an event store but that's likely overkill and you'll need to hire @Ocramius to get you out of the mess you'll inevitably create
 
Wes
pinned.
 
9:13 AM
posted on June 21, 2017

New Cyanide and Happiness Comic

 
@Gordon That looks like the best way to go. Thanks for all your help guys
 
pinned
 
Wes
19 mins ago, by Wes
-26 days
 
Anonymous
what is it?
 
Wes
what are you waiting to happen in july?
can be only one thing. it's not justin bieber's concert
 
Anonymous
9:16 AM
my birthday?
 
@Wes huh? @Jimbo is giving a concert?
 
Wes
yes, with jay among the groupies
 
@RyanJ ping me if you need help. I just implemented an audit log (and we do have just hired ocramius :D)
 
Wes
-26 days to game of thrones s7 premiere, tho
i am disappointed by you
after all this wait...
 
Anonymous
Oh... ign.com/boards/threads/… i was way off.
 
9:19 AM
@Wes everyone will die
 
Wes
@JayIsTooCommon NO. after game of thrones please
 
@Patrick Ok will do, Thanks
 
Anonymous
This is the last series right?
 
Wes
penultimate
 
Anonymous
If so, I think it's going to be shit. They can't tie up all those lose ends in one series. Unless they don't tie them up, and it ends on a lazy cliff hanger.
 
Wes
9:20 AM
sadly. it's fucking ridiculous that wont last more
 
Anonymous
Or they do tie them up, and it ends up rushed
 
Wes
they are going to do spin-offs instead
 
Anonymous
ugh. I'm going to be 21
 
everyone will die. no need to tie up anything
 
Wes
i don't expect an happy ending
 
9:26 AM
BTW @Wes the last season the 100 was actually decent
 
Wes
this year's season?
 
yeah
I expected it to be crap
 
Wes
clearly they made money, but i'm not sure if i like it. it started to look like a joke
 
That what I thought about the previous season, but I liked this one
 
Wes
i watched up to the girl with the broken leg drowns herself
 
Anonymous
9:29 AM
heh
 
Wes
clarke tho is supposed to be the protagonist but she's become pathetic
 
clarke sucks. octavia ftw
 
Wes
i liked the other one much more... the leader whatever. the one that died
 
moin
 
9:30 AM
yo
 
Wes
i've already forgot everything about it
 
:P
 
Wes
@DaveRandom do i have to send money? :B
 
Anonymous
jo dave
 
Wes
i am offended because @PeeHaa did not make me RO
 
9:31 AM
Yes a cheque for one million euros, payable to "cash" please
 
Wes
i thought we were friends
 
I already pinned two of your messages
Be happy
:P
 
moin @DaveRandom
 
Wes
:B
 
Anonymous
9:32 AM
@DaveRandom i've got something for you to look forward to.
 
Wes
i remember in the past something happened with room owners. there were dozens of them, then someone removed them all because something from a RO was flagged... iirc
 

Room 11 massacre

May 13 '14 at 17:53, 3 minutes total – 45 messages, 11 users, 18 stars

Bookmarked Jun 29 '14 at 19:07 by PeeHaa

 
@kelunik so I was thinking, in the interests of being able to release something, how about I just port the existing amp/dns code to ampv2, so it's no longer blocking other stuff?
 
Wes
lol
 
The rewrite is not breaking the Resolver interface anyway
 
9:34 AM
@DaveRandom That's already the plan and the reason why I copied normalizeName to amphp/dns.
I also refactored some other things like accepting another cache and refactoring the config loaders out.
 
Anonymous
@PeeHaa the room was really uncool back then..
 
@kelunik OK, fine. I promise I will pick up the rewrite but life has just got in my way, coupled with epic procrastination and I am sorry.
 
Wes
as my first act as RO, i'm gonna make @kelunik RO too
 
Wes
asshole.
 
9:37 AM
:D
 
Anonymous
@DaveRandom OI pay attention to me.
 
@JayIsTooCommon sorry I missed it, hello
o/
 
Wes
as my second first act as RO, i'm gonna impeach myself and resign
 
Anonymous
@DaveRandom Hi there. I might be moving to Chester soon. So I'll only be one hour away. We will no longer need to skype
 
Wes
dang i can't remove myself from ROs :B
back to the logo.
beziers, beziers everywhere...
 
9:39 AM
@JayIsTooCommon random but cool, Chester is nice. A bit small for my liking, but then I'm used to Manchester.
It has a lot of really good pubs
 
Anonymous
Why aren't you excited?
 
I am but it doesn't render in chat
 
You misspelled Rotterdam James
 
It could be Rotterdam, or anywhere. Liverpool... or Rome?
 
Anonymous
@PeeHaa shut up. You're leaving me for turkey.
 
9:42 AM
:-)
 
I know. Nothing to do with code.. but WTF?! i.imgur.com/46dKQbU.gifv
 
Anyone got any idea why I would have done this:
pcntl_signal(SIGINT, function() { exit; });
pcntl_signal(SIGTERM, function() { exit; });
 
Besides the fact you are bad?
nope
 
Doesn't look useful but I feel like I probably did it for a reason
and didn't comment it because I am, as you say, bad
 
brb doing some shopping
 
9:46 AM
@JayIsTooCommon *a turkey
 
:D
 
@JayIsTooCommon stahp calling @Ekin animal names
 
@Gordon HAMMERTIME!
 
@Jeeves I <3 u too
 
@Gordon I love you too :-)
 
9:52 AM
@DamienOvereem hop on to YT and search for calisthenics
 
You can do some insane stuff if you have a strong core
 
10:16 AM
point in case: laravel
 
Wes
game of thrones quiz: who killed jon arryn?
 
Wes
you are terrible guys.
thanks, i know google :B
it's for fun, without googling it
who is the indirect creator of the brotherhood without banners?
 
10:41 AM
@PeeHaa turns out it's a hack to get shutdown functions to execute on ctrl+C, they aren't unless you trap the signal
 
@Danack 'While Robert devoted his energies to whoring, drinking and hunting'
now that's dedication
 
@DaveRandom wat
That's weird
 
Oops. escapeshellarg doesn't do what I want it to do..
 
Wes
i should twitch the making of the amp logo
 
>!rev ias 1000
> Revision 1000:e86b941e652b by ...
> Only disallow change
> !rev ias 1000" | sed "s/disallow change/inject false words/g
> Revision 1000:e86b941e652b by ...
> Only inject false words
I should probably fix that..
 

« first day (2440 days earlier)      last day (2508 days later) »