« first day (1378 days earlier)      last day (3554 days later) » 

12:06 AM
Ugh. Struggling to stay awake for Town Hall. They're all recorded and watchable later right?
Yup seems they are
Night all. Have fun on the show @rdlowrey
 
user895378
12:27 AM
You guys are all ridiculous :)
 
1:39 AM
Boom!
 
woah
it's alive!
 
what is foo?
 
1:54 AM
The terms foobar (/ˈfuːbɑr/), fubar, or foo, bar, baz and qux (alternatively, quux) are sometimes used as placeholder names (also referred to as metasyntactic variables) in computer programming or computer-related documentation. They have been used to name entities such as variables, functions, and commands whose purpose is unimportant and serve only to demonstrate a concept. The words themselves have no meaning in this usage. Foobar is sometimes used alone; foo, bar, and baz are sometimes used, when multiple entities are needed. The usage in computer programming examples and pseudocode varies...
 
@oyshee What Is Foo (Baby Don't Bar Me)
 
2:38 AM
My banking website doesn't work if JS is disabled.
(blank page although when I view the source the html is there)
 
Can any one answer my question please stackoverflow.com/questions/24945316/…
 
4:38 AM
i saw on a web page this value: ✓
what is the html code for that?
@HamZa did you refresh the page twise?
 
 
1 hour later…
5:44 AM
Hii Guys Good Morning :-)
 
Morning.
 
Leri i have some question.
@Leri Regarding Php and Server related. Can you answer please?
 
Well, ask and we'll see.
Also I am not the only one in this room
 
yes you are
 
so you can ask your question and if anyone wants, s/he will answer.
 
5:48 AM
and you have to guess the question that he/she is thinking about .. it's the first test
 
lol
 
Okay,Which server is best for Php application where approx 1000 of users can work easily without hanging problem ?
 
Simultaneous?
Anyway, I'd suggest nginx, it can definitely handle more connections than Apache. Also actively use either apc or apcu cache.
 
at high loads the recommendation are lighttpd or nginx
they will have difference in how one goes about configuring them, but both are playing around in same problem-domain
 
according to your suggestion nginx and lighttpd can handle easliy . Am i right?
 
5:53 AM
blank requests - sure
but it will actually depend on how shit your code is
also, at 1000 concurrent users you would have to deal with bottlenecks in DB access
 
@user2223410 Yes, you are. Also a potential bottleneck is/might be file-system IO operations. So you can use apcu to cache opcodes. Well, assuming your application is sane.
 
oh .. right .. there is I/O too
 
@tereško why you write "how shit your code is" you can only write its all depend on code also.
 
why wouldn't I ?
 
@leri can you provide me a reference because i want to buy a server for my application
@ i dont have much knowlegede about php server
 
5:59 AM
Hmm? No offence, but did you even understand anything what me and @tereško said?
 
mornin'
 
@AlmaDo morning
 
what's going on?
 
@AlmaDo Creating some twitter. :D
 
6:02 AM
@AlmaDo Going well, recenlty i am asking something to leri and other guy
 
@Leri I got it. the current one is too crappy. so go ahead
 
@AlmaDo Why you thing so ?
 
what's wrong with my thing ? oh, man..
 
stop playing with kids and better tell me hos do you abstract the file management in your applications, @AlmaDo
 
@AlmaDo Brother i am not agree with you. Can you tell me any reason why you call crappy.
 
