« first day (2327 days earlier)      last day (2612 days later) » 

Wes
12:08 AM
PHP 6: The ultimate guide obviously :B
evenings
 
12:41 AM
Hi, I have a question. I am using Doctrine 2 and just implemented batch process to save multiple records at once. This batch save function runs flush (triggering sql) at every 10th record in its loop. Let's say I am trying to save 100 records and while it's running the batch process, other guy saves 1 record, which triggers flush(), does that trigger the batch process's flush as well?
I hope you get what I mean
 
@SalOrozco Oh, in my profile pic? Mine. amazon.com/dp/067232704X
 
@Sara very nice. Where is the second edition?
 
mutterlooks-awway**erm... uh...
 
so it's like
Doctrine 2 queue
1. build query insert new Food
2. build query insert new Food
3. build query insert new Food
4. build query insert new Food
5. build query insert new Food
6. (new request) build query insert new OtherFood -> Flush (execute query)
7. build query insert new Food
does 6. execute all its above queries too?
 
HTTP/1.1 503 Oh look, an eagle
 
 
1 hour later…
Wes
2:10 AM
i have developed another insane obsession
 
@Wes here, have some mind change youtube.com/watch?v=aLnZ1NQm2uk
 
Wes
struggling to understand what they say :B
 
2:26 AM
something 'bout accepting one's booty. however, the general quality of the jazz these freaks are playing is astonishing, lyrics or no
I am presently failling greatly at xdebug, and starting to be angry about it.
like... everything seems to be installed, phpstorm says debugger is installed, recognizes everything, page opens in the browser, but breakpoints don't seem to... well break anything
 
Wes
i want to try doing that too. do you know if it works with phpdbg too?
 
was checking that just now. seems it won't for the time being youtrack.jetbrains.com/issue/WI-21414
 
Wes
> This would make more sense to me than support for stuff like e.g. behat.
:P
so, guess it's time to compile and install xdebug again
but actually... is it normal that i don't need a debugger? :B
var_dump is more than enough for me... in fact i think it's too verbose :B
maybe i'll try anyway though, just because it's cool :B
 
2:41 AM
well, I thought the same, then I got conned by hipsterism into trying to implement a loop based promise generator and... yeah var_dump really doesn't cut it anymore
 
Wes
lol
 
Wes
3:11 AM
Heil Honey I'm Home! is a British sitcom, written by Geoff Atkinson and produced in 1990, that was cancelled after one episode. It centres on fictionalised versions of Adolf Hitler and Eva Braun, who live next door to a Jewish couple, Arny and Rosa Goldenstein. The show spoofs elements of mid-20th century American sitcoms and is driven by Hitler's inability to get along with his neighbours. It caused controversy when broadcast and has been called "perhaps the world's most tasteless situation comedy". == Premise == In 1937, Adolf Hitler and Eva Braun live in Berlin, next door to a Jewish couple...
wtf :B
 
3:33 AM
morning guys
 
 
1 hour later…
4:40 AM
moin!! o/
 
When you guys check if file uploaded is an image and get the image type, you use exif_imagetype or prefer finfo and do some checks?
 
morning
 
is it impossible to save image file to user's local disk drive?
 
Wes
5:27 AM
depends, for what? you can tell the browser to cache it
or force a download ui
 
6:13 AM
@Wes I do not understand the ticket.
 
Morning Ocramius
 
Wes
@Ocramius the @throws of a function X, or those that come from calls of other functions that aren't caught within X
can someone else read it? :B i hoped i was being clear with the gif :B
in other languages' ides you get "add try/catch here or add to the 'throws' declaration/annotation" thus effectively forcing anything to be properly handled/documented. other languages can't even compile if you don't do it properly. in php...... everything is a "that'll do", as usual :B i thought that would help
 
6:52 AM
M to o tor niinininigs
 
YO Ronni
 
Mormonings
 
7:10 AM
@JayIsTooCommon I assure you, she is real
@Sara I'll have a look at it today, thanks for effort ;)
 
7:38 AM
posted on February 28, 2017

