« first day (881 days earlier)      last day (4066 days later) » 

12:00 PM
Please somebody kill IE
 
@PeeHaa why? It's the best browser we've ever seen, no?
 
The time I just lost on the above...
I want it back
 
morning
 
mornign
 
monring
 
12:02 PM
@NikiC You're awake early
 
@PeeHaa you mean I'm in chat early ;)
 
So I was showing people how to audit passwords, and my wordlist is about 7 million long
then a co-worker hands me one 230 million long
my jaw is currently still on the floor
90% of my sample
 
Can anyone help me with creating firefox extension
with minimal files and easy way
I found some tutorial that gives a bunch of files, and is enough to make people dis-instrested about FF extension
 
creation, if anyone can share something helpfull, it will be great honot
 
12:18 PM
I wrote a horribly patched up one years ago, not sure what changed in the mean time :)
 
@Ocramius what is this
If i have written a simple crome extension, is there an easy way to make it useful for firefox
 
Hey guys
Is anyone here that could teach me a little black magic :?
=D
 
@ScoRpion... read the code? :\
 
waht was that @Ocramius
 
what up Dimitrov ?
 
12:28 PM
ok. I am absolutely sure there was a Voice Search on Google in my Chrome. Now the icon is gone again.
 
I have a problem with RESTful routing @smassey
 
@Gordon yeah, it comes and goes
 
REST is not magic
 
I figured out how to handle the routing of URIs matching the routes
 
REST in web.py is, duh
 
12:30 PM
:P
 
it's pretty much perfect for REST, lol
 
REST in almost all py fw's is mind numbingly simple ;)
 
mhm~
 
tornado does it nicely as well
 
but can not manage to use the a dynamic routes
lets say the /module/:controller/action
 
12:32 PM
What do you mean when you say dynamic route ?
 
whare the :controller must be replaced by the controller in the URI
or action or module
 
but it's rest
why would that be dynamic
 
I need it for MVC Framework that I am building
 
@Gordon You on canary or stable?
 
ok. i must be missing the question here ?
 
12:33 PM
then that's not your REST API :p
dynamic endpoints would give people headaches
they should be static and make sense. google "teaching a dog to REST"
 
so you suggesting to not offer option for dynamic but to have to enter each route manually in order for it to work :?
 
if you're using a framework, it should already route for you
 
I am building one, not using a ready made
 
building a framework?
 
mhm
Learning purposes
and eventually will release it
 
12:36 PM
lol. how experienced with building APIs are you?
 
ahh, that DaGhostman took me a while to understand... but yes, that's exactly what I do now, got rid of the "magic" and only used controller maps with very simple config files $controller_map = array( '/web/route' => '\whatever\my_controller_name', 'etc' => '\etc\ );
 
Building your own framework, or "re-inventing the wheel", is great to learn how it's done and why it's done. (and also, why you use ready made ones for production and not your own, in the future)
 
@Jimbo I have yet to see a brilliant coder I know who hasnt reinvented a big shiny wheel before "for the hell of it"
 
Exactly :P For the lulz
 
I never liked the wheel anyway.
 
12:38 PM
@DaveRandom it's too round
I hereby suggest square wheels
 
dodecahedral wheels ftw
 
@smassey and how should the map be used I mean
..
About the wheel...
 
@DaGhostmanDimitrov By doing so .. you will simplify your code and surly get rid of useless string manipulation / regex's .. The only disadvantage is that everytime you want to add a new controller you need to modify the mapping file.. This shouldn't become an issue as adding a controller isn't something that should happen on the daily routine anyways, or you might be doing it wrong
You're routes, you know them in advance, and you just string match the route to the keys in your controller map
 
so I should leave it that way ..
 
if they match, the value is the controller
whys that ?
 
12:41 PM
@smassey lies
 
@tereško plz develop
 
i am ... which is why i must keep it short:
 
I am currently doibng the mapping in a different OOP way
 
