« first day (1287 days earlier)      last day (3646 days later) » 

12:43 AM
btw, it's friday here so !
i wouldn't be able to make it later. >.<
 
I am mesmerized by this photo: flickr.com/photos/ircmaxell/14021141123
 
err.. wtf google ads.. why are you giving me this?
 
1:03 AM
The reverse of doing that is easier
 
1:30 AM
hello, how to pass an xml from php to a sp in sql, I have $stmt = mssql_init($sp_name);
mssql_bind($stmt, "@X", $xml, SQLVARCHAR); but I'm getting errors
 
1:57 AM
Hey everyone :)
 
2:22 AM
@Fabien you'd think that, but that's metabolism dependent.
 
morning room
@TOOTSKI sneaky bastards
 
3:01 AM
I have the following mysql query: SELECT questions.id, questions.question, questions.author, questions.date, answers.answer, answers.user, answers.datetime FROM questions INNER JOIN answers ON questions.id = answers.question WHERE tag` IN (:arrayIDs)`
However, I am only getting one question back, when in reality, there are 2 questions and one answer to first one of those two questions. How do I get all the questions?
 
If there's only one answer, it's quite logical that you only get one result from a regular join
If it's important to have all questions, regardless of there being an answer, use left join
 
3:22 AM
If you extend a core class (say, Exception) but the extension is to be named the same (again, Exception) what do you alias the core class to when you use it? I find myself flip-flopping between wanting Native* and Core*.
Such that use \Exception as NativeException;
And class Exception extends NativeException { }
"CoreException" sounds too much like an engine fault.
Opinions? What do you do?
Morning @YourCommonSense
 
@ircmaxell he says in that answer: "Both PDO's equivalent function PDO::quote() and its prepared statement emulator call upon mysql_handle_quoter(), which does exactly this—it ensures that the escaped literal is quoted in single quotes— so you can be certain that it will always be properly handled." - I am going to remove your statement from that unhappy answer.
 
And the war wages on.
 
that's best war one can participate. war of ideas
 
@YourCommonSense A battle with pencils betters the battle with swords; but I can still stab you in the eye with a pencil.
 
3:28 AM
that's what I call empty chatter
 
lol
 
i used to enjoy chatting long time ago
 
Nah you didn't. You never came in here for all our emptiness and chattery.
Oh, you mean elsewhere on the interweb.
 
oh much longer than that )
ten years or more
 
I fancied myself an avid IRC junky around that time.
That was chatter.
Anyhow, you raise a good point; back to work I go. Night @YourCommonSense
 
3:35 AM
@tereško and again: I wouldn't call something "actively harmful" if harm only can be done if user doesn't follow rules. as long as you set your encoding in DSN - you're safe. Call it "actively harmful"?
 
4:12 AM
Hello all Good Morning
any one here who can help me on wampserver... I m a new bee on PHP .... I hv installed wampserver yesterday.. every thing works fine on my system... but I m getting "Forbidden You don't have permission to access /myproject/index.html on this server " on other system in LAN... and help on this ?
 
Hello @JaiSoni
i need help @JaiSoni
 
@Gamex I m a new bee on PHP.. still shot ur query... I will try
 
Yii framwork ?
do u know abt YII framwork
 
@Gamex sorry.. I hv not worked on any php framwork
 
4:27 AM
ok
 
HAI EVERYONE
Night!
 
leaving so soon? =oP
Then again it is that time of the day where the room is dead.
 
I'm still standing guard :)
 
ah the lurkers are still here
 
lurkers? lol
 
4:32 AM
any who can help me
 
more like night guards heh
 
user895378
Who's a lurker!? What are you talking about?!!! Oh ... wait ... right. Nevermind.
 
heh
 
yes, quietly waiting in idle status watching people come and go. It's ok I do it all the time. Sometimes I lurk and just star a random message to confuse everyone.
4
 
I see what you mean
 
user895378
4:35 AM
In my defense I'm deep into day three of non-stop server programming so @JoeWatkins has something to play with this weekend. At this point "lurking" is more of a "cognitive recess" ...
 
user895378
Yo dawg, I heard you like threads so I wrote a server with threads so you can spawn threads inside your threads.
 
@crypticツ Yea, I didn't go anywhere.
Not particularly far, at least.
Alas, now I must go. 22 hour day.
Night, for realsies.
 
user895378
4:51 AM
@DanLugg 'night
 
5:13 AM
hi anyone know Codeigniter?
 
5:26 AM
@rdlowrey hahaha
 
