« first day (1509 days earlier)      last day (3446 days later) » 

12:00 AM
just spoke with support. they dont see any caching set up. looks like ticket is being kicked up food chain.
 
@AndreaFaulds @bwoebi @NikiC @JoeWatkins @LeviMorrison and anyone else with internals knowledge care to review: 7414445313853167451_8211ed460cb8898cc0459832f6d341d32dc18989.bl… ?
 
So if this is a fix that needs to be made on their end...just how would running locally fix this error. Are you talking about error handling for php? I do understand what you are saying skansing
i'm just trying to relate what you are saying to this specific question.
 
@ircmaxell I feel like there's a bit of a disconnect on all the internals stuff before you get to circular references.
 
what do you mean?
running home, will look later
 
@rancho, well, no your right, you can not avoid what their crappy hosting did. If you made it all locally, with unit tests / integration tests on both sites (frontend/backend). Then you would know it all worked, and would not have to be bothered by all the quirks and kinks of the hosting company. After that you could have pushed to a staging server for final tests and finally pushed to production server
 
12:04 AM
also: thanks
 
@ircmaxell Interesting, I did wonder how the garbage collector works
 
well...i'm on a spaghetti budget. so it's crappy hostgator shared server plan for me : )
and im working with what i got baby.
 
=] That is alright
 
@AndreaFaulds relevant: spin.atomicobject.com/2014/09/03/…
 
I will always recommend the local development. Editing on production server has many evils, one of them being what you just experienced
 
12:08 AM
i cant complain. this has been my one problem.
 
Developers just should not have access to production
then everything else sorts out naturally
 
lol
not every company can afford "operations" department
 
I've been working in a bank
when I joined they haven't been using any SCM
 
i've been working in my beedroom
 
from the word "any at all"
 
12:09 AM
Does anyone have that image with the plane being repaired/build in the air?
 
and when i joined there was no one in the company but me
 
my google-fu is failing
 
and all changes to production have been manually moved from staging server
 
@ircmaxell I'll read tomorrow
 
so every developer must have noted what files/lines they have made their changes to
and those changes were manually reapplied on production
 
12:10 AM
Beautiful
 
maybe some day ill get another employee so that i can have lunch with someone
im tired of only talking to my laptop.
 
@rancho get a parrot
 
"talking"
 
if you can't afford an ops team, just put on another hat :)
 
haha
 
12:12 AM
@Ja͢ck if I had a physical hat for each responsibility, I would need a separate place to keep them
 
Hi friends
 
Welcome @Apoph1s
 
I dont know php, I'm just here to hangout
 
@tereško :D
 
all my multiples wear the same clothes i do. theyre all bums in a hoodie.
 
12:13 AM
more of a Node guy
 
@Apoph1s reminded of nested callbacks horror...
 
The only Node is a DOM Node
 
Whatever suits you @Apoph1s [=
 
@HamZa which means that you should either explore promises or event driven approach
 
Im not here to argue in an obviously biased chatroom(as I am myself) but ES6 comes with Generators to replace Callback hell :)
 
12:15 AM
or struct node{
int value;
struct node *next;
};
@tereško I will put that in a txt file. Who knows I might work with node again...
 
You should, anyway
What do you guys think about Dartlang?
 
@Apoph1s it's too mainstream
 
Sarcasm amirite?
 
@Apoph1s Well I had to use it once for a school project. I thought it's quite cool but I guess that when developing with node I should turn off the "php thinking mode"
 
12:18 AM
@HamZa I personally use this structure to avoid callback hell: gist.github.com/teresko/cc291e66fa0ad06aaa0d
 
"User was removed" ... but what was the question?! nnghnnnnn!!
 
Im confused as to whether you guys are talking about Dart or Node :S
 
@Apoph1s Follow the arrow :)
 
@Apoph1s it's not. If you want to have fun - choose clojure/scala/haskell/erlang
dart is boring
 
Basically I was talking about Node
@tereško Looks like Lisp to me. Basically I need to sharpen my JS-fu...
 
12:20 AM
Although I think Haskell is pretty awesome and all, in most cases it's way too academic for me
 
@Ja͢ck it is
 
@Ja͢ck it is
!!!
 