New Cyanide and Happiness Comic

 
7:48 AM
Could someone please look into this question
0
Q: Blueimp Jquery file Upload Plugin: Send multiple files

TarunIn my HTML Form element, I have two file type input elements. One file input element loaded dynamically and another one on page upload. I want to send both files to the server in one request. //This element loads during page load time <input type="file" name="mainFile" /> //This elemt load...

 
8:00 AM
moin non sick people
 
o/ moin Trucy
 
\o ayo Linus
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
 
mornin
 
@Tarun <input type=file multiple /> :D
 
8:01 AM
OK r11, now that we're giving non-rude answer to PHP frameworks questions, let's do the same for JS questions :D
 
mornigns roomsters
 
@Trucy Please don't, and please don't.
 
Or add "asking about PHP framework questions" in the guide?
 
Just Assuming people who knows java might know javascript too. — Tarun 14 mins ago
That's not how it works, that's not how any of this works
 
Well it's not a solution because nobody reads the guide
 
8:07 AM
:P
 
good morning @PeeHaa, here is your assignment for today: as a user, I want to be able to ask Jeeves about various spirits. Results should include ratings, prices and similar useful info. Suggested site to scrape results from distiller.com/search
@MadaraUchiha why not? it's the same language. millions of recruiters can be wrong.
I think javascript should be renamed to alt.java
 
@Gordon I'm a carpet expert, which implicitly means I'm an expert on cars.
 
@Gordon come on, recruiters are never wrong. They know better than you, that's why they ask you algorithm question on interviews
(come on someone, bite the bait)
 
kicks
 
@MadaraUchiha indeed. and on pets
@Trucy recruiters never ask me that. they are not present in interviews.
 
8:14 AM
s/javascript/livescript/
 
@Gordon who's interviewing you then?
 
@Trucy HR and hopefully someone from the dev team I'll be working with
 
Oh, I didn't have the right definition of a recruiter then :D
le english is hard
 
:P oui
 
8:32 AM
 
morninis!
 
mornins
 
mornings
 
!!booze oban 14 years
 
^ wanted /cc @PeeHaa :P
 
8:42 AM
yeah, what's taking you so long, @PeeHaa
 
it's just five lines to add, right @PeeHaa?
 
doooo it @PeeHaa
 
hey this service is pretty cool hotjar.com first time I see it. And they offer a lot of remotes dev jobs on their career page
 
morning
 
morning btw
 
8:44 AM
mornings
 
Anonymous
mornign
 
o/
 
\o
 
\o/
 
8:57 AM
monmri
 
Anonymous
!!wotd
 
shrive: to grant absolution to (a penitent).
 
morning @tereško
!!dad
 
If prisoners could take their own mug shots, they'd be called cellfies
 
Wes
\o
 
9:09 AM
o/
 
\o
 
@Gordon I was actually about to say "sounds like something @Ekin should do", but it looks like I am too late :P
Mornings new people o/
 
well, it's snowing, which is actually a remarkable occurrence in Manchester
snowing enough to have made things look vaguely white instead of just wet
 
nasty business
 
9:22 AM
Hello... I've just return to PHP for a job where i have to teach 2 kids to program (for magento actually, but I'll teach them basic PHP first). I was wondering if there is an interactive shell for php7? Think I gotta enable readline somehow?
 
Anonymous
snowing and it's nearly March oO, seasons be changing
 
Thanks--- when i try that it just hangs... because i do not have readline enabled--- but It's not compatible with php7 right?
Or i have to recompile php again with --with-readline?
 
@JayIsTooCommon sunny for me ... chris must have done something to anger the gods
 
\o
 
9:25 AM
also, you're statistically more likely to see a white Easter than a white Christmas, and have been for the last 50 years or something ...
 
@UnknownFrequency Interactive mode doesn't work with Windows if you're using it on that
 
im on arch linux
 
Anonymous
@JoeWatkins If I was a god, i'd be angry at the mancs too
 
you need readline, but build it shared, and do not load anywhere but cli
 
Anonymous
@JoeWatkins really? I thought late winters in the UK were a fairly new thing.
 
9:27 AM
@JoeWatkins Thanks.. I'll try
 
