« first day (917 days earlier)      last day (4256 days later) » 

user652649
00:00
lol Donau­dampfschiffahrts­elektrizitäten­hauptbetriebswerk­bauunterbeamten­gesellsc‌​haft
user652649
germans
it's supposed to be the longest German word
user652649
ye i know :P
This. This kind of thing is why SIP is as shit as it is. And it's not just some guy dicking about making a horrific SIP stack in PHP, there are all sorts of people like this working for companies who actually manufacture and market SIP devices. And it's all just terrible. Even biggies like Polycom just sort of make it up as they go along. @bizzehdee
00:11
as long as those "doesn't work" do not have any answer, just DV the question. They will the disappear after some time from alone.
@hakre 183 questions to downvote, then...
file_put_contents("Log.txt","\n",FILE_APPEND);
file_put_contents("Log.txt","\n",FILE_APPEND);
@DaveRandom where are you going?
@DaveRandom I like these two lines of code most ^
This is where the excuse "I'm not a programmer" somehow does not work any longer.
00:13
@Jocelyn Benodet (Brittany)
It has to be driveable from Manchester in a day, which limits the range somewhat
oh cool, this is close to golf of mohiban
@DaveRandom too far from my home
|2= }} Le golfe du Morbihan est une mer intérieure d'une largeur de 20 kilomètres parsemée de nombreuses îles et îlots. C'est une destination prisée pour la beauté de ses paysages couvrant une centaine de kilomètres carrés, située en Bretagne, dans le département du Morbihan auquel il a donné son nom. Son nom breton, Mor bihan, signifie « petite mer ». Géographie Le golfe est long de et large de . Il s'ouvre sur la baie de Quiberon par un étroit passage entre Locmariaquer et Port-Navalo. Les paysages sont changeants en raison de la forte amplitude de marnage découvrant un estran imp...
yeah, the picture in there is by me :)
@Jocelyn Where are you?
00:16
@DaveRandom south-east of France, close to Nice
@Jocelyn Oh cannes is round the corner isn't it?
@hakre Which one?
@hakre yes, only 10km on the west
@Jocelyn Never been that far south in France, I went to Lk Garda in Italy once but flew so didn't come that far down
Driving that far from the north of the UK is kinda epic, you need 2 whole days realistically
00:20
@DaveRandom There are so many nice places in the world, you can't visit all of them...
Yes, driving for 2 days instead of just one is safer
@Jocelyn you can only visit one after the other :)
user652649
is your chrome exploding like mine?
@wes you mean because of the image 25,383 × 3,533 (10.36 MB) ?
user652649
yes
@wes No, but I have an "exploding Firefox". It doesn't like my habit of opening dozens of windows with hundreds of tabs in each of them :-(
00:21
chrome can't display it. No idea why (okay, let's assume it's the size)
user652649
i was seeing it @hakre, resized
unable to display it with Firefox too
@Jocelyn Yeh I've not been out of the UK much in the last 7-8 yrs though, went to Amsterdam a couple of times and went Skiing in Avoriaz a couple of years ago but I'm too poor to travel. I used to go France/Italy/Germany/Austria on holiday every summer for years, not so much since my parents stopped paying for it :-S
user652649
and chrome exploded
I also created the "viewer" for panorama pictures in wikipedia. They still use it, that's cool .
00:24
@igorw ^
/me is going to bed
disruptor? sounds like hype :P
/me is softcore
Eh for this: stackoverflow.com/… (r2) - maybe we should go through an just flag those questions as of low quality?
I'll check it out tomorrow
00:25
/me is falling asl...
ASL?
:)
:-P
nite @all
nn. I'm also shutting down
good night too ;)
@hakre "This question has severe formatting or content problems. This question is unlikely to be salvageable through editing, and might need to be removed." Does it really apply to these questions?
The problem for most of these questions seems that they should be closed as NARQ
I'll continue brooming tomorrow.
yes, was just an idea. I would just flag them as low quality to the moderators, so they can take care :)
00:46
are all the cv-ringers doing the broom avatar thing? @hakre
@crypticツ no, I just was jealous of what Peehaa had and then I got my own :)
now I want one =o(
@Jocelyn has dust also... he's more energic at cv-ing
@crypticツ ask webarto kindly. he does these :)
hphp 2x faster than the zend engine...
@hakre listened to the whole thing?
00:52
@kaᵠ I'm just listening.
damn... need to look at the slide with min 5:55 using mysql_ :))))
01:21
@webarto me needs a broom avatar por favor =o(
01:55
hey guys just wondering when they say the size of tinyint is -128 to 127 as signed ranged, does that mean it cannot store an number such as 128 or -129?
02:17
Hello
@tereško couldn't you please direct me in the right direction?

View does access a Service directly (eg via constructor injection).
Then a controller decides which view to display. But that controller should not be aware of that Service. It should be aware of the View and only. Like: `function indexAction(){ $this->render('FooView'); }`

*Is it correct?*
03:28
I vote "Requires a Crystal Ball" as a close vote. — Hiroto 1 min ago
 
1 hour later…
05:13
0
Q: Multiple Arrays - Insert Value into database

Rixhers AjaziCurrently working on a service script with a friend. When I say service script I mean it will only be used for updating and adding values to the database. Now my friend has stored all her soon to be values of the database as arrays. I have already succeeded at entering in one of the arrays now ...

If your bored ^^^
You know you have formatting issues when your PHP code block ends with this line: }}}}}}}
I have query related to this question stackoverflow.com/questions/8493791/…
05:47
-2
Q: Creating a website