Dart is kinda boring, only becasue Java like syntax
 
The only language I think is cool is C =/
 
Haha, good boy
 
12:21 AM
@RonniSkansing oldscool
 
No school like old school.
 
Im 15, and I dont like languages made in the the <1980's
 
@Ja͢ck haha I read that in dutch, it sounded weird :P
 
lol
 
@Apoph1s well C is the mother of languages
 
12:23 AM
And the father, too.
 
I am aware, but I dont like its syntax style :P
 
That's why their children are ugly
 
And the brother, sister, and former dog's walker.
 
hehehehe
 
JavaScript is beatiful imo
 
12:23 AM
UncleBob once mentioned that developers never learn from history , which is why they always reinvent shit , @Apoph1s you seem to be a spectacular case-study ... of course I assume you dont know who UncleBob is
 
or however u spell it
 
@Apoph1s we just call it Java
saves 6 keystrokes
 
@tereško Those who don't know history are bound to repeat it :)
 
575
A: What's the difference between JavaScript and Java?

Greg HewgillJava and Javascript are similar like Car and Carpet are similar.

 
haha, classic.
 
12:24 AM
then lets trash all languages and just use ASM
 
ASM is still very much active.
 
Embedded systems
 
@Apoph1s when you get older you'll realize that it does not matter what language to use
what matters is that you earn enough to spend enough time with your family
 
In fact, it's good to try many languages.
 
is that why you use php?
 
12:25 AM
@Apoph1s define "use"
 
did you come here to troll ? what that the intention ?
 
I use a lot of languages in everyday job
 
No...
Why would you think I came here to toll?
troll*?
 
@tereško remember he's 15 and probably still a beginner.
 
I would use any language employers are ready to pay me for
 
12:26 AM
@zerkms Brainfuck?
 
@HamZa .. I am getting vibe here
 
@Ja͢ck why not
even malbolge
 
Not really, this is my history
 
Is it... list the languages I use to get through the day time!? Oh boy, here we go ...
 
last year in 9th grade i took VB as school course
 
12:27 AM
oh yes, I wouldn't accept probably a dedicated bash developer position
 
You could do a lot better with your education.
 
this year im taking AP Java, along with Node.js along with it
 
nothing is as ugly as programming on bash
 
@zerkms Doesn't Brainfuck exclude spending time with your family?
 
@Ja͢ck it's 8 working hours still
whether it's php or BF
 
12:27 AM
heh
 
compileonline.com moved :((
 
well, you seem to be working in a bank
it's dfferent
 
@tereško I used to, not anymore
 
oh
 
You know what's not fun? RPG on an iSeries.
 
12:28 AM
and dont judge me by my age please :I
 
/me was a halftime plsql developer. That was a funny experience
 
you felt that your age was important =P
 
another ancient language without nice language constructs
 
it was like the 3rd thing you wrote
.. just saying
 
yes but that doesnt mean Im inferior in knowledge versus you people
 
12:29 AM
/me has been watching Hannibal today
 
Maybe not, Maybe so
 
" Im inferior in knowledge versus you people" --- we don't care actually
 
@tereško the series or the movie?
 
@Apoph1s well, as far as I've seen. Programming at school is most of the times crap. I don't know about you but I won't consider taking one class of java/node to be a big achievement
 
@Ja͢ck series
 
12:30 AM
@tereško Oh... I should watch that too
 
@Apoph1s To be frank, you almost certainly are ^^. That doesn't mean we should be rude though!
 
Damn but too much homework :P
 
@tereško what do you think of it?
 
Taking a class is an achievment? lol
 
@HamZa are you also 15yo?
 
12:32 AM
Im taking AP Java, college level standardized by the State
 
@zerkms I think he was referring the TV watching todo list ...
 
@Apoph1s TLDR: you're not a "pro" or "experienced" by taking one class.
 
@RonniSkansing it's a nightmare-food.
 
Node.js is something im learning on my own
lol who said I was????
 
@zerkms Bash developer? Do such jobs REALLY exist?
I mean, I use the shell all the time for work but...
bash developer?
 
12:32 AM
@LeviMorrison it sounds amazing yes
 
heh .. here is the scary part .. I started programming when I was at his age
 
@tereško yes it is awesome =] Me and the gf absolutely loved it and are looking very much forward to next season.. which episode are you at?
 
fuck, I'm feeling old now
 
Why are you antagonizing me as a Cocky programmer?
 
@RonniSkansing 5th
 
12:33 AM
@zerkms Meh, I'm studying at the university of applied sciences of amsterdam. Not really interesting...
 
@tereško you would feel old if you've been programming more than his age
 
@tereško lucky you!
 
@RonniSkansing finished both seasons :)
 
