« first day (1269 days earlier)      last day (3669 days later) » 

12:00 AM
I have a customer that is looking to use it for their purposes. Thanks for lending an ear anyways!
 
Maybe ask on programmers.
 
Will do, thanks.
 
Cheers.
 
god below, thisis annoying
 
what's that?
I drank ~5 Burn drinks, can't sleep but tired, yes, it's annoying.
 
12:09 AM
why would a person, who gets paid for doing "frontend development" write $(".add-to-wishlist-btn").on("click", function(e) { ..
 
Because... they don't like # ?
 
for a content, that will be loaded dynamically later
 
Are you doing "frontend" work too?
 
currently , yes .. and getting more pissed of by the minute
this is the JS that I am talking about: github.com/glome/cbc/blob/overhaul/src/public/assets/js/…
 
Yes, know the feeling, although I personally sometimes like that, I'll refuse to fiddle with someones code. I do my shit, provide JSON, and that's it.
 
12:11 AM
well
there IS a frontend developer, which should be responsible for it
 
Ok, first thing I see is $(this).parent(), even if it's cached or whatever, it's annoying.
 
ehh ... fuck it
 
Why is he using classes for unique objects anyways?
OK, I would definitely write this better even tho I haven't got much clue.
 
she .. and I don't know .. AFAIK, she is over worked and is fresh out of fucks to give
 
Sad part is that they get paid about the same.
 
12:14 AM
you can practically feel the "I dont care" radiating from that script
 
This is horrible, really.
 
2 mins ago, by tereško
ehh ... fuck it
.. I will just finish up with the PHP bits, and then see if I care enough to clean up JS
 
Yes, why is it public?
 
no idea
because client asked it to be
 
Ah, OK. Who's the Hungarian guy? (Author)
 
12:16 AM
where ?
no idea
 
Do your php teammates have any idea what you wrote? :)
 
is it that bad ?
 
No, it's not, it's unorthodox to common developer, your "MVC" style.
Mappers, Services, etc.
 
it's incomplete-style
and no, they probably do not even understand the point
 
You are pedantic I think, and miss the "deadline".
They are probably like "just make it work".
 
12:21 AM
emm .. that code is "make it work" type of quality
 
That's what you think, someone would shove it in one file and few includes :)
 
the whole mess is written in ~7 days
 
Needs to be working by tomorrow?
 
needs to be in working order in 8 hours
 
You might add CREATE DATABASE ... to mysql.sql, but not important.
 
12:30 AM
pushed an update
.. of course i managed to forget to commit 2 previous steps that I had implemented
 
Commits are free :)
 
also, my workplace needs a place where you can nuke a cold pizza
 
You need a place for Microwave? :)
 
i need a microwave here
 
I had pizza today too. And I have no microwave, so, yeah, it's like eating a shoe.
git clone github.com/glome/cbc.git .
Cloning into '.'...
remote: Reusing existing pack: 1648, done.
 
12:34 AM
you will have to checkout "overhaul"
and run composer update --no-dev
DB config you will be able to find on your own, I guess
 
Yep :)
 
now ... question is which of the "missing parts" should I implement now
I quess, the vouchers should be next
and then the "filters"
and then the "popular items"
and then the "retailers"
 
first-timer says hello :)
 
looks like I have 4 major parts to implement in 8 hours
not good =/
 
Not good mate, what was the holdup? Lots of stuff, you need at least one day to test & fix even if you do it.
@DoJoChi Hello :)
 
12:39 AM
@webarto Hi :)
I read somewhere I have to "do pecl install pthreads" somewhere... Any idea how to do it on my webserver?
 
oh .. wait ... I almost forgot that I also need to implement the "cms"
 
@DoJoChi Not sure, but @JoeWatkins here is the author of pthreads, probably asleep.
@tereško O_o
 
long story
 
@webarto Whats the time where u guys are? I'm in china right now... It's 8:42 here..
 
@DoJoChi From everywhere, mostly USA and Europe, that's -4 .. 6 and +0 .. 2
 
12:43 AM
the short version is: clients said that they don't need a CMS, now (about 10 hours ago) one of them sent me a mail that they "have their own CMS" and I should just pull content from it
.. their "cms" is wordpress
 
@tereško Ah, the thing you've pasted, wow. It's Sunday, you didn't even have to reply.
> Fatal error: Class 'Memcached' not found
Ah, shoo.
 