6:05 AM
(:
@tereško file management = ? full stack of I/O operations or what? Files = ? (streams/sockets or just ordinary files? )
 
@user2223410 Enable sarcasm filter, please.
 
@AlmaDo well , user uploads a file (maybe a pdf or an image or a video) and then you have to move it to a better locations, make thumbnails, resize it, present it's attributes and let user download or stream said file
 
For file handling, I'd implement: php.net/manual/en/spl.files.php but remove that awful Spl thing and add interface that will be used in my code, of course.
 
@tereško and what's the problem? Whole structure? (I mean, kind of "too broad"). Depending of situation different solutions may be used. As for me - I used plugin (which I modified in some way for images & some office files formats) for Zend framework
 
yeah , well , it is an infrastructure-level problem
 
6:15 AM
PHP Town Hall: I'm watching it and I feel like it's a hollywood movie where mafia boss (rdlowrey) is communicating with his gangsters :D
 
6:43 AM
Morning
 
@AlmaDo which episode ?
 
@tereško it's pinned in this room (29, I believe)
 
7:06 AM
You know. It'd be cool to see @tereško on PHP Townhall discussing what is and isn't MVC.
FTR Paul Jones is discussing it during the talk above.
As a precursor to Action Domain Responder
 
@Fabien my english accent is terrible
 
good morning
 
I wouldn't care. As long as mic quality was decent. And technically this would help.
You ever look over ADR @tereško?
 
I will take a look at it while on bus today
 
@tereško trust me, what I've heard when watching to 28-th townhall isn't an example of "good English"
 
7:23 AM
I wonder, when pmjones figured that part out about "view vs template"
 
heh..
 
.. and then he lost me
 
I managed to listen till Daniel was talking about TLS
 
Still going through it.
Wayyy! @DaveRandom got a mention at 31:00
 
yeah. windows lover :D
 
7:31 AM
I wonder what rdlowrey was thinking throughout all of that
 
Probably protein.
Yeah, he dropped the 50k bomb.
@FlorianMargaine You ever use Varnish with drupal?
 
Often?
 
every time
 
Damn. Gotta get on that! We don't really at all.
 
7:38 AM
this is by default for us tbh
most drupal sites have so much static content...
and if anything, it's better than apache to handle static files
 
Yeah.
 
GOOD FRIDAY MEONRINGO!!!!!!!!!!!11111111111111111111111111einzeinzeinzeleven
2
 
@PeeHaa hippy furdays!
 
Oeh noice. @rdflowery is on the tubes
 
@Fabien yay, they mentioned you at 54:22
3
 
7:55 AM
Not cool @AlmaDo. Playing with my emotions! :P
MorningHaa
 
@Fabien :P
 
E_TROLL
..aaand yes. Remember, as I've already said: be careful with all links which are posted in this room when it's Friday. Double check your status bar before clicking.
 
=]
 
But, but, youtube is youtube, their url id doesn't say what video it is :(
 
@FlorianMargaine Which module do you use? I see a HTTP Accelerator and Varnish Cache...
 
8:00 AM
@Magikaas you're such a noob if you don't remember rebecca's youtube video id (:
 
@Magikaas You figure out what to look for chat.stackoverflow.com/search?q=kfVsfOSbJY0&room=11
 
Lol
 
hehe
 
Good morning.
 
I want to ask a question related to website. Actually want some hint.
I am creating a simple Question and Answer (Q&A) Site. So when anyone post his question. The following image shows what I want to make. I want to create a asking box. Like,
[url=http://postimg.org/image/3nqihum3t/][img]http://s28.postimg.org/3nqihum3t/Capture.jpg[/img][/url]
So how to create this type of asking box ? Please you give me some hint then I will search it in google.
 
8:03 AM
^ your job is already done: stackoverflow.com
 
are you looking for WYSIWYG or a Markdown editor ?
 
Content editor.
 
there was an OR in the question
 
\o/
 
8:06 AM
@MoshMage morning
 
huzzah, @PeeHaa :)
lol. I got a badge for reading the about page? xD
 
8:25 AM
@Fabien none
there's no need for drupal modules to handle caching in varnish conf
 
something I profoundly hate: cleaning bugs that are lazy-people-sketchiness and not bugs. "oh, when I press the next button it goes to the summary and then I have to make one more click to change tabs to Type" -.-'
(but wait: This has always been like this, someone just thought that that was wrong, suddenly)
 
RabbitMQ. Anyone used it?
 
8:40 AM
@Jimbo so you're going to become a farmer ?
 
@AlmaDo Eh? How come?
 
@Jimbo huh? I thought you want to make your rabbits farm
and we're done
 
@Jimbo *raises hand*
 