@DaveRandom stable. I only noticed the icon after following a link to a google search pasted by someone. I assume it's somehow encoded in the URL then. I dont have Mic connected atm, so I guess that's why it doesnt show when I open Google myself
 
@smassey while you might know all ways how to map to every controller, not all of the routes DO map to the controllers
 
12:43 PM
new Router::addRoute($uri, array(module, controller, action))
 
and after that the Dispatcher looks for match in the $URIs and the current URI
 
@NikiC and folks, it's a logarithmic graph...
 
it has php top on github :)
 
@DaGhostmanDimitrov FFS, stop using procedural code
 
12:44 PM
@tereško wouldnt that be a 404 ? ;)
 
@smassey , http://who.cares/q/find+this+text
ok .. i'm AFK again ... deadlines
 
there's a hardcoded timeout limit in nginx here, and i can't change it
but i need to do a long-running task
should i do batches?
?offset=&limit=
 
message/task/work queues..
 
@tereško I am not using procedural .. I think
=D
 
it's literally just mass updating
 
12:47 PM
and a cronjob can't do it ?
 
@DaGhostmanDimitrov every time you write a static method/variable , you are writing procedural code .. it's as simple as that
 
it aint with statics It was just an example..
well excluding the Singleton pattern
 
in a few places
 
wth
 
12:48 PM
@Gordon Whether you have one connected probably isn't relevant unless your soundcard disabled the mic device until it detects one, the APIs only see system devices. It's odd, just been testing it out on canary and stable, can't seem to provoke it into appearing
 
@ircmaxell #fail
 
@ircmaxell I feel like that on Fridays too
 
@DaGhostmanDimitrov singleton patterns IS procedural programming (and bad procedural programming, at that)
 
@ircmaxell Y U POST SPACER GIFS?
 
user image
6
There we go
 
12:49 PM
xpix FTW!
 
@ircmaxell LÖL
 
aint it better for MVC cuz you wouldn't mix the instances and create hundred instances of a single object ?
 
@DaGhostmanDimitrov no, that's what factories are for, please watch: youtube.com/watch?v=-FRm3VPhseI&feature=channel
 
@DaveRandom try google.com/…
@ircmaxell pff. that's like not naming your boy "Sue". He will never grow up to be tough lion.
 
with the performance and 'write less do more' in mind aint the factory an overkill ?
 
12:52 PM
@irc
@ircmaxell zazzle.be/…
 
@DaGhostmanDimitrov please, learn OOP before you start making shit up
 
or will be thrown away
 
@DaGhostmanDimitrov if performance was you concern you shouldn't be using PHP to begin with ^^
 
I could say that I know OOP in a little more in general .. I am doing this for learning purposes to do so..
as I said above eventually it will be released somewhere in the web
 
Shit. I just came up with another book concept... I need to find the time to actually write one of these
 
12:56 PM
well maybe you're right @smassey but I love php
=D
 
@Gordon Yep, I get it in both then. And weirdly on that page it now appears on every search I do. But if I open a fresh tab it disappears again.
 
@DaveRandom it goes away when I remove hl=en from the URI
 
@Gordon I only get it on .com, don't get it on .co.uk (my default) - even if I add hl=en. Are you using .de by default?
 
