« first day (997 days earlier)      last day (3965 days later) » 

4:00 PM
@webarto You like paying for octocat food?
 
@tereško Thank you for agreeing with me
 
@rdlowrey @PeterCowburn I'm sponsoring RoR basically. That's against my religion.
3
> You are changing to the free plan. Plan changes are immediate. You will no longer be able to access your private repos or create new private repos.
I'll have bread for 10 days, yay.
@PeterCowburn you're burying @salathe?
 
@webarto I hope not
 
Cool.
 
@webarto I'm just not allowed to change it back until 30 days have passed. :(
 
4:17 PM
@PeterCowburn Have you tried changing it on another SE site and then "Apply to all sites" option?
 
foo
 
@NikiC fcuk me? :P
 
@webarto No, I hadn't. :)
 
Anyone interested in full time job in Düsseldorf? I got job offer but in the end I wouldn't make much more than I am making now and I would be 2000km from spawn point.
@PeterCowburn DO IT.
 
@webarto I have!
 
4:23 PM
lol
 
@PeterCowburn Why the change in the first place/
 
@LeviMorrison Why not :)
 
@LeviMorrison he's @salathe again :P
 
I'm a fan of going by your my real name, obviously :)
 
@LeviMorrison You go by my real name?!
 
4:25 PM
We are all Peter Cowburn now!
2
 
@webarto lol, scary!
 
user895378
I don't care what people call themselves as long as they don't change their gravatar. That really screws me up :)
 
user895378
Now, to login to the PHP DOE and deface everything. Mwuahahahaha!
 
@rdlowrey You did that to me once . . . took days to heal.
 
4:27 PM
 
posted on July 09, 2013 by hakre

The SimpleXMLElement is often a very short way to turn some XML resource into a JSON blob. Under normal circumstances this is pretty straight forward with json_encode(): The root element get’s turned into an object and it’s child-elements into properties … Continue reading →

 
user895378
@LeviMorrison Yeah, I realized that as far as the Internet is concerned I'm stuck being tan forever.
 
@rdlowrey you could change it bit-by-bit over a period of days/weeks/months.
 
user895378
@PeterCowburn A Michael Jackson gravatar situation ... I like it.
 
@Feeds sees SimpleXML, dismisses post as useless
 
4:30 PM
@LeviMorrison But it's @hakre post, we must protect la familia.
 
@LeviMorrison json_encode(simplexml_load_file(...))... *shudder*
 
@PeterCowburn *shudder* for which part? The json_encode or the XML parser? :P
 
@PeterCowburn (array) simplexml_load_file(...) :P
 
PHP.net A, B or C and why?
 
Definitely not C, it sucks. Looks like every f* bootstrap website.
 
4:36 PM
hi
 
Just bought a fresh sexy domain, don't know how it was available... decodingweb.com
 
Not really sexy, to be honest.
 
@LeviMorrison I would go with A
 
Guys, I'm a bit confused. I always thought, that PHP mail function uses server capabilities, but I can't send mail from terminal directly. I did setup exim4 for sending mail through gmail account.
 
@LeviMorrison I prefer the narrower left column on C but it does look a bit dull.
 
4:38 PM
@webarto oh come on, not sexy, can be calld as cool eh?
If they change the layout to option A, I will read documentation every day
 
@Mr.Alien I wasted a fair bit of money on domains and I know sexy when I see it :P
 
ha ha, I've spent around 1.5K, currently having 2 active domains, planning to set up a website for starting a business and I will keep the new one for my personal blog\
 
Q: what's a reasonable yearly compensation for "senior" developer in highly developed countries?
 
@webarto To some degree depends on how many juniors you manage.
 
don't know about highly developed but in India SAP guys get 40Lakh pa
 
4:41 PM
Domain doesn't really matter much if content is good.
 
I'd say generously $65,000-$120,000.
 
@LeviMorrison Do you have to have someone below you, I mean to manage someone full time?
 
@webarto If you aren't a manager or team leader I'd say you probably won't get more than $80,000.
 
@LeviMorrison Yes, about 0$ to INF$, I can confirm that
 
@NikiC :D
 
4:42 PM
they don't but they are not easily remembered too.. I've registered my company name as quratek, now some of them spell it as quar-tek... so its like email ids, longeeeer the id, the more it scks
 
@NikiC He did say "reasonable" :]
 
@LeviMorrison That's what I'm really looking for :) Thanks.
 
@NikiC Want to ask you an odd question, so allow me to ask one
 
@webarto Also, things might be different in EU - I'm an American.
 
