« first day (1033 days earlier)      last day (3912 days later) » 

1:06 PM
Afternoon
 
Hello
 
Anonymous
before noon
 
<?php // Almost weekend ?>
 
1:20 PM
@Duikboot E_TOO_MUCH_DOE_JE_HAAR_MET_EEN_GITAAR
 
@PeeHaa haar as in 'hair' :p
4
A: How do you define a polyglot programmer?

Bruce WallaceBy definition, me. ;-) Bruce Wallace President, PolyGlot, Inc. Slogan since 1980: "We speak the many languages of computing" http://www.PolyglotInc.com/

^ is this really an answer o_O ?
 
@reikyoushin Well I'm not sure ...
 
first time i've heard of that the answer for a programming question is a person. XP
 
@HamZa so much win
 
1:25 PM
and even if it is indeed an answer, it doesn't explain anything.. haha
 
lol
 
Loool @PeeHaa
 
LOL
1
A: How do you define a polyglot programmer?

Fernando BarrocalI would say the one that speaks at least two or three languages, like Spanish and English, and can program in at least one computer language, like C# or Java...

^ so what are we ? Super polyglots ?
 
@HamZa you're a regexglot.. :P
 
@PeeHaa WTF
 
@dragon112 ? :P
 
@webarto wat da.. what is that?
 
@webarto what did I just read ...
 
@HamZa RIP English..
 
@PeeHaa Doe je haar met een gitaar wut?
 
1:32 PM
Hello again
 
@Gordon I'll happily host and let people use my server as a source in pages and host a site for it but design is not really my area, if someone wants to throw a page or two together for it then I'll shove them on my server with pleasure though... /cc @all
 
github down?
 
hmm wierd, I keep getting the unicorn
 
1:37 PM
YAY, our place is upgrading PHP 5.2.x to 5.3.3 - couldn't push for 5.4, but whatever, it's a start
 
@DaveRandom Hmm, I can do design to some degree but I guess this one should be done by someone more capable than me. Maybe @Duikboot wants to assist
 
@Jimbo good
 
Throw me a wireframe or something, I'll catch it, analyse it create a mockup and when you are ok with it's I create a final design.. How does that sound?
 
@Jimbo 5.3.3???? dafuq. Also I really don't get why when people finally decide to upgrade they don't just go the whole hog and go to latest stable. It's not like there are any major BC issues you should encounter.
/runs
 
@DaveRandom When there will be a stable PHP 6 we might step over to PHP 5.4 lol
 
1:40 PM
@Duikboot It basically only needs one static page, go nuts
 
@DaveRandom No you're right, that's what I said, however apparently because everything depends on PHP, and it'd take time to test on our sandbox before placing it on live, we're not going to do it yet. In fact, the only reason they upgraded to 5.3.3 is because of Guzzle
 
@Duikboot How about throwing you "make it pretty, with rainbows!" instead of a wireframe?
 
How it is currently looking?
 
@dragon112 Yep kinda like that
 
( I was AFK so I maybe missed a link or something )
 
1:41 PM
@Jimbo Yeh but you still have to do all the sandboxing stuff with 5.3.3
 
@Jimbo WHY!?! .3?
 
@Jimbo We're still running 5.2 here. :( And ZF1.
@Jimbo But I don't work with PHP at work so I have about zero voice on that.
 
@PeeHaa Because Guzzle requires 5.3.3+, so they're doing the bare minimum
 
@Duikboot Like a 404, since I haven't done anything apart from write the JS. chat.stackoverflow.com/transcript/11?m=11240155#11240155
 
@Jimbo :|
 
1:43 PM
Hahaha :D
 
@DaveRandom IKR, but there are many more things in the changelog we "need to go through" to make sure they don't affect us. I mean, from a sysadmin's view (our dev lead), that's fair enough if they don't have the resources (time) to give to us to do this. Wish they would though
 
OpenOffice sucks!
 
What is the story to put it in the gay pride colors when they are viting russia
Did I missed the news/
 
I want my array / constructor dereferencing :)
 
