« first day (1993 days earlier)      last day (2955 days later) » 

3:01 PM
@Duikboot sounds like the pubkey from your local machine is not accepted by the server yet.
 
hi all
 
i have a simple question can i ask ?
 
HAs some good pointers.
@Nabi As the topic states: Don't ask to ask, just ask.
 
In my case here probably: confluence.atlassian.com/bbkb/…
 
3:02 PM
so now i can ask or not :)
my sql column is so : cat='1,66,8,11,27'
now i want search a number in cat column
very simple question
but too hard
 
@Duikboot Yeah, should work as well ;-)
 
@Oldskool Negative :(
ssh-add -l
The agent has no identities.
ssh-add ~/.ssh/identity
/Users/Duikb00t/.ssh/identity: No such file or directory
 
What command are you actually trying to run? Can you pastebin some command line commands/outputs?
 
@Oldskool can you help me ?
 
@Nabi post what you have tried so far.
 
3:07 PM
i tried this : "1" in(cat)
not work as well
 
Are you trying this in an application or .. in some MySQL UI?
 
where "1" in(cat)
cat = '1,66,8,11,27'
 
@Duikboot are you on OSX or something?
 
yes
 
ouch
yeah, that one has some fucker going on with SSH
 
3:09 PM
hehe, yeah I think Apple has it's own keyring stuff that interferes with it
 
I had it a week ago as well. And it was solved in a weird way.. But now it's again.
All the time: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
 
no suggestion ? :(
 
@Duikboot Again, please copy/paste some commands where you get these errors. Sounds like a push or pull going bad.
@Nabi You can't IN() on a string. It's supposed to be on a set of results.
(AFAIK)
 
@Duikboot What does git remote -v say?
 
3:13 PM
origin git@bitbucket.org:me/project-name-day.git (fetch)
origin git@bitbucket.org:me/project-name-day.git (push)
 
@Nabi not really, because none of us understands what you are talking about
 
@Duikboot Check if your key is added to project-name-day on BB.
should be in the repo settings somewhere, I think I linked to it the other day
 
My user name is in there.
 
In the repo settings, should be a tab called access managed or something like that.
*access management
 
My user name is in there. There is no option there to set a key, there is a tab deployment keys.
And In general there is a tab: SSH Keys.
 
3:15 PM
Deployment key should work as well as long as it's for push access.
 
I need it for both.
Push and Pull.
 
Then you should add your key to your BB account.
That should be the SSH keys tab.
 
It's there.
 
Make sure you have uploaded/pasted your pubkey there.
 
I do: cat ~/.ssh/id_rsa.pub | pbcopy
 
3:17 PM
Yeah, that should work.
 
i have been a .net developer for a while now, i just got a job that requires a lot of php coding what do i do guys, run away?
 
What the hell.
It was there in history key added 4 hours ago.
... I removed it added it again. And now it work. Let' now try to pull ;P
 
That's .... odd.
 
thats really weird
thanks for your time again @Oldskool
 
@Duikboot Sure, you're welcome.
 
3:22 PM
i have been a .net developer for a while now, i just got a job that requires a lot of php coding what do i do guys, run away?
 
@femi Eh, yes. Let someone with PHP experience take care of it. Stick to what you know or be prepared to fully dig into PHP, otherwise keep your hands off of it as it will be a mess.
 
The other part seems not to be working yet dmmit
I can login with SSH but not pull ><
 
@Duikboot ?
 
@Duikboot check git remote -v
 
See paste ;)
 
3:24 PM
Yeah, but that seems to be on your staging server?
Make sure you added it's key as well. It's not the same as your local key.
 
Exactly. I want now to fetch changes from bitbucket.
 
> shove a pinecone up your syrupy ass >:(
just flagged in js room ...
that's funny, right ?
 
@Oldskool thanks
 
Yeah I noticed it as well.
Kinda funny xD
If you don't take it too seriously.
Painful otherwise.
 
@FlorianMargaine @Oldskool The remote url's are the same , as the ones locally.
 
3:26 PM
(at least I think it would be painful ;-))
 
agree ... unless they are in the room with you, with a bucket of lube (or maybe syrup?) and a pine cone, it's funny ...
 
@Duikboot Yeah, but remember that your staging server has it's own key.
Make sure to add that as well.
So there should be 2 SSH keys in your BB account.
 
there are
The 'id_rsa.pub '
 
@Duikboot Try git pull -v
Should give more details.
Geez, they're really at it in the JS room.
 
Not more details.
 
3:28 PM
Maybe try adding that key again too?
Seemed to work for the local one (stange enough).
 
basically - install linux
 
LOLWUT? That can't be right.
 
!!eval foreach (array(0, 2, 2.0, 2.3) as $num) { var_dump($num); var_dump(is_int($num)); }
 
3:37 PM
[ 5.5.0 - 7.0.5, hhvm-3.8.1 - 3.12.0 ] int(0) bool(true) int(2) bool(true) float(2) bool(false) float(2.3) bool(false)
 
well, looks good to me
 
look closer ...
 
oh wait, forgot the cast
!!eval foreach (array(0, 2, 2.0, 2.3) as $num) { $num = (float)$num; var_dump($num); var_dump(is_int($num)); }
 
[ 5.5.0 - 7.0.5, hhvm-3.8.1 - 3.12.0 ] float(0) bool(false) float(2) bool(false) float(2) bool(false) float(2.3) bool(false)
 
you should expect !is_int if you have cast to float though, shouldn't you ?
 
3:39 PM
eeeh, yeah ... I'm not really awake today LOL
I guess he's confused by the typecasting.
He probably expected the result of that first eval.
 
but he explicitly done it ...
 
Yeah, guess he got an off day too ;-)
 