I only said to not judge my knowledge by my age :S
 
unless there's a third season i'm not aware of heh
 
12:33 AM
@Apoph1s too late, that's what we already do and will
 
@Apoph1s Relax, little coder. It's just an internet chat room!
 
@Jack there will be a 3rd season =] (yay!)
 
@zerkms well .. emm .. almost, since I will be 30 next month
 
@Apoph1s and don't think about white monkey
 
But lets not talk anymore of it to avoid spoilage
 
12:34 AM
@tereško you're old!
 
w/e that is
 
haha
 
@zerkms fuck you too
 
ahahahhaa
 
I'm 30
already
there is still life here
not that much as it were when I was 29, but still
 
12:35 AM
 
Pff, all you youngsters heh
 
@Ja͢ck Don't tell me you're in the 50's :P
 
I remember he told his age but don't remember the actual number
35?
 
ahahaha
 
Oh boy, writing a SO bot seems hard :(
 
12:36 AM
moo
 
mooooo
 
@Apoph1s there are already several bots and in different languages: java, python and probably more
@RonniSkansing A wild cow appeared...
 
I know, I was specifically looking at the Node.js one
 
Oh from Zirak?
 
@zerkms 3 rounds of the Chinese zodiac :)
 
12:38 AM
@Ja͢ck o_O
 
@HamZa A wild cow disappeared... // good night everyone
 
@Ja͢ck So I googled that and the first top result is a movie staring jackie chan imdb.com/title/tt1424310
 
@Ja͢ck yeah, and both Andrea and NikiC still cannot buy beer in US
 
yes from zirak
 
Andrea is, what, 19 or sth?
 
12:39 AM
@tereško In the netherlands you need to be 21 AFAIK...
 
18
@Apoph1s the first iteration of bot was written in native JS and required an open browser to work
you are currently looking at something that has been developed by obsessive professionals for ~3 years
 
good night
 
well, not so much "developed" as "rewritten again and again and again .."
 
oh damn
 
@HamZa Still need to show ID though, until you're like really old
 
12:41 AM
so its not as simple as connecting to an IP and sending chat packets to enter the chat?
 
@Ja͢ck yeah but I don't care since I don't drink!
 
I'm asked for ID next few days after I shave
 
I was asked for my ID as well, I was so touched.
 
I actually am not sure how it works
 
@AndreaFaulds RFC says there is: wiki.php.net/rfc/variadics#reflection Maybe not doc'd?
 
12:42 AM
" I was so touched." --- exactly!
 
@Apoph1s , you should start by examining the network traffic of your own chat usage
 
Ill ask SO then
 
@NikiC Aha! Yeah, that'll be the issue
 
Or I forgot to implement it. But docs is more probable
 
"how to write an SO chat bot?" question will probably closed in about 3 minutes
 
12:44 AM
$ php -r 'function foo(...$x) {} var_dump((new ReflectionFunction("foo"))->isVariadic());'
bool(true)
 
2 minutes if you ask from 10AM till 8PM UTC
anyway, time to make some sleeps
 
@AndreaFaulds good
 
@Ja͢ck haha
Gerascophobia (Greek: θα γεράσω, gerazo, "I am ageing" and φόβος, phobos, "fear") is an abnormal or persistent fear of growing old or ageing. The term comes from the Greek γέρος "geros" (old man) and "phobos" (fear). Gerascophobia is a clinical phobia generally classified under specific phobias, fears of a single specific panic trigger. Some authors also refer to it as gerontophobia, although this may also refer to the fear of the elderly. Gerascophobia may be based on anxieties of being left alone, without resources and incapable of caring for oneself, Sufferers may be young and healthy. Symptoms...
 
