« first day (2313 days earlier)      last day (2618 days later) » 

8:14 PM
mornn
 
user895378
11 hours ago, by JayIsTooCommon
Happy Valentine's day @rdlowrey <3
 
user895378
^ lulz
 
I don't get it
I might have to print something out to green bar paper. ohgodwhy
 
OpenGrok indexing hhvm has now been running for 9 hours -_-
sorry I can't count
 
8:34 PM
is there any way to clear all the sessions from the client
do i clear my chrome cache or something
 
delete the PHPSESSID cookie
 
can i just delete all cookies from chrome and that will work?
i didnt know they stored as cookies
 
you can delete all cookies, but you might delete something you don't want to be deleted
 
yeh good point
 
@RachelDockter the session is identified by a unique key and that key is stored in user's cookies.
it works kinda the same way as your bank account number
 
8:36 PM
ah thats what comes up when i do document.cookie
in my console
 
you so not store your money in the "bank account number", but you use it to retrieve money from the bank
@RachelDockter you are trying to make a "logout" button, right?
 
no i just wanted to test it like a brand new user
 
oh
if on firefox: ctrl+shift+p
 
i got a logout button it was easy to make, i just finished making a thing where u can filter table data and display it in a graph, it looks really good
 
it will open the porn private browsing mode
 
8:39 PM
oh incognito lol
yeh i just opened my site and already got 3 errors lol
 
well ... it still worked
 
yeh
theres a due date for the 17th to get feedback before the final hand in date
i swear i should credit @tereško on the bottom u helped me alot
 
you mean it's due in 3 days?
you said that you have 3 months time !!
or was it "had"?
 
for feedback yeh, the final due date is in a few months
 
oh, so it's like a "progress report"
 
8:43 PM
due on the 17th for feedback
 
yeh, it should be helpful to improve my website
 
I have a "nerf war" tonight, that'll be exciting
who needs valentine's day
 
@Tiffany do u ever get hit on by guys on here lol just wondering
 
Not really? But I have a boyfriend. I'm also moderately crazy.
 
i had an indian guy invite me to a room with just us and he was tryna add me on fb it was so weird
 
8:45 PM
you should mention, when submitting it for feedback, that you have been advised to later investigate "templating", "object oriented programming", "dependency injection" and "version control (git)"
 
@RachelDockter @Tiffany If that ever happens to either of you, report it to one of the regulars.
 
^ that
 
@RachelDockter that sounds creepy
 
@tereško ok ill do that
yeh it was lol
 
@RachelDockter wtf o_O. I generally avoid making it obvious that I'm female. I mean on here, I use my first name, but I don't use an avatar of my face if I can help it. I know this is more of a professional environment, so it shouldn't be too bad, but I still try to knock it down upfront, if I can.
 
8:47 PM
those subject will be .. emm .. taught you in next few weeks
 
<-- Anyone whose username is in italics can temporarily kick people from the room, for repeat offenders you should flag the user for mod attention
Mods are people whose usernames appear in blue
 
like @MadaraUchiha
 
as for invites - I tend to simply avoid all invites from unknown users
 
i never knew ppl could kick in here
 
In this room you're pretty safe because we are all too busy fighting over @rdlowrey and @JayIsTooCommon
 
8:48 PM
lol
 
.. then again, some people tend to think that I'm a girl, which is funny
 
@RachelDockter it's a "room owner" privilege
 
@tereško I think I might have at first, but realized pretty fast that you weren't. :P
 
oh u own this room, i thought so just made a room for like each area of coding
 
Phew Got my (half-done) presentation up and running
 
8:49 PM
^ mod
 
Partial feedback for the partial presentation is welcome: static.madara.ninja/typescript-presentation (TypeScript)
 
be careful of people with blue nicknames - the eat souls
 
@RachelDockter I assume that SE made a few when they very first created the chat
This room has a very low ID so it was created very early on
 
room 11 represent?
 
so did u make this room in like 2005 or something
before anyone else did
 
8:50 PM
That's true of most of the popular language rooms
 
@RachelDockter nope, I think it was Gordon or Ircmaxell
 
@tereško Can confirm. @tereško is without a soul thanks to me.
Ah wait, no, that was CodeIgniter.
 
^ that
 
@MadaraUchiha I'm on the episode where the Gedo statue attacks and Naruto broke out of the barriers
shit's getting real
 
@Tiffany 😀
 
8:51 PM
Oct 15 '10 at 7:49, by pestaa
I hope we'll be able to exchange a couple of PHP-specific ideas here. :)
that's the first ever message in this room, and the 385th in the entire history of chat
 