8:45 AM
@salathe I'm considering it for a very simple queueing system. Something on our servers can take up to 20 seconds to complete, and we want to provide an API to this thing of ours (geniuses). So they'll provide us an endpoint that we can post back to after the work is done (like PayPal IPN).
Do you have any advice / links given the above that I may find useful before undertaking such a task
 
Rabbit does its job just fine, it has served us well. The PECL AMQP extension is a bit ropey, and not documented at all but if you're (or become) familiar with AMQP then you don't really need docs.
 
It's supposed to be much easier than ZeroMQ as that has a lot of extra stuff, or so I've read
 
Monrings
@Fabien That has to be worth at least a couple of intarnet points :-P
 
@salathe except for when it just randomly drops queued data for no apparent reason
 
@DaveRandom <Momomog
 
8:57 AM
@Gordon maybe your rabbit doesn't like you :)
 
I never used Rabbit. It's just what two people that do and I trust told me they experienced
see aphyr.com/posts/315-call-me-maybe-rabbitmq and release notes for 3.2.0 and 3.2.1
 
@rdlowrey Yes
 
Hello all, Can any one give some suggestions, how to start integrating fingerprint scanner with my Web application?
 
@Pradeep The question isn't helpful.
 
@Alula Didn't you get my question?
 
9:03 AM
@Pradeep No one knows what you're trying to do with the fingerprint scanner, where it is, etc. Most likely you wont be able to access it with JS.
 
I will use fingerprint scanner for logging into my web application.
How can i access the user fingerprint?
 
This video is a really good start for anyone trying to learn more about web development without a framework.
 
@AlulaErrorpone fail..
all here do watch to status bar
especially when it's Friday (:
 
Need to start bitly-ing the link :P
 
9:10 AM
@AlulaErrorpone no, you need just to be creative :p Learn from me how to troll
(that link isn't rebecca link)
 
@AlmaDo Nice :P
 
Yeah. Don't try to argue with me. I'll overtroll you :p
 
9:28 AM
@DaveRandom Yup. At least 12. You can add it to your SO rep and Reddit Karma for all that sweet sweet reward.
 
Who is the spoilsport removing rebecca links?
 
@salathe ... cmon guys. don't fuck around with the SO questions.
 
@salathe Genius ;)
 
(some of us actually read the url thingy on the status bar and while I don't care about trolling, leave so question out of it. but it was, indeed, genius.)
 
9:39 AM
That's just beautiful! @salathe
 
@MoshMage It's Frrriiidaaayy, relax. :)
 
I'm at work, youtube is.. blocked so It's not the music that bothered me it was the fact it wasn't a so link :x
 
@salathe sad. "." instead of "/"
 
They block websites at your work?
Nice environment.
What version of bison do you guys use? PHP Compilers.
 
9:56 AM
I wouldn't work somewhere that blocks websites. Trust is key, and also not abusing that trust.
 
I'm ok with blocking porn websites and the likes though
 
I'm not sure, I've not come across a porn site accidentally for the 2 years I've worked here..
or non-accidentally, before someone adds it ;)
 
@Jimbo I work somewhere that creates the software that blocks websites :)
 