user2260603I wanted to know which is a preffered language to create a website for a cashew manufacturing company, Java or PHP? I saw that both can be used but I am not sure exactly which will be better suited for this particular site.

lololo
@NullPointer I would have TLed it, it seems extremely localized to just cashew manfacturers.
I would say Java since coffee beans are closely related to cashew nuts. — cryptic ツ 6 mins ago
@crypticツ lol it must be php since coffee beans are related to java
@NullPointer I base that on no knowledge of beans or nuts
np let me explain
java beans == coffee beans
java beans == coffee beans
java == coffee
@crypticツ hens proved :P
/hibernate
I was comaring hibernate to doctrine, is there something like a yml configuration file for hibernate?
06:01
@NullPointer Science!
It feels good to know i have been investing my time into a framework that is actually worth the time: symfony
I have no problem ragging on zend or CI
@NullPointer I think the saddest part is that some company hired OP to build a cashew site not knowing OP would run to SO asking for help on building a cashew site =oP
@crypticツ may be he can made cashew site by cashew
hey anybody know the customized code for translating web page in multiple language??
I want the flags with the language... thanks..
Cashews are so ugly looking, they look like an upside down apple taking a dump
06:07
@crypticツ btw i really dont know how even op got project without any knowledge in programming
@crypticツ lol
Job Interview:
Employer: Do you like cashews?
OP: I love them! =oD
Employer: When can you start?
@crypticツ damn those are really looks like what i dont want to say
some geniuses in this room
I will listen to vimeo.com/58750919 non-stop today
not because of any current events but because its so frigging awesome
06:27
Do some prisons still make the inmates wear black/white stripped clothes?
@crypticツ may be in very few ...
-2
Q: Can PDO prevent a parse error?