@NikiC LawnGnome says it's because you failed to note it in UPGRADING
 
@HamZa you can look at it this way: if you manage to live till 80, you probably will have access to some rejuvenation tech by then
 
12:46 AM
oh wow
im stupid
 
the bot isn't here :P
 
I know I just realized
 
CSV bug, bug, bug, bug and bug ... challenge accepted.
 
@tereško I don't know whether I should consider that or not...
 
well ... there actually already is rejuvenation technologies available, but they are considered to be immoral (it requires your blood vessels to be temporarily linked with someone younger then you)
 
12:48 AM
wth TIL
 
.. the stuff I know
 
$jar->insert($brain); // unfeasible, but I'd probably do it to be cool
 
@DanLugg you are talking about Ghost in the Shell?
 
@tereško Not specifically, but sure.
Seen movie, not read manga.
 
it might not be so far away, since there have been some breakthroughs in reattaching severed spinal cord using stem-cell therapies
@DanLugg there are 3 movies and anime series
 
12:52 AM
#if 2034
    $jar->insert($brain);
#endif
^^ better @tereško :-P
@tereško I've seen the '95.
 
movie ?
 
Yea.
 
yes , few times (4 maybe)
it was one of first animes that I ever saw
spoiled me, kinda
 
lol, I was gonna introduce a girl to Akira, because she's only seen anything >2000. That shan't be happening anymore <sadface />
 
ok, that's it .. need the sleeps
 
12:57 AM
later @tereško
 
@tereško I've also read reports of a nose growing in somebody's lower back because of stem cell therapy :S
 
1:30 AM
:-)
 
2:07 AM
No votes on ZPP Failure on Overflow so far. I think that's probably a good thing.
 
@AndreaFaulds Can an RFC pass with one vote?
 
@TheodoreBrown It'd be quite tenuous.
 
no
 
php.net/manual/en/pdo.construct.php PDO options argument says it's suppose to be an array. Is it a named associative one? I feel I am doing this all wrong. Probably am =o\
 
you're doing that right, I think
 
2:23 AM
@crypticツ Looks right; something wrong with it?
 
@LeviMorrison just confused if it was associative or not. Just tested and no error, but then again don't know if it would error on such a thing.
 
o.O 60 second timeout
 
I couldn't find in the docs what types were allowed for each one, I assumed integer and boolean. The constants it does say what they are int.
@LeviMorrison too long or too short?
 
Generally I'd say that's much, much too long.
If you run longer queries for reports then maybe too short.
 
what time would you recommend?
 
2:28 AM
For general purpose stuff? Very small timeouts. I would consider 10s long for general purpose stuff.
 
2:43 AM
Hi all
My site is redirectint to mobile.domain.com in mobile.
I want to stop redirecting in mobile
Can any one help me?
 
@Pradeep some hosting provider has default .htaccess which is redirecting to the mobile site.
 
My hosting is Godaddy. I changed .htaccess also.
Is there any other way.
 
then no idea ...
you can redirect back to full version but i think its not proper way to do
 
Okay Thanks
 
3:32 AM
#Symfony is Photoshop; #Laravel is Lightroom.
@johnkary Nah. Symfony is GIMP, Laravel is http://Paint.NET
 
@ircmaxell bwahaha
But I gotta admit v5 seems to be decent :)
 
I refuse
 
not the concept of "stability" that I like, tho
like... no common APIs anywhere :|
 
docking at 10cm per second is slow when you start 100 meters out
 
3:49 AM
you also stuck in KSP?
 
4:02 AM
yup
currently building a space station
currently on launch # 4
 
@ircmaxell A while back I remember you linking some kind of HTML book markup language or something.
Ring any bells?
 
Nah, that's not what I'm trying to find.
 
There was some book/article format that was HTML or XML ish.
 
4:08 AM
epub ?
 
I think it may have been a spec that was linked.
 
docbook?
 
Nope.
Bleh, wish I could remember anything unique about it.
 
 
1 hour later…
5:28 AM
Some body please go through this
0
Q: Timezone issue while converting date generated from fullcalendar in PHP

rb vishnuWhile converting date that generated form jQuery fullcalendar, the timezone making some problem in Windows. Here is the values that i am posting, to recognize error i have made start variable as string in (IST), and the end is the value that getting as response from jQuery fullcalendar there the...

 
 