@DoJoChi it's almost 3am here ...
 
> Client error response [status code] 403 [reason phrase] Forbidden
@tereško what gives?
 
where
hmm ... there shouldnt be any memcached dependencies left in the code
 
> Fatal error: Uncaught exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message ' in vendor\guzzle\guzzle\src\Guzzle\Http\Exception\BadResponseException.php on line 43
In launcher.php file, I just removed $cache.
But now I'm getting 403, maybe related to thing you discussed with Daniel.
 
12:52 AM
naah
you were just opening the landing page ?
 
yeah, index
 
do you have a full error message ?
 
@tereško here's a stack pastebin.com/QKfCV9nj
 
lol
I have no idea
 
haha, very good, working for you?
 
12:57 AM
yeah
maybe they have IP-locked the API access
 
yeah, probably, bad thing for demo tho :)
 
morning!
 
morngingngnd
I'm passing out :D
 
@webarto lol.. i'm on vacation for a week
 
Feel sorry for tereško too.
@reikyoushin YAY!!!
 
1:00 AM
@webarto transition from old-new work. YAY!
 
I have reached the "I don't want to think anymore" point
 
bye bye CI, yay x2!
 
And you don't even have to go anywhere, you're already on Philippines :P
New job? Great, congrats!
 
@webarto gah, you mean i'd have vacation on the beach or something like that? nah.. it's so hot here now
 
@reikyoushin what's the new place using ?
 
1:02 AM
@webarto thanks! I owe part of it from @tereško :)
 
What did he do? :D
 
@tereško drupal 7, but they'll be migrating to 8 (symfony2)
 
please stop blaming me for stuff i did not do
 
@tereško you taught me a lot, so i wanna thank you for that
 
you're welcome
 
1:04 AM
plus the PoEAA copy ;)
still have lots to learn though.. at least i have somewhere to use it now.. (i really hoped this one is way better)
and maybe drupal is not that great for some, at least not WP anymore.. :)
 
good morning. is there a comparison operator for references? ie. $a =& $b; if($a === $b)
 
@AndrewBrown What is $b holding?
 
an object. specifically the CodeIgniter super object
 
@AndrewBrown What are you trying to do ? =& is a bitwise operator and means $a = $a & $b;
 
@HamZa It's not, that's &= .
@AndrewBrown OK; why do you reference it for anyways? How do you mean, to compare it?
 
1:11 AM
@webarto /sleeptime
 
:)))
 
I use $this->CI =& get_instance(); to access the super object in things that aren't controllers or models. I'm running into a problem when that super object happens to end up in a $_SESSION, which doesn't work
 
here is a hint : only retards who use PHP4 still pass around objects by reference
 
Objects are passed by reference, you meant, they use & to pass it.
 
I'd like to check if the stored one is equal to the current get_instance() method, and if not, regenerate it
it's not a great solution I know
shoot, didn't realize how late it was, gotta run. just ping me if you've got any thoughts. appreciate the help
 
1:15 AM
> When using the identity operator (===), object variables are identical if and only if they refer to the same instance of the same class.
So, yeah, that's the RTFM question.
 
@AndrewBrown and how would you "regenerate" it ?
have you actually tried to read what get_instance() does ?
 
Yeah, pointless.
 
why is it that people who make "pretty select boxes" never actually make them based on real form elements
 
Because they're pretty and that's all it matters.
To them.
 
@tereško what do you mean?
real form elements as in?
 
1:24 AM
as in: fully functional form replacements
why the hell I always have problems when working together with other people =/
 
@tereško because other people
 
1:39 AM
because they are not artists :P
 
lol, neither am I
 
 
2 hours later…
3:15 AM
@tereško Because actual form elements are hard to style, sadly.
 
@LeviMorrison which is why there been a "form replacement" approach around at least since 2005th
build a fake form element in the dom, hide the original, and when you interact with the replacement, said replacement modifies the state of original form element
 
4:03 AM
@tereško "it's known"
but some people cannot conceive this, sadly.
it is a sad world we live in
:'(
 
4:17 AM
/me's listening to some russian nu-metal and trying to decide, how better to assemble "recommend product" list
... isn't it a bit strange - we usually see the things, that we can do with no effort, as "simple"
 
 
1 hour later…
5:32 AM
stackoverflow.com/questions/22903931/… Downvote, or etc as you please, but my question is , is 2-3 second latency normal for ZF 1.11? I even tested a blank page with "hello world" typed in there, same thing. Whereas a pure php script, only took 15 ms to load.
 