maybe he thinks he writes is_numeric...
 
@JoeWatkins type: PEBKAC, status: wont fix
 
@JoeWatkins lelwat O.o
 
3:48 PM
yea!!
done with the cloth washing
ordered myself a pizza
\o/
 
Now get those clothes filthy again
 
What kind of pizza?
Takeout, the official diet of the man whose partner has gone away for a few days.
Especially since @DaveRandom won't cook for me.
 
Wes
did someone mention pizza? #italian
 
Post Model*
 
1 message moved to bin
@0x00 Could you please use a pastebin service. Thanks
@Wes Probably dominos. So that's blasphemy right?
 
Wes
3:54 PM
ARGHSDFASDFASDFWRFIOSsdfs
 
inorite
 
Could you please stop abusing your powers. Thanks.
 
Wes
lol
 
kicked for extra effect
 
Wes
haha
i saw that coming
 
3:55 PM
:P
 
No abusing powers!
 
Wes
"Could you please use a pastebin service. Thanks" was totally polite though. i don't know why people get aggressive so easily
 
lol @salathe
> You've been kicked from PHP.
 
❤ @PeeHaa
 
<3
/me doesn't know how to do unicode
 
3:57 PM
 
:-P
 
lol
 
\o/ lol
 
❤ YOU @ircmaxell
 
ircmaxell has removed salathe from the list of this room's owners.
 
3:58 PM
 
:)
 
Anyone tries to talk for first gets kicked is that how it is.
 
I'll be back for more fun in a few weeks.
 
@0x00 Not anyone... room-11.github.io/#do_2
 
Sorry for being ignorant but you should guide me politely.
 
@0x00 nah, you really should be the one trying to adapt
 
Well I saw someone posted code here that's why I thought it's allowed. I never joined rooms before so it would nice to tell me that's not the right way to ask instead of "can you use pastebin please". And oh I never used pastebin before.
 
well, you have a golden opportunity to start :)
 
4:01 PM
7 mins ago, by PeeHaa
@0x00 Could you please use a pastebin service. Thanks
 
@0x00 WTF. Did you want me to wrap it in gift paper or something?
 
wow that troll is pretty effective
five of us have been drawn
 
@Saitama it was answered with
7 mins ago, by 0x00
Could you please stop abusing your powers. Thanks.
 
no rows displayed in mysql after adding index*
 
... next you will be asked to check your privilege
 
4:02 PM
haha
 
Whatever. Back to the crap that is called "agile" and "scrum"
 
lel
 
@undefined did you try turning it off an on again?
seriously, that description tells us absolutely nothing
 
@tereško yes
I fetch a table rows from mysql table when I added an Index to remove duplicate rows and I got no rows fetched even if the mysql table is not empty
 
adding of index does not remove duplicates
 
4:06 PM
Is someone supposed to kick @salathe now?
 
even adding UNIQUE constraint does not remove duplicates
 
@tereško I tested using indexes to remove duplicate rows and it works
 
