« first day (1853 days earlier)      last day (3092 days later) » 

6:02 PM
Whoohaa, Hi all!
 
Hey veee
 
:D
 
Damn this room is slow when I am begging for help again :(
 
@PeeHaa And what do you need? (I'm just interested)
@PeeHaa This ?
 
@PeeHaa yes, because there are different versions (5, 6, 7, 8), and different sub-versions as well
 
6:14 PM
@ircmaxell How to get a 7 arm build? Or am I going to have to get from github?
 
@PeeHaa use gcc
 
how is this off topic:
-4
Q: What is "PHP Ninja"?

3.14159265358...I've seen on some job descriptions the words "PHP Ninja", and was wondering what a "PHP Ninja" is. Is it a framework, a highly skilled PHP developer, or something else?

what community was it supposed to be asked in?
 
@ircmaxell kk
@3.14159265358... The comments are not clear?
 
it relates to job hunting, and terms
 
It's off-topic for StackOverflow, but could be asked on lyingtermsthatrecruitmentidiotsusetomakedevelopersbeingofferedminimalsalariesfe‌​elbetter.stackexchange.com
7
 
6:18 PM
So? Wearing pants for once also relates to job hunting.
 
@MarkBaker I couldn't find that site
 
In my database in phpMyAdmin when I sql this: SELECT * FROM project_comments` WHERE projectID='5'` I get three results which is what I should get.
On my website when I do $sql = "SELECT * FROM project_comments WHERE projectID = '$id' I only get the last result of the three results that have a projectID that equals 5...
 
Why is it doing this to me?...
 
It's telling you to use prepared statements
 
6:29 PM
??
 
The way I am doing it has worked fine before on other projects...
 
Let me xss and destroy your projects :D
 
I've never done it with pdo...
but that doesn't explain why its not working how I have it...
 
Or mysqli?
 
6:41 PM
I'm slowly updating my code
 
If @tereško were here, he would tell you: "It's sounds like a typical case of Dunning–Kruger effect"
And he's right ;)
 
Whats that?
 
@benlevywebdesign It doesn't explain it, but you should be using it either way
 
@VeeeneX I see you have been talking to tiny avatar people again
 
If my English were better, I would understand that :D
 
6:48 PM
Switching between osx and windows is so annoying with copy/paste :(
 
That's same on Ubuntu and Windows. I hate menu entry 'Open Terminal' IYKWIM
 
What's that?
Does ubuntu also switch keys?
 
Not a keys but menu entries for Terminal. Windows has 1 entry to paste and ubuntu has Open Terminal. So I always end up with bunch of terminals open :D
 
:P
 
Ok I'm updating my code to mysqli
 
Abe
7:10 PM
\o
 
@Danack What the fuck.
 
Abe
looooool
 
Anonymous
Am I the only one getting 522? scrutinizer-ci.com
 
is it smelly if my templates end up in different files like

section/subsection
section/subsection_left
section/subsection_left_top
 
@samayo no :(, but after a while it works
 
Anonymous
7:18 PM
yeah, same here
 
@Danack Uhm… 8/10… I don't get the point of that quiz, wtf…
 
@benlevywebdesign - when you execute the query in PHP, how are you getting the results that are returned? In a loop?
 
@MarkBaker in an echo loop, yes.
 
Where's your code?
 
hold on..
 
7:27 PM
@FélixGagnon-Grenier - smelly because you're assigning specific positions to the different templates in their name.... name them by functionality rather than by posuition
Then if you every want to move the left top to right top, and won't be confusing
 
yeah makes sense, thanks @Mark
 
also, if you are really good at html/css, you can reuse same template for different parts of the site
 
only having some very generic templates used for layout at that^^
 
Anonymous
meh
 
7:34 PM
@MarkBaker that is just the section of code. In the rest of the code I connect to the db etc.
 
well, my code compiles, doesn't segfault, and doesn't work :(
 
#JobWellDone
#ShipIt
 
Abe
#AndGoToPub
 
The loop where you're doing while( $row = mysql_fetch_array($results) )
You're transferring row data to variables like $id, then looping to fetch the next row
 
7:37 PM
And assigning the value to $id again.... overwriting what's already stored in $id
 
> Prerequisite knowledge and software for compiling:
* Basic Unix skills (being able to operate "make" and a C compiler)
This is going to suck
 
So you're looping and overwriting the previous
 
Anyone ever implemented aws swf?
 
And your display is outside of the loop, so it will only display once.... and will be the last record that you looped over..... put your display inside of the loop
 
7:38 PM
@DaveyShafik I am not the right person to help debug the actual code....but have you tried running it through strace to see if it's even trying to make the network connection?
 
@MarkBaker I feel so stupid now...
 
And please consider switching to MySQLi or PDO.... The old MySQL extension won't exist in the latest version of PHP in a couple of weeks time
@benlevywebdesign - feeling stupid is nature's way of teaching us not to make the same mistakes again.... we've all felt stupid at one time or another
Plus MySQLi or PDO lets you use prepared statements with bind variables, the better to protect against nasty peoples doing SQL injections
 
@bwoebi and crew, phpdbg.com looks to be expired?
 
Amazon WebServices ShockWave Flash?
 
user image
3
 
Anonymous
7:43 PM
@tereško is there an explanation for that?
 
"programming languages": imgur.com/eymdRJx
 
@MarkBaker AWS Simple Work Flow
 
Anonymous
So, C++ wins? No idea what the message is.
 
c++ destroys you nonetheless
(look the shoulder rest)
 
Anonymous
7:45 PM
It seemed like a double-edged sword. Which is usually a good thing
 
@samayo - Don't try pulling C++ hard into your shoulder to handle the recoil though
 
c does seem to be relatively safe.
 
Anonymous
There was some interesting link about programming languages and religion ...
 
@ircmaxell Beats the Jimmy Fallon version
 
Abe
@Machavity rofl @ this youtube.com/watch?v=PPftVQwyPs0 :D
 
8:00 PM
can someone help me infer followinf rewrite rules - # BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /coupons/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /coupons/index.php [L]
</IfModule>
 
Is this the reason libxml shows up twice in ./configure --help and shouldn't that be prevented?
 
8:18 PM
@PeeHaa they are separate extensions that can be compiled separately
 
So it is just to add libxml to the group of specific extension? So it is clear it is a dependency?
 
8:50 PM
@ircmaxell might be… I'm not using it…
 
Ooh, password_hash deprecated the salt parameter? I missed that!
Good work @ircmaxell on cleaning up your own mistakes :)
 
@bwoebi Did you review the temporary liveness patch yet?
 
mhm
 
Now I just need memcache to catch up so I can install 7 on my dev box
 
9:13 PM
mornings
 
morning again ronni
 
=)
The vacation is really over.. sleep and then the plane back tommorow
 
Welcome back to real life. It still sucks
 
heh
You told me that you have been busy lately. Work related?
 
@RonniSkansing Both work and personal stuff
 
9:16 PM
jeez
 
This doesn't look right does it?
0
A: PHP scripts executing extra times from a single HTTP request

Hasse BjörkI am not an expert, but I would say YES! A connection retry can trigger multiple apache instances and PHP calls, if the reply does not reach the client. A way around this is to give every call a unique ID, a time stamp, a hash or similar to identify multiple retries.

@RonniSkansing I have been installing servers the last couple of days and now I am installing a pi. I hate sysadmin stuff
 
user895378
@PeeHaa there's no way that's correct
 
agh.. well I am no good at sys admin stuff.. best help I can give you is to spin up a box and thats not much help =)
 
Thought that looked stupid
hehehe
 
/me gives a shoulder clap ... "you are alright... it's gonna be okay.."
(=
 
9:20 PM
;-)
I will just be happy when I can do fun stuff again (programming)
 
Abe
@PeeHaa when chrome gets a response != 200, it keeps reloading the page till it works
 
yep, but that is not apache or some protocol magic
 
Abe
yes
 
Chrome is such shit
Damn. Cannot test. All my local installs are borked
 
/me sad when the girl at work always complaining how men dominate women in the workplace yells at everybody, speak twice more, interrupts everyone, whines everybody is taking everything personal except her, won't accept any viewpoint...
 
9:24 PM
@Abe Wanna earn some cash by sysadminning? :)
 
Abe
can't tell if you are serious or not
 
@FélixGagnon-Grenier s/girl/PM?
 
Abe
so you were serious? :D
it's like giving the remote control of an atomic bomb to a parkison person
 
9:28 PM
sounds exciting
 
Dayum it's almost friday!
 
Abe
why isn't this damn exception getting thrown..
 
@RonniSkansing also this happened:
5 hours ago, by PeeHaa
/me "lost" his password from his keystore and gets laughed at in the android room
s/from/of btw
 
@NikiC I looked at it, but haven't checked for opcodes where it might cause issues yet nor given it a review in detail. I'll do tomorrow, when I'll get some time to concentrate on it.
 
=/
one of those weeks I guess?
 
Abe
9:30 PM
@PeeHaa haha
 
@RonniSkansing Yeah must be
@Abe Thanks for the support :P
 
Abe
:P
 
Is the flex framework vaporware btw @Abe?
 
Right now I'm having classes name collisions and am wondering if I should really have things like

Controllers\Section\Subsection\Entity
Views\Section\Subsection\Entity
Services\Section\Subsection\Entity

I'm using the full namespace to avoid collisions, but it seemed weird
 
Alias it
 
Abe
9:34 PM
@PeeHaa my flexbox framework you mean?
or flex as in adobe flex
 
@Abe confirmative
@FélixGagnon-Grenier use Controllers\Section\Subsection\Entity as EntityController
 
something like EntityView and EntityController? gotta get used to it
 
Abe
it's not i will finish it
 
^^
thanks @PeeHaa
 
@Abe sure sure ;)
np felix
 