5:49 AM
Hi guys...
I need one suggestion from you...
can i ask....?
 
Hi @CJRamki. welcome. You might read the group description first.
 
@andho i already read that....
so only before posting my issue i asked...
 
then it's okay
 
can i ask now?
 
maybe you could read the description again :D obviously missing something
 
5:58 AM
oh god..... you guys strictly following rules...
:'(
 
:')
 
Good morning....
I'm poor in English... I could not understand room rules... can any one explain?
 
if you have a question just ask. No need to ask if you can ask.
 
ufff......
 
if someone knows how to help you and has the time, they will help you (Y)
 
6:06 AM
i want to create a simple Accounts application in php...
my requirements is daily entry of collection amount...
monthly once i want to take report of that month collection..
 
i have to implement a PADL licence for client side localhost with his MAC Address
i have an example https://github.com/rafaelgou/padl but how to use it in my script
can any one suggest me Thanks
 
hmm
 
Could you suggest any light wight mvc framework in php to do this...
or better go with core php?
 
go with core php to implement your Domain. Then you can develop the application layer with any framework (or core php) that you are happy with.
or if it's really really simple and you don't think you will ever enhance this, go with core php all the way
 
Thanks for your suggestion.... could you explain what is that application layer...
like view in mvc?
I'm beginner in php... and mvc frameworks...
@andho anyway.. thanks for your suggestion... I decided to go with core php...
 
6:22 AM
@CJRamki C and V could be the application layer
 
hmmm.... got it... thanks...... :-)
 
6:41 AM
Moornings
 
Hi GM
0
Q: Padding an array in php

user2901981Want to know if this is possible. I have an array say $colors = array( 'red', 'green' ) I want to create an array from above array as $colors = array( 'red', 'red (2)', 'red (3)', 'red (4)','red (5)' 'green', 'green (2)', 'green (3)', 'green (4)', 'green (5)' );

 
@user2901981 what do you think about the comments people left you?
 
6:58 AM
i have to implement a PADL licence for client side localhost with his MAC Address
i have an example github.com/rafaelgou/padl but how to use it in my script
can any one suggest me Thanks
 
@RonniSkansing Got the answer
 
Yea I see..
 
@Ronn
@Ronn :)
 
good moarning
 
7:14 AM
how did this get 4 upvotes... people are more generous with upvotes these days I guess.
 
good morning
 
* * * * *  root sleep 5 && /home/samitha/bash.sh >> /home/samitha/log/cron.log 2>&1
why does this root mean ?
 
@LeviMorrison nah
 
Mornign
@iroegbu I'm pretty sure he is related to kolink in some way
 
7:30 AM
=))
 
does anyone have been work on OAuth2.0 for codeigniter
 
nobody works on anything for codeigniter :p
 
:-)
 
i see
 
If it is a generic question about oauth I might know a thing or two
If it is about CI in specific.... sorry for you :)
 
7:37 AM
its all in OAuth but thanks anyway
 
don't say, my comment got to you. /:|
 
nah,i know nobody work on codeigniter nowadays but Its just that this is all I have.
 
7:57 AM
@iroegbu dat profile...
 
Morning
 
mornign @Jimbo and @Fabien
0
Q: Twitter API 1.1: Get JSON from Tweet ID (using OAuth) in PHP

user3285641I'm trying to build a bit of PHP that can take a tweet id (e.g. 452869668613922818). I've used J7mbo's wrapper, and followed the instructions listed here. Yet it does nothing - the page loads completely blank. At the very least, I want it just to echo the json back onto the page. Code (excep...

 
@PeeHaa Bet you anything he's a nob who doesn't know what cacert.pem is
 
Ah I see :)
 
8:12 AM
I had a dream last night that I was in majorca at phpuceu, and the speaker said that we're all fat developers, so I had to run a mile
and I came 7th, amongst a load of fatties!
 
@Jimbo =))
 
Good morning.
 
Woke up and I was like... "7th!?"
 
8:24 AM
I am sure if u raced with 6 ircmaxells you'll finish 7th.
:p
 
lol
 
The Developer Olympics
 
