« first day (1396 days earlier)      last day (3566 days later) » 

3:00 PM
Despite how simple it is
 
@HassanAlthaf your php is a second class citizen to your html right now. fix that
 
@iroegbu 8''
 
Is there something wrong with the top answer regarding the question I posted?
 
no clue, sorry
 
ok, why the hell is there a syntax error here 3v4l.org/dkNWI
 
3:02 PM
I need to reset an account_type when membership_days == 0. Should I use a cron job??
 
@Patrick what do you mean?
 
Because 3v4l is farked?
 
@FlorianMargaine because there is no closing ?>
 
@BDillan no.
 
@BDillan no.
 
3:04 PM
I'm running it on XAMPP with error reporting and I get no error
I don't understand
 
Seems like 3v4l is derped
 
you have a html file that is including some php. This is not programming.
Look into front controller, use composer, namespaces, autoloading. Then use something like twig for the html output at least for the start.
Don't mix your template stuff (html here) with your application (php)
 
That just makes it worse :(
 
meh, some hidden character, yeah
anyway
 
@HassanAlthaf also, if you are not using git yet, start doing so right now
 
3:06 PM
@Patrick TBH, this is just to try out something. xD When I actually code something, I dont code like that.
@Patrick what can I do with git?
 
@HassanAlthaf Anything and everything.,
 
@FlorianMargaine I'm an idiot
Thankyou
 
@FlorianMargaine Yeh it's been inserting nbsps at random lately
 
@SecondRikudo can I get a girl?!
 
@DaveRandom shucks. Is 3v4l open source so that we can pr or something?
 
3:08 PM
yipee
 
nice! :-D
 
Better than mine
But I was playing with bottlenecking the speed
 
@FlorianMargaine Not sure, but it has a twitter account that does actually get looked at iirc
 
May 1 at 14:24, by ircmaxell
user image
 
^ show off
:-P
 
3:10 PM
:-)
 
damn it @ircmaxell
 
@JoeWatkins that's pretty decent, where abouts on IoW did you end up? Presumably not out in the sticks
 
I need to record that as a gif... that's too good
 
@DaveRandom yeah east cowes, so not sticky ... yeah not bad ... more than they said it would be ...
 
decent? that's better than I get at home!
 
3:13 PM
Not that I'm sure this is even in question but make sure you leave the router on solid for the next 2 wks @JoeWatkins, last mile is still copper and DSLAMs still have a long line normalisation period, if you turn the router off for any appreciable length of time it may drop by a few MBs
 
@JoeWatkins you pinged on IRC?
 
They don't tell people that clearly enough in the docs IMO
 
they mentioned two days they would conduct tests ...
 
hi guys, I've gotten myself in a .htaccess mess. would anyone like to help me out? D: just checking before I write the whole ordeal
 
I'll be downloading all the stuff I wanted to download for the last few months, so will be pretty busy for a few days ...
 
3:14 PM
Ahh. Porn.
:-P
 
Horse porn.
 
F.T.W
sader than that ... operating systems for phone/laptop/tablet and some television really ...
I'll put this out there ... I just bought one of those things we've probably all seen in PC stores than plug into the mains electric sockets and turn the ring into a network ... brilliant
 
@ircmaxell Not better than NBC as I recall? :P
 
seems gimicky, works very well ... not for you @ircmaxell hehe, limit to 100meg ... still, very clever little boxes
 
@webarto yes, better
 
3:16 PM
Can't wait, this work is almost done.
 
Apr 26 '13 at 18:13, by ircmaxell
user image
@webarto ^^ best NBC
@JoeWatkins yeah, I used to use one of them, works quite well...
 
Haha, you've found that fast. Awesome.
 
@webarto I still had the search open from finding the Google one :-D
 
Sneaky :D
You Googled from Google.
 
Dudes, I'm twitching; Anyone knows how to remove the auto indent that PHPStorm does after you press enter after writing /** ?
 
3:18 PM
When you guys are stuck somewhere while working on Google, do you Google?
4
 
