« first day (1126 days earlier)      last day (3815 days later) » 

4:00 PM
I've never used Laravel so I cannot comment. Most of the time I try to avoid libraries/frameworks that heavily use static methods
 
@cspray What do you think of SwiftMailer?
 
@igorw I like no part of that sentence.
 
@AshwinMukhija The same thing I think of Laravel :)
 
@cspray "I've never used Laravel so I cannot comment." :P
 
@cspray Hmm
 
4:02 PM
@CollinJames Exactly. I've never used SwiftMailer. I don't like to criticize software I haven't used. While I don't like static these libraries are things that people spend their time and effort on and solve problems.
 
I'm not going to talk negatively, or positively, about something I haven't used. It isn't fair to the developers that create that software
 
@cspray static methods and mutable static properties get mixed together so often.
 
@cspray Sorry, I got the threads mixed up
I thought you were replying to Danack
 
@webarto aware of that
 
4:04 PM
:)
 
we built YAC as a troll project
but it turns out it's actually faster indeed
 
@Ocramius ok, so how relevant is the performance win
 
@igorw not really much, it was just an experiment :)
 
stop micro-optimizing, that's the compiler's job
 
hack all the way :)
 
4:06 PM
@igorw dude, it was just wasting time for an experiment
Y U MAD?
 
you claimed irrelevant performance wins, dats why
 
strtotime() is black magic
 
no, it's white magic :p
 
@igorw well, the improvement is there :) It may be a good or a bad approach
doing $c['stuff'] or $c->stuff is quite the same. We'll probably pr to Pimple directly once YAC reproduces all of its test suite
and yes, that's just based on assumptions on how the engine works. If someone makes a better engine then that's all fuss
 
@Ocramius I always thought YAC would be Yet Another Cache… github.com/laruence/yac
 
4:11 PM
@bwoebi no, help us help you help us help you help us help us help us help you confuse you
 
@CollinJames As others said but I wanted to reiterate: facades don't need to use static... :)
 
@Ocramius you help yourselves? nice. ("help us help us help us")
 
@bwoebi indeed :)
 
@Ocramius I saw you're at the swedish symphony conf?
 
swedish?
warsaw :|
 
4:15 PM
or was that someone else
 
there is a swedish con now? :O
 
must have confused things
 
oh, by the way, the thing I wanted to ask you about pipes... actually want to build a Pipeline
I think I fleshed out some api - will work on it as soon as time permits it
 
function composition ftw
 
ftw
hmmm
I wonder.
 
4:18 PM
@igorw kinda
 
Does anyone here use Shopify?
 
nope
 
Just wonder if anyone knows if there is quick 'does not contain' ?
 
@LeviMorrison Yeah, my bad. Once it was mentioned I had a flashback of the first time I read GoF and felt a little foolish. Damn you laravel! But I'm sincerely glad to see that everyone here is knowledgeable of design patterns and would not let a misunderstanding like that go uncorrected.
 