@PeeHaa it's also a dead project for how many years?
 
1:44 PM
@Duikboot just read a bit down from the link DaveRandom gave you. It's to protest against edition.cnn.com/2013/08/01/world/europe/… inspired by pamshouseblend.firedoglake.com/2013/04/07/… and news24.com/World/News/…
 
@PeeHaa why not libreoffice?
 
@Jimbo You only need to focus on the BC breaks though, of which there are very few, and if your codebase is half-way sane they wouldn't affect you anyway
 
@reikyoushin LibreOffice sucks just as hard :)
 
Is there a separate changelog that just tracks the BC breaks? If not, there should be.
 
@ircmaxell Yeah I like poking dead things :P
 
1:45 PM
:-P
 
string '01/01/2011' (length=10)

string '12/31/2011' (length=10)

array (size=1)
  2011 => string '364' (length=3)
 
@PeeHaa well, its free. what do you expect. it really sucks if you need ms word
 
@reikyoushin Your point? PHP is also free!!
 
@PeeHaa Given that MS Office also sucks, and the world runs on office software suites, it looks like the world is basically fucked.
 
oh wait. bad example :)
 
1:46 PM
@PeeHaa Do you have a linux alternative ?
@DaveRandom lol
 
Is DateTime:diff "including" the last day?
 
@DaveRandom office 2k3 was fucking awesome (i.e. really not that awesome but the bestish out there)
 
What is the reason you want to add a rainbow-gay flag for every 404?
Maybe I can create a cool visiual or something if you tell me your story behind it
 
@PeeHaa well, its a language, not the software.. its just that you can't expect from free softwares (not that there are no good ones out there)
 
@SweetieBelle sup' <3
 
1:48 PM
@webarto The difference between the first day and the 365th day is 364. 365 - 1 = 364.
 
Hey @Mokkun
 
You are against that law in russia,.. so what is your message to russian visitors of your webpage?
 
@Duikboot Hey
 
@SweetieBelle hi,
 
1:48 PM
@DaveRandom yeah.. pick your own poison.. XP
 
@PeeHaa this? youtube.com/…
 
@Duikboot not again :\
 
@PeeHaa rly? I think 2k7 was a huge improvement if you get the plugin that gives you the proper top menus
 
@AlmaDoMundo Oh? Is this already been discussed?
 
@Gordon lol
 
1:49 PM
@Duikboot Yes, this became the politics channel for an hour or so
 
@DaveRandom Thank you, let me rephrase, is the range for 2011 from 01/01/2011 to 12/31/2011 (or 01/01/2012). Thank you.
 
I was in meeting @work so coudn't check it out
 
@DaveRandom Serious!? I puked and closed it after having the work with the ribbon of death
 
@Duikboot I guess it doesnt need much but a short explanation. Something like "Fly your flags against Homophobia." and then maybe a link to the CNN article for further information. Then just show the script and put a small explanation of what it does.
 
@webarto 01/01 - 01/01 is 365 days, but first to last is 364. Think of it this way, the difference between now and tomorrow is one day, not two.
 
1:52 PM
not far ago a businessman was killed on the main Moscow street by grenade launcher shot. So, please, leave Russia and gomophobia alone :\
 
@Duikboot Can we also make one with bombs raining from the top of the page, shown only to US IPs
'Drop bombs on foreign intervention' ty
 
B.Y.O.B !
 
@DaveRandom Understood, I need it to be 365 days, so I'm going to display from first to first (next year). Thanks :)
 
How to express rep****ing in a gentle, more "polite" language ?
 
@HamZa Rep-Farming
 
1:55 PM
@PeeHaa ubit.ch/software/ubitmenu-languages - I hate the ribbon but it doesn't have to be that way and some of the new stuff you can do with it (freeware PDF conversion, for one) are worth it
 
@Danack thanks man :-)
 
@DaveRandom greatness
!
@DaveRandom I only send out raw ps files ;)
 
For anyone into anime check this: sphotos-a.xx.fbcdn.net/hphotos-frc3/…
Into Shingeki no Kyojin/Attack on Titan I should say
 