@MadaraUchiha "I've been working with TypeScript for a relatively short while, but being so intuitive and so helpful, I picked up on it quickly." it's ambiguous what's intuitive and helpful - you or typescript
 
@PaulCrovella Why not both?
Thanks, will correct.
 
@MadaraUchiha dammit, I thought you posted a half message and was going to edit it. I just realized it was an emoticon that isn't loading because win7
 
@Tiffany Win7 sucks. Here's a working emoji: 😋
 
8:53 PM
is that a 😀 or a :S
😀 doesn't work, god dammit
 
so .. should I play Divinity: Original Sin or continue trying to migrate a legacy project to AngularJS
 
are you brain fried?
and are you feeling motivated to work on programming shit?
 
@Tiffany That's the :D emoji
 
I turned off emojis in the plugin, finally found the option
now I can see them all
 
@Tiffany I was doing some codereview for @Shafizadeh .. sooooo ... "partially" would be the honest answer
 
8:55 PM
@Tiffany Google "Code2000"
 
@DaveRandom not sure that I can use it because enterprise systems
maybe though
 
It's just a font...
 
I'm very limited to what I can do to my work machine
like I have to report any program installs to our software person
 
everyone at work has linux here
 
mainly for licensing stuff, and I see that the font is free, but still. If something happens to break, and I'm not using proprietary stuff for whatever, it could be my head. Organization's computer, not mine
 
8:59 PM
I had to report to "software person" that I will be formatting everything and installing ArchLinux instead of Ubuntu 14
 
buuuut I'll see if it's possible
 
@Tiffany no worries. You should be able to find a ttf or a woff or whatever windows understands that is will let you install via control panel - in other words you should be able to find a thing that's just a database a glyphs that doesn't involved running any 3rd party executable
I have it somewhere archived but I can't find it right now
 
didn't windows have some security problem with its font system some time back?
 
s/font system/everything/
 
@tereško I need to sit my ass one day and learn how to properly install arch linux
Although I'm kinda afraid of the nvidia drivers
 
9:04 PM
found this, but I don't think that was even the one I was thinking of
 
lol
@ScottArciszewski lol never noticed how fubar OpenCart security was
this is completly rofl
why is he so agressive
@kelunik
 
that guy is a known dick iirc
 
I didnt know
LOL
this is hillarious reading
 
has he recently gone off the rails again?
 
no dont think so
Just seached security under issues and read all these crazy responses on valid concerns
but lol
 
9:13 PM
> there is no issue, its in your mind!
 
@DaveRandom who?
 
the OpenCart maintainer
I forget what his name is an cba googling
wut
 
ugh it's a thing you have to fucking print out and scan
 
@DaveRandom That's becoming more and more common now… blame our litigious society.
 
9:23 PM
lol
that's the point where you close the pr
 
I will do it, but only because I am waiting for food and I happen to be sitting right next to a printer and a scanner and I don't have to get up to do it
 
@PaulCrovella read that, all I can say is: wow.
 
Has anyone tried cloud9 IDE?
 
Been a long time since I last visited here
 
person with troll-y name
 
9:31 PM
> The OCA gives Oracle and the contributor joint copyright interests in thre code.
thre code
 
Oh well, a name is a name
 
thre code
 
I'm having trouble with cloud9
 
Oracle can have my one line of code
 
@NikiC at least the code is -safe- free then :P
 
9:32 PM
I get git history that works properly, which is what I want
 
I'm just surprised that the 15 people from the legal department who worked on that page didn't notice a typo in the first sentence
 
ugh.. i struggle so bad with MD
 
I'm having trouble understanding what PHPStorm wants to tell me when it displays a blue strip next to the line numbers
 
@NikiC maybe they meant three code
 
true
 
9:33 PM
@Danack I replied on-list to your object-variance response.
 
I'm working on a mainframe where there's no version control. My only choice is to have a running version list with different names. This is balls.
 
@Tiffany You know anything about phpstorm highlights?
 
@sweg_yolo_69 syntax highlighting?
 
@Tiffany Not necessarily..., just left of the line numbers, some of them have a blue strip
Like so:
 
@sweg_yolo_69 send a screen shot
 
9:36 PM
I think that's what he's about to do
 
let me open phpstorm. haven't worked on any php all week soooooo
 
One thing could be that I just recently made my first Git commit
Although I have had it added for 4 months
 
oooh, yeah, I think it makes the lines blue if it's a different branch than the master
think
 
Because when I click on them, I get shown a previous version of the code
 