@LeviMorrison Well I'm sure @NikiC can ask shitload and noob like me self must play it smarter :)
@LeviMorrison It's way different, I've seen big companies give about $60.000 per year which is not really much if you compare how expensive are those countries.
 
4:46 PM
this is interesting
 
@Mr.Alien yes?
 
phpdaemon vs Ratchet vs React .... Comments pls
 
@webarto Was that converted to USD or in Euros?
@Baba None, thank you very much.
 
@NikiC are you a girl or are you a oy, cuz in our country they use your name for a girl...
 
@LeviMorrison lol why ?
 
4:48 PM
@Baba I'd use Amp if anything.
Maybe just use libevent itself depending on what I'm doing.
 
user895378
I don't know if Amp is quite ready for primetime. Not because it's buggy -- it's not -- but because the API may still evolve and I'm not concerned about maintaining BC right now :)
 
@LeviMorrison what you you prefer Amp to those other 3 ?
@rdlowrey update ?
 
user895378
@Baba They aren't really comparable. phpdaemon tries to do everything. It's complex and I think it's solving the wrong problem by trying to create non-blocking versions of everything in PHP. React provides PHP abstractions that allow you to write non-blocking event loop applications and Ratchet simply uses React under the hood to implement a websocket server.
 
@Mr.Alien heh... I'm from Russia, where Nikita is a male name ;)
 
@LeviMorrison Converted to USD. I talked to @Ocramius (Deutschland) yesterday and his opinion is that $90.000 is about right, but I just can't seem to compute that. I think some parts of EU are more expensive than USA too.
@NikiC It's Unisex!
 
4:51 PM
@webarto Parts of the USA differ as well. The cost of living in California or New York is much higher than Utah, for instance. As such they usually pay more as well.
 
@NikiC oh thanks for clearing, in India, we have that name for girls ;)
 
@rdlowrey based on what they do ... Which one do you think was properly implemented ?
 
@Baba For what?
 
ok guys, need to point the domain to server... so cya for now...
 
@LeviMorrison non-blocking websocket backend
 
4:54 PM
If those 3 are your options, then Ratchet or phpdaemon.
 
@LeviMorrison Nice .... but am looking at Amp right now
@rdlowrey Any update on the server you are working on ?
 
guys is PHP or JS faster in printing html ?
 
@Baba Aerys is specifically the websocket server but I don't think it's publicly available. It's built from Amp though.
 
user895378
@Baba I finished the full websocket server refactor but it's going to take a few days to thoroughly test it as I need to write a fullblown websocket client in PHP to do so.
 
@sbaaaang Probably JavaScript. Sadly, it's faster in every test I've thrown at it.
 
4:56 PM
@sbaaaang You'll need to be more specific. Why would you sue Javascript at all? What's the situtation
 
@LeviMorrison am looking forward to Aerys myself
@rdlowrey Cool ... just keep us posted .. want to be one if the first to try it out
 
user895378
@Baba If you want to try it out I can give you repo access fairly soon (like in the next day or two) as long as you understand that some things may be subject to change :)
 
@LeviMorrison Yes, that is true. I work remotely and salary is good for my country (5 times more than average) so I really think that moving for 50% more money is not worth it because I'll end up on the same level. Thanks for your input :)
 
@LeviMorrison nice thanks dude
 
@rdlowrey sure ... that would be no problem ....
@rdlowrey I would remind you tomorrow
 
5:00 PM
@Jeremy if you have to print a huge list of <li> using ame array you have, better in js or in php ?
 
@LeviMorrison You don't know what he's doing... he's trying to make pagination for 1000 results.
 
i'm talking about 10K <li>
 
@sbaaaang . . . then definitely don't do it on the client-side.
 
@LeviMorrison oh ok
 
user895378
@Baba Basically before I can make it public I need to add pthreads and gearman functionality for asynchronous processing to the Amp library. But those will use the same interface as the existing multiprocessing code I have so you could start playing with it now. In any case, I'll try to tie up any loose ends today and plan on giving you access and a full rundown of how everything works tomorrow.
 
5:01 PM
it will loop and block the client right?
 
user895378
The other thing is that I need to write a good promises implementation because that makes dealing with asynchronous callbacks vastly easier. React has a really nice promises abstraction that could be used to wrap the calls as well. I'll probably write an adapter for those at some point.
 
@rdlowrey am very familiar with pthreads & german ... I think you should also consider ZMQ am using it in production now and the performance is impressive
 
user895378
@Baba Well I tried ZMQ as part of the server a while back and it was slower than what I ended up doing. That said you could very easily implement your own RPC-style ZMQ solution inside your application code.
 