@webarto No! If you type "Google" into Google, you can break the internets
11:18 <ircmaxell> Sometimes I forget how good of a connection I have. Then I just look at speedtest: speedtest.net/result/3474172254.png
11:18 <dcousineau> ircmaxell: hey
11:18 <dcousineau> ircmaxell: hey
11:18 <mwillbanks> ircmaxell: thanks for rubbing it in
11:18 <dcousineau> ircmaxell: fsck you buddy
11:18 <edwardly> official: ircmaxell is a jerk
11:19 <jonny> FFFUUU
 
hehehe
 
yeah fuck you seriously :P
 
I never said this to anybody, but, fuck you buddy :D
I lied.
 
Guys, do I always have to unset a session before I destroy it?
 
3:24 PM
Hey… I could theoretically have 1 GBit/s Down here, but at the price of 150€/Month…
 
I did ping earlier @ircmaxell
 
what's up (feel free to ping me in private if you want)
 
@bwoebi sell blood seamen and offspring ... get it ...
 
@bwoebi I'd pay it...
 
@ircmaxell And what would I do with that speed?
 
3:27 PM
what wouldn't you do with it?
 
have 100 €/month more.
 
@webarto If so... What do you do when Google is down?
 
that's a fair point
and that's quite a few beers
 
@SecondRikudo Usual, nothing :D
 
Isn't there some sort of max_session_destroy_time thing I can set in php.ini
 
3:29 PM
@ircmaxell so, why should I buy it?
 
@bwoebi I still would :-P
 
@ircmaxell why? just to have it and don't need it because most servers you download from anyway don't even offer 100 MBit/s?
 
because once you stop worrying about bandwidth, it matters less and elss
 
Yay, poor people internet.
 
3:32 PM
@ircmaxell I usually just worry about the bandwidth of the servers I download from.
 
Thats bad right ^?
 
@RahulKhosla Depends on what you pay for it.
 
Not sure, It's normally like £15.50 line rental and £1.50 – 2.50
 
maybe you can think of it like this ... if you can and don't, then I won't be able too as quickly ...
 
3:35 PM
Just my ping sucks…
 
What does the ping even mean? How long it takes to connect to a site?
 
it's people buying their services that push them into spending money to upgrade stuff so we can all go faster ... so if you can ... you kind of have a moral duty to do it :D
(I win)
 
@JoeWatkins Brand?
Well actually, I was about to say "don't buy the netgear ones" but actually I've not used any for ~3yrs so they may be much better by now
 
@RahulKhosla non-gamer spotted
 
Finally we'll get the PHP Documentation license for PhpStorm renewed! \o/
 
3:37 PM
TP-Link .. cheapish one ...
(cheapest rather :))
 
@Patrick :P
 
tp-link things are surprisingly good for what they are
 
working v well for me .. wireless was appauling ... 3megs ... 3 ... three ... crappy ...
I went in maplin and in there they got a whole bunch of accessory stuff too, like pass through ones so you don't use the plug and clever wifi boxes and whatever ... starter kit was £25 in pc world and they wanted £15 for a wireless fireless card ...
 
Back to PHP related things.. Is there any way I can unset a session after so and so hours with a php.ini OR will it have to be php coded.
 
@ircmaxell Most impressive to me is upload speed.
Really good.
 
3:40 PM
@ircmaxell Holy ..... How is Google your ISP though?
 
@RahulKhosla Uhm... you are aware Google is an ISP in several cities, right?
It's kind of a big deal.
Rival networks have had promotions and price drops like crazy to try to compete. It's been a wonderful thing.
 
I don't think it's in the UK is it?
 
Not that I know of, no.
 
@RahulKhosla I'm at my desk
 
3:43 PM
whaaaat?
 
@RahulKhosla he works for google
 
"works" ;)
 
Oh right, I forgot about that.
I thought he was a middle man?
 
he is plugged directly to Faster
 