user895378
Dude, I've been burning up the keyboard (not on your account, I've just been making crazy progress).
 
wicked
 
user895378
I should have the threading stuff usable tomorrow, but I've changed and added several thousand lines of code this week and there are a few other things that are currently broken (because of internal changes). It will likely take all of tomorrow to get static file serving and websockets working with the new stuff.
 
user895378
But, anyway ... if not tomorrow it'll all be ready to go on Saturday come hell or high water.
 
5:50 AM
cool cool ... thanks @rdlowrey
 
6:43 AM
Good morning.
 
moin
 
Note to myself: To do:: "I should start writing a list with words/terms I see online about programming etc which I have to lookup."
 
@andho Hey, so did you get my point about not being able to keep ffwd'ing master?
 
what. the. fuck.
what is that ... seriously, what the fuck is that ...
 
6:59 AM
@.@
but ... it's not using the member variable, it's assigning a value? ohhhh
 
I don't understand that reasoning
 
Hi
 
that's bizarre, right ?
 
no, it makes sense ... a protected method may be overridden in a descendant class.
 
point at another language doing that and I'll agree that it makes sense
 
7:02 AM
of course, the descendant class needs parent::method().
haha well, that's a more difficult exercise.
surely hack is being designed to avoid potential pitfalls.
 
thats why it's bizarre ...
count up all the languages with constructors, count all the ones imposing strange limitations on the body of the method ... it's strange ..
 
Yeah, although I tend to do this personally.
As in, only call private methods from the constructor.
I just don't go as far as slapping somebody on the wrist for doing otherwise.
 
nevertheless it's a strange limitation to impose, something I never saw before, or thought was necessary for any reason ... you don't let the limitations and shortcomings of your implementation bubble to the surface if you can help it, and the evidence (every other language with ctors) says you can definitely avoid it ...
they haven't done it for correctness
it's clearly a visible limitation, at the surface, of their implementation ... it's crap ...
 
It's unusual for sure.
Hierarchy checking goes against parallel execution, needless to say.
That said, I can probably run most of my code on that :)
 
also strange yeah ...
not parallel execution, parallel compilation .. which isn't that strange ... but shouldn't be necessary ....
 
7:11 AM
that's what i meant, parallel execution of the compiler :)
 
ah right yeah
I'm not really sure if anyone else is doing this ... if they are the details of their implementation are not visible at the surface, I shouldn't know if they are doing this ...
 
right, enforcing a coding standard because of an implementation detail effects the return of dinosaurs.
what the ... sometimes nearly always op just accepts the first copy-paste answer they can get =/
Yay, the wild shot approach works, I don't want to know why .. yay me
 
is that some kind of homework ?
strange task to start in C ...
 
True, they should have started with A =D
 
7:27 AM
lol
 
good morings
 
Morning.
 
moin
school run ...
 
hi, @iroegbu @Leri
 
7:37 AM
@Leri it's cool because the extension starts with 7
 
@Jack Hehe. BTW, everytime I decide to compile php on windows, I read that guide and get really tired so, switch back to proper OS. :D
 
Yeah, I just download php-x-y-z.zip on windows.
on mac os i have brew .. and then i have my 5.4, 5.5, 5.6 and master to pick from
 
Morning
 
is this really a question?
 
writing own functions == job security
 
7:45 AM
well. there are cases when own functions are better. It's about "when internal function algorithm is weird". Not sure about this case, but in javascript ..
12
Q: Why most JavaScript native functions are slower than their naive implementations?

ViclibI've noticed though some tests that native JavaScript functions are often much slower than a simple implementation. What is the reason behind that?

 
I should be able to trust the built in function...
and I shouldn't waste time writing what someone has already spent time writing and testing
 
oh, btw, it's Friday.. where's my Friday gif..
 
Is there exists way to generate dummy php file for ide autocomplete for php extension?
 
Yay, I am on my way on creating my own start up.
 
7:52 AM
^ famous last words
 
@AlmaDo :Ь -.-
 
friends!
 
No, that's just Chandler, Ross and Joey :)
 
fuuuuuu!
1/2 friends :p
 
7:57 AM
@AlmaDo Seriously, I am little bit tired of doing all this sh*t and not get paid enough. I just have to try. Also IT is quite dead. What I mean only banks and casinos staff is able to make something useful but they ain't got time/will for that. Basically, average users who are not in gambling or use online bank actively are living in XX century. :)
 
Hm.. then you're on the way to open your own bank?
or casino?
 
LOL my main activity will be improving/creating online services for small-to-medium businesses. I hate large companies and all their time-waster talks.
 