10:10 AM
We block suspicious sites, but only on malware grounds (it's an automated firewall, not vindictive stuff like youtube)
 
@Fabien some websites, ye; But I can access reddit and radiotuna so I don't really care. Funny thing is: They block youtube but not Facebook :|
I guess it's just a bandwidth blockage
 
So went to my doctors appointment this morning regarding my acid reflux. An now I have to have 'another' gastro endoscopy. I had one 4 years ago for a condition I have had over a decade and it's an easy surgery fix. Now I have asked for the surgery they want another look. wtf it's been over a decade of symptoms. Such as waste of time and money.
 
@Fabien Public or private practice?
 
public
I'm far too unhealthy for private now :P
 
Heh, I don't think that the doctors are purposely doing it then.
 
10:24 AM
@Fabien it's my understanding of things that instead of making appointments to surgery if you just go to Emergencies it's way faster and costs about the same. Plus, you'll hear Emergency doctors bashing "office-doctors" on how stupid they were - it's always a nice trip
 
Not much of an emergency
 
^ they don't need to know that. just play the part xD
 
Yeah I don't really do that.
> configure: error: libXpm.(a|so) not found.
Bastard php
 
tbh the few times i had to do that I really had an emergency and the doctors were really being 'smartasses' (I had half-of-a-lung filled with liquid the first time and the second time I had a completly destroyed shoulder :x)
 
Business process with a lot of dependencies (ctor has 15 args). Ways to refactor without ending up with a service locator. @tereško @Gordon sorry for unsolicited pings but you guys are the people who probably have the best ideas on this.
Of course, anyone else who has an opinion is welcome to offer it as well
 
10:28 AM
Your opinion is bad and you should feel bad.
 
@Fabien I'm good at diagnosing things. You have aids.
 
Damn. I better tell your mother.
 
:'D
You better tell @Lusitanian's mother, and then we all need a visit to the docs
 
lol
 
10:34 AM
15 params ctor? I think no one can provide a silver bullet to such crap
 
@DaveRandom ?
 
well, I mean, without additional info
 
@Jimbo I'm not sure if aids has any documentation, as such, diseases generally don't come with a user manual, so the PHP docs with have to do
 
Ahhhh :D
PHP denies the existence of aids
> aids doesn't exist. Closest matches:
> abs
tidy
hash
rand
 
AIDS would be a good acronym for a project.
 
10:35 AM
@AlmaDo Yeh I'm looking at it now and I think the issue is that the ecosystem in general sucks (about which I can do nothing). Most of the dependencies are DB abstractions for various tables
 
Perhaps @rdlowrey can think of a project titled Aids
Involving wordpress.
 
heh
 
We have a hateful active record system that nobody like but is way too ingrained to do anything about
 
Active Record is pretty useful for simple applications though no?
 
@DaveRandom group arguments that go together into an object or use a Constructor Builder
 
10:37 AM
@Fabien No. No it is not. And neither is this a simple application
 
@DaveRandom so may be it's time to think about DIC, he-he
 
@Gordon So that would be a sort of middle-ground between direct injection and service locator? A tailored service provider that only provides the specific things this process needs?
 
No?
Say you have two arguments, a username and password. Group them into an Authentication object, like a struct
 
Service
@DaveRandom So never use Active Record?
 
@DaveRandom What args you got?
 
10:41 AM
@Jimbo The vast majority of these args are real bonefide services, not values, otherwise I would have done that straight away
@Fabien <personal-opinion>correct</personal-opinion>
 
heh
 
@DaveRandom if you got this many arguments its almost always a sure sign that sth can be grouped or that the consuming class is too big/doing too many things
 
@DaveRandom ServiceFactory (builder). If any params are calculated at runtime-only, passthem into build() method of factory?
 
@Gordon It probably is doing too many things actually, many of these services are just pre-fetching BOs that get reused, I think they need fetching outside the class and injecting in a struct-like VO
 
@DaveRandom can you partition the class so it does less things?
if not, can you group the VO fetching Services in sth like a ClientVoFetcher that has a dedicated interface for fetching just those VOs instead of it being generic for any VO?
 
10:47 AM
@Gordon Yeh that's basically what I'm now thinking. Splitting it up wouldn't help the dependency problem, and would likely end up with a load of single method classes
The whole thing of creating "process" classes has never sat well with me, but it's what the wider architecture demands
It's a procedure. Just use a god damn procedure, in a script.
 
@DaveRandom If it's some kind of workflow, would a Chain Of Responsibility pattern help?
 
@Gordon I'm not familiar with this, let me do some reading
tnx
 
What is this day 5 without Joe?
 
Where is he?
 
Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User. — Eliyahu 2 hours ago
@PeeHaa Do you think I directed him to ask his question here? — Eliyahu 52 mins ago
 
10:51 AM
Getting his house sorted I guess. Beach photos on his twitter.
 
WAT?! yes that's what I think
 
Oh he's in the IoW, looking at his Twitter
 
...
 
He picked a good week for it as well
 
@Fabien beach fotos? so that's where all the donations went :D
"relocated" to Maldives
 
10:52 AM
lol :P it's the IoW beach. near his soon to be new home I suppose.
configure: error: libXpm.(a|so) not found. but libxmp-dev is installed, I tried --with-xpm-dir=/usr/lib/x86_64-linux-gnu too and --with-libdir=*same*
 
When he comes back, he'll be happy to know he'll have to port his extensions 2 versions forward.
;-)
 