9:37 PM
yeah atom does that too
 
Blue bits are changed lines, green bits are new lines
 
I really need to learn how to properly use Git
 
I forget what the sort of brown-ish ones are
 
removed?
 
Well a remove block appears as a small grey arrow
Oh the brown ones are whitespace-only changes I think
 
9:41 PM
@DaveRandom you seem to be correct about the brown ones
The only thing I use Git for is the Local history feature, which is quite useful
I made a commit about a couple of days ago, now I get these weird things
 
I'm sure you can turn them off somehow, php storm has setting for everything
I wouldn't though, they are very useful in themselves (imo)
 
@sweg_yolo_69 You really do.
Jan 9 at 22:45, by Madara Uchiha
@Tiffany Best time to learn is 5 years ago, next best time is now.
 
@MadaraUchiha Very true, though I keep delaying it...
As it so happens, I finally learnt a bit about rexeg yesterday
 
@sweg_yolo_69 regex?
 
I'd known about it for a year, though never really learned it
 
9:45 PM
I'd start now. It took me several years to learn what I know about git, which is about 3% of what there is to know about git
 
@MadaraUchiha
Yep
 
There, go now
 
protip: learn git command line first
 
@MadaraUchiha That's the second tutorial I've been liked, with a previous one from codecademy by @Tiffany
 
9:46 PM
GUI tools are useful for when you are in a hurry, as long as you understand what they are doing underneath
@PaulCrovella we are not friends, that document and I
 
I guess I'd better take this into my own hands then
 
@DaveRandom why's that?
 
An alarm has been set on Friday at 6pm
Titled "Git"
 
shit now I had to download opencart
 
@PaulCrovella Each page is like an entire "book" of the PHP manual joined together with cat
it's hard to navigate and hard to read
and makes no effort at all to put common tasks in more prominent positions
(imho)
 
9:51 PM
huh? I feel like we're read two entirely different things there
 
oh wait that's not the document I thought it was
I thought that was just the index of the man pages
sorry
 
@DaveRandom Reminds me of a book on PHP I read 2 years ago. The dude spent an entire chapter talking about effective building design so as not to have your servers overheat and to prevent fires from happening...
 
yes I fully retract what I said there @PaulCrovella, reading a couple of pages it looks pretty good
 
no worries. I agree about the man pages - they read like stereo instructions
 
I wouldn't mind so much if they were just man pages but they aren't really, they seem to have been written for the web and turned into man pages afterwards
and git is so complex that it's not sanely possible to do man git on the command line anyway
tl;dr for the huge bitching session that could follow here is: the PHP manual is awesome and all other manuals should be like the PHP manual
/me has eaten far too much garlic and will smell for days
 
10:00 PM
has anyone tried using a cloud ide?
 
also give that git book a serious read, it really is quite good
 
@PaulCrovella I will at some point
 
i'm doing experiments with a cloud based workflow
so far I can only import a repo with codenvy
it didn't work with cloud9 or codeanywhere
 
I haven't tried it but I can tell you I don't like the idea of it, for a lot of reasons
 
10:05 PM
security?
 
@zachdyer well that's certainly what's going to kill the idea pretty soon
people who are willing to actually pay for stuff like that to exist aren't going to because they are (not unreasonably) paranoid about their IP
 
Do you think their spying on us
 
But also: the reality of the situation is that browsers are super flaky, and not very performant. Even if the only the thing your browser is doing is graphical stuff and all the heavy computational lifting (and there is a lot of this in an IDE) is done of some server somewhere, it's still going to be a very frustrating and unreliable UX compared to a more traditional toolchain.
I don't think that any of these problems are insurmountable, but right now it's just not a practical proposition
Ask me again in 5 years
 
@Tiffany PHP will throw a syntax error for the example shown
 
Yeah I'm having trouble breaking into a cloud ide right now
 
10:13 PM
ok
 
@taco no it won't
 
ok
 
there is an implicit semi-colon before ?>
@zachdyer by IP I mean "intellectual property"
i.e. their codebase
 
@DaveRandom I knew javascript did that, but when did PHP start allowing the "implicit semi-colon"?
 
I'm reaching my "I don't give a fuck anymore" limit
 
10:24 PM
@taco It is specifically only immediately before ?>, precisely so you can do what that code sample does. So that when doing HTML templating you can write <tag><?php echo 'string' ?></tag> or <?= 'string' ?> and reduce the amount of clutter to increase readability
 
Wes
@Tiffany my ocd...
 
@DaveRandom oh ok
 