If anyone out there is familiar with AWS and amazon api's for file upload please have a look at my quetion posted here
 
user895378
Everyone seems to love ZMQ ... but I don't. It takes away too much control over what's actually happening and that makes it difficult to integrate with a performant custom socket solution and leads to some serious vendor lock-in. It's very difficult to decouple your code from ZMQ once you go down that road.
 
5:06 PM
@rdlowrey am doing more than just RPC ... Implemented Broker -> Router -> Proxy -> Sink
@rdlowrey and its faster than http so far .. such kind of routing would have been a mess without ZMQ
 
Anonymous
@Mr.Alien I think Nikita is a girls name everywhere
 
user895378
@Baba Well let's be honest: an amputee turtle will be faster than HTTP as a data transfer protocol.
 
user895378
But you can have a ZMQ backend that distributes work without forcing your frontend to use a ZMQ socket. I think ZMQ has a place, but it's important to keep it out of your frontend application code.
 
@rdlowrey lol lol
 
user895378
HTTP happened because of scientists who thought they could do "programming stuff" as well as programmers. It's horribly inefficient in its current form and requires hacks like Ajax and Comet and Websockets to be useful for large-scale applications.
 
5:13 PM
@rdlowrey am also using it in front end now .. but i would take to your advice ...
 
He still argues he can change stuff in the controller because he uses a db mapper (think db first doctrine).
-_-
 
Evening yall
 
@PeeHaa Evening
 
-1
Q: Is Javascript Prototype like the keyword static (Java)?

user2316667That is to say, prototype is a global, static set of objects (that could be primitives or objects/object functions) that are shared by all classes of the object? [EDIT] I could not find a formal definition. I'm trying to draw some parallels. If there are differences, please do list them! Thank y...

 
@BenjaminGruenbaum you can ask him, if he know what are the responsibilities of a controller
 
5:18 PM
0
Q: PHP ArrayObject / ArrayIterator : concept with example

Spencer MarkI'm trying to understand the concept of the Object Array in PHP. Up to date I was simply using regular arrays to loop through the list of records and display them in say table. I know that I could do this using Object, but I'm not quite sure how to do it. I understand the concept of a single Ob...

 
@rdlowrey is SPDY any better
 
Needs better answer, don't have the time.
 