I think I will just go back watching youtube videos about people who believe that Sun goes around the Earth: youtube.com/playlist?list=PLmWeueTF8l82THrHwihtcmhQdjcBQBXjT
4
 
Watch out you don't get more dumb just by watching them
 
@tereško sorry lol
@tereško what should I do to remove duplicate rows ?
 
4:09 PM
@PeeHaa try it yourself (I added the link)
the trick is to watch the debunkers instead of the originals
 
yo @salathe
 
I just created my first 2 pastes. Well I know pastebin for a while but never thought of using it.
I have a Post Model which has 2 relations pastebin.com/QyqFXdgQ So my question is what's the best way of inserting new post. I already got 1 way but I don't know if it's the best, here's it's pastebin.com/pdSt4DZc
 
oh ... laravel ... now I'm sad ...
I feel like I was tricked into reading that ...
 
lol why
I just started learning some frameworks and I find it the most useable one
do you have personal preference framework?
I'm a novice though
 
yes, personal home page tools ...it's wicked awesome, been around since mid 90's, super mature ... supports all your fcgi and what not ... check it out ...
 
4:17 PM
lmao
 
@0x00 if you are a novice, you should be learning about OOP, and various associated principles and practices
 
in all seriousness, we don't really use laravel, I doubt anyone is going to be able to help you in here ...
there's probably an irc channel for that ...
 
@tereško Well I already know that much. I'm novice with laravel but I do programming in different languages. Although OOP is little complicated but I know how it works and i'm getting used to it.
 
also, what @tereško said ... a framework is a bad way in ... it's arguably a good way to save time once you're in ...
if you can find one that doesn't totally suck ...
which you can't ...
 
4:20 PM
@0x00 so, can you explain in your own words what "Law of Demeter" is?
 