e.g. it usually would be {% if variable contains 'something' %}
But I want {% if variable doesntContain 'something %}
but doesntContain doesn't exist
If not, don't worry, I'll go home and cry.
 
4:20 PM
I don't even ...
 
$controller = service_pipeline($container, ['requestToUserId', 'intval', 'userRepo:find', 'userView:render']);
 
So turns out the guy who installed the washing machine put the pipe on the wrong way. Blocked our pipes and best of all spat some sewage back out when we tried to use the dishwasher...
Lovely.
 
@Fabien How does that even happen?
 
@CollinJames No idea. Just glad it's being sorted.
Also glad the blockage wasn't our fault.
 
@Fabien you have a bucket ?? I imagine he'll want his sewerage back when you call him out again ...
 
4:30 PM
heh. One of our maintenance guys is currently fixing it.
Will be nice to get some laundry done. I was almost down to the emergency pairs.
 
@igorw if (static properties == namespaced global vars) { static methods == namespaced global functions }
you must be able to see that is wrong
 
Can't say I will ever understand trying to game like this
 
they aren't global always, isn't that the point of using static methods or properties at all ?
 
@JoeWatkins if you're referring to visibility, yes - I'm aware that it exists. that wasn't the point I was trying to make though.
 
4:34 PM
oh do I miss something ?
( I know you're aware hehe )
 
add public before static
 
then you might get the point I was trying to make
 
that a public static is equivalent to a namespaced global function ?
@webarto :D how much longer does the teasing go on for ??
 
yes
 
4:37 PM
looks good @webarto. I'd line up the right hand side though.
 
@JoeWatkins Well, about to deploy the crap.
Yeah, can't focus right now...
 
Better update this later :D
 
cool lol
 
> I don't even know what this means.
genial! :-D
 
4:40 PM
:D
 
Basically.
 
@AlmaDo it seems to have some idea ... it's sitting correctly, if it truly had no idea, it'd be pissing on it or trying to mate with it ...
 
lord, I think I just found an xkcd that I haven't seen before!
 
@JoeWatkins And look at that tie knot. Impressive with no opposable thumb.
 
4:44 PM
hmm word of the day "Occident". Which pretty much means "Western" like Oriental or Boreal.
 
@cspray good point ... in fact this dog is shaping up to be pretty smart, I think we judged him too quickly ...
 
Oriental = Eastern. Boreal = Northern. Occidental = Western. Austral = Southern.
 
I'm only being slightly sarcastic but he may actually be a better candidate than a lot of the recent ones we've received...
 
@Fabien got time for an ass kicking match? :P
 
@MadaraUchiha Sure :p
 
4:46 PM
(I'm the one getting his ass kicked, don't be confused :P)
 
@JoeWatkins They mimic humans, mine sleeps just like I do, pillow under head and everything...
 
@webarto one tie away from employment it sounds like...
 
@JoeWatkins huh, good analysis :D
 
:D
 
@PeeHaa because FB is a free little birdie and stupid
@PeeHaa and how dare you question my PR approval :P
 
5:01 PM
Is this question a good fit for SO: stackoverflow.com/questions/19622337/…
 
Does PHP deviate from the norm, with respect to function arguments (expressions) and their order of evaluation? It's apparent that evaluation occurs left-to-right, but I can't recall if this behavior is normal. For some reason (to me) it seems that expressions at the call site should resolve entirely before the invocation occurs.
 
don't rely on it
 
@DanLugg expressions are not evaluated left-to-right in php ..
 
argument resolving order is considered "undefined behavior"
 
$a = [1, 2, 3]; var_dump($a, array_pop($a)); // $a isn't popped -> [1,2,3], 3
$a = [1, 2, 3]; var_dump(array_pop($a), $a); // $a is popped -> 3, [1,2]
@ircmaxell Is that the norm, among other languages?
 
5:03 PM
C doesn't define it either IIRC
and it's generally bad form to rely on it
 
@ircmaxell Certainly, but was just curious.
 
;-)
 
More specifically, was just dicking around, and wondered why the call-site expressions weren't evaluated expectedly differently.
 
It's left-to-right as long as you always put a @ before the operations :-) (else you have problems with compiled vars etc.)
 
niki did a gist on this a few weeks back
 
5:10 PM
Interesting; didn't know that the @ operator had that impact.
Should be renamed to the quiet-unoptimizer operator.
May 29 at 17:07, by Bracketworks
user image
 
rofl
 
lol, I've posted some funny images; search "imgur" said by yourself, or whoever.
E_UNEXPECTED_QUESTION_DUMP ... also, E_UNEXPECTED_DOTNET
 
E_WRONG_LANGUAGE
 
lol, he's in C++ too. They're giving him shit.
 
1 message moved to Lounge<C++>
 
5:18 PM
@user2980712 lol, don't just go into every room and dump a question link. Seriously, C++ trolls you, we don't care, and I dunno what the other rooms are doing, but I doubt they're helpful.
 
xkcd.com/513 <-- describes my current situation in quite a scary way...
 
lol inb4 someone comes from 10
and complains
 
lol I instinctively read "Trash Can"... C++ will be here soon.
 
:D
 
5:21 PM
@ircmaxell Me too, except I'm the jerk ;-)
j/k
 
well, it wasn't quite intentional
 
@ircmaxell were you at php south africa?
 
no
I'm really thinking about going
 
considering it also
 
but without knowing my work situation, I'm uncomfortable submitting
 
5:24 PM
ze rasmus is keynoting
 
eih
 
@DanLugg btw. They pinged me there "@bwoebi no" ^^
 
lol
 
@bwoebi :P
 
and moved it themselves to trash can^^
 
5:30 PM
How frowned upon is key:value format in URI path segments?
As in /resource/action/key:value/key:value/ -- it simply belongs in the query-string, eh?
 
I usually use key/value/key/value :P
 
So, what does key/value/key resolve to?
 
jup, put it in the query string…
 
@DanLugg The way my routes are written, it'd resolve to key/value unless the second key has a default.
http://domain.com/news/mobile/ for example resolves to http://domain.com/news/mobile/true/ whereas http://domain.com/news/subject/ resolves to http://domain.com/news/
(Those are examples, I dont actually put subject in a URL)
 
Any CakePHP wanna give me a hand? stackoverflow.com/questions/20007215/…
Thank you :)
 