Lib is definitely in that folder too.
 
@DanLugg :P
 
Hmm, some eval'ers seem to be using a very broken trunk codepad.viper-7.com/AFPTde/trunkdev
 
Btw, you don't need to be serious all the time to be a decent, professional dev :-)
^ Imo
 
11:01 AM
Should be mandatory to not be.
 
@DaveRandom are you sure that you cannot split it up? Can you show us the constructor's footprint?
 
Slow Fridays are slow
 
@Fabien True, but as long as time keeps decelerating into the evening, I'll be okay with that.
 
before you know it it'll be Monday
 
ETERNAL SEPTEMBER SUMMER FRIDAY!
 
11:08 AM
 
20 minutes later...
 
lol
 
^^ Erryday
 
I've had to step over a pile of clothes into my office for a few days now, I think I might have slob-itis.
 
11:16 AM
Definitely
 
I need 250ccs of Windex and a vacuum cleaner, stat.
 
Or an intern.
 
For my home office? Yea, I should fire my girlfriend.
 
But then I'd ... well, y'know
 
11:18 AM
I'm working on taking all the facet crap out into a single sub-process atm
 
@DanLugg Have you checked if there's an updated version first?
Or submitted a bug report?
 
@Fabien Yes, I tried turning her off and on again too. She didn't come back on, per se, and instead engaged in silent mode.
 
Yeah. Uninstall and try another product.
 
@DanLugg Yes, the sound drivers are flakey in every model I've ever owned. They either refuse to play anything or play a whole bunch of crap you weren't expecting at full volume.
 
11:21 AM
@Ultimater Not proportional to quality...
 
@DaveRandom The other day, mine became unresponsive and just started emitting a high pitch squeal.
 
@DanLugg Sounds like you spilled some alcohol in it
 
lol
 
@DaveRandom No, I was drunk and kept pressing buttons
Interestingly, my consumption of alcohol (while seemingly should be unrelated) is an easy way to reproduce the behavior.
 
@Ultimater it seems to be illustrating the amount of hyped articles on SitePOint that had any of those frameworks mentioned
what exactly was your point ?
 
11:27 AM
phalconphp moving upwards
 
who gives a flying fuck that phalcon is being hyped more
 
@Ultimater Yes, it's inversely proportional to IQ.
 
@JanakaRRajapaksha I refreshed it several times. When I view the source, it's all there. I guess it needs JS to load the elements or something like that. A bit unpro that they didn't mention to enable JS though
 
@Ultimater hype is not proportional to quality
 
@tereško Maybe approximately inversely proportional though
 
11:29 AM
92
Q: Tick symbol in HTML/XHTML

Vlad GudimWe need to display a tick symbol (✓ or ✔) within an internal web app and would ideally like to avoid using an image. Has to work starting with IE 6.0.2900 on a XP box, ideally we need it be cross-browser (IE + recent versions of FF). The following displays boxes although sets browser encoding t...

 
omg I'm fairly certain the most irritating person ever spawned works in this office
 
^ You clearly don't work with Spaniards ;D
 
my condolences
 
@DaveRandom They must hold down 2 jobs then, because I'm pretty sure they work at my office too.
 
@DaveRandom Go on
Dish the gossip
 
11:34 AM
also , regarding your constructor ... I have no fucking idea. It looks like the class is clearly doing way WAY too much, but I don't have any constructive advice to give =/ @DaveRandom
 
@tereško I know. I have concluded the same thing myself. there is no way for me to do it any other way architecturally though :-/
 
^^ Always thought it was "Man the torpedoes"
 
He keeps coming over, encroaching on my personal space, telling me stuff about his work, which I neither know nor care about, and standing there for like a minute after he's finished talking. Occasionally he finds a half decent SO question and instead of answering it, tells random people about it, taking the piss out the the OP because they don't know the answer to their own question.
I'm fairly sure he also never washes, has an incredibly annoying voice in general, and the most annoying ringtone ever, and his phone goes off all the time
Which is odd, I'm not sure why anyone would ever want to ring him
 