@tereško :( At least he's not trying to get me to use jQuery.
 
user895378
@Baba SPDY is more or less the basis for HTTP/2.0. It solves most of the problems of HTTP/1.1. That necessarily means it's more complex. I don't personally see a ton of benefit in implementing SPDY unless you're a huge company since it's going to be deprecated anyway once HTTP/2.0 is finalized.
 
@rdlowrey It would still take 2 to 3 years before its widely adopted
 
user895378
5:22 PM
@Baba At least.
 
@Baba with that you meant "2 to 3 years for current IEs to die out"
 
@tereško lol ... IE is one of my biggest problems
 
IE is a global problem
 
@tereško Most bank clients only use IE
@tereško It would nice if it can be deleted from History
@tereško Or remembered as a time of abomination
 
without IE you would not have AJAX and CSS, because ~2000th IE was the driving force in web innovation
 
@tereško AJAX is just a fancy name ... most of us have you using that concept to steal cookies for a very long time
 
Is it kosher to promote a stack post on this chat room?
I have a 250 bounty on it.
 
if you are not using HTTP Only cookies, then you deserver everything you get
 
@jkushner only if the meats and cheeses are not touching
 
5:29 PM
Ha.
 
@jkushner that post is missing the "question" part
 
Let me update it.
 
it looks like "write free code for me" post
 
@jkushner there is no question here, just a blob of code....
 
I explained in the beginning the issue i was having
 
5:31 PM
@jkushner looks like a jumble of words with no question mark (?)
 
I added this: I want to have one multidimensional threads array and each individual array be an array of message threads.
 
@jkushner That's nice... what did you try?
 
like in VB6, we have "EXIT SUB" to exit, do we have any such query in mysql?
 
I didn't write this code. I'm still just learning the imap functions. When I tried that, it returned an array of the threads but than also a second array containing one of the emails
 
Im not very good with wording myself. Maybe I need some assistance in making this a good question
 
@jkushner mine is a very long question and to make it worse my communication skills is very poor. i'm horrible at asking questions :(
 
So what should I do? I put a bounty up because I cant allocate a full day to getting this working?
 
@Danack ah, "LEAVE proc_label;" is the solution there. But i'm not using procedure, its just a long long multi_query
 
@jkushner We are not your unpaid interns... Work on it!
 
5:36 PM
lets see ... you did not write "that code" ... instead you want us to write code for you
 
But I only did that because I put a bounty up?
 
wat ?
you only asked us to write code because you put a bounty on it ?
 
I thought it would be ok to ask for help because I put a bounty up?
 
you are not asking for help
 
not even write the code, just help fixing it.
 
5:37 PM
you are asking for free workforce
 
@jkushner No. No it's not..... Give me ONE BILLION JILLION DOLLARS (I put a bounty on it, so you have to!)
Your post has been mod flagged @jkushner Sorry mods....
 
user895378
Newsflash: fixing code (debugging) is what programming really is.
 
@ThiefMaster ^
@rdlowrey :-D
 
Im not a bad guy. I work very hard, and always try before i post on stack. I really am having difficulty with imap functions, and thought I could get some assistance. That's all.
I didnt mean any negativity about helping me write code. I don't know how to fix this code.
And I just haven't had any time to spend on it. I thought I could ask with a bounty because thats what gets people to help.
 
one more doubt, how to optimize this query: UPDATE Last7DaysRawData SET CloseToBeRemoved=Close6,Close6=Close5,Close5=Close4,Close4=Close3,Close3=Close2,‌​Close2=Close1,Close1=Close,Close=NULL;
 
5:41 PM
5 mins ago, by jkushner
So what should I do? I put a bounty up because I cant allocate a full day to getting this working?
8 mins ago, by jkushner
I didn't write this code. I'm still just learning the imap functions. When I tried that, it returned an array of the threads but than also a second array containing one of the emails
 
0
A: PHP ArrayObject / ArrayIterator : concept with example

Madara UchihaIt is possible. Have your object implement the Iterator interface, and then you will be able to foreach over it natively. (Note, you need to correctly implement the methods to advance and rewind your array) More info: The Iterator interface. Read the examples and user comments. Iterators - Pro...

@ircmaxell ^
 
@NokImchen You could optimize it be making it valid
 
@NokImchen How about just not using multi_query? Then you can just not call the next query if you need to interrupt them.
 
ow wait wut?
 
@PeeHaa it valid and working, but takes 49 seconds :(
 
5:42 PM
Sorry it just hit me what you are trying to do :|
 
@Danack yes, but i want to avoid PHP and use Mysql as much as possible
 
Why? As in what gain do you think that gives you?
 
@tereško are you working somewhere?
 
@PeeHaa i'm sorry :( i always trouble u experts with my stupid questions :(
 
So my post is not going to get assistance?
 
5:43 PM
Still I am wondering what it is you are trying to do
 
@Danack dont know :| But i want to do it with Mysql as much as possible
 
@PeeHaa It's shifting all the columns by one...
 
@Danack yes, right :)
 
@Danack I see that. But why?
It just looks icky
 
@webarto yes , for 8 more days .. and then i will be taking a month free
 
5:44 PM
And may mean a serious design failure
 
because 3rd normal form is for wimps.
 
user895378
@Danack lol
 
@Danack hehe fair enough
 
@tereško Ok, great
 
user895378
DB normalization is for people who don't know how to add ram!
6
 
5:44 PM
@PeeHaa cos every second, one one data is generated and added to the 1st column. its like array_pop() and array_shift :)
 
@rdlowrey Word
 
@tereško No one will help me with my post?
 
@webarto why are you asking ?
 
@NokImchen Have you worked with databases before?
 
@NokImchen You want to interrupt your queries; multi_query is designed for when you don't want to interrupt your queries. That doesn't sound like it's compatible.
 
5:45 PM
@PeeHaa i can give u my whole code if u want, but its very lenghty :/
 
@tereško I have really good job offer from Germany which I will have to pass for the time being.
 
@jkushner StackOverflow is not a free version of rent-acoder.com
 
@PeeHaa yes,, a lot :)
 
neh tnx. I want need to write an online sqlite tool today @NokImchen
 
@tereško I understand. I'm sorry I didnt know. I thought I was just asking for help.
 
5:46 PM
@PeeHaa oh, sorry, i just wanted it to be optimized :0 no prob :)
 
user895378
@PeeHaa like an sqlite management tool or something else?
 
that is not "help" what you are asking for
it is free code
 
@rdlowrey Yes. I want to simply upload a file and be able to manage it
 
@Danack yes, i think i need to use it. Anyways, it wont still make the query faster. It'll help to reduce just a few seconds...
 
You got something for me? @rdlowrey
First page of github fails me
 
5:47 PM
Well, I thought that the bounty was to intice people to help solve a problem.
 