5:42 PM
"Pointers are real. You can’t just place a LISP book on top of an x86 chip & hope the hardware learns about lambda calculus by osmosis."
 
Oo
 
> 55: LISP programmers know the value of everything and the cost of nothing.
> -- Alan Perlis
 
@ircmaxell LISP machines ftw
Lisp machines were general-purpose computers designed (usually through hardware support) to efficiently run Lisp as their main software language. In a sense, they were the first commercial single-user workstations. Despite being modest in number (perhaps 7,000 units total as of 1988), Lisp machines commercially pioneered many now-commonplace technologies – including effective garbage collection, laser printing, windowing systems, computer mice, high-resolution bit-mapped graphics, computer graphic rendering, and networking innovations like CHAOSNet. Several companies were building and s...
 
@BenjaminGruenbaum thought about that one too. didn't they have hardware GC?
 
@igorw I only know what I read on Wikipedia, sorry :P
 
5:53 PM
@ircmaxell If you are having girl problems I feel bad for you.
 
@ircmaxell ugh.. that hurts me.
 
no, not problems at all
Well, on tuesday I would have classified it as a problem, but no longer, it's all good
 
@ircmaxell that describes my situation that longs already for .. huh.. 4 years
 
@JoeWatkins phpdbg.com/docs
 
> I believe (but cannot prove) that PHP developers have souls. ~research.microsoft.com/en-us/people/mickens/thenightwatch.pdf
 
5:57 PM
:-(
@LeviMorrison technically, I'm having everything problems... Well, almost everything
 
@ircmaxell How unfortunate. Take courage that perhaps in the end things might be better
 
well, exept for jerk :)
 
that's the thing, it's up and down
@AlmaDo no, no jerk involved...
just 2 more hours to go
 
@LeviMorrison erik meijer is teching functional programming in PHP, so suck it.
 
@ircmaxell huh. not for me. No other jerk, thanks god. but it's long way - as I've said
so my simpathies
 
6:01 PM
no, never really thought of her as anything but a friend until very recently
 
ok, sorry if that is too personal :)
 
not at all
if I wasn't comfortable discussing, I'd say something and not discuss ;-)
 
fair enough. anyway - good luck to you :p especially in case of personal matters :p
 
thanks!
 
@AlmaDo You want to learn to play Go yet? :)
 
6:07 PM
@webarto looking sweet
 
user895378
@ircmaxell Welcome to my world :)
 
user895378
Although in reality my problems are all between the ears. Not real life problems.
 
yeah... I get my "layoff package" in less than 2 hours
 
@JoeWatkins It's poor in content, but I haven't spent more than 6 hours on it, just shoot ideas...
 
@webarto I'd mention Felipe too in the links on the top right
 
user895378
6:12 PM
> phpdbg can excerpt complete control
 
user895378
> phpdbg can excerpt exert complete control
 
user895378
@webarto ^
 
usurp would be cooler but also less correct.
 
@webarto btw. what's that site5 hosting dropdown there? :o
 
@rdlowrey Fixed, but I don't know what I've fixed :D
@bwoebi sponsored, like laravel thingy: i.imgur.com/4aWT48Q.png ... I'll remove it from top, tho.
 
6:15 PM
@webarto ah okay
 
@ircmaxell at least you get package :D
 
what I am getting is rediculous
which makes it bittersweet
it's really awesome, and really crappy, at the same time
 
I cannot compute that :)
 
Hmm, it's like a riddle.
Is it a golden turd?
 
sounds like php
 
6:19 PM
HA
 
evening
 
yo
 
morning
 
@NikiC jo
 
everyone had a nice day? :)
 
6:35 PM
so far, so decent
will know much better in 1:20
 
Does any one have any examples - blog posts, sites, resources that would help me answr stackoverflow.com/questions/20007942/…
 
will know much better?
 
will explain later
 
oki
 
@NikiC Yes. So super excited; the last 3 hours at my current employer before I start my new job next week.
 
6:44 PM
@NikiC I'm going to pass test :p is I'll pass that will be nice day :p
 
6:55 PM
@webarto that's freeking awesome, THANKS :D
Copyright ©2013 Joe Watkins
 
Almost close on my question stackoverflow.com/questions/20007942/… if any one wants some internet points and to help me out :D
 