> Mark Wilson, a meteorologist at the Met Office: "There's a higher chance of getting snow over Easter in the UK than there is at Christmas."
 
Anonymous
pfff Met Office, who are they?
 
the margin is narrow, a few days more have snow falling at easter time than at christmas time ... but a surprising fact which I've remember for years now ...
 
Anonymous
The worst job interview I have ever had was at the Met Office. Scary people.
 
It's a statistic, it's not a fact
 
9:30 AM
yeah, statistic ...
 
@JayIsTooCommon what was it like, brah?
 
really, weather people are scary ?
 
wow, that's an unhelpful reflex I have there
 
if you want a REPL , check this psysh.org
 
I said statistically at first @DaveRandom
 
9:31 AM
@JoeWatkins yes and also I know that you know the difference between a statistic and a fact
so that was really not a very helpful comment at all
 
it annoys me that that psysh calls itself a debugger ...
it isn't that ...
 
I'm kind tetchy about the whole thing right now since the bad science seems to be taking over
 
was fair correction @DaveRandom
an interactive shell is a questionably useful tool to teach with ... mostly, we don't use php like that
 
I was thinking that
 
how old are the kids in question ?
 
Anonymous
9:35 AM
@Trucy Just a small room with 4 people, suited and booted, sitting opposite you in complete silence. A narrow table between me and them and they were just robots, no emotion, no welcoming 'hey sista'.. Just question after question with no reaction to answers given. I was only 18 at the time mind but still scary shit.
 
I assume he means "8", he isn't 18 yet
 
they are sitting opposite that table from you mostly with advanced degrees, and they work on weather ... they are going to be annoyed and robotic, they wasted several years of their lives and several tens of thousands of pounds to be sitting across the table from your shabby self
 
Anonymous
I dislike both of you.
 
rude.
 
kids today got no respect for they elders
 
9:37 AM
@JayIsTooCommon sounds like my latest interview
 
!!dave
 
@DaveRandom should work on DNS lib.
 
!!peehee shut up and go away
 
@PeeHaa should shut up and go away.
 
finally
 
9:38 AM
lol that took some time :D
 
after a SQL test I somehow failed because I wrote "table_that_doesnt_exist" instead of "table_that_exist", they said "huh, don't talk the talk if you can't walk the walk"
 
Glad to see you have time to fix stuff like that :P
 
Well that's just random
 
Anonymous
@Trucy how does one walk the walk?
 
@JayIsTooCommon by not failing a sql test with tricky table names and unclear questions
 
Anonymous
9:40 AM
that's some walk
 
HI everyone
 
@JayIsTooCommon in management interviews you have to walk the same walk, in high heels
 
@JayIsTooCommon are you making fun of me because I don't know an english idiom you bieber fan?
 
Anonymous
@DaveRandom saucy
 
when i tap on a button , which call stored procedure (ci environment) and showing multiple reocrds then suddenly page showing driver.db file path and showing Database error ? Any idea
 
9:41 AM
raw.githubusercontent.com/theofidry/PsyshBundle/master/doc/… . whether it's good or not is debatable, but its useful and cool
 
Wes
just said something very stupid to a client and immediately regretted my whole existence
 
Anonymous
@Trucy No, I was not making fun of you :P
 
Wes
my "think before talking" filter never works properly
 
@JayIsTooCommon I didn't call you a bieber fan then :D
 
fail
 
Anonymous
9:43 AM
@Trucy that would be a compliment madame
 
Anonymous
@Wes what did you say?
 
@JayIsTooCommon "sure, I can do it today"
 
I m facing database errror in php ? when i click on page any suggestion
 
Wes
i might have indirectly said he's stupid / his decisions are stupid. i was being funny but i'm sure he will get it the other way
 
@ShobhakarTiwari google the error?
 
9:44 AM
hey remember a week or so ago i asked about dynamic property access because of some idiot's use of eval()
 
Wes
fml
 
@Gordon dint find the exact reason , got stuck from yesterday
 
i can make that seem like a tiny little non-issue in comparison
turns out, they also don't believe in complex database queries or learning about new technology
every admin page is essentially
 
