« first day (941 days earlier)      last day (4233 days later) » 

15:00
@Wes I have Mazda3 with essential equipment, hehe. No, too expensive for me, about 8000€. Not planning to change anytime soon, just looking around. Installed LPG so fuel costs me 0.5€ per liter.
@Daniel The Locale class is not validating your input. It accepts anything that matches it's need (a string) and will use it as default: var_dump(Locale::setDefault('ää-üüü-ööö-ßßßß'), Locale::getDefault());
morning
@NikiC Morning, Sir.
@Daniel: What you might want to do is to validate against a set of known locales that are commonly with INTL.
@Jimbo +1 for bold!
15:01
@NikiC morning ,Sir
@hakre Ok, than why is this method even available? Thanks for your help!
I'm a lousy MVC'er though.. i just ignore the name "Model" and throw everything in my classes
@DamienOvereem Thanks dude
@Daniel To set the default locale used, e.g. for collation, see:
6
Q: List of available collators in PHP?

JVerstryI am considering using collators in PHP (I am no expert in PHP). Is there a way to know/list all collators available in PHP? I am looking to something similar to Java's Collator.getAvailableLocales(). Thanks.

@hakre Awesome, thanks!
user895378
15:02
@JoeWatkins Here's the gist for my pthreads issue. I've tried all manner of manual garbage collection in the main context and the worker context without success. I can't convince the main thread to release the memory. Lemme know if I'm just dumb or if there really is an issue.
user652649
@webarto go with adsense! it will buy you a giulietta! xD
@hakre do you know when the next meeting is?
@Wes It can't even buy bread :D
@Ocramius 28 I think. At least I was asked for 28 :)
@Jimbo Very good
user895378
15:03
@webarto morning
Off to work on my little sailing yacht again :)
One thing:
Later all
@rdlowrey Morning, Bro Dude :)
WTB SE dev, 2400gold
15:03
> Remember: fat models, skinny controllers. Your controller / method is accessed from your routing mechanism. Once you're in the controller, you
There's only one model layer in your application :)
user652649
@webarto oh come on man i don't believe you lol. move to italy.... no wait this will make thing worse. move to central europe/uk :P
@MadaraUchiha Thank you :)
(The model itself may consist of several inner layers, but the model itself is one)
@Wes Scandinavia and shit :D
user895378
woops, was trying to respond to my most excellent bro @NikiC and whiffed. Instead I greeted the totally tubular @webarto.
user652649
15:04
also that yeah
@rdlowrey :[
user895378
so instead, I'll just say "good morning" to everyone.
@hakre if you're interested, the FFM UG is on 23.
PuPHPet - Online GUI configurator for Puppet & Vagrant http://puphpet.com/ - Just released after many hours of frustration! Comments?
apparently people share my frustration about puppet
@Gordon they could at least have used XML for puppet - an XSD would be very useful :S
user652649
@Gordon jtreminio.com/tag/kohana Silex > Kohana @igorw
@Ocramius they could have at least not name something in their DSL "class". I mean they are doing this for developers, right? So wtf did they decide to call something "class". They must know that that's a fixed concept
yeah, but they're sysops
@Gordon it's part of their job being hated by EVERYONE
@Ocramius no, devops
@rdlowrey gist.github.com/krakjoe/5576666 fork'd, will take a look/am looking already ... school run now though ... lataz
15:07
sysops with a hipster name
@Ocramius Let me take a look.
@Ocramius may I OH that with your name?
@Gordon dooooooo eeeeeeet
@Ocramius that's not what devops is
15:09
@ircmaxell probably, but nobody likes being called sysop nowadays as it seems
@MadaraUchiha LOL
@hakre they'll be talking about gitlab and OWASP iirc
OH: @Ocramius "DevOps is SysOps with a hipster name"
so not sure if it interests you :)
@Ocramius :D
15:09
@Ocramius just like everyone likes to call themselves agile
Agile DevOp
@ircmaxell Or executive.
@webarto Agile DevOps Craftsman
@Gordon Executive Agile DevOps Craftsman.
15:10
@Ocramius Yes I just checked that. I might be on a trip to berlin on that day, so I need to check. I will decide close, but it sounds great.
@ircmaxell just like every illegal operation on the web is hacking :P
@MadaraUchiha Lean Executive Agile DevOps Craftsman Officer
I think I want that for a job title :D
user895378
Sharded Agile DevOp (SAD)
@Gordon Better than correct horse battery stapler any day.
Kristian Erik Hermansen MBA★CISM★CISA★CISSP★CEH
15:11
@Gordon Chief Lean Executive Agile DevOps Craftsman Officer
CLEADCO
@ircmaxell it also needs architect :)
Craftsmen Architecting Officer
Triple Cheese Deluxe
ITT: Nomenclature Awesomium
MCC Metropolitan Code Company
Institute of Awesome Directions
@hakre Ninja Craftsman Architecting Officer.
15:12
MSW - Ministry of Silly Walks
here, I solved it for you all: bullshitjob.com/title
"If you can't dazzle them, baffle them with bullshit."
A ninja comes, kills, leaves. A ninja never stays around to maintain the code. Think about it the next time you’re hiring.
@Gordon This specific ninja can drop meteors and summon ten-tailed gods. Don't underestimate a ninja's ability to "stay around".
I wonder, should I get CEH + BSc in Ethical Hacking or a BSc in CS. I'm a sysadmin more than a programmer :<
user895378
15:14
Customer Representative for Agile Devops (CRAP) <-- now I'm finished.
7
@rdlowrey Touche
lol I got messages that were intended for the other @Daniel
15:16
@MadaraUchiha :clap:
Too soon?
But I'm british :< (Though I probably will, since year one of CEH is CS)
Dejan Marjanovic PHP6★AGILE-OOP★JQUERY2★HTML5★CSS3★YOLO New LinkedIn title.
4
@Ocramius Negatory, amigo.
15:18
@webarto JQUERY2 and Yolo is really nifty dude.
@rdlowrey You do realize that P != D right?
I think I will write jQuery5 in there and HTML2.
Damn, should have written PHP6 fixed
PHP (FI-6)
I'm totally SEO now, bro dude.
15:19
Just had the honor of the last delete vote on stackoverflow.com/questions/16546054/chat-for-php-website
Just how busy are the SE devs? ;_; this would be a matter of adding data to the link-follower to pass to ChatEngine.GenerateLink(MarkdownObject markdown) to stick a HTML snippet in :<
user895378
@LeviMorrison lol that was kind of the point. Before I hit send I was like "wait this doesn't make sense because "D" !== "P" but then I just added the "now I'm finished" disclaimer and said, "screw it."
@webarto You have unlocked the "Thrown out the fishnets to catch corporate headhunters!"-Achievement.
@Daniel Me too. Daniel is my first name, but I use the tag @danack to be 'more' unique.
yeah I should probably change mine.
15:23
well, @hiroto is my usual handle for everything. A friend made it up when I was about 14, and I've used it ever since.
My actual name is David
@LeviMorrison thx anyway :)
My actual name is Levi. Who'd have thought?
Levi Morrison? :O!
@Hiroto My actual name is Madara Uchiha, I win :)
No it isn't, that's from naruto :p
15:24
@Hiroto Naruto is based on a real story.
I am immortal, I've lived since then.
(Also why would an israeli have a japanese name?)
@Hiroto might have to do with his anime.SE moderatorship
Mhm~
@Gordon No, I've had this nickname since before I joined Anime & Manga :P
@Hiroto Actually, my name's Dor.
I really sympathize with Madara though, so I go by his name :)
Eh, I tend to stay away from anime communities (hypocritical, since I own/maintain one...), because of the flaming and opinion slinging, but SE's model gets rid of that :p
15:28
I mean, Madara was really a good guy, it was all that stupid Second Hokage's fault.
@Hiroto You've visited Anime & Manga already? Have a look :)
I have~
What's your take?
@rdlowrey Wait, that doesn't add to CRAP, it adds to CRAD
nice for finding things out about a show when you finish watching it and go "so, ...what was that?"
Hiroto, Newcastle upon Tyne, United Kingdom
101 4
user895378
9 mins ago, by rdlowrey
@LeviMorrison lol that was kind of the point. Before I hit send I was like "wait this doesn't make sense because "D" !== "P" but then I just added the "now I'm finished" disclaimer and said, "screw it."
I'm passive :<
15:29
Today in Geek History: US launched its 1st space station in 1973. In its honor, use SKYLAB for $20 off $60+ orders! http://j.mp/19kUA4t
Skylab was launched 40 years ago today
@MadaraUchiha A site about anime is not serious enough about itself until the moderators are called Mononoke, Sailor Moon and La Blue Girl
@Gordon We have Madara, Pride is also a strong candidate once the site leaves Beta, and I bet we can find another one, maybe Sakamoto :D
@ircmaxell thinkgeek is so mad expensive to order from when you are not in the US. They want like $60 shipping
@MadaraUchiha nope. not good enough
I'll make sure to relay that to the other mods there
Aw, 3 rejects and 2 approves, really it didn't need the cake-php tag
15:33
Possibly a dumb question - how can I search just my own answers from SO?
Also, while I'm not 100% sure who they are (aside from Sailor Moon), I bet Madara alone can take on all three of them easily.
@Danack user:me
Add that into the search terms
@MadaraUchiha Thankyou
@Jimbo Didn't need either.
@Danack also make sure to click the "Advanced Search Tips" for further refinement
@MadaraUchiha how long until 4chan's /a/ board catches wind of this and starts yelling at dragons question forms about various nsfw anime?
oh?
15:37
You know someone is intelligent when instead of begging you to tell him to to do something you did in an example, he just figures out on his own how to do it (in this case, look at the post history) :D
Ehehe.
@MadaraUchiha Wtf. Next review passed
@MadaraUchiha But sometimes we just need to rubber-duck an issue.
And when you don't have one, you go to online and talk with an empty room. xD
The rubber-duck explanation is hilarious when you use an actual rubber duck
@Hiroto what do you think Elephpants are for?
> Astatine occurs naturally in only trace amounts on Earth3 but physicists at ISOLDE can make artificial isotopes of astatine by proton-induced reactions and use wavelength-tuneable lasers to study their atomic structure through a technique known as in-source laser resonance ionization spectroscopy.
MAGIC!!!1
15:53
You know you're a record junkie when two people, on the same day, at the same time, give you a crate of vinyls and CDs each worth about £600 new, for free
stackoverflow.com/a/16547603/2153758 … This just led myself to ask myself how much code would be more readable if I'd used sscanf or fscanf instead of preg_match()'ing etc...
Should I bother with inflection? Instead of <action><type(s)> like getHeader() and getHeaders() I'm thinking of <action>[each]<type> like getHeader() and getEachHeader()
Probably silly, but I have class A extends class B. When I create A, the __construct($params) of B is called. Can I somehow make those $params accessible to class A without writing any code in class A?
@bwoebi all the *scanf functions are underrated IMO, which is in part due to the PHP Manual not listing the patterns in a complete way. Most of docs.roxen.com/pike/7.0/tutorial/strings/sscanf.xml are actually supported. They can do more than just %type. The full format is %[*][width][length]specifier
@Gordon I know these functions better since I begun with C last year; but how many PHP only programmers can remember them or even know them?
only printf is not really needed as we can simply concatenate without problems...
16:05
@Jimbo Not without writing some code, but it's not much:
A::__construct($params){
parent::__construct($params);
//Do stuff in A
}
@Danack Was hoping I could have a little bit of magic instead :( ah well
@bwoebi concatenation is ugly. I almost always use *printf even when it's just printf('Hello %s', $name)
@Gordon I mean the implicit concat like "Hello $name".
But do you also use $var = sprintf("%s%s", $var, $var2); when you want to append? Appending (.=) is also a concatenation :-P
sprintf is da' bomb.
using a function instead of concat feels so much more like a proper language feature than .
16:09
@Hiroto but sometimes doing this may decrease readability... (when using the . would result in really shorter code)
shorter != more readable
I think the . is even more difficult to understand
lots of punctuation makes PHP look like perl (php isnt exactly the most readable language to begin with)
Obviously there are instances where operator based concatenation is preferable, and others when it's not.
@iroegbu If you have the habit to… no?
@Hiroto PHP is originally based on Perl I thought?
16:11
I love when people use concatenation to build loooong markup strings; I die, cry, and laugh a little inside, every time.
and perl is based on making executable RSA-encryption
@Bracketworks /sign.
@bwoebi echo (int)25 . 34;
Please review my HTML5Boilerplate pull request: github.com/h5bp/html5-boilerplate/pull/1360
looks funny... you'll half expect 25.34.
16:12
@iroegbu the (int) is not necessary at all here? it's a no-op here?
I know
@Bracketworks echo '<span id="color: bold">&nbsp;</div>';
@Hiroto I hate you so very much.
At least the tags match.
/me leaves
Obligatory.
16:15
echo 25 .34;

PHP Parse error:  syntax error, unexpected '.34' (T_DNUMBER), expecting ',' or ';' in php shell code on line 1
What?!?
echo 25.34;   // 25.34
echo 25 . 34; // 2534
echo 25. 34;  // parse error
echo 25 .34;  // parse error
PHP, you're fucked.
Ugly PHP.
I say that with the same tone I would to a drunk friend who just fell into a garbage can.
`25.` => float(25);
`.34` => float(0.34);

When you then place a whitespace between the int and float, it fails.
16:21
It's not fucked up, it's rules.
@webarto then the rules are not good enough to deal with this.
@bwoebi How so? It makes perfect sense.
"Computers are dumb, they only do what you tell them to do, not what you actually meant."
how can you want to say "<int> <float>"
I love map reduce
16:22
You can't do echo "Hello" "World"; either.
@MadaraUchiha Exactly.
@MadaraUchiha See @iroegbu If there's such a case, then it should be interpreted as concat op
can someone link to the mysql ext gist?
@CarrieKendall Second starred message, under Snippets:
@Danack Yeah, and the parser was told the wrong.
by the PHP devs.
16:24
@ircmaxell I'm assuming you mean the programming model, not hadoop?
@MadaraUchiha ah, i looked at that and didnt' see it, thanks
in your opinion.
correct
@Bracketworks you need to help PHP here:
echo 25., 34;  // 2534
echo 25, .34;  // 250.34
makeId: function() {
            var str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
            return shims.array.map((new Array(40)), function() { return str.charAt(Math.floor(Math.random() * str.length)); }).join('');
        }
16:25
@hakre Yes, this is how it would work; not how you don't give people any chance to wonder.
@bwoebi No, it's interpreted, correctly, as (25) (.34). I would be surprised if it were to work differently.
What would that say about echo .34?
@MadaraUchiha there's nothing to concat with, so it should be equal to echo 0.34.
@bwoebi Now you're adding complication
if there's nothing to concat it with, it should be like A, else if there is something, it should behave differently.
No, PHP doesn't have to take your poorly-written syntax. If you want to echo something, be clear about it, and conform to number standards.
16:27
@hakre Or write (for 250.34):
echo 25...34;
I now know what this is doing, but I'm unsure if I'd guess right how the 0 appears there when I'd read this... (even if it's logical)
I think it makes perfect sense... strings have "" around them
if you want .34 printed... do echo '.34';
@MadaraUchiha But I really did never like this .number or number. syntax... It's sometimes just confusing me. I prefer 0.number or (float)number.
@iroegbu It makes sense, but I don't know if - when I hadn't written it - I'd fast understand what'd be going on there.
@Daniel I know :) I got yours too a couple of weeks ago ^^
@hakre Of course; I'm just in agreement with hate on the dot-operator.
@bwoebi THAT is confusing. 250.34. I see how it happens, but it looks like a range operation.
16:38
@Bracketworks Exactly...
@Bracketworks PHP has no range operator. Also, you really have to put some effort to get to do that, it's not something that a newbie would stumble upon by accident.
@MadaraUchiha but other languages have one. You try it (to see if PHP has one...) and you wonder about the result...
if you tag html, css, or js (or js library) when writing a question, it should prompt you to jsfiddle. most new comers dont even know it exists
@MadaraUchiha Do you participate in much? I don't, but I can see why it's active. If it exists in PHP, someone will find it and break it.
@bwoebi The range operator often looks like this 1..3 (2 dots, not three), and that blows up
16:48
The request from German publishers to turn off #adblock led to +129% @AdblockPlus installs & +167% donations. Thanks! http://t.co/3Q1ubN6IDg
Off hand, Ruby, Python, who else has a range operator?
@Bracketworks If you fail to read basic documentation, and/or tutorials, you deserve that break.
Perl too no?
@Bracketworks Pascal (-.-)
16:49
@MadaraUchiha Of course, which brings me to my cv comment ;)
Yea, what happened there?
2 mins ago, by Madara Uchiha
@bwoebi The range operator often looks like this 1..3 (2 dots, not three), and that blows up
I'm trying the keyboard shortcuts plugin
Q is for quoting a post, R for replying, and I always mix the two :D
can I do header("Content-type: image/jpg"); somewhere in the middle of a page?
it's crashing the whole thing
anyone know of any good php / programming in general books that deal with just terminology?
16:50
@iroegbu As long as you didn't send any output by that stage.
I wonder what PHP would have for a range operator? Probably @#&*(
I've sent some
I seem to be able to do most everything but am not great at explaining it, or understanding when others explain
@iroegbu Then it will fail.
@Daniel What kind of terminology are you looking for?
16:52
[13-May-2013 21:40:55 America/New_York] CSRF state token does not match one provided.
just general code speak I guess, for instance most questions/answers on stackoverflow I have to read a couple times before understanding "Oh, I've done this before".
anybody have any idea about this error :O
@MadaraUchiha now, I'm at a loss as to how to print an image
@Daniel You get that from experience, not a book.
I dunno I guess that even in itself is hard to explain lol
16:52
@iroegbu Send the header first.
@MadaraUchiha one less or more... pff
Then write 1..$var; xD
This doesn't blow up. But could be a valid range
Does what I expect
And if the user doesn't expect it, he should be able to be onto it after a minute of searching.
But an user may not expect that 1. == 1
@bwoebi why not?
1. is intuitively 1.0
@MalikUsman on SO?
16:56
1.0 == 1
on php
1.0, yeah, but 1.?!
that's loose comparison, @madara
@Hiroto It is
PHP takes great "pride" at its ability to type-juggle
@MalikUsman where? CSRF state tokens are to stop CSRF
16:57
@MadaraUchiha whew... do I need to store the image in a variable and print later?
Yes, it adds some oddities, but if you want a full comparison, go with ===
Sent header first, still not working
All of that stuff is documented in the first freaking few pages of the manual, if the user fails to read that, then I don't give a f***.
I like dynamic typing, but I also like the ability to rigidly define a type when needed with a cast
@iroegbu There's no PHP error E_NOT_WORKING. Please describe.
4
16:58
@Hiroto means ?
@Hiroto With anything but scalar types, it's possible.
E_TOO_LOCALIZED, E_NOT_CONSTRUCTIVE, E_NARQ
function (PDO $db_connection) { is possible.
16:58
yup
type-casting into functions <3
I really wish they would implement one for scalars too
I bet there's an internals thread on that
@Hiroto I never understood why fatal errors were called E_ERROR. The E is there already an abbreviation for error...
@Hiroto Type-hinting you mean?
@MadaraUchiha it's funny what I'm getting... the whole page is rendering as an image

« first day (941 days earlier)      last day (4233 days later) »