1 hour later…
6:57 AM
@ircmaxell I saw dracony advising that people disable the gc, so, good timing ...
I read somewhere that for 99% of web requests the gc is never invoked anyway, zend has to track roots but the upper limit, before it actually starts collection is rather high ... on purpose ...
another interesting thought, that original paper described a concurrent garbage collector, but we are actually frightened of concurrency, so designed a synchronous gc ... the thing to do now, is probably implement the concurrent gc so that speed and runtime are (almost) unaffected
(frightened is the right word)
java has concurrent gc, spends a lot of time collecting garbage, but in parallel, so nobody cares ... if our applications are approaching the complexity of composer, and they are, then it's worth considering a new gc might be in order, perhaps for PHP8 ...
I think it's right to say that most web sites shouldn't disable the gc today, but our systems are becoming more than websites, our applications do approach the complexity of composer but we expose only a little via the web ...
/s/via the web/via any single web request/
that's all I have to say about that ...
@krakjoe yeaaah. I'm not doing it again in a hurry. You coming to PHP Hants next Weds (10th)? Also, fancy talking in Jan? :)
I really do want to do that ... so ... ideas are needed ...
if Joe done a talk at a meetup you were attending, what would you like him to talk about ?
6
 
7:19 AM
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. As of January 2013, PHP was installed on more than 240 million websites (39% of those sampled) and 2.1 million web servers. Originally created by Rasmus Lerdorf in 1994, the reference implementation of PHP (powered by the Zend Engine) is now produced by The PHP Group. While PHP originally stood for Personal Home Page, it now stands for PHP: Hypertext Preprocessor, which is a recursive backronym. PHP code can be simply mixed with HTML code, or it can be used in combination...
 
@pr1nc3 , so?
 
7:33 AM
posted on December 03, 2014 by nlecointre

/* by Crocsx */

 
mornin'
 
@Patrick morning
 
@ircmaxell why do you keep following stupid people ?
 
Is there a way to search a full DB for a string? (Without PHP in a query.)
 
not in MySQL
you will have to manually search all columns in all tables
 
7:48 AM
moin
 
7:58 AM
I found a search option in PhpMyAdmin @tereško
 
that wasn't what you were asking for =P
then again, you question was quite terrible anyway
 
8:17 AM
@ircmaxell hmh… invalid security token…
 
good mornings
 
@iroegbu mornign
 
@Duikboot you can dump the whole database and opening the .sql file in notepad
 
boom
 
Provided your dump is < 45 KB
 
8:21 AM
@tereško He started to follow me today, so that kind of proves your premise :-P
 
Then again, Word would probably work. :p
 
I'm importing 20GB database, for 2 days now :-\
 
so you store files in database now :P
 
It's data for one month :-P
 
Tracking data?
 
8:24 AM
so now you store videos in database too :D
 
mornings
 
wow @webarto whats ur db ? postgres?
 
@HanyAlsamman morning
 
@obiNullPoiиteяkenobi thnx
 
@Ja͢ck @boyee financial transactions bla bla
 
8:31 AM
@HanyAlsamman welcome, but why you thanking me ? (i can not handle random thanks ):\
 
good mueurning
 
i want to talk about my project
maybe i can get some ideas , suggestions , etc
 
morning guys
 
Damien Overeem is awesome
 
8:44 AM
..
 
anyone worked with cometchat?
 
facepalm@collegues
 
He is just an awesome programmer and really smart!
 
They found me....
 
We bow for you!
 
8:45 AM
@Gotalove yes
 
Dutch invasion commencing
 
@DamienOvereem morning
 
awesome @HanyAlsamman I am trying to figure out why groupchat isnt showing chat messages from other users besides myself.Think you can help?
 
it integrated with custom script or offical like wordpress
 
with codeigniter
@HanyAlsamman
 
8:53 AM
morning, slackers
 
o/ teresko
 
doog morning
 
please check configs file , can you pastbin it
 
alright will do
 
maaarning
 
8:58 AM
@HanyAlsamman pastie.org/9757711
morning Fabor
 

« first day (1509 days earlier)      last day (3446 days later) »