« first day (1664 days earlier)      last day (3283 days later) » 

11:03 AM
@Jimbo wrong side??
Idiot
 
Mate we invented the wheel, you just copied it for your tanks and shit
#trololol
 
hi all
 
Someone ever made a site like this? globulebleu.com/projets (Beside it's wordpress)
 
i am facing with one issue
 
said the ones that are still using the imperial measuring system
 
11:05 AM
can anyone help please
 
What technique is used to load pages but not refreshing the page? Just AJAX?
 
pjax
we use it in our website
 
Pushstate
Looks very nice.
 
it is indeed
youtube uses it too
 
Has it got disadvantages?
 
11:06 AM
yes
there are some
when the page loads there is the onload event
with pjax you need to invoke a similar event
trigger pjax:end as if it was the load event
 
Oh ok.
 
just to mention one
 
i am using group_concat in mysql query but i am getting output like this [BLOB - 5 B]
 
but you get a little bit more perf
there are some more
 
can any one help me please
 
11:07 AM
Thanks for the github link!
 
:)
 
just a fast fast google... is that your issue?
 
this is my query i have tried in different ways but i could'nt get the solution
select student_id,GROUP_CONCAT(marks_id) as xx from bpms_certificate_marks where student_id='9' group by student_id
 
What error you got?
That blob thing?
 
11:11 AM
yes
 
does anyone have any experience with this library? github.com/IcecaveStudios/chrono
 
What is in the blob?
 
where student_id='9' group by student_id <= grouping after a where with the same subject?
 
that's like saying sort all apples out of a box with fruits and put them in a box but then group them all again.. you already have your apples :p
 
HTTP 452 YOU ALREADY HAVE YOUR APPLES
 
11:18 AM
XDD
 
@PeeHaa o/
 
\o
 
no one have ever dealt with date time comparisons? any library, any hint, any recomendation?
 
Anonymous
priceless qr.ae/0JApn
4
 
@markcial Is it generally frowned upon or considered weird to go eat at a cafe alone around here?
 
11:30 AM
well i do not know how it is in les illes
that is mainly because everybody over there since spring is a tourist
here in Catalonia is a little weird to go over there to have a drink alone, we mainly go out with friends
but being tourists i guess that it is not that weird, is hard to have the vacations on same dates with friends, so travel with friends must be heavily planned
TL;DR it is ok if you are not from les illes
@Jimbo don't you know noone from there?
 
@markcial Yeah there's another british guy I'm meeting up with for drinks later on, but as for food.. I'm on my own. I'll use the hotel lunch this time around though I think, all good :-)
 
hahaha
maybe it is time for tinder xD
 
Tinder Majorica xD
Actually... wow what an idea..
"British guy, doesn't want anything serious, just lunch - 50/50 split and I'll have a steak. Cheers."
 
hhahahaha
 
hello.. I am working on MVC framework and want to ask what's the best way to delete a session variable when some other link is clicked
 
11:42 AM
wanna me to translate that phrase for locals?
 
@markcial Not sure.. don't want to end up saying something very rude instead xD
 
yeah if you don't know catalan maybe it is better to put that in english
or you will end up chatting with someone who doesnt knows english
 
BTW i would skip the nothing serious part
do we really need to specify that?
i mean, if the girl wants anything serious is her problem
already knowing you are here only for travel
 
thanks
 
11:49 AM
any help on how to destroy a session variable when any link is clicked ??
 
@PreetiMaurya can you not have it call a php script to destroy it?
 
but i have say like 10 links there.. how will i call the script all the same time
 
@PreetiMaurya 10 links where?
@PreetiMaurya describe what you are trying to achieve more
 
I have a page where is profile can be claimed if it is not already owned by themselves. so i set a variable for that which redirects it to a message page
@StephenWolfe .. there a prefilled message comes in.. The problem is now the prefill message keeps coming because the person visited such a profile
 
@PreetiMaurya ahh so after the message is displayed just unset the session,
 
11:56 AM
So... I got a non-ISO formatted date tattooed on my hand :-/
 