& Felipe Pena
is that on explain.so server stil ?
@webarto how do I change some stuff ??
actually no names I think ... copyright PHP Group 2013, that's what we put in source ...
oh evening all @NikiC @ircmaxell ... didn't notice u there ... busy busy
 
yo ho ho
 
December 11th, ColumbusPHP welcomes @ircmaxell (Anthony Ferrara) all of the way from New Jersey. http://meetu.ps/23Mc5j #php
 
7:05 PM
found something then ?
that was fast
ah meeting ...
thought you found a job already !!!
 
lol, I didn't even technically lose this one yet, that's 55 minutes away
 
7:16 PM
it's the final countdown
 
42
 
null
 
@ircmaxell you've been in this place for a couple years now, correct?
 
2.5, just under 2 as full time (my 2 year aniversary is in 2 weeks)
so yeah, a little while
 
It'd be nice if PHP's PCRE had extensions to support nested match composition. Like, (?<a>(?<b>b+)|(?<c>c+)) would yield $m['a']['b'] or $m['a']['c'] for bbbb and cccc respectively.
 
7:28 PM
guys.. wish me luck :p
 
good luck!
@DanLugg interesting...
 
yes. off to try myself in test
 
@AlmaDo Good luck!
 
so a recursive pattern would result in a recursive set of matches
 
I swear, I'm gonna hire a hitman to take out our old dev. I just wasted a half hour of troubleshooting a problem that shouldn't have had existed if he'd not manually installed a PECL extension on one server and not the other.
 
7:29 PM
@ircmaxell Actually, yes. That would be pretty powerful.
 
@Charles Ha!
 
In the above example, dddd wouldn't match, so the 'a' offset would be excluded altogether. (I reckon you got that though)
 
right
 
;-)
 
@DanLugg and a too big match then will make the garbage collector crash? :-)
 
7:31 PM
@bwoebi Hmm. Well, that can happen anyway, no?
PCRE would break and dump an error.
 
@DanLugg pcre? I don't know it's implementation… I just know that the garbage collector crashes in too deeply nested array structures
 
@bwoebi Really? Didn't know that.
 
@JoeWatkins You tell me, and I change :))) You mean stuff in tutorial or? (that's in DB, will send you access). Same server, yeah.
 
php > $a = [1]; for ($i = 0; $i < 1e6; $i++) $a = [$a];
php > unset($a);
Segmentation fault: 11
@DanLugg ^ that's so easy ;-)
 
@bwoebi lol
How far does it make it?
 
7:35 PM
@DanLugg depends on your stack size
 
@JoeWatkins I'm for no names, let the contributors be on front page, and that's should be it, we'll write somewhere "project leaders" etc.
 
yeah
I think so too
 
Clocks out at about 999998
 
@bwoebi PCRE has a tendency for stack overflow when handled by noobs ;)
 
@NikiC pcre should use tail recursion…
 
7:42 PM
shoudla-could-awould-a
 
then the annoying bugs wouldn't appear in the bugtracker…
 
well, infinite loops are way worse than stack overflows :-P
 
@bwoebi You can build PCRE without stack overflow, it'll just be slower ...
 
Is there a big difference between starting with "<?" vs "<?php" ? I cloned a site locally with easyphp and for some reason when it starts with "<?" a bunch of my php code just gets written into the page, but if I change it to "<?php" it's fixed.
 
@Rywek You're looking for the term "short tags" :)
 
7:46 PM
Enable shorthand opening tags, or do what you did.
 
I'm guessing if I google "php shortags", I'll find my answer on how to do that?
 
php -i | grep short
short_open_tag => On => On
Set it in your php.ini.
 
php -i | grep short
short_open_tag => Off => Off
The only sane setting :-P
 
true dat :P
 
haha thanks
 
7:52 PM
yolophp.com/#yce - now with new gif
 
wait, is that The Dude?
 
(and also short tags on the code samples)
and yes, that is jeff bridges
 
No, it is not Jeff Bridges
it is The Dude
 
user895378
Easy man, there's a beverage here.
 
webarto, Vienna, Austria
10.2k 2 20 44
Click me.
 
@Jimbo How does that reason apply?
He tried, he failed. Just because it's a nooby question doesn't mean it should be closed.
 
@MadaraUchiha Concatenating variables. Basics of the basics, all over the internet.
 
@Jimbo "Minimal understanding"
 
Millions of different combinations all over the internet.
 
@Jimbo Doesn't matter. He has a specific problem, he has attempted, and he has failed.
He came for help. I don't see what's wrong with that.
 
8:11 PM
@MadaraUchiha There's nothing wrong with coming for help. Just coming for help with little research before-hand.
 