@Duikboot You still looking for design projects?
@Duikboot I'm LightningDust btw
 
@DaveRandom Our codebase is not half-way sane. We have: res::$logger->debug(), res::$db->write(), res::$db->read(), code copied all over the place, no namespaces - a lot of it is "let's just get it working", no test
 
2:01 PM
Talking about over-kill (dutch link) (english link)
 
@Jimbo Lemme pull out a gem from one of ours
$this->getMessages($this->request()->user()->properties['id']);
 
@SweetieBelle So that's basically "get a user's messages" - ouch
 
i was wondering if an this is one possible and two if someone could point me in the right direction to figure out how to set up xampp so other computers on an internal net work could load the web pages and preform security and exploit testing on it
 
@Jimbo Hehe, that's what I thought too. :D
No, this is 'get messages sent FROM a user' -_-
 
@SweetieBelle Oh, well at least it's named well! Oh wait..
 
2:04 PM
@Jimbo Like I said, I don't work on our PHP codebase, I work on our (C++) back end service which is better but still not perfect.
 
@SweetieBelle yes :)
 
@John lolwut
@John are you interested in pentesting ?
 
expain pentesting and i will tell you if that is what i have in mind
yes, but mostly to find weakness in my php code
 
@John ok, does "ethical hacking" ring a bell ?
 
@John Pentesting = penetration testing, it's either a sexual act or something we do to find if a website or piece of software is secure against typical attack vectors.
 
2:08 PM
@SweetieBelle lolz
 
@SweetieBelle Moar sexual act please
 
i new pen as penetration and yes that is what i am interested in...
 
23
A: Vulnerable OS's?

HamZaThere is quite a lot of them: Metasploitable: Currently there are 2 versions. Kioptrix: Currently 4 challenges. Hackademic: Apparently 2 VM, check 1 and 2. pWnOS: Currently 2 challenges. Standalone which you can install directly without VM, this is to hone your Webattack-Fu: OWASP WebGoat D...

 
@Jimbo Well that's just it, because you are coming from 5.2 you don't have any problems with namespaces because you don't use them at all at the moment, that won't break anything. The complete list of stuff you need to check to move to 5.5 is php.net/manual/en/migration53.incompatible.php, php.net/manual/en/migration54.incompatible.php, php.net/manual/en/migration55.incompatible.php, and I'd be surprised if any of them affect you.
The most likely failure candidates are call-time pass by ref, no trailing slash in SPL filesystem things, reliance on register_globals (I hope not) and break/continue var args. Pretty much everything else is stuff you probably wouldn't be reliant on anyway.
 
@John setup a VM and there you go ...
 
@Duikboot No special message for them, the purpose is international
 
thank you
 
@John, you said that you are running xampp, take a look at stackoverflow.com/questions/5524116/…
 
@ircmaxell mmm...I like the constructor argument forcing stored objects to be a certain type.
 
;-)
 
2:12 PM
0
A: Accessing localhost (xampp) from another computer over LAN network - how to?

Mateo JovaniSometimes your firewall can be the problem. Make sure you've disabled your antivirus firewall monitoring. It worked for me.

lol
 
@ircmaxell: ooh, that's indeed a nice one for collections
 
@ircmaxell that's how I usually approached the generic typed collections, too. However, I usually also fall back on having properly named collections then anyway so I can just use typehints on the attach/detach methods, e.g. instead of $users = new TypedCollection($user) I just do $users = new Users.
 
sure
generics would be awesome for that
@Gordon well, it depends on what you're doing
because generally your collection has more logic than just being a bag
in which case it makes perfect sense to push it to its own class...
but if not, you could do
 
still means a lot of duplication, especially if you implement all the various array-access-whatever APIs
 
class Users extends TypedCollection {
    public function __construct() {
        parent::__construct(User::class);
    }
}
 
2:19 PM
@ircmaxell I prefer map() or apply() methods on them tbh so I rarely need them beyond semantics
@ircmaxell yeah, I was going to suggest exactly that
 