but before the redirect
 
that's already been done.. but suppose that I just don't claim that profile and visit other's suddenly i decide to message an old friend now the prefilled message comes in @StephenWolfe
@StephenWolfe now how can i achieve that
 
@PreetiMaurya just unset it when someone clicks the claim button
@PreetiMaurya it shouldn't be a session by the sounds of it
 
then what other way
 
@PreetiMaurya why not a record in the database of who and whats been cliamed
 
11:59 AM
session is irritating anyway @StephenWolfe
 
@PreetiMaurya sessions are unique to the user
sureley you login should look like this...
User visits profile
-> is profile claimed - check db default no (yes - hide message) (no - show message)
user claims page
- set profile to climed in DB
 
@PreetiMaurya is that relevant ?
 
not really much @StephenWolfe but that attempt was good :-)
 
@PreetiMaurya do you have and documentation as to how your system should work/interact with users?
 
12:04 PM
see it is like manufacturers come on our system and show off there products to be purchased and we have a distribution chain like to help connect manufacturer's with distributor's etc
 
hey guys, anybody used tfpdf?
 
So it might happen that a manufacturer is being managed by us but not the manufacturer himself.. hence the claim profile
 
@PreetiMaurya does the manufactory have to register an account?
 
@PreetiMaurya have you done any work on the DB yet?
 
user895378
12:06 PM
@DanLugg pics or it didn't happen
 
most of
 
user895378
morning
 
@StephenWolfe, I do all the scrpt writing testing, database and stuff
 
user895378
@LeviMorrison Moving to c99 would eliminate 90% of Anatol's commits :) But seriously ... I don't really care one way or the other.
 
@PreetiMaurya okay so can you add a column to your db for the list of manufacturers and then have a "id" that links to a users account. Then if they want to claim the page it their id gets set
 
12:07 PM
hmmm
@StephenWolfe Thanks for your help.. appreciate that
 
@PreetiMaurya its the way I would do it :D
 
user895378
@LeviMorrison It's not something I do all the time but I do have a windows build environment for testing things. So if you ever need something tested to be sure it works as expected in windows just let me know.
 
@YourFriend I have used FPDF
 
@rdlowrey ^^
 
user895378
\o/
 
12:12 PM
mm.dd.yy
I feel so... Non compliant
 
user895378
lol
 
user895378
And does the date have personal significance beyond the obvious numeric awesomeness?
 
1+2 = 3 1+3 = 4 1+4 = 5
@D 3.4.5
 
The date my fiancé and I met :-)
It is quite the numeric awesomeness
 
wat?
 
12:24 PM
Any reason why u put it on your hand?
 
you tat that date?
i mean, only with one year dating with a girl?
 
@StephenWolfe Damn you. It's really hard to not make a comment on that question!
 
hope there will not be any regrets or rupture anyways
 
user895378
@DanLugg Then I salute you, sir!
 
well my words are the words from a person that haves half body tattoed
anyways if you are happy with that nevermind
 
12:27 PM
@StephenWolfe she has it in the same spot
 
@StephenWolfe So when his fiancee gets mad at him on Dec 13 he knows exactly why
 
and in the same sans seriff font?
 
@markcial more like 5 months, lol
 
so ... finished watching Jupiter Ascending. Oddly enough, that movie had an excessive amount of falling. To the point that one would call it "false advertising".
 
xD yes quite a few time, but it is nice
 
12:28 PM
@tereško :P
 
> A planned application maintenance shutdown occurred. The message logged was: FUCKING SHITTY FUCK PIECE OF CRAP SERVER
7
 
user895378
ugh ... RHEL6 using a ten-year-old version of zlib ...
 
I also finished talking local "web developer" skype room taking to school
I had to
It started out with someone saying:
> If you have MVC then M is ActiveRecord
... I couldn't let it stand
 
lol
 
user895378
@tereško someone was wrong on the internet. It was your solemn duty to speak up.
 