@JoeWatkins Actually this is also a bit counterintuitive ... though one could argue that such code is horrible to begin with.
@Leri It can't be helped, at some point protectionism grabs hold.
 
@Jack Hmm..
 
Gooooooooooooooooooooooooooooooooooooooooooooooooood friday circle jerks!
 
8:10 AM
Morning
 
user image
5
 
@Fabien Hehe, nice
 
How's the new job treating you @SecondRikudo?
 
@Fabien Not bad, getting to know the system's architecture.
 
8:18 AM
@SecondRikudo Thanks :-)
 
@Jimbo yw :)
 
Can someone please tell me why this is a deletable question?
 
java.lang.StringBuilder does not have appendLine?! /me thinks java should be ashamed
 
is there an undelete-pls tag? :-)
 
8:24 AM
@Jimbo Not possible, moderator removed it.
 
Ah shit, a Mod has deleted the post so it can't be undeleted
It was a useful post. Design patterns aren't opinion - they're common methods of solving common problems
 
I flagged it
 
@SecondRikudo Does it meet your standardS? :D
 
@Fabien My standards?
 
the system architecture
 
8:27 AM
@Fabien Well, I'm currently working on retiring a monster PHP cli application that touches practically everything else :P But aside from that, looks decent.
 
@AlmaDo oh, the answers are wrong.
The reason is sparse arrays. The JIT has to make checks when performing that function.
 
@BenjaminGruenbaum answers are out of the issue :p The idea is - that sometimes to create your own function may have sense.
 
In JS? Well implemented functions are usually faster or as fast as their native counter parts since it doesn't have to go to C++
The deleted -2 answer is actually correct :P Those native implementations are bad :P
 
8:50 AM
@SecondRikudo i.e. 3 months of free salaries.
 
mornin' everyone
 
^that :)
 
Sir what I miss.
 
morning @tereško
 
miornig
 
9:00 AM
morning @tereško
 
Good morning everyone.
 
oh, btw. One great sample when operation with NULL-s isn't NULL (: (discussed that not long ago)
 
@tereško Levi's return type rfc went up for discussion yesterday ... no major fights yet ...
 
mornings
 
making of programming languages is one of subjects, that I am completely clueless about
 
9:05 AM
morning @DaveRandom & Nick
Man I hate having gas at work. It's annoying not being able to just guff whenever you want.
 
@JoeWatkins I'm hoping that the (predictable) "hey! Y U NO ADD SCALAR TYPES?!?!?!?!?" that came up early on is the last we'll hear of that this time, since several people basically just said "no, f*ck off" immediately and this might actually have a reasonable chance of getting in this time
What's really annoying is that even if it does, it will still be years before it can be used in the wild :-(
@Fabien Just let her rip and deny all knowledge
Claim "he who smelt it, dealt it"
And don't put up with none of that "he who denied it, supplied it" nonsense
 
@DaveRandom Oh they'll know.... by the time I would finish letting said guff out they'd have figured it out.
 
Could somebody explain to me why the default behavior of htmlspecialchars is eating up the string if it encounters invalid bytes?
 
@PeeHaa: It makes it safer!
:p
 
Isn't ENT_SUBSTITUTE / ENT_DISALLOWED just as safe?
@NiekBergman :)
 
9:11 AM
@PeeHaa I imagine for insane BC reasons, htmlspecialchars is a very old function (like, PHP3 old or possibly older)
 
aha. yeah good call. That's probably it
Thanks good guy dave
Time for a real_htmlspecialchars()? :P
 
@PeeHaa: No, just add more flags!
:-P
 
@PeeHaa Because invalid bytes are invalid.
 
@PeeHaa html_special_chars()
 
@Jack So because a single thing in text cannot be handled just purge the entire thing for the kicks of it? :P
 
9:18 AM
morning and lolwut
7
A: Where did "too localized" go?

ChrisFThe close reason you want is this one: This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identify...

 
@DaveRandom That with the first and second param switch to make it clear it is a different function :P
 
@JoeWatkins have you seen the suggestion on return types in the last email on the thread (~7 mins ago)? Add self and static support, which does sound like a decent plan to me, is it already supported? I note that for argument type hints we have self support but not static
 
it'll be supported by default, I think ...
 
@PeeHaa Hell, let's slip a ZWNJ in the function name, that should make it very clear that it's a different function
 
ah crap, I broke it ...
 
9:26 AM
:-D
 
Might be switching to plusnet broadband. Hope it's better than Sky
 