ah well, if the base logic is there...
 
I thought about adding them to this class, but then I decided to just keep it to the base array...
@Gordon the only problem is that IDEs don't get typing information
 
@ircmaxell that's another reason why I usually just use a POPO without the magic
 
fair enough, not saying that isn't a good idea...
I threw this together in 10 minutes just to show some of the power of 5.5
 
I'm sorry, I don't get it. What is
'$store[new StdClass] = 1;'
doing? Preferably in words of one syllable :)
 
2:21 PM
@ircmaxell doesnt even need 5.5.
@vascowhite it's what splobjectstorage does. Hashmap with objects for key. object dictionary so to say
 
@Gordon yes, but the API is terrible
 
@Gordon yes it does. for two reasons. the generator iterator (which could be done without), and for object as keys to iteration
 
can't iterate on it and have keys being the objects
 
huh? splobjectstorage can have objects for keys and can be iterated
 
@Gordon new StdClass() is serialised & hashed and becomes a key who's value is 1?
 
2:23 PM
@Gordon iterating splobjectstorage doesn't return the keys in the key area
 
@Gordon no, if you do foreach ($storage as $key => $value) { you get some weird results
 
gonna have to play with this to get my head around it.
 
$key is a numeric index, and value is the object that you used as a key
 
argh
too slow :P
 
which is akward
 
2:26 PM
and also, it's slow as hell because it calls spl_object_hash() all over the place... I was hoping there was something better
 
mine does too
 
yep
 
spl_object_hash should be fast, no?
 
there's no way around it in userland I guess
 
@ircmaxell ah, ok. yes.
 
2:26 PM
not if you call it a lot of times...
 
@Ocramius it's just normal function call overhead
 
@ircmaxell yep, quite un-suited for some of the main use cases of an object store imo
 
Is there a best pratice governing the use of class_alias?
 
and it gets worse if you're forced into doing stuff like github.com/Ocramius/ChangeSet/blob/master/src/ChangeSet/…
 
Should I just not use it, or it okey to improve an API by offering a second (says shorter) version of a class name
 
2:30 PM
you really shouldn't be calling offsetGet directly...
 
@ircmaxell I know, but iteration was borked
right now I got back to arrays in there
faster, but sad
I did the direct call to offsetGet because if you read that with array notation you go seriously WTF
 
eih
yeah, I see your point
time to rewrite my Don't Be STUPID talk for the freaking 4th time
 
@Ocramius in ZF2, is it possible to match foreign chars in router?
like, `example.com/über`?
 
@DaveJust yes, why not?
you just wouldn't want them in an URI anyway :P
 
@Ocramius I just want it to be like on Wikipedia... so can you please direct me in the right direction?
 
2:40 PM
@DaveJust /:path does that for /über afaik
 
@Ocramius hm.. it would match UTF-8 by default then?
 
@DaveJust I think so. Did you try first?
 
@Ocramius in the past with ZF1 and could not do that
 
well, I hope DASPRiD has fixed that :P The router was rewritten from scratch
 
2:45 PM
@Ocramius DASPRiD heh … green elephpants … never got mine
 
@Gordon yeah, they're stuck because of some french guy afaik
 
How can I know that link such as this link.songspk.name/song.php?songid=9839 leads to a song, without opening it. Might be something from headers or so ... ??
 
that reminds me I need to check shipping to scotland and netherlands
 
@Gordon Netherlands WOOO
oh wait, nevermind
 
@DaveJust An URI - technically - never contains the character ü (or similar). better check which URL-encoding you're using and what the us-ascii version of the URI is to check against.
 
2:48 PM
@silverflash isn't that just the way your browser handles all "normal" mp3s (I believe there is a header to make someone download Content-Disposition or something like that).
 
@hakre agreed. Yet it's possible if you're masochist
 
okay...
 
http://☃.net
 
@Ocramius now that's punycode and different.
and really not working well... .
 
I know
smartass browsers...
 
2:50 PM
well first punycode outsmarted internet users, then browsers tried to prevent that and now there is a whole mess and it's partially working.
so much for the fun ^^
 
@Ocramius Gotta love the title of that page :P
 
@Gordon +1, I'm out of votes ...
 
@Ocramius im gonna register [pile of poo].de
 
@Gordon I thought about that a lot of times
POO.io
owww :(
 
2:58 PM
BRAVO!
clap clap
oh internets...
 
lol
 
@Gordon Oh, it's just a rotating block, nvm
 
bye all, have a nice evening
 
@AlmaDoMundo bye
 
3:03 PM
@Jimbo Have you got a PHPNW 2013 ticket yet?
 
@Gordon <!-- The most important website ever coded by humankind. -->
 
@DaveRandom Yep, got two - in case anyone wants to come with me lol... possibly I might be the only one going
 
@Jimbo I'm just trying to decide whether to get a tut day ticket, there's a few things I'd be interested in but £275 is a lot of money :-/
 
lol
 
@DaveRandom pauper ;)
 
@DaveRandom It is, the guys at Magma told me "it's really worth it", but at that price... I'd rather spend a few more days on whatever it is on the internet and learn it myself tbh
 
@Gordon Firefox fails to display the character (does the block with numbers thingie) and Chrome shows a rotating block. Looks like the creator of the site did something wrong to me
 
@Gordon Thanks, that's very helpful. If you're so rich then you buy me a ticket :-P
 
@Jasper nah, that's to be expected. it's your machine
@DaveRandom not only a pauper but also a beggar :(
 
@Gordon I can imagine the problem being on my end, but FF and Chrome displaying something entirely different makes that hard to believe
 
@Gordon Be fair, the two usually go together :)
 
@vascowhite are there no more paupers with dignity?
 
@Gordon Possibly, but I don't think there are very many beggars who aren't paupers.
 
@vascowhite I used to believe that, too. Then I joined Stack Overflow.
 
Always a few exceptions. :D
 
3:10 PM
@Gordon They're not beggars, they're vampires :)
 