12:33 PM
@StephenWolfe I am using TFpdf and trying to save text into pdf. But it is writing text along with HTML tags. For example, it is storing text like <p>Text Writtten</p>
 
What means ABS in php?
 
user895378
Anti-Lock Brake System.
 
Awesome Bullshit
 
:D
It's should be something like naming convention
 
@tereško I've deleted my already typed comment on that quote twice saying to myself that if I'll begin commenting that I'll either get kicked from there either won't get back to work today
 
12:36 PM
:D
 
Where can I download a damn Windows 8.1 64 bit iso? -_-
 
:D
 
Hopefully that still works. MS is screwy on some of their ISO availability
 
@Fabor official or pirated ?
 
Don't have the key yet :(
@tereško Official.
 
I did, there's no link to a download. A typically unhelpful how to page from MS.
 
just wondering, why would anyone in this room want a win 8.1 iso?
 
Or you can use Windows 10
 
you basically download an app. insert USB and then it downloads the instalation and sets up the USB
 
@tereško I won't have the key till tomorrow. Suppose I can do it then instead.
 
12:43 PM
@Fabor I actually can make an ISO from my USB stick
though, sending over skype .. well
 
Cheers but I wouldn't worry about it. It'll be a fast download on work connection tomorrow anyway. I was only trying to be prepared.
Getting a work PC and moving away from this laptop :)
 
I've been through this a million times, as insane as it is it's way easier to just get a torrent
I usually don't have issues finding a torrent of an ISO someone made from their official media
 
Hey @DaveRandom has some time again to join us o/
 
@Fabor I have 200Mbps .. it was downloading for 3 hours
 
@DaveRandom I wondered if it'd come to that.
@tereško -_- maybe i'll torrent it :P
 
@PeeHaa It's not even funny :-(
 
@DaveRandom What's up?
 
Although also, been quite ill for last couple of days, still am really
@PeeHaa too much work to do
 
user895378
@DaveRandom ugh, I feel you. I've been under the weather the past two days (and today).
 
user895378
misery high-five
 
12:51 PM
Seem to have acquired some kind of viral infection, spent last night with intermittent fever and just constantly sweating
Although mostly on the other side of it now
I'm basically running on drugs atm
 
:( oh drugs \o/
 
Feels late in the year for illness
 
http://stackoverflow.com/questions/30101604/why-i-cant-upload-with-t‌​his-php-code
 
Anonymous
/ smoking shisha
 
Anonymous
or as my aunts refers to it, doing drugs
 
12:58 PM
@rdlowrey Not sure if I can manage "high" five. Chest-level five is probably the best I can do.
@Fabor inorite
 
user895378
Ah, the old T-Rex high-five (where you just kind of flick your wrist).
 
Good ploy. Rub against his manly-chest. I like it @DaveRandom 10/10
4
 
user895378
<insert 100 emoticon here>
 
can anyone tell me how to redirect https visitors to http on ngixn?
 
1:01 PM
Why would you want to do that? @StephenWolfe
 
@PeeHaa because no HTTPS is set up
 
@samaYo I agree
I also thought WTF when I saw that one
 
@PeeHaa and visitors keep trying to visit the site via https
 
@StephenWolfe Well install a cert :)
 
@PeeHaa no
 
1:03 PM
Why not?
 
@PeeHaa not my site, and its too much hassle
 
Anonymous
@PeeHaa because (1) I believe free means free. No conditions. (2) the repo is too shity currently to deserve a license. But, I have finished v2.0 so, I'll consider it given your inputs.
 
@PeeHaa printedeasy.com I need to make sure people dont see this warning
 
@StephenWolfe keep the website a secret ...
 
Anonymous
I wish we had a jesus license :)
 
Anonymous
1:07 PM
" let he who has a code do copy/pasta with the one who is too lazy to make one "
 
@samaYo FYI an absence of a license means that it's open source, but nobody is allowed to use it (apart from yourself)
 
a Jesus license would be more like "You can do whatever you want with this code; I have already taken the blame" ...
 