@ircmaxell By the way, is the PHP JIT stuff you are doing 20% time or normal job time?
 
3:45 PM
I saw that, they invested $300M
The other day.
 
@LeviMorrison 20%
 
That's still pretty cool.
 
also: it's not JIT :-P
 
I was pretty sure you are using libjit after you do the AST work?
Guess my memory isn't accurate on that one.
 
libjit is presently an optional step 8 out of 9...
 
3:47 PM
$70/mo WHAT..
 
@RahulKhosla If that sounds pricey, you haven't talked to Comcast.
(Or many other providers)
 
I pay £1.50.
 
@ircmaxell Glad to hear my memory isn't completely faulty :D
 
Plus line rental ofc.
 
@RahulKhosla I pay nothing and get 5Mbps down and 1 up.
Also from Google.
 
3:50 PM
$300 setup fee though.
 
@LeviMorrison it's evolved :-D
 
Someone needs to invent a session destroy timer in php.ini
 
one of the fastest bits of evolution on record ...
 
@RahulKhosla ummmm....???
 
3:52 PM
I use my iPhone data plan, unlimited 4G tethering ;-)
 
@ircmaxell I need some sort of thing that destroys sessions after x amount of time. Hopefuly something easy to set up in PHP.ini
 
@RahulKhosla ummm... that's default behavior
 
It is?
 
What x amount of time equivalent to in default?
So do I even need to set this up? Or is it like a pre-set thing?
 
3:54 PM
 
.@StephenFry on how to support someone who is struggling with depression: http://t.co/Haz5NI5QNX
 
@LeviMorrison @ircmaxell used the term Ahead-of-Time Compiler, which i think fits the bill better for what's going on ..
 
posted on August 12, 2014 by kbironneau

/* by Awesome Game Dev */

 
@JoeWatkins so... we'd need to run make on our php? :)
 
@Feeds You just keep on giving don't you mr
 
4:04 PM
@FlorianMargaine it's all very fancy ...
I can't really talk about it ... its up to anthony really ... just wanted to explain "it's not a JIT" ... because we were calling it that ...
 
Better word (or words) for Filterer?
 
Anyone know of a foundation/base curl request library/class, that I can use to make api calls? Or at least get things started, so I can build it from there
 
@DaveRandom Filter
 
Oh good point
 
yeah just Filter ... Filterer sounds like it might not be a word ... awkward ...
 
4:06 PM
lol
 
@DaveRandom hehe
 
:-)
 
Yeh that works I think
tnx
 
Rather than coding everything from scratch, a skeleton template is what I am looking for (prev comment)
 
@Chandrew Why not simply get specific libraries and build on top of that?
 
4:15 PM
What libraries?
 
For whatever you need
 
I am writing a new lib for a specific api, but it'll be curl requests/responses
Pretty common, so wondering if a foundational class already exists
 
@Chandrew You mean which libraries, and I suspect what you need is the type of library where you can find a book that will teach you basic English syntax
(j/k)
 
lol
ty daveRandom
 
@DaveRandom lulz twat
 
4:18 PM
@Chandrew You need an abstraction around http calls?
 
@Chandrew You are looking for a curl abtraction?
 
@Chandrew so you want a lib that models HTTP better than cURL, or you want a lib for reusing request elements or what?
Because that latter can probably be built in like 30 loc
 