@DaveRandom @Jimbo the tutorials don't look so shabby.
 
@vascowhite I like the image of a vampire that's begging for blood. It nicely captures the sadness of help vampires
 
@vascowhite you haven't seen the mod messages I've seen ;)
 
@SweetieBelle When I was a kid there was a guy in Liverpool city centre who begged all day every week day and drove home in a Jaguar. When he got found out he couldn't understand the fuss as that was 'his job'.
 
@vascowhite lol
 
3:13 PM
@Gordon I don't do begging, but I may have to if I don't get a better paid job soon :-(
@Gordon I'm not worried about it being worth the money really, it's just whether I can find the money
 
-1
A: PHP: Static Readonly property in class

Frank forteThis is a bit easier: class aaa{ private $qwe='rty'; public static function qwe() { return $this->qwe; } } It does not allow changes, and is still easy to access: aaa::$qwe = 'something'; // fails echo aaa::qwe(); // success And if you have properties that are allowed to change, you can use...

 
@DaveRandom ask your employer to pay for it. after all, he'll get a better employee from it
 
@Gordon No chance. See previous post.
 
Timezones always cause so much confusion stackoverflow.com/q/18234952/212940
 
@DaveRandom works for me
 
3:15 PM
I am actively looking for a new job but I'm struggling to find one that's a) not shit b) will pay me enough and c) will actually employ me with no previous commercial experience in the field
 
@DaveRandom We should create some kind of club. We could even have a secret handshake and everything!
 
@DaveRandom have you tried careers.se? do you need an invite?
or anyone else for that matter. I got 50
 
@Gordon I got 54. I'm apparently 8% better than you.
 
@DaveRandom I spent one to invite the kyrakittykat
 
The real sticking point is point c) I think, I may have to just bite the bullet and get a crappy junior dev job but I need enough to live on
 
3:19 PM
Junior dev pay is baaaad
But progression is usually fast
 
@DaveRandom thats pretty much the same for me and team lead positions. they dont give me any because as freelancer you'll only get offered senior dev positions.
 
@SweetieBelle ...
 