People for some reason seem to think that if they don't add a license it means everybody can do what they want. It means the exact reverse
@JoeWatkins So basically the Jesus license would be a license that does not include the usual applicability and liability disclaimers?
 
Anonymous
@NikiC but doesn't the word open source in itself imply, it is free?
 
no, it implies the source is open
 
1:12 PM
@samaYo No, open source only means that the source is open
 
there is no implied permission
 
There's a reason it's called "free and open source software" - it's just not unnecessary duplication of words ;)
 
@StephenWolfe Use a cert
 
Where can you download the PHP7 source?
 
@PeeHaa how do I do that lol
 
1:14 PM
@StephenWolfe Get a cert startssl.com and install it
 
@StephenWolfe Why are you asking cert questions in a php room? :(
 
@Epodax I didnt thats just what we went on too
 
@Epodax Are you from the php room police? :)
 
@PeeHaa I dont want to pay for one, its not my site
 
@PeeHaa Undercover sssssh
 
1:15 PM
Read the link @StephenWolfe
it's free
 
@PeeHaa ooooo
 
@Machavity Click "Download ZIP" on github.com/php/php-src?
 
@Epodax ;-)
 
just a question
everybody are happy with only one dependency manager in PHP?
 
@StephenWolfe You can also use Cloudflare. Doesn't matter if the cert is valid or not. Cloudflare will fix that for ya
 
1:17 PM
Over Capacity
 
i mean, composer is just awesome and great
but sometimes i find that it has some lacks like offline management
atomic package management nodejs style
 
@NikiC Thanks
 
well ig uess that everybody is happy with that, if someone needs to handle dependencies in a different manner or needs to develop different versions of a library without internet for example ping me at this github repo => github.com/Markcial/stego, would be great to have help
 
Anonymous
@Machavity you'll probably get a little headache removing it completely, if you build it from source. That's the only thing I dislike about building anything in linux.
 
Anonymous
nothing beats yum remove xyz
 
Anonymous
1:23 PM
sadly I can't build rpm for php7 now. e_too_little_knowhow
 
@samaYo Indeed
 
php7 wanna testers => github.com/dave1010/php7-docker
 
or this one, already registered in the docker hub
 
Anonymous
plus building php-fpm, mariaDB alone takes me 25 minutes :/
 
1:27 PM
docker takes me less than 4 seconds
because images are built already
when i pull a new image it takes maybe 5 minutes, but after that every new fresh box is less than 5 seconds
 
@kelunik Handel Gothic Italic
 
It's better to have more methods with fewer argument to make them more explicit rather than have a method with 5 arguments, right?
 
Correct. A set of small functions (preferably in a class) with clear functionality is better than one giant function to do it all
 
hi all
 
1:37 PM
@Machavity for example if I have a repository which queries for products, and there are different conditions: find by Id, find by name, find products with stock, find products with batches, find products by stock group name. Those are different functions more or less since the where statement changes. I still add the start, limit args to every function, nonetheless, aren't they bloating my repository class and is SRP ok since the class does query for Products
 
@StephenWolfe you there?
 
@YourFriend yea
 
Functions are primarily so you don't repeat yourself and so you can break out the logic. So if you have lots of queries that are mostly similar, I would condense them.
 
I am using TFPDF and the problem is, it is saving <p>test</p> into pdf file instead of simple test
 
@Machavity I think the base Select <fields> + From <table> can be put in a single private function that is used by all of them, and they just take the result of that function and attach where statements + start/limit if there is
 
1:41 PM
@StephenWolfe I am using TFPDF and the problem is, it is saving <p>test</p> into pdf file instead of simple test
 
@YourFriend so you are trying to convert a html page to PDF
 
Don't you just use writeHTML?
 
@YourFriend just read the docs there are loads of simple exmaples
 
@YourFriend Have you considered Frontpage Express?
 
2:00 PM
Why unsupported operand type?
$this->data = ($data + $this->data);
It's same as:
$array1 = array(0 => 'zero_a', 2 => 'two_a', 3 => 'three_a');
$array2 = array(1 => 'one_b', 3 => 'three_b', 4 => 'four_b');
$result = $array1 + $array2;
 