Abe
9:36 PM
@PeeHaa you'll see
[...] WHY ISNT THIS DAMN EXCEPTION THROWING [...] in italian
 
so... with gestures?
 
and a glass of wine
 
Abe
@PeeHaa and profanities
 
TIL that compiling php on a pi takes kinda looooooong
 
Abe
okay i'm an idiot
instastar. was expecting it
 
9:42 PM
Let me do it proper
 
Abe
AHHHAHA
thanks
 
anytime
 
Abe
i'm not opposing because i deserve that
 
God I remember when I did stupid shit like that stackoverflow.com/questions/33681745/…
 
Abe
lol
 
9:43 PM
echo 'foo';
echo 'bar';
echo 'baz';
echo 'gazlion more lines like that';
 
Poor Qux never gets mentioned
 
Good edit
Was about to start shouting at you because you were "one of those people"
As my grandmother always used to say qux or GTFO and take you stnkin quux with you
 
ooh :) I would have a apoligized and assimilated at once!
 
:P
 
Abe
@PeeHaa convince me that i should be using {} for if/else/loops one liners
foreach($x as $y) $y();
 
9:56 PM
it's ugly =)
 
@Abe One line, one operation......
 
Abe
but why care? version control?
it's not a valid enough reason for me :B
i hate scrolling walls of empty rows..
 