@cspray I'm thinking something like "hold out your cap and ask each other for some spare change" as the handshake
 
@Gordon I couldn't even get senior positions from freelancer :S I had to take a junior position... I had that for 2 months then got upped to the main pay grade.
 
@DaveRandom you are not a junior...
 
3:22 PM
@SweetieBelle I think the rainbows are going to my head. I read the last two words as "gay pride" twice
 
@SweetieBelle well, you're 25. Im 36
 
@Gordon Oh, is that what age my profile says? :P
It's not FAR off
 
@Gordon thanks for correcting that >.<
 
@Ocramius I have zero commercial experience as a dev though, which turns people right off. Officially I have been a telecoms engineer and latterly sysadmin for the last 8 years (and before that the closest thing I had to a profession was "stoner").
 
@Ocramius are you one of those folks who need orderly things? little OCD'ish?
 
3:24 PM
@Gordon ya
 
@SweetieBelle Hear the news for the big wigs at bitcoin being subpoenaed?
 
though I'm one of the last people on the planet to have order in my stuff
 
@Ocramius <td>Suck on this</th>
 
@Gordon RAAAAAAAAAAAAAAAAAAAAARGH
 
3:27 PM
@Fabien There are bigwigs at Bitcoin?
Oh you mean the foundation.
 
No BTC-e on that list
I wonder why :D
(Because they're Russian, and no one knows who owns the site, probably)
 
@SweetieBelle Because the US regulators can only regulate US companies.
 
@Danack Misleading title though. Anyone who uses Bitcoin knows BTC-e is the 2nd biggest exchange and a huge player.
 
"Furriners don't matter?"
 
3:34 PM
> Because the US regulators can only regulate US companies.
 
@Ocramius So this is annoying? (
 
If only
 
@SweetieBelle a bit :P
 
@Ocramius :P
@Ocramius How about this? ?>
 
/me picks a brick
 
FIX IT
 
Yeah. It's on my todo
 
Hello
World
 
EHLO
 
HELO
Jack the Repwhore
 
3:44 PM
@PeeHaa ehlo
i've dropped the ball on oauthlib
and need to pick it back up
 
I dropped the ball on most things. Almost no commits. Shit is busy
 
i see
 
Real life interference.
 
Real life sucks
Ain't nobody
 
FU RL
 
3:46 PM
FURL
 
Word
 
btw RL calls again :(
beer time
 
That's good RL
 
apt-get real-life upgrade?
hehe
 
you can't upgrade
 
3:47 PM
apt-get upgrade life
apt-get install audir8
 
there's a dist-upgrade, but it's full of breaks
 
apt-get install model-girlfriend
 
sorry I meant update
 
yum install trust-fund
2
 
haha
You deserved a star for that one
 
3:49 PM
At least my life is redhat based, that's something
 
@Lusitanian Girlfriends are like singletons. Someone finish that off, I can't think of anything good.
 
Anonymous
@Pattle I stared that oO
 
@Jimbo ...that's what she said?
 
lol
 
@Simon_eQ well done
I better go now, it past my kurfew
 
3:51 PM
....girlfriends are like singletons, if you attempt to create multiple instances, they are going to wind up killing each other.


....and I resume lurking.
6
 
There we go!
 
MGE
What is the difference between !empty($var) and if ($var)
 
@MGE !empty() won't trigger an error if $var doesn't exist
 
-facepalm-
0
A: Store CSS in PHP variable?

Sweetie BelleThere isn't a right way to do inline CSS Your code will work, it will produce a valid page, and it will look absolutely fine to the user. BUT you shouldn't do it that way. So, why shouldn't you do it that way? Maintainability is the main reason that you shouldn't handle CSS this way. It is far...

 
3:56 PM
why is returning false faster than returning nothing? 3v4l.org/PKqmV
 
@DaveChen Meaningless test, look at output for 5.5.0
 
so it's just sporadic?
 
@DaveChen It is when you do it on an internet server that's processing god knows how many other things simultaneously
 

« first day (1033 days earlier)      last day (3912 days later) »