@Wes don't worry, he'll shrug it off as "pfrt, as if some developer could know anything about my needs/requirements/other"
 
nested selects?
 
9:46 AM
@ShobhakarTiwari , you havent provided enough context, its better if you create a question with relavent details
 
Wes
he stopped answering now. which means for sure i've offended him
 
$models = ModelName::find()->read(); foreach ($models as $m) { if (<eval usage>) { array_push($keep, $model);}}
i can't even.
 
Wes
i have literally said "i am the right man for any stupid job" and the job is something he commissioned. so basically i said he is stupid
 
@Stephen Just rewrite it every time you see something like that
Future everybody will thank you
 
Anonymous
@Wes lol
 
9:48 AM
i'm paid to fix very specific problems @PeeHaa
 
Wes
goddamnit
 
Oh I see
fair enough
 
Wes
yo peehoo
 
@Wes is he stupid?
 
"what hardware can we upgrade to make it faster?"
 
Wes
9:49 AM
he's not. a rare totally sensible and manageable client
 
> "its an issue of processing power and sheer stupidity"
 
How can I replace characters like %3C%3F to readable version?
 
@Wes then just apologise
 
oh wow
 
[ rawurldecode() ] Decode URL-encoded strings
 
9:51 AM
he even got it with the typo
 
Wes
it was in a laughing context, maybe i don't need to
 
@WorkingPig ^^^
 
!!docs rawurldeuce
 
That's asking too much I assume
Also you broke it :P
 
lol
 
9:52 AM
Hi Dears,
 
\o/ I broke Jeeves
 
@PeeHaa fixitfixitfixitfixitfixitfixitfixitfixitfixit
 
@ShobhakarTiwari the error should tell you the exact reason
 
Am I eligible to be a RO now?
 
@MohamedNagy Nobody in here is a dear
!!uptime
 
9:53 AM
╔══════════════════════════════════════════════════════════╗
║ [19 hours, 51 minutes and 7 seconds] without an accident ║
║               since [2017-02-27 14:02:02]                ║
╚══════════════════════════════════════════════════════════╝
 
Nope
 
also, what's with shitty developers using explode(',', substr($json, 1, -1)); instead of.. i dunno.. json_decode($json);
 
You didn't actually break it
 
:c
 
i mean.. its not even less characters to type
 
9:54 AM
@Stephen maybe the need to process broken json
 
no
 
@Gordon i am only getting a path ......driver.php and page title showing database error and next time it dint work , unles i start apache and mysql , so m searching for the exact reason
 
@PeeHaa Ha! Thanks
 
json they themselves are sending from the client side,
built using JSON.stringify()
am i just doomed to inherit shitty projects
 
Hello anybody over here ?
 
9:55 AM
i actually started this project, left, and now they need me again to fix shit these cowboys couldn't handle.
 
Anonymous
vampville
 
i feel like a father seeing their child who has become a drug addicted hooker
you used to be so pretty
 
@JayIsTooCommon Yeah. Something's going on
 
now you're so dirty
 
I need to know is there a way to set up a cronjob in codeigniter that run after every 5 minutes
 
Wes
9:56 AM
when you think you have finished something and you happily spend time documenting and making everything pretty.... then you figure out you did everything wrong... programming sux
i suck
everything sucks
 
lol
 
didn't even manage the tag without fucking up ...
 
@Gardezi add a file to /etc/cron.d/ ?
the first person to say "curl ..." for a cronjob gets a kick in the teeth.
 
@JoeWatkins what fuck up?
 
forgot a push
uploaded tars with wrong version
 
9:59 AM
i'm asking i someone can help me, i have an issue, i have a system that monitoring values being sent by the user, our admins should take and action based on this values, if no actions is taken after 3 minutes i should send a reminder email, if no action is taken too then i have to send a reminder email after 2 minutes from the last mail, how can i do this using PHP and Laravel framework
 
@Stephen sudo curl $command |sh
 
kills self
 
and had to force push the tag
I'm so bad at git
 
any idea ?
 

« first day (2327 days earlier)      last day (2612 days later) »