cognitive overhead
we consume information easier in a vertical fashion
long lines make our brain tired scrolling from side to side
 
also same reason I always add trailing ,s to my array content
 
@RonniSkansing Or worse, and what actually happens who put too much on one line, is that you assume what it says, without actually reading it.
 
10:00 PM
yea that is a good point
 
Abe
what about
foreach($x as $y)
    $y();
 
Worse
 
Abe
two lines, without parens
 
Fucking horrible
1) whenever I see that I will think WTF is going on here
2) too easy to add lines and fucking it up
 
@Abe try it out.. I did.. first I thought it was cool... later on I changed it
If you find that it suits your perfectly.. thats all dandy =) unless it's OSS
 
Abe
10:04 PM
that's a better reasoning. will do that to facilitate @PeeHaa to read my code :D
 
hehe
 
Abe
i imagine you also don't like this
 
@Abe actually here is some old ugly code I wrote with that style
 
Abe
}else{
 
I just made a tea so perfect in taste and temperature I came here just to tell you guys.
 
Abe
10:05 PM
without spaces
seems like everyone but me likes writing more than it is actually required
 
@Fabor #LifeInBritain
 
@Fabor o/
 
I almost tweeted about it.
 
@Fabor Let me guess. You also made it even worse with sugar and milk :)
 