@Jimbo He did research and tried. Keep in mind that newbs don't know what to search for when solving a specific problem.
That's what this site is for. I disagree with it getting closed.
 
@MadaraUchiha Fair point, just don't close vote then ;)
 
@Jimbo That's right. Pointing it out for you for future reference (because things that gets ed here gets closed 99% of the time).
 
@MadaraUchiha I stand by it, I don't think that he researched enough.
Concatenation questions like that means he didn't step through it, step-by-step. He just threw things together, gave up after a few didn't work without trying it bit by bit.
 
phpdbg.com v0.0.1 tagged :D
14
 
8:23 PM
:)
:champagnepops:
 
Monrings
 
Friday night in room #11 :)
 
moin @DaveRandom
 
But morning, one of a few with a paid job :D
 
I've done more work this week than I've done in the last month
 
8:30 PM
Started working for a new company?
Know that feeling, not often, but know :P
 
No, week off between jobs, been sorting a load of house jobs out
 
Ah
 
:12973459 Starts Monday
I hope he got home okay. — phatfingers Jun 14 at 13:56
^ lol
 
@webarto Lovely looking site
 
Thanks @Jimbo
@DaveRandom :D
 
8:33 PM
And I'm officially here :-D
 
@ircmaxell I passed :D
 
so did I
congrats!
 
so to you :D that was english test
 
@ircmaxell Officially unemployed? :D
 
@DaveRandom Enjoyed the time off? :)
 
8:44 PM
@Fabien Well I've mostly been working my bollocks off at home but I did get very drunk on Wed and then spent most of yesterday playing GTA
 
Nice. Working on self projects I hope...
 
Mostly decorating
 
Now you just need some time off from your time off.
 
inorite
 
GTA is good. I'm sad that the first video game character I know of using my name was such a gimp though.
 
8:48 PM
I have yet to play GTA5, I was playing Vice City on my phone, I am still waiting to re-acquire my PS3
 
I can't handle the controls on phone.
 
@Fabien I have got a sixaxis working on my phone and a HDMI thingy so it's basically like playing it on a console
The touch screen controls are impossible though
 
I really wanted to get my 360 Controller working for my Nexus 4 but it doesn't support USB OTG :(
Not without custom software
 
Sixaxis is just bluetooth. You need a rooted phone for the app to work but you just need to hook it up to a PC and change the paired mac on the controller and then it just works
 
@JoeWatkins From inception how long has it taken you guys to get phpdbg up? Seems crazy fast.
@DaveRandom You know Vice City on steam is dirt cheap.
£5.99
 
8:53 PM
I already have it on my PC. That's not really the point. This is a (the only) platform on which I have not 100%'d it yet :-P
 
Or you can buy every GTA except 5 (including DLC) for £34.99
lol
100% got real pointless in GTA 4. Shooting 100 pigeons scatter all over the place.
 
@Fabien Yeh, because hidden packages have waaay more point to them...
Spending 10hrs under water or whatever it was on SA
 
heh true
 
Hi guys I need a bit help.. Im making whole day on this.. What's wrong here?

include "sql_connect.php";
$query="INSERT INTO users (name, password, email, age, skype, facebook, icq, website, language, real_name, secure_key)
VALUES ($username, $password, $email, $age, $skype, $facebook, $icq, $website, $language, $real_name, $secure_key)";
$result=mysql_query($query);

$num=mysql_numrows($result);

mysql_close();
 
Well, you didn't give an error message or anything...
 
8:55 PM
There is no..
 
And it looks like it's riddled with SQL injection problems.
 
It's just not inserting in table
Yeah I know
 
So fix it.
 
I don't know the secured sql :P Just this old
 
I'm going to take a punt on a syntax error because your query string contains no single quotes
 
8:57 PM
Yeah that's it :D
LoL
Thanks
 
I'm also going to tell you to go use a driver that supports prepared statements
;-)
 
MySQLi or PDO ;)
 
How do we feel about backticks?
 
@Fabien They aren't SQL standard and therefore should be avoided
(IMO)
 
I am offended by backticks, and think all backticks should be worn forwards out of respect for your elders ...
 
8:58 PM
If there is a joke there, I don't get it.
>.<
 
The thing about "quoting" identifiers is that you only need to do it when you designed your DB schema badly because you named something so that it collides with a keyword
 
Avoid sql reserved keywords then.
 
@DaveRandom Yeah, sad when you pick a reserved word unknowingly though.
 

« first day (1126 days earlier)      last day (3815 days later) »