If I do a query to a remote database through my PHPStorm Database tool, it takes ~400ms
if I do it through PHP it takes ~1.5 seconds
talk about bottlenecks
 
Morning!
 
hey Chris
0/
 
@VeeeneX ?
 
2:03 PM
Practices question: if I am including a library, let's say for example Auryn because that's real, what do you think my obligation is to unit test that component on its own? The library has its own unit tests included (which don't actually run on my setup....), so do you think I am, per best practice, also burdened with creating my own tests for it?
 
Unit Testing everything is a waste of time
 
@NikiC Hi, yes it doesn't work
 
I don't think you should be testing external, already united tested code. You may want to test interactions with your code at the integration points, but that's it.
 
Trying to figure out why this is not working. I need the $key where I assign the value to the $data array to be one digit ahead of the actual key value. I have tried $data['QtyRow' . $key +1] = $orderTableRow[$column]; but the array key gets lost and they all become 1.
foreach($orderFormTable as $key => $orderTableRow) {
foreach($orderTableRow as $column => $orderTableValue) {
$data['QtyRow' . $key] = $orderTableRow[$column];
$data['ColorRow' . $key] = $orderTableRow[$column];
$data['Model Row' . $key] = $orderTableRow[$column];
$data['Left Right or CenterRow' . $key] = $orderTableRow[$column];
$data['DescriptionRow' . $key] = $orderTableRow[$column];
$data['AmountRow' . $key] = $orderTableRow[$column];
$data["boom" . $key] = "blah";
}
}
 
@ziGi I am actually a testing noob. I've understood the concept for a long time, but I have had a big inherited codebase for the last 5 years, and there wasn't a single test. So far, I like to write tests for new stuff, so I can test as I create, but writing test for the old stuff is a BEAR
 
2:06 PM
Think about it, if plumbers does TDD, then on the first day of work you'll find a pile of steaming shit where your toilet should be, because it has to go red -> green in this case brown->white
 
lol
 
@ChrisBaker same thing here
 
Sir, I don't appreciate your approach here. I do hope mopping is included in your initial estimate.
 
haha I am kidding of course
testing is good
but you get the point, it takes time
so I think you should start writing tests from most important to least important
testing with Coverage is also nice
 
Yeah, I don't per se do the full TDD thing, as I've learned it, where you write a failing test then code to make the test pass. I've developed a more organic process, but I still make sure the test grows with the code that's being tested. So far, I am enjoying it! I have 98% coverage on the new stuff.... and 0% on the old still :/
 
2:10 PM
that's good
I think testing is more about the process. I mean if you have to test, you ask yourself some unavoidable questions which you might skip if you don't ask, so it's more about the process of development, rather than the process of testing something done
 
@LeviMorrison Thanks, unfortunately, the 7 looks ugly in combination with php.
 
The old boss was a network admin, and was opposed to everything the developers said they wanted or needed. We couldn't have a dev server, couldn't install a local dev stack or use Vagrant, couldn't include testing time in project estimates, couldn't use git.... new boss is a developer too, so we're finally getting the tools we needed all along. I am so glad that guy is gone, he was seriously damaging my progress as a developer.
 
Things like, what is the main case scenario, what are edge case scenarios, what dependencies we have, what system fails can be seen
 
Yeah, just sitting down to even try to write tests on the existing code revealed so many structural problems that were only vaguely apparent previously
 
@ChrisBaker hm, similar story here. Now that the old boss is gone, things are better than ever
 
2:16 PM
@kelunik Yes, very horrible: i.stack.imgur.com/J6sO6.png
 
Yes, I tried all numbers from 1 to 0, only the 7 looks ugly. :(
 
Looks a bit like Furious 7
 
Personally I'm holding out for PHP 8 "The Ocho!"
 
hahaha
 
2:20 PM
:-)
 
Looks a bit better if it's lower, but still not good.
 
I was experimenting with 7's all last night :)
 
I agree, better lower.
Maybe you should put the quotes on it: php "7"
 
ZF 1 fetchAll is mega slow
I tell ya
 
Let's call it PHP 6. the 6 will be nicer!
 
2:23 PM
@kelunik what font is that?
 
@crypticツ Handel Gothic Italic
 
55 mins ago, by Levi Morrison
@kelunik Handel Gothic Italic
 
@kelunik Put it in Comic Sans and I think you'll nail it
 
 
Also: adjust the kerning of the second p to be -0.02em
(or letter spacing)
 
2:25 PM
someone make a 7 that looks like a 6, and make that the logo
 
I found that one on Twitter. Looks pretty good.
 
@Machavity Unfortunately, I don't have Comic Sans. :(
@LeviMorrison Yeah, looks good, but you can't say if it's a 7 or a 1.
 
oh, that should be a 7…
 
@LeviMorrison I agree that logo looks pretty good, conceptually, but the 7 needs to be a little more legible. That's a good starting point, though.
 
Anonymous
@LeviMorrison is the php logo up for a remake?
 
2:32 PM
@samaYo Not really. It needs to be Handel Gothic Italic with the lower case letters php.
But I was trying to make a PHP 7 logo for fun and maybe marketing hype.
Also, adjust the last letter spacing to be -0.02em.
I have some failed tests on master:
Testing reading and writing to DOMNode::textContent [ext/dom/tests/node_textcontent.phpt]
Bug #41655 (open_basedir bypass via glob()) 1/2 [ext/standard/tests/file/bug41655_1.phpt]
file_get_contents() test using offset parameter out of range [ext/standard/tests/file/file_get_contents_error001.phpt]
Test glob() function: ensure no platform difference, variation 3 [ext/standard/tests/file/glob_variation5.phpt]
Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect), using UTF-* [ext/xml/tests/bug32001.phpt]
Anyone else have these failures?
 