to measure something in ircmaxells is not comfortable. Because it's like to measure disk space in exabytes. If you'll do that, you'll have to deal with coefficients like 0.000000001
 
lol
 
Posted a question but it got closed.. Here is a paraphrase of it.. is 2-3 seconds latency normal for an empty zend framework page? My regular php website has a latency of 15 ms, while an empty page using ZF has 2-3.. is it purely the framework causing all this latency..? or is there something going on I should look into?
 
8:34 AM
^ something is wrong. I'm using ZF for production. and 0.1 sec is bad case and means that site load is high
 
mornigni @NiekBergman and @salathe
 
thanks alma
 
@iroegbu Race condition?
 
Morning
 
morning chaps
 
8:40 AM
@PeeHaa Feast for wannabe recruiters.
 
morning, @Leri @JoeWatkins
 
mooooooorning
 
So what's new?
I see PHP-CPP did the rounds.
 
mnogirn
 
@Fabien don't say anything bad about it ... there's no point, nobody wants to hear it ...
 
8:48 AM
lol
 
@Fabien Hold on is php moving on C++?
 
PHP-CPP.. I have only one question: if you want to use it, why don't just write your code in CPP?
 
@AlmaDo You can find cheap php devs while you can't find cheap C++ developers
 
@AlmaDo Isn't it meant to write cpp instead of c ?
 
8:54 AM
@Leri it's a trap (:
 
This looks interesting
 
well I don't see the point in it ...
you can already use C++ to write your extensions
they are replacing a mature zend api with an api that only just got to support multi dimensional arrays in v1 without seg faulting ... you cannot seriously rely on that ...
 
Hi all
 
why do people tag questions about php excel as [php-extension]?
 
lazyness maybe
do they autocomplete on the site ?
 
9:02 AM
Could anyone explain me a little about unset?
I've been trying to work with it but have been unsuccessful..
 
@JoeWatkins yeah ... but they also tag [phpexcel], so...
 
@DavidH What's the thing you don't get ?
 
Well i've been using a query in my first foreach, in my inner foreach I use the result of it as key and try to unset the first query with the key of the inner foreach
But I didn't get any error as well as no change to the output
It just stays the same
 
(tumbleweed)
 
9:06 AM
I don't really get why unset wouldn't work when using the outer foreach query with the key of the inner foreach
 
@DavidH foreach is complex ...
 
Hi all. Is it appropriate to title a question on Stack along the lines of "Show all transactions, not only past transactions using PHP / SQL" I have an issue that's super specific as opposed to the usual more generic questions I've asked.
 
@HamZa That is true but I only have 2 foreach's working now >.<
It's so hard trying to solve something that doesn't have an error :P
 
@HamZa Perhaps there's a different way to remove an object(The first mainly) from a loop result?
 
9:11 AM
well alright then.
 
@DavidH Could you just give a small example and your expectations?
@JeremyPaulBeasley hint: there is no question
 
I added the output there
 
@HamZa my mistake. I've edited it: stackoverflow.com/questions/22908076/…
 
Sorry for the query should've been "SELECT * FROM test" , it's correct in my code though.
 
@DavidH what is $result?
are you putting your string(query) in a foreach?
 
9:17 AM
And $sql_assoc ?
 
Ha ha ha ha........no
 
As written above $sql_assoc is a query and $result is the key of the first foreach
 
smh... that is so wrong
 
Yea I probably explained that incorrectly just now.
@iroegbu But...what exactly is so wrong?
 
I've been using doctrine for so long, I forgot everything about PDO :-(
 
9:24 AM
@DavidH you need to learn pdo and foreach
So, I type "foreach php" in google and php.net appears above w3schools :D
 
Doesn't it usually?
 
@iroegbu I am, i'm still a student but I need to accomplish what I am ASAP. I can't rush my learning years in an instant >.< I'd appreciate a small lesson though.
 
Best practices question: What's a good set of constraints to set on user passwords to make sure they're not too simple?
 
@SuhosinPony don;t ?
 
9:28 AM
@HamZa I want to protect users from themselves :/
 
Weren't the simplest passwords the best?
 
No
secret and god are not good passwords
 
I should be able to use "password" as my password :D
 
No you shouldn't :P
 
No I mean the fewest amount of special characters is better?
 
9:29 AM
@HamZa I'm dealing with financials, so there's a good reason not to allow easily guessable passwords
 
@SuhosinPony well what if my password was in arabic and you're using a nasty regex with [a-z] ?
 