@tereško No idea what you're talking about :'(
 
.. hence my previous comment
 
honest, at least ...
 
Now I feel desperate :(
 
4:24 PM
@0x00 you should use the "contracts" instead of the static calls in your controller code
 
you can just go backward a few lines and read what was said again ... it's okay, it's not like you have to go back in time, just scroll up if on small screen ... it'll be fine ...
 
injecting via. constructor and assigning to private vars
 
@RonniSkansing Yeah i'm just learning the basics about Eloquent and relations. I don't know if that's an ideal way to insert the post.
 
@0x00 how about ->create( [ user_id => .. ?
you do not have a actual usecase for push there
 
It's not allowed to fill the user_id ot thread_id as it might get inserted manually by the user. So I just made the body fillable only.
Push is good for relations: stackoverflow.com/a/17035768/3785047
That's where I got the idea to use it ;)
 
4:39 PM
Yea I dont think you quite understand it
 
I will read about it more
I just want to dig deeper into relations as it's the best part I like about laravel.
Because I hate sql joins X'D
thanks for trying to help though bro.
I gtg out to get something to eat
 
@tereško I really love the music when FernieBoy100 talks. It really... adds up to the seriousness of his words.
 
@tereško why index and unique constraints wont remove duplicate rows from mysql table sorry to bother you
 
Is this a good place to ask about Powershell
 
@undefined because they only affect the act of inserting or updating the data
 
4:52 PM
@tereško so what should I do to remove duplicate rows ??
 
@undefined create a table with an identical structure, add UNIQUE constraint and make a loop, which pulls from one table and saves them in the other using INSERT IGNORE ... syntax
 
alright thank a lot
 
5:08 PM
What happened with all the kicks? :/
 
hello everyone i just earned the chat talk
 
congrats
 
@MadaraUchiha I kicked somebody because there was no need for arguing and @salathe kicked me because he's @salathe
@theCoder o/
 
Guide For Tomorrow: 9gag.com/gag/aBY4w9z?ref=fbp
 
mrgrn
 
ormin @Ekin
 
ormin seems to be a drug in Bangladesh... but nevermind me, it's still before coffee o'clock
 
5:47 PM
Hey guys
 
hey!
 
sometimes it feels like Joe is just collecting unique flags for his NSA/GCHQ profile
 
Lol. I need your help Saitama :D
 
@tereško lol
 
:D
 
5:49 PM
@user3284463 is it regarding this - stackoverflow.com/questions/36339892/… ??
 
@saitama Yea.. :/
 
@user3284463 Great news, your question already has an answer here: stackoverflow.com/questions/4261133/…
 
Well, you already have an answer here: stackoverflow.com/questions/4261133/… ;)
 
http://www.zdnet.com/article/nsa-targets-linux-journal-as-extremist-forum-repor‌​t/ ... probably most of us are on some list somewhere, marked as "potential extremists"
 
Lol. @Ghedipunk I read that. But I think my question is a little unique
 
5:51 PM
@user3284463 unique, how?
 
@user3284463, I do have to ask, though... What do you expect to accomplish with this line?
> catch(exception $e){$e->getMessage();}
 
for using linux, usbs, or compact discs @tereško ..
that is so dumb
 
@Saitama $work_array is assigned to a array but I still get a notice. When I remove the try blocks I no more get a notice
 
I am going to run a php script that imports alot of stuff into the database and fetch/upload images. While running a "test" round with maybe 10% of the total import, I feel that PHP is putting all its resources on this and makes my system unavailable/no-response-state for everyone else trying to access. How can i overcome this? Running AWS on a mx4 large, but I think it has something to do with the PHP configuration?
 
@user3284463 3v4l.org/gnnP6
 
5:56 PM
@Karem your sure its not only your own session? Do you know it happens for everyone else?
 
@tereško Oh I forgot to mention. I get the error when I call the class
@tereško $workspace= workspace::find_by_id(1);
echo $workspace->assigned_to;
 
@RonniSkansing Yes, I tried different browser first (still no response) then I went on another device with another network connection, the same
 
hi team
 
that means nothing .. only shows that you have no idea what OOP is
 
@user3284463 Do you sometimes get an exception when you don't have your try/catch block?
 
5:58 PM
when i send a email from PHP, and i am changing the "from" name constantly . will the mails be going to the spam?
 
@tereško :(. The only reason I bothered to as was I wanted to know why. Is it or bug or what. Thats all
 
anybody?
 
sometimes I feel like we need a psychic adviser here
4
 
And when the script was done, everything started working again.
 
@Ekin true dat
 
5:59 PM
@user3284463 I already gave you example which explains the behaviour, that you see
 
@sharath It depends on many dozens of settings, both within your control and out of your control... so the answer is... nobody can know with the information you gave us.
 
@Ekin my blood bowl is in maintenance ATM
 
@Ghedipunk so it can depend on the mail client as well as our tempalte?
*template
 
Yep, and on the client's email server, and on any relays...
 
heh keep it cool until full service @tereško :p
 
6:03 PM
It's probably more useful to just try it and see what happens. If you're sending email in bulk, never ever expect every recipient to actually receive it. Email is only a best-effort system that's under a lot of pressure from people who exploit its open nature.
 
@tereško Can you recommend a good online PHP editor?
 
@user3284463 why do you want to use an online editor?
 
@Saitama Thanks. Lol just mentioning your name makes my day ;D
 
@user3284463 3v4l.org/IOA5E is the basic version of what your code is doing. Read it. Understand why $foo is unset. Then turn back to your own code and realize that you have to do something with $e other than get the message and do absolutely nothing with it... Do you want to display the error? Do you want to exit out of your function without returning anything?
 
6:10 PM
@Ghedipunk my SQL is perfect. I get a array back...
 
@Ghedipunk I think my example was lot clearer
 
Your SQL is perfect? What if I called your function with find_by_id('foo')? (Please try it and come back to us with an answer...)
What if your DB connection is down?
What if some other part of your code overwrote your global $db variable accidentally?
@tereško And yes, your example does show where the actual problem is more cleanly. I was trying to get the actual "undefined variable" error to show up.
 
@FélixGagnon-Grenier hey. are you here?
 
I have seen this one lol 5v5 game where Saitama hits the enemy nexus with one punch (vi) and we won
btw, that playlist it really amazing @tereško
 
6:27 PM
@Ekin I agree. It's equal parts scorn, education and giggles
 
indeed
 
I have found my soulmate .. shame it's a guy
 
:D
Once in Buenos Aires, I met with a couple from the suburbs and we had this asado (bbq) at night. At a point someone said "hey, look at the sky" and people mentioned how far away the stars are and that sun is a star etc.
This one guy was so astonished to learn that
He had no idea, like really...
It was an enlightening moment for him, that somehow I never forget
 
@Slashy in the middle of some kind of nap tbh
 
6:56 PM
WooHoo has anyone seen that new game in SO??
 

« first day (1993 days earlier)      last day (2955 days later) »