@webarto anything interesting that does not require relocation and being fluent in german ?
 
user895378
@PeeHaa Nope. I haven't found any tools I like along those lines. I was going to subscribe to updates on your progress :)
 
@Danack whats the best way to shift values in the columns?
 
The code isn't working and I just wanted someone to look at it and see if they can fix it.
 
"solve problem" !== "write code"
 
5:48 PM
@rdlowrey hehe np :P
 
and there is not E_DOESNT_WORK in php
 
user895378
@PeeHaa That's a cool idea though -- to host the admin service yourself and accept the uploaded db.
 
@NokImchen Having multiple columns in the same table is an obivously bad design.You should change it so that DaysRaw is a separate table.
 
@tereško Requires relocation which is turn off, Ubisoft in question.
 
You then don't need to 'shift' rows, you just add rows and delete rows as normal.
 
5:49 PM
Im not asking to write code. The code is already there. Theres just a problem with the way its storing the messages in the array. Its storing messages within a thread of messages but than the same message is being stored again in a new array
So maybe I should reword the question?
 
@rdlowrey Yeah I think so. Born out of a need ofc
 
if that doesn't make sense, then maybe ask on programmers.stackexchange and ping me.
 
The need here is being lazy obviously
 
@Danack i cant create a new table, doing so will have to make me create millions of table instead of just 2 tables! Anyway, i have tried that too!
 
Yes - 3rd normal form = lots of tables.
 
5:51 PM
@Danack means?
 
Programmers: working hard to create something so they can be lazy since 1882
 
Hey guys
what's shakin'
 
Hey @BoltClock
 
@Danack please explain...
 
@NokImchen Not sure this is the best explanation but devshed.com/c/a/MySQL/An-Introduction-to-Database-Normalization/… You have a table which has almost identical columns - they should be a table of their own, otherwise you hit nasty problems like horrible performance
 
5:53 PM
Also can you guys not use chat pings to summon us for non-chat mod things
 
@BoltClock huh? Who pinged you?
 
@PeeHaa Nobody pinged me but I see ThiefMaster was pinged
 
BTW does that also mean I cannot ping @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon @Gordon anymore??
 
I myself have been pinged before but iirc it was for chat-related matters
 
/me waits for kick
 
5:54 PM
@PeeHaa ok kicked
 
@Danack Well .. it's not about having a lots of tables. More about having clear structure for data. You might be aware that there exists such a techniques as "de-normalization", for optimizing the request. But to do so you actually need to have a normalized table to begin with.
 
@PeeHaa m-m-m-m-m-m-m-ulti ping
 
@Danack i'll send u a pic of what i'm trying o do :) please wait :)
 
@tereško you have been summoned to the js room gone in a p00f
 
I like it better when @Gordon does it ;)
 
5:55 PM
@tereško do you have a good link that will explain to Nok why having 'day1', 'day2', 'day3'.... is horrific?
 
@PeeHaa Why so many @Gordon @Gordon @Gordon
@PeeHaa Don't do @Gordon @Gordon @Gordon
 
I'm an attention whore
 
@Danack yes, i have a main table with just "Day" column, and dates as rows...
 
@PeeHaa You can be killed for @Gordon @Gordon @Gordon
 
@BoltClock It was a mod thing, but I guess not a "chat" mod thing
 
5:57 PM
lololol
 
whaddup pinging suckahs?
 
@nok - I've already said, what you're trying to is not a good design, and will either be slow or difficult to program. Sending me a picture is unlikely to change that answer.
 
@PeeHaa Instead of @Gordon @Gordon @Gordon you can just have @Gordon Hello @Gordon Hello @Gordon .. Put hello in between
 
@Danack but using day1, day2, day3...Day364 is better in one sense b'cos I'm performing combinations of all data
 
tereško Sorry for all that attention :/ he was complaining about what he's making and he's not really erm, competent.
 
5:57 PM
There is our favorite mod
 
@Danack is "Nor" that tiny avatar? If yes, then who cares. He's a noob. And annoying enough to end up in the ignore list.
 
@Danack but, please have a look, i'll send u an explanatory pic :)
 
@PeeHaa why did you ping me?
 
@Gordon @BoltClock made me do it
 
@tereško I haven't asked before - but all avatar pictures look the same size to me. Am I missing something?
 
5:58 PM
@Gordon hi :)
 
@tereško You do realize ignore lists are per-user
 
@Danack Either you are very patient or you just haven't found the ignore button yet ;)
 

« first day (997 days earlier)      last day (3965 days later) »