Honey and milk actually.
 
10:07 PM
lol
 
@Fabor take a picture plz
 
Abe
i've bought a fantastic black tea. it's "scottish breakfast". most delicious tea i have ever had
 
@ircmaxell "he survived three plane crashes" wtf
not sure if lucky or very much not lucky
 
10:10 PM
lol that's not even tea anymore. That's what you get from being on the island for so long
 
@PeeHaa I chalk that up as lucky
 
Damn I always get sucked up in his site
 
So anyone playing Fallout 4?
 
@Fabor =) nice
 
Abe
@ircmaxell imagine our lives without star trek
 
10:14 PM
I started watching Star Trek a while back, enjoyed it but only got a few episodes in and seemly forgot it existed. I'm sure if I was in Uni i'd binge watch it.
 
Abe
watch tng @Fabor
 
tng?
 
Abe
the next generation. the star trek with patrick stewart
 
Is it fine to skip so many episodes?
 
10:16 PM
in GMTs, 1 min ago, by Richard Scriven
user image
 
Abe
yes, it's a totally different series @Fabor
 
Seriously @Abe jason bourne cannot be unseen
 
twitter.com/realDonaldJS … uhm… no realDonaldPHP? :-(
 
Abe
ahaha ikr @PeeHaa
 
=) me with some birds imgur.com/YuGTudt
 
hehe, thanks for the share made me giggle
 
me too =)
 
@bwoebi do we have a webinterface for phpdbg yet? (Don't think so, but checking nonetheless)
 
nope
@PeeHaa would be a nice project to use Aerys for, though ;-)
 
:-D
 
10:40 PM
(means: go ahead and bring more awesomeness to the world!)
 
hehehehe I know what you meant, but I tried to avoid the next thing :P
 
@PeeHaa to go ahead? :-(
 
At some point I wanted to go for it, because I didn't have that many projects to abandon work on, but now I have. I am probably going to want it either way though so who knows
 
@PeeHaa well uhm… it's easy… just abandon the work on all projects but the most awesome one?!
:-P
 
^ yes!
heh
 
10:44 PM
:)
 
Anonymous
Everyone using mysql workbench should remove it and instead use SQLyog
 
Anonymous
After some torture, I was saved today. Very easy, fast and no glitches.
 
But but but it costs moneyz
 
Anonymous
\o/ SQLyog for 2016
 
Anonymous
@PeeHaa I just have a 10 minute conversation with the sales agent if she could give me a discount, and it seems like they are very nice people. I got 50% off.
 
10:50 PM
I work in the marketing business. everybody gets 50% off every day ;-)
 
Anonymous
:D
 
Anonymous
As soon as I tried the trial version, I didn't even try to find the "Free" version. I just wanted to buy it.
 
You get 50%, you get 50%, EVERYONE gets 50%!!!11111
 
Anonymous
lol. oprah
 
Well thanks for the tip samayo
it's always nice to get personal recommendations on software
 
10:52 PM
@samayo Might give it a a try
Considering the fact my fresh install of workbench resulted in an application without icons and no obvious way to fix
 
yea my last use of workbench ended with it pushing everything to the bottom to the app, being unable to retrieve my schema
did some googling and it was a bug that was just "too bad"
never gonna use workbench again =/
did some googling and it was a bug that was just "too bad"
 
Anonymous
Workbench would exit the ssh session everytime I watch a video, and open a second browser or sometime without any reason at all .. It was a nightmare.
 
Anonymous
Plus, it was painfully slow.
 
Anonymous
Actually, my laptop should take the credit for that ^
 
I also had 50/50 success rate of tunneling over ssh
Mostly with newer versions
 
10:56 PM
this is not really my music style, but this track really chills me out today youtube.com/watch?v=L80Fvg4-Xh8
(gets a little bit more upbit like 1.30 min in)
 
I like the next one that autostarts (because youtube is an ad impressions whore) better youtube.com/watch?v=xi5_iYbZjEc
 

« first day (1853 days earlier)      last day (3092 days later) »