Maybe it's just an alarm set to odd intervals, with the same sound as his ringtone.
 
@DaveRandom I would simply tell him: "Please, leave. I don't like you"
.. seriously
 
11:38 AM
 
Oh also, whenever you are having a conversation with someone about something, he stands up and comes over and starts weighing into it with bad opinions, and explains how stuff works that I already know how it works, and in some case I wrote in the first place
@tereško Someone else in the office did that and it seemingly had no effect
 
keep trying
 
@DaveRandom Headphones? Partial solution...
 
@DaveRandom Maybe he just wants to be your friend.
 
@Fabien I do not want him to be mine.
I generally try to get along with everyone but srsly...
 
11:43 AM
Tell him that, should sort the issue.
 
Just tell him to sod off then.
 
Or... save up all your farts and only release them when he's in proxomity.
 
Not sure it would penetrate his BO cloud
 
Imagine it caused a storm system? And started raining stink all around the office.
 
@DaveRandom Sounds like he's being condescending, but perhaps he's a bit lonely and wants to feel involved
 
11:45 AM
I think it's more a pathological desire to be the centre of attention
 
@DaveRandom For the BO make an official complaint to HR - the company has a duty to maintain the working environment and it sounds like he's stanking up the place. For the being annoying, you should tell your boss how much time you're losing a week.
 
^^ Legit solution; is the BO really that bad though?
 
@DaveRandom Well that really is the worst. BO is no joke... Make comments when he's around you + others like "Oh man... wth is that smell? Smells like cumin".
 
@Danack It's been done already, I believe (recently, and CTO who would prob be the one to deal with it is currently away)
@Fabien Your BO smells like cumin?
 
I thought all BO smells like cumin.
 
11:48 AM
Not in Canada.
 
That indian spice. maybe I am thinking of the wrong one.
 
Yeh, smells like maple syrup and marijuana there
 
@DaveRandom And moose tears.
 
@DanLugg only on alternate wednesdays, iirc
 
No, it's every Wednesday now.
Speaking of maple syrup, I should go take a shower. Check y'all later.
 
11:50 AM
The world is making cutbacks, credit crunch etc, and yet canada is making public service increases like that. Makes you proud.
Not sure what of, but certainly proud.
@DanLugg lulz
 
I heard on the radio something about the UK today being at our highest financial standing since the last recession.
 
12:02 PM
@Fabien That sounds about right in my anecdotal evidence. Bristol seems to be doing quite nicely for itself.
Crap. I just realised. When I went to university and they gave a course using Fortran 77, the joke was the language was older than most students. The same is now true about C90.
 
I assume you mean c89
although it's not that long before it will be true of c99
 
@DaveRandom ISO > ANSI
/So good they named it twice.
 
12:18 PM
@DaveRandom .. well, at least your "most annoying coworker" doesn't ignore version control and stores the latest version on the live site
 
Yeah but you can't fire someone for BO
 
@Fabien You have to give them warning, but turning up for work in a state where you are not able to do your job (interacting with other people is part of almost everyone's job) is totally fireable.
 
Yeah. Never though of it like so. You never hear of anyone being fired for BO
It's worse when it's a boss though.
What's it mean when a mailserver has 'reverse DNS does not match smtp banner'?
 
@Fabien You're sending it from an IP address that does is not your named smtp server? so looking up what names are served from that IP address does not include smtp.fabien.com
I guess.
 
12:34 PM
@tereško lolwut
 
yeah
ATM, I happen to be marginally pissed
 
*facehoof*
 
@AlulaErrorpone Oh, come'on... did you really?
 
>< Natural reaction
 
s/hoof/palm/ ;-)
 
12:43 PM
lol
 
*spends a lot of time amongst bronies* :D
 
I figured that was the reason
@salathe Well effin' done, sir. Well effin' done.
 

« first day (1378 days earlier)      last day (3554 days later) »