JimRomeFanI get the following error: Parse error: syntax error, unexpected ')', expecting '(' in /htdocs/www/testing/index.php on line 26 with this code: <?php session_start(); require ("login.php"); if ((isset($_GET['logout'])) == 1) { session_destroy(); header('Location: ...

@NullPointer They should switch to leopard print, but that might be construed as cruel and unusual punishment.
omg how stupid title is
@crypticツ lol
06:49
mornings
monrings
morning
ronming
07:32
nriogmn
@crypticツ This is the broom image. I reduced its size and pasted it on my avatar. 1.bp.blogspot.com/-_hWfnfBp_tY/TwBwNBHpNII/AAAAAAAAbaI/…
07:58
0
A: php global variable not showing correct answer

hakreThat is because you do not understand what the global keyword stands for here: function aaa($b) { $a = 30; # local variable, will be overwritten just in the next line global $a, $c; # importing $a from the global scope - NULL return $c = ($b + $a); # $c = (40 + ...

is this well explained?
@hakre you could remove the nose rubbing
@Gordon which nose rubbing?
lessons to be learned wording?
@hakre the "you dont understand" accusation which is likely true and that's rubbing it under their nose.
@Gordon removed that now from everything. I see what you mean. No need to do that.
08:05
@hakre better. thanks.
globals are evil, lol
have you ever used javascript?
are classes not global?
@Petah are you saying that you suck at javascript ?
abuse of global scope is a sign tht you have no clue how to write JS
ok
Hi
yes
no globals are not evil !
@kaᵠ mmkay. they are just a tool. it's the people who use them who are evil
08:40
@kaᵠ they aren't. if you know how to properly program they are just very effective. Problem is, programming is complicated and you not alone take care of the code.
It's more a social contract than anything else.
@Gordon actually that's much better :)
so... don't be evil
i could argue the point of globals, but i decided to go spend my time in a more useful manner
@Petah i'd be highly interested
@Petah same here
tbh I dont think you can
there might be a few edge cases where resorting to globals might solve a very narrow and specific problem but in general: globals are evil and a code smell. same with Singletons.
08:44
the idea is to make code portable and dependable, and generally not use them except in special cases (that you probably want to outline) @Petah
nothing is evil !!!!! people should stop doing that!
where did all this "X is evil" start from anyway?
the c2 wiki page I linked above actually is a pretty good writeup
I want to attatch a png image as an attatchment to an email in php.
I have gone through a good deal of php videos but have not been able to do so!
The image is actually a print screen image which I got through imagegrabber().
Would it be possible to embed it also?I am using xampp.
@kaᵠ basically all these come from Dijkstra's Goto considered harmful
@kaᵠ and they are Heuristic Rules
but likewise when you think of JavaScript, everything is a variable, even things like jQuery or Underscore, i think globals have there place, but likewise everything can be used wrong, anyway i will concede and say for the most part they are a code smell and should not be used, as i don't think i could ever change your mind
checking up...
08:50
and the goto argument is entirely another one. i love the php goto, and use it often
@Petah what for? you surely aint writing compilers in PHP, are you?
no, but things like process process, exception raised, skip the following processes, and goto render
i like using goto, reminds me of basic :P but don't
@kaᵠ rules like that are also incredibly helpful for newbies learning a language. As long as they are in the Shu stage of Shu-Ha-Ri they can trust the teachings. It saves them from a lot of headaches.
goto line number is entirely different than goto a lable within this function scope
08:52
@Petah Use try...catch for exceptions
try catch has its uses, goto also does
@Petah god forbit php's goto be for line numbers!!!
@Petah well, I leave it up to you to change your mind: c2.com/cgi/wiki?GotoConsideredHarmful
try...catch (a fish maybe)
i will see if i can find an example of where i would use goto
08:54
@Petah I am not sure if I want to see that ;)
Guys, are we really having this discussion?
@NikiC yes. and after that we discuss tabs vs spaces
i tried to avoid it, which it appears i failed
hahaha
4
A: What are the valid use cases of goto in PHP?

GordonSee PHP Architect - GOTO in PHP 5.3: is it Really That Evil? This article gives a short overview of why GOTO can be useful, why we have it in PHP (since 2004) and why it was/is controversial. The general answer seems to be: GOTO is mostly useless and should be avoided unless in very narrow appli...

08:56
so... goto is awesome, you can generally replace it with an IF, BUT !!! by using goto you don't have to ident the lines in the IF.. so... win ! (also... source filesize smaller @NikiC :D)
and a comment after the start and one at the label make it more identifiable (this should be in PSR-2)
2
A: Difference between GOTO and THROW?

Petahgoto is usfull for doing things like this: foreach ($items as $item) { if ($item->is_match()) goto match; } $item = new Item(); match: render('find_item.php', $item); as apposed to this: $matching_item = null; foreach ($items as $item) { if ($item->is_match()) { $matching_it...

In any case, I found that arguing with people about globals proves little effective. Most people will understand that by themselves once they are more experienced and before that time comes it's virtually impossible to convince them :)
^that
Moooooorning
"virtually impossible to convince them"
08:58
@NikiC nobody here is arguing in favor of globals (unless i got it wrong) we just wanted some examples of good use
its like saying singletons are evil, except when they fit the singleton pattern
Guys, how to get anything, that was sent with PUT request type. $_REQUEST, $_POST, _GET arrays are empty. Where should be request data located then?
@Petah imho bad example
and also the whole getting s**t done vs the making things reusable
@Petah goto can jump out of foreach ?!?!?!?!? stackoverflow.com/a/3934005/731947 ???

« first day (917 days earlier)      last day (4256 days later) »