The suggestion to add scalar type hints as return types made me chuckle a bit.
 
yeah will fix it ...
 
@Fabien Don't get your hopes up. You get what you pay for, and if you keep paying for fuck all, guess what you are going get? :-P
 
@DaveRandom fuckall is all I can get in my old building
BT indicates line cant do more than 10 down
And I am lucky to get 6
I used to live a street away from the exchange when I had 20. Thems were the days.
 
9:33 AM
@Fabien Yeh see you're pretty screwed there. What kind of box do you have on the wall?
Actually you probably can't answer that unless you are at home
 
Box on the wall?
Wife's home so I can get her to answer it.
 
Yes, your main entry point for your phone line should be an NTE5 box, which is a standard UK 1G with a horizonal split across it. In one of the top corners it will have a BT logo, and Openreach logo, or no logo at all
 
Actually I couldn't find our master socket
 
If you have a BT logo or no logo at all, you can put an interstitial plate on it, which may or may not improve your SNR
 
I tried opening them all and none of them had any signs of being the main one.
 
9:36 AM
@Fabien Then simply identifying the place where the line comes in and putting a proper NTE box on it may make a big difference
You can easily do that by process of elimination
 
How do I eliminate?
 
@DaveRandom evil laughter
 
@Fabien Either one of you boxes will have 3 cables coming in and the rest will only have 2 (ring topology) and the one with 3 will be the master, or one of the ones with two cables coming in will cause all the rest of the sockets to stop working when you disconnect both cables
 
So get a proper NTE box and an interstitial plate?
 
@Fabien Modern boxes (like, if you go out and buy one or steal one from a BT engineer) don't need I-plates, they have the circuitry built in
The far more important thing is that you get a proper NTE with extension wiring points, wire the feed onto the NTE input and wire the extensions on to the extension side
 
9:40 AM
heh. Keeping an eye out for a BT engineer might not be so easy but I could grab one from amazon. A NTE, not a BT engineer that is.
 
@Fabien Probably, or I can get you a good one trade from nimans (it won't be any cheaper but it will probably get you a better one)
 
Hmmm not done any household man stuff before. Might electrocute myself. Worth it for potentially better BB though.
@DaveRandom That'd be awesome. Just let me know how much and P&P and i'll send you the mulla if that's alright.
 
@Fabien another thing you should do is ensure that all extensions are running on secondary plates and not masters
If you get it wired up properly you can completely eliminate noise picked up from equipment in your house
 
IE make sure only one has 3 wires?
 
Of course, if there's any aluminium between you and the exchange that won't make a whole lot of difference, but there's not much ally left outside rural areas these days
 
9:43 AM
You in Southampton at all next week? :P
 
@Fabien Assuming ring topology, yes. If they're daisy chained (or you have a ring with spurs or something) it will be complex than that
basically, one of the wires in the base of one of the boxes, when disconnected, will have ~55V on it, and all the rest of the sockets will be dead. That's your feed
 
Maybe I should just get an engineer out to do it all. Must be part of the service.
 
@Fabien Unfortunately no, otherwise I would totally just come and do it because it would take be less time to just do it that it's taken me to type this out :-P
 
lol
 
@Fabien You wish. Internal wiring is officially the end-user's problem. You can pay them an extortionate amount of money to do it for you, or you can just do it yourself (and it's really not hard)
 
9:46 AM
Fair enough. I'll DIY it.
Annoyingly I can't even be online when doing it :P
 
Anyone knows of an online service that allows me to take YouTube videos, slice a section out of it, and download it?
 
@Fabien You'll need a krone punch tool, and a multimeter is useful (just something that can detect voltage)
 
Linux's video editing software sucks.
 
@Fabien Don't you have a smart phone?
 
I have a battery tester :P
@DaveRandom PAYG smartphone.
 
9:48 AM
@Fabien ...that fucks you over for data or...?
 
I'll take pictures of all the sockets unscrewed from the walls and link them before doing anything.
@DaveRandom Never use it tbh. I have wifi almost everywhere I stop.
 
@Fabien Check it out, if you can get a few megs of data for a reasonable amount on it then you can just hook it up to your computer and get on IRC, that uses fuck all
 
Yeah
I'll do that. But first pictures. Might help point some stuff out.
I'll need to buy that falcon punch tool too.
 
Hmm, public static function foo(): static { } =D
 
@Fabien kk cool
@Jack Well, if you will write shit code...
 
9:57 AM
hehe, just sayin' :)
 

« first day (1287 days earlier)      last day (3646 days later) »