$client = new Artax\Client; $request = new Artax\Request; $request->setUri('http://google.com');     $response = $request->request($request); var_dump($response);`
 
Depending what the API is, there may be an SDK (possibly 3rd party) for it
 
4:19 PM
(Off the top of my head), that's how simple it is
 
Yeah, a curl abstraction
 
Then Artax is the answer you will get from the people in this room, but we are biased because a regular here wrote it
 
Thanks, taking a look at that github proj
 
PHP 5.4, Artax. PHP 5.3, Guzzle
 
It is good though
 
4:20 PM
file_get_contents <- there :D
 
Get out.
:-P
 
@Fabien
 
@Fabien
 
Joe
 
Haha
 
4:22 PM
@Fabien
 
haha, everyone ping @Fabien ... it's fun ...
 
@Fabien
 
2 messages moved to bin
 
@ircmaxell Such a spoilsport... :P
 
fair enough
 
4:23 PM
no but seriously ... I passed your information and what I know about you to my boss, he's interested enough to talk to the guys who run the company ... I'll let you know what happens ...
 
@JoeWatkins Awesome thanks :) great to hear.
Actually currently doing some freelance for my old boss. The good work there's potential there too.
brb in 10 mins
 
@rdlowrey I've read the final article 4 times now, still can't decide what I think
It makes some very good points though
 
@Fabien > ok, if it's no rush I will talk to Bryan about him on Thursday ... meanwhile you can give him my skype contact and he can hit me so we can talk a bit just to se what are his plans and stuff
sign into gtalk a second so I can pass contact details please ...
 
4:48 PM
Just in case anyone had forgotten, customers are idiots.
9
 
totally
 
lol.. no..
 
@JoeWatkins can you hire me too? :P
 
@webarto are you looking again ?
 
Not sure yet, having flashbacks.
 
user1994804
5:01 PM
Hi Guys, Im having trouble grasping stackoverflow.com/questions/79960/…
 
Hey @JoeWatkins I am on gtalk atm
 
user1994804
Here's what Im working with: $title = substr($resp->searchResult->item[$i]->title, 0, strpos(wordwrap($resp->searchResult->item[$i]->title, 25), "\n"));
 
user1994804
The problem is that $resp->searchResult->item[$i]->title is upwards of ~100 characters and Im trying to pull approx 50 characters while breaking at a word vs a character
 
user1994804
but I would like to have 2 lines of approx 25 characters
 
user1994804
and am having trouble, Any help will be most appreciated
 
5:05 PM
> While this impacts syntax, it doesn't really modify what is valid PHP, it just solidifies what best practices should consider correct, therefor I'm proposing this as a standard 50%+1 vote. -- Multiple default clauses RFC
Anyone else think that this is just great logic?
 
user1994804
* but I would like to have 2 lines of approx 25 characters EACH
 
@NikiC yup, amazing
really need to make that 2/3 for everything RFC
 
@NikiC there's a typo in there <_<
otherwise I don't care :D
 
@ircmaxell agree.
 
Next time I will argue that I'm just "solidifying best practices" and as such a vote is unnecessary anyway.
 
5:08 PM
+1
 
+1
 
(I'm talking about the RFC that removes static of course. We're just solidifying best practices!)
 
@NikiC then going to put everything in functions, which I can't autoload....
 
@NikiC .. global =] please
 
@RonniSkansing Probably a better example
 
5:12 PM
hehe probably not going to go anyway soon...
the global dependency container is much needed in wordpress...
 
hey guys, does anyone here works with my sql workbench?
need some help....how to access wampserver(after connecting with workbench) from another computer?
i have a config file where iºm doing this: mysql_connect('ip where wamp is', 'username', 'pass');
 
quick question. how can I prepare the date/time for sql?
e.g.
date_default_timezone_set('Europe/London');
$sTime = date("d-m-Y H:i:s");

if I insert $sTime into the DB (into a DATETIME field) it returns 0000-00-00 00:00:00
 
5:33 PM
@ircmaxell By AoT do you mean a compile step at runtime or a compile step like you have in C?
 
@LeviMorrison technically both
@NikiC PM?
 
@Purify By using your brain, you can conclude that 0000 is not day. i.e. it's Y-m-d H:i:s
 
@LeviMorrison so there would be a compile step which would compile to an intermediary. That can happen in a prior request. But then there's the "to machine code" which happens at runtime (but is also extremely fast)
 
user1994804
Needing help Truncating a string per: stackoverflow.com/questions/79960/…
 
Who in here speaks German?
I need some quick help.
 
5:36 PM
Why did you wrote Truncating with uppercase? @YourAdrenalineFix
 
I need to find the price for a train from Zurich to Lugano.
 
@LeviMorrison I spreche ein bissen Deutsch :P
 
On Saturday, September 20th.
 
OK
 
user1994804
I dont know... Im guilty of always Cap first words
 
5:37 PM
@webarto Actually, oops.
It's from Lugano to Zurich on the 25th.
 
user1994804
@webarto Im trying to get this to work
 
user1994804
if (strlen($UnModifiedTitle) > 35) {
$title = wordwrap($UnModifiedTitle, 10, "\n");
$title = substr($UnModifiedTitle, 0, strpos($UnModifiedTitle, "\n"));
}
 
I just need to know rough costs, @webarto so don't worry about finding sweet deals or something.
 
user1994804
Problem is: $UnModifiedTitle is often > 100 characters and I'd like to split into 2 lines of ~25 chars each and drop the rest
 
~$35
 
user1994804
5:39 PM
Yes, I know...
 
@webarto Thanks.
 
Problem: After saving .htaccess in CodeIgniter base_url is not working , its showing the link in source but upon click "404 not found is shown" any help with that regard ?
Here is my .htaccess
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
 
user1994804
25, 35, 40... its all the same. I just want to learn how to split the line and control how many chars are output on each line
 
Reversed and with new date :) YW
 
user1994804
is that to me?
 
5:41 PM
@Shashi are you new to codeigniter?
 
user1994804
Anyone?
 
@webarto they sure are damn expensive O_o
 
user1994804
 
@LeviMorrison fahrplan.sbb.ch/bin/query.exe/en (there's English option too if you need to check on later)
 
Yes
@RonniSkansing yes
 
5:43 PM
@Ocramius It would roughly cost me $15 with car... so I can't quite compute why it's expensive.
 
@Shashi it is not a good framework imo. It uses alot of bad practices and you will be alot better off if you skip it.. and laravel too ..
 
Why skip laravel ? it seems fine
 
@webarto because by car it should be MORE expensive :P
 
BTW I am more into laravel but Codeigniter is something I need to do as work demands.
 
@Shashi because Laravel is a blob of bad practices marketed as cool framework (own personal opinion) :-)
 
5:45 PM
@Ocramius Ooops, should be "is it" instead of "it is" :))) Of train.
 
@Shashi okay. I can understand that.
 
@Ocramius @RonniSkansing Then what framework you suggest ? , let me be very clear I am wasted alot of time researching about that and have read almost 60% of framework related posts but still I would like to know your opinions ?
 
least crappy uk-ish hosting company is....?
 
@ocramius
@RonniSkansing
?
 
5:48 PM
@Shashi symfony, zf2, silex, slim or your own (if you are REALLY experienced only, and that means you are capable of writing something like silex)
 
@Shashi zf2/symfony, many argue for silex/slim. I am really happy user of Arya (also micro framework)
 
@Ocramius Except URL writing (that is something I haven't invested my time to understand) I can build one.
I was looking to Zend but as I am coming from Laravel and Codeigniter background its was hard for me to understand basic modular concept.
Altough I got it but still skeptical If I can market my ZF2 skills
 
/me pushing up ~7000 commits for the zf2.3.2 release
 
@ircmaxell where?
 
@Shashi the specific framework makes no real difference. It's what you learn from it that does
 
5:52 PM
@Ocramius WTH , you are a ZF2 contributor ?
thats cool
 
@ircmaxell Mind, blown
Also, eve morning
 
Anybody going to answer my question BTW ?
Problem: After saving .htaccess in CodeIgniter base_url is not working , its showing the link in source but upon click "404 not found is shown" any help with that regard ?
Here is my .htaccess
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
 
@Shashi If nobody helps, try googling / asking an SO question
 
@Shashi not an answer but you should really anchor the end in that rule
 
@NikiC anywhere, IRC? Gtalk?
 
5:58 PM
@ircmaxell i'm on efnet right now
 

« first day (1396 days earlier)      last day (3566 days later) »