Unlambda is a minimal, "nearly pure" functional programming language invented by David Madore. It is based on combinatory logic, a version of the lambda calculus that omits the lambda operator. It relies mainly on two built-in functions (s and k) and an "apply" operator (written `, the backquote character). These alone make it Turing-complete, but there are also some I/O functions to make it possible to interact with the user, some shortcut functions and a function for lazy evaluation. There are no variables in the language. Basic principles As an esoteric programming language, Unlambda is...
(morning)
 
@DaveRandom hmm. weird. I dont get it on .com and .de either when I add hl=en for a new search
 
12:59 PM
It must be a function of Math.random()
 
@LeviMorrison: happy birthday man
later
 
@ircmaxell pinned and starred!
 
@DaGhostmanDimitrov
 
1:02 PM
I hear you there, but don't become a paradigm fanatic (like some...), you'll realize one days it's all bullshit ;)
 
@DaGhostmanDimitrov PHP != jQuery
 
Actually I have noticed that @DaveRandom
 
spent years digging through the gang of fours DPs and reading every word of Martin Fowler as if he was a god, then fell onto the one mind changing experience: functional programming
 
As a matter of fact I have a few years doing everything myself...
 
1:05 PM
http://langpop.corger.nl/

C++ (7.63%)
Lines changed on GitHub: 184,439,354
Tagged on StackOverflow: 185,582
Lines written per question: 993.8429050231165

PHP (14.74%)
Lines changed on GitHub: 583,315,415
Tagged on StackOverflow: 358,496
Lines written per question: 1627.11833604838
 
also , as a side note: @DaGhostmanDimitrov is crap
 
@DaGhostmanDimitrov Well why "write less do more" then? Usually "do more" requires "write more". If you don't that usually means you have abstracted everything away into an opaque black box, which is all well and good until something breaks.
1 message moved to Lounge<C++>
:-P
 
:-D
 
@smassey jquery so you decided to start learning native javascript ?
 
@PeeHaa poor you
 
1:07 PM
this means war!
 
by that I meant that I do not like some of the frameworks that have endless configuration and writing something that does the magic and cannot figure a way why something break ..
 
(because that one is functional language with most practical use)
 
I have experienced it with ZF1.x
 
@tereško Lol, practical for the GUI guys, sure, I don't do gui.. I like Erlang though
 
Didn't we have a C++/PHP war already this month?
 
1:08 PM
@smassey yeah ... been learning that one too (on and off)
 
and @tereško JS is mutli paradigm, far from pure..
very far
 
@MartinJames Nah, I think that was a couple months back.
 
lol just throw a template in the PHP room, they'll all be lost
 
A war, with C++? Don't joke so much, PHP would always win
 
all the Loungers came in here and flooded the place.
or maybe that was Android or Haskell or something..
 
1:10 PM
@DeadMG Where's @Cicada when you need it?
 
"it"?
 
In fairness, those stats really don't show that we are smarter than C++, if anything it's the opposite, especially Lines written per question: 1627.11833604838 - if your question takes 1627 lines, it's probably a sh*t question
 
1 message moved from Lounge<C++>
huh
I always thought you had to be an owner of the destination room.
 
@DeadMG /shakes fist
 
@DaveRandom was just thinking the same thing.. their lack of concise expressiveness means .. more typing
 
1:12 PM
@Jimbo you have strange definition of winning
 
Either that, or: PHP room is in the "Bin" category :D
 
More walls-of-code.
 
@BartekBanachewicz I live by Charlie Sheen's "Epic Winning" - aren't you bi-polar? I'm bi-winning.
 
@BartekBanachewicz In noise levels
 
attaaaaaaaack
 
1:12 PM
@Jimbo Hey ho. That'd be me
 
Where's Uncie Gord anyhow?
 
He's tieing his Knot
 
@DeadMG load the meta-cannons
 
@Jimbo handling flags
 
Though, TBH, can you have a 'wall of code' in PHP? Should be 'house of cards of code'
7
 
1:14 PM
That is actually pretty funny
 
@MartinJames Dude!
you have to say bad things about PHP in the C++ room, and then get them moved here by an owner.
 
ITT : Lounge<C++> invading PHP starboard
 
else it doesn't count as firing at them.
 
we should all camp here for a while
 
buahahahahaa!
 
1:15 PM
star everything said by a Lounger
kick all the PHP messages off starboard
 
@sehe I am not sure Gordon and Gordios share the same etymology. Afaik Gordon is scottish for "mound"
 
Oh hai guys! They've finally realised that PHP is a better language - and they've come over from the dark side. How sweet =]
 
So... it's like the 'Battleships' game?
 
meh. they'll just unstar :)
 
That's unfair!
 
1:16 PM
@Gordon It was in reply to that message, I hadn't heard of you before :)
3 mins ago, by Jimbo
Where's Uncie Gord anyhow?
 
user784668
ITT: the Loungers being idiots.
7
 
@Gordon its from the name "gorgon' =P
(actually i made it up ... is someone cannot tell)
 
quick, a thing said by a Lounger, star it!
 
Gordon is a surname with numerous different origins. The masculine given name Gordon is derived from the surname. Origin of the surname The Scottish surname Gordon may be derived from several locations. One possibility is from Gordon, in Berwickshire. This placename is derived from the Welsh language elements gor, meaning "spacious"; and din, meaning "fort". Gordon ( ) is also a Jewish surname, likely derived from the city of Grodno, in Belarus. The Spanish, and Galician surname Gordón is derived from places like-named in the Spanish and Galician languages. The Basque language Gordon i...
 
Xeo
Oookay guys, time for your afternoon nap, please come back inside the Lounge...
 
1:18 PM
wth
 
yeah
 
 
I think I've kicked enough PHP for a while
time for a Starcraft-related break
 
what about work?
 
1:18 PM
@tereško at least i've seen it misspelled like that quite a few times ;)
 
W***? This time on a Friday? What about beer?
 
man, it would be nice to have @grmpyprogrammer in here
 
@MartinJames s/this time//
 
@MartinJames fuck beer , i have to hand in project till mid-saturday
which will be handled by QA person on late saturday , bugfixed on sunday , and sent to the client on sunday evening or early monday morning
 
@tereško ..and rejected by Monday lunchtime.
 
1:22 PM
user image
5
 
... we tagged that :)
(not)
 
@BartekBanachewicz why?
@MartinJames I need something stronger to be able to finish the day
 
user1357851
 
lolwut
 
@Telkitty Nice!
 
user1357851
1:30 PM
^_^
 
osom :O
 
@Telkitty that should be PHPrincess instead
 
user1357851
Oo
 
@Ocramius hi
 
1:37 PM
@Eugene hola!
 
@PeeHaa And now put that into perspective, from the same source:
 
#fail ;-)
 
I don't get it.
 
@PeeHaa Sorry, here it is (I forgot to draw the line so you'd... get it)
 
Are there any success stories of using PHP extensions to enforce static type behavior (SPL-esque) or incorporate common constructs in other languages, such as real method overloading, operator overloading, etc.; or is it all just fluff and POCs?
 
1:41 PM
@PeeHaa @webarto ^
 
blah
 
That chart is drunk.
meh
 
@Bracketworks nothing production worthy
 
@ircmaxell That's what I figured.
Are SPL Types even worth taking a second glance?
 
1:47 PM
I don't think so
 
@sehe What about it?
I still don't get it :P
 
herro fwenz
 
@Bracketworks yes, they are imho.. at least the iterators and interfaces, you can really build some job security around those ;)
 
1:53 PM
@PeeHaa oh god.
 
@sehe me neither ^^
 
@smassey Iterators and interfaces, sure, I meant specifically the primitive type wrappers.
 
@NikiC You guys must be trolling right. Did you start at the beginning?
 
@sehe no, I didn't read up the backlog
just explain what you mean ^^
 
(well the beginning was earlier of course, there was a mentioning of war and how PHP would obviously trample C++ then)
@NikiC See, that never helps.
 
1:58 PM
@sehe Well yeah, no question to that
 
which it obviously still does
 
Wrong.
 
ES IST KRIEG!
:)
 
what's wrong?
 
why?
 
1:59 PM
@NikiC Yea, but there would be alot of people asking for directions, and using deprecated weaponry.
 
@NikiC When you see the big picture, you'll notice that there is really hardly any significant difference in language popularity AT ALL, between PHP and C++ :)
 
I even added a nice avarage
:P
 
Avarice is bad
 

« first day (881 days earlier)      last day (4066 days later) »