check travis
 
@LeviMorrison what's that phpD
php1?
 
One of them dies because I am running in /tmp and the test expects that you aren't.
 
user image
16
best I could think of =o\
 
Teehee
 
Anonymous
2:36 PM
lol
 
Anonymous
phast hend phurious 7
 
user895378
@crypticツ lol nice
 
@crypticツ nice one =)
 
Anonymous
no doubt it'll take years for 7 to be available on shared hosting provideds :/
 
2:39 PM
^ ahahaha
 
@samaYo That's assuming that shared hosting providers last long enough to deploy it.
 
@LeviMorrison add a skipif?
 
@bwoebi Yeah, probably should.
 
@crypticツ I LOVE IT
 
Isn't there a competition for the logo where people can vote and champagne can be popped when the new logo is elected?
 
2:46 PM
We'll manipulate the vote in favour of @crypticツ logo :-)
 
is there a php 6 or 7 coming out? o.0
 
@ChrisBaker I realized only just now the 7 is made form 6's. It just looked funny to me and for whatever reason they didn't click till now >.<
 
user895378
@samaYo shared hosts are still a thing
 
Define "shared hosts"
 
@rdlowrey as long as there aren't free okay-quality vservers… they'll exist
 
2:49 PM
I'm okay with sharing the same physical hardware – just hand it to me in a container so we're separate from each other.
 
can we read html files using file_get_contents() ?
 
I'd pay to get morgan freeman to narrate php-internals
2
 
what are the 7 sins of php? xD
 
2:57 PM
1) eval
2) variable-variables
3) references
4) statics
5) anything that raises a notice
6) ext/mysql
7) wordpress
5
 
@ircmaxell you mean god
 
nah, god is only a role that morgan freeman plays from time to time
 
Morgan Freeman has one of those voices...
Conan O'Brien nailed it a few years ago. "Morgan Freeman married his 21 year old cousin today. Which sounds creepy until you hear it narrated by Morgan Freeman"
 
@ircmaxell You got that the wrong way round, I think.
 

« first day (1664 days earlier)      last day (3283 days later) »