It is mine... I can do what I want with my password and/or account
 
@HamZa Then my regex is wrong
@iroegbu That's great, but under the law you can probably sue me if I give $40,000 of your money to someone who got into your account if I didn't take adequate measures to prevent it from happening.
And it's quite likely that in the EU you could argue that letting you use a POS password is failure to take adequate measures.
 
morning
just truncated the wrong table, yay
 
morning!
 
9:31 AM
What I've seen so far on some policies:
- At least n characters (agree)
- At most m characters (disagree, why in the world should we limit it to say 16 ?)
- At least lowercase, uppercase, digit, symbol (I partially agree)
- Some of them don't allow a symbol (disagree)
 
@HamZa Not planning to limit the max or prevent symbols
I was thinking 8+, no English dictionary passwords, at least 1 number and 1 non number?
(by no english dictionary passwords I mean check for common 'leet' versions of dictionary words)
 
@SuhosinPony Please only use indicators and don't hard enforce it
 
you want to make a system that will force me to create a password I have to click "forgot my password" anytime I want to login?
 
s3cret isn't a good password either
@iroegbu I suggest using keepass if you can't remember a simple 8char password -_-
@PeeHaa Yeah, maybe I'll just enforce the minimum 8 character limit
and 'recommend' the rest
 
not for me personally, I use different passwords for everything
My boss for example has one password he uses everywhere... If his pass doesn't reach your spec, it's a problem for him
 
9:34 AM
@SuhosinPony I read somewhere that any password following a certain pattern is vulnerable. Say for example !w0rdp@Ss!
 
Guys, does late static binding work with __CLASS__?
static::__CLASS__
 
who cares
 
@HamZa Wouldn't surprise me
 
I am using Codeignitor and I want to write a code to in CI syntax for below query "SELECT DISTINCT make FROM equipment_nonconnected_master WHERE Equipment_NonConnected_Type_Master_ID IN (select Equipment_NonConnected_Type_Master_ID FROM equipment_nonconnected_type_master)" How can I do that
 
I need to know - thought someone else might before I whip up a code example
 
9:35 AM
@iroegbu Your boss shouldn't do that.
 
I have told him.
 
I just know this :
Example:
$this->db->distinct();
$this->db->select('make');
$this->db->order_by('make', 'asc');
$query = $this->db->get('carriermodels');

But how can I use another select in IN with CI syntax
 
@Jimbo yes - 3v4l.org/AU6qG
 
Oh and where I work, I need to change my password every month. I also can't set the new password with one of the 5 latest passwords I used ... I hate this
 
though wtf is static::__CLASS__ ?
 
9:38 AM
Any body
 
@Padyster i need somebody to love ?
 
I'll paypal someone 10 bucks right now to help me with this issue: stackoverflow.com/questions/22908076/… My SQL syntax understanding super limited and the ask is very straightforward. Talk to me boyz.
 
I was hoping to print out the child class via it
 
9:41 AM
@JeremyPaulBeasley odesk.com ...
 
@Danack Got it get_called_class()
:D
 
fair enough. thanks guys. I'm outta here.
 
* @throws \RuntimeException When the developer is a dick and doesn't document stuff properly
 
Thanks @HamZa
 
@Jimbo That appears to be the same as __CLASS__
 
9:45 AM
 
@Jimbo You mean static::class?
 
I bet that function is used for evil more often than good.
 
@NikiC Oh yeah! How come that works? And why does get_called_class() exist then?
Albeit, that's 5.5+ only
^ That's the reason
 
fuck, I want to sleep
 
10:03 AM
Help!!! Every second new will come to mysql database, soon after getting a new datapoint I need to run a command.
And this should run 27X7, how can I do this ?
 
Isn't that SQL related?
 
@Dav
with PHP
I need to accomplish
 
Hi is there any solr utility function there in php to convert search term into correct solr query
for example :- search term => "jaguar" speed -car
It needs to convert to ( title:"jaguar" AND speed NOT title:"car" )
 
write one @gowri
 
I thought it may already there
 
10:31 AM
@gowri There's some
 
Wordpress seriously is driving me insane
 
Including mine. But I am a noob. So writing your own may be a better solution.
 
@Fabien: I don't find any unfortunately!
 
Did you check packigist?
 

« first day (1269 days earlier)      last day (3669 days later) »