Hi, I am struggling with curl is anyone able to help with how to return an array and print this array?
 
@SamMiller everyone in here wants to help =] YAY )=) do you have some existing code?
And Welcome!
 
speak for yourself, bucko
 
10:29 PM
Yes I am echoing out my database results $var = array('status'=>'Your website is already in the database.','htmlr'=>'williams');
echo $var;
then in the receiving php page I am trying to print them with echo
echo 'status ' . $response['status'] . ' html ' . $response['htmlr'];
 
You can't echo an array directly
!!docs json_encode
 
convert the array to json
 
[ json_encode() ] Returns the JSON representation of a value
 
I have tried return
So is json the only way?
 
Wes
10:32 PM
no idea. jsfiddle?
 
this is the source, apparently the user was running IE in a Windows VM on a Mac
 
So $var = array('status'=>'Your website is already in the database.','htmlr'=>'williams');
echo json_encode($var);
then decode in the receiving file?
 
Wes
i've seen worse though. for example due to a rounding bug i think, chrome used to enable / disable again and again a media query. imagine reading a site that doesn't break, but changes ui every half a second :B
 
@PaulCrovella I knows you wants to helps
especially on this romantic day
 
@Wes oh god.
 
10:39 PM
@Tiffany looks like there are some workarounds here positioniseverything.net/explorer/percentages.html
 
@Rovak If it's an IE6 thing, I'm so fucking glad IE6 is basically trashed at this point
 
it says somewhere it's still in issue in newer IE versions
 
Thank you !!!! , you guys rock! .. did not know it was that simple :-)
 
since you haven't specified the version i have no idea if its usefull
 
Wes
back in the days we fixed msie6 with *{position:relative;zoom:1;}
or something like that
 
10:43 PM
ah the horrible memories
IE6 specific stylesheets :(
 
@Wes I vaguely remember that. Uuuuugh.
 
Wes
msie7 is the worst though
 
@Rovak the only good thing about developing for IE6. When I learned that I didn't have to try using random CSS hacks to make it work for IE6 and could have a separate CSS sheet, I was ecstatic
 
Wes
it is basically just msie6, except everybody thought it was new
but it just wasn't
 
lol, yeah
 
10:50 PM
Sorry guys one more silly question how would i return another column from mysql table i have queried to see if there is an entry $sql2 = "SELECT site_urlz FROM wp_client_help WHERE site_urlz = '$site'";

if ($result=mysqli_query($conn2,$sql2))
{
I want to return the column that holds htmlr
 
@bwoebi I had a go at it. It basically boils down to a missing cast and the assumption that 0 is always the desired initial nextFreeElement. Let me know what you think
This implementation would also "fix" your other example
 
@pmmaga Yeah, pretty much that. I know what causes it, I'm just annoyed to have to start a RFC for this fubar thing
@Gordon @DaveRandom actually is an anagram of /dev/arandom
 
@bwoebi Yeah.. My enthusiasm to start an RFC for it is also a bit low at the moment. I may do it in a couple of weeks though
 
11:08 PM
yeyeye
 
11:25 PM
"i'm doing experiments with a cloud based workflow" - so long as that means having a real computer somewhere, and then being able to remote desktop into it, fine. Otherwise that sounds dumb.
 
@Danack or he's a meteorologist
 
@tereško fyi I struggled to avoid this joke. When you start making jokes that I don't think are good enough, you really need to take a long hard look at your life.
My rock bottom is way lower than most people's, joke wise
 
it's 01:35 AM and I am banging my head against Angular
so, in all sincerity, fuck yourself
 
/me fucks myself
 
11:40 PM
So here's a thingy that seems odd to me
trait foo {
	public function EventualClassName() {
		echo 'ECN';
	}
}

class EventualClassName {
	use foo;
}
throws E_DEPRECATED
add namespace anything; to the top, E_DEPRECATED goes away
 
yes, that's just java-style ctors
 
the namespace thing was more the thing I was curious about
 
have a free hint: dont use traits
 
Oh, well java ctors didn't work in namespaced classes
 
I'm not using traits in my personal work, but I need to showcase what they look like in certain scenarios
 
11:42 PM
Because the ctor that was invoked was a method that matched the fqn of the class, obviously you can't declare methods with \ in the name
 
don't you tell me what I can and cannot do; I'm a strong independent collection of abstract shapes
 
p. much
Noticed this writing a sample thing that had the ECN issue from above, but also a __construct(), so the fatal was actually "Colliding Constructor"; it was gross
 

« first day (2313 days earlier)      last day (2618 days later) »