« first day (853 days earlier)      last day (4095 days later) » 

12:00 AM
@MarkH have you got a live example of this site?
(public)
 
i can but cant share link here.
 
Can you JSFiddle it?
Although thats a pita for ajax
 
Yes, that is exactly what I meant
 
@DaveRandom how a non-technical person interprets what you just said
 
12:03 AM
Hi, everyone, i don't know many good website for php resources, whats your favourite site for things like snippets, tutorials..ect?
 
@ConnorMiles The official docs mostly
 
@ConnorMiles wordpress forums
 
im glad you said that, i get a good feeling when i go there i always find something new, is php literally capable of anything?
 
@DaveRandom meh
 
12:07 AM
that was for the official docs mostly btw
 
no matter, will look at this tomorrow
 
@DaveRandom You're pretty brave btw :)
 
@PeeHaa I've been working on it on and off for ages, had a big push over the last couple of days because I've been doing a bunch of email stuff at work and a lot of it was very relevant. It actually, so far as I can tell, works in every way apart from downloading attachments. I was trying to keep it under the radar because it's pretty sloppy in terms of docblocks and tests etc
 
@PeeHaa im really new to php like really is there anything you think that i should look into i mean im so new i barely know how arrays work, never the less they have always been capable of doing what ive needed them to do, sorry if i sound weird but i am actually really excited about php as its so powerful, what was it like for you when you first started?
 
I was planning to ask for in the next couple of days
The goal atm is to just replicate the old front end with a less nightmarish codebase, then tweak the templates to bring them more into line with the upcoming new php.net
Mmmm, tasty template tweaking
 
12:13 AM
currently, if anything, it looks really confusing
and on an unrelated note ... did you really have to commit Thumbs.db ?
 
@tereško I did it from windows and forgot to put my standard .gitignore in the repo base :-(
Also I accidentally committed two copies of robots.txt
 
@ConnorMiles What have worked for me was to just start a project I thought would be useful, nice or whatever. Basically just start making stuff and #fail to get better
 
@DaveRandom echo Thumbs.db > .gitignore
 
ok ... i think i need some sleeps
let's see if kde ends compiling till i wake
 
12:17 AM
@tereško What element of it do you dislike? I am very much open to any and all suggestions and criticism.
@tereško nite nite
 
@tereško later
 
as i said .. i found it confusing , but did not look too deep in it
 
@DaveRandom want me to it?
 
i can do you some review on weekend , if you really want
 
@Lusitanian Go nuts
 
12:18 AM
ok .. nite , no pinging please
 
@DaveRandom i shall look soon[ish]
 
@DaveRandom i've sorted it with submit buttons, going to style them to look like a checkbox lol!
noone will know :P
 
@Lusitanian I suggest you skip the MIME stuff at the moment, it is a total f*cking nightmare. The objective is to avoid sucking the whole thing into memory, which makes it way more difficult. Also that part is very much not finished.
 
@DaveRandom kk
 
@MarkH Mmm, if/when you can show a live example I'd be happy to take a look at it, I'm absolutely certain it can be done with proper checkboxes.
 
12:21 AM
yep - can we talk in another chan?
 
A little busy atm but I'll be floating around all day tomorrow
 
ok cool, tomorrow is fine by me
for now i've got if associated switch class and made another jquery function to fire
and visa versa.
 
It's not just any cloud. It's a webscale creative cloud
 
@PeeHaa you and your .nl domains..............
 
@PeeHaa im in the middle of one now, ive got the hang of php really quick i manage to do everything ive needed to do, its just there is too much to not know
 
12:29 AM
@ConnorMiles First step is getting the hang of it. The next couple of years you will actually learn it. And the rest of your life after that you will learn to actually code.
:)
 
@PeeHaa <?php if( $peeHaa->isRealist() ) { echo "Friday by Rebecca black"; } else { echo $peeHaa->dog()->getName(); } ?> // outputs "Friday by Rebecca black"
 
:D
 
^^ that still angers me
omg, and that's going to pass? more array-oriented programming?
 
I have never understood why the heck that is needed
 
i wish i could vote so i could vote no on that
wth
all it will do is encourage more A(rray)OP
 
12:35 AM
Often when I vote I'm on the side of the minority. Not sure what that tells me
 
@PeeHaa you rebel
 
i don't know, but it just occurred to me that i've been in this room for months and i still find the name 'peehaa' really amusing
i blame it on 'muricanism
 
hehehehe
 
I still pronounce it in English in my head despite the fact it's obvious it shouldn't be...
 
lol
i should change my nickname [to confuse everyone and because i don't like it anymore]
 
12:39 AM
@Lusitanian I should get a nickname :-P
 
@Lusitanian noooooooooooooooo
;)
 
@PeeHaa I could change it to PeeHaa2. That would be too much trolling though.
 
:P
 
but nah, gonna keep it
it's a really obscure reference to the colony Lusitania in the ender series
 
OK, my name is now ɟɟouoɟıɹʇ uınbɐɥs
 
12:42 AM
@ShaquinTrifonoff lolol
 
I'm tempted to answer: a pile of crap
0
Q: is there a universal definition for "static class"?

John SmithI thought I knew everything that was to know about static classes until I switch to java and learned that just about everything that cannot be done with a static class in C#, can be done in Java. So if I were to say "a static class is a class that cannot be instantiated and that cannot have inst...

 
@PeeHaa i will upvote
 
cved as off topic
@ShaquinTrifonoff did ya ever get a 0.75 domain? :P
 
I think of a nested class as a class. I also think of a non-nested class as a class. But I understand what you are saying. — John Smith 22 secs ago
WAT?!
 
12:46 AM
@Lusitanian No, but I will :)
 
@ShaquinTrifonoff nice
 
@Lusitanian BTW, I also found some other discounts
 
@ShaquinTrifonoff nice. godaddy does 99 cent coms but i refuse to buy anything from that horrible, awful, terrible, awful, bad, disgusting, nauseating, vomit-inducing company
 
@Lusitanian Why are they bad? Refresh my memory...
 
just google "godaddy sucks" and when you get first the 100 pages of results... ;)
3
they supported SOPA and PIPA
among other things
have no clue what they are doing
have had multiple outages
were hacked by anonymous then covered it up as something that was their own fault (allegedly)
 
12:50 AM
@Lusitanian was gonna say that. Only after celebrities started started moving away from godaddy over this, they changed their opinion
 
@Jasper yeah but they probably still actually support it lol
 
Agreed
 
they domain squat
ugh they're just a miserable firm
and they succeed because they use objectified women for their advertising
something i'm not strictly against (hey, whatever works to sell your product) but because the company sucks that much...
 
OBJECTIFY ALL THE WOMEN!!!
 
you do not know how hard i just lol'd
 
12:52 AM
yeah!
wait..
 
@crypticツ kitchen. now. (i kid, i kid.)
 
;)
 
i still find it amusing that people come in here for the first time and the first message they write is asking if you are a girl, btw
reminds me of when @PeeHaa was @Petra
 
Yeah. I get that a lot. Not sure why they ask me that
 
Well, it is still the internet and everybody knows girls don't exist on the internet.
 
12:53 AM
@PeeHaa we need another GenderFriday
 
Yeh. It has been a while
 
then @crypticツ could become a man and everyone else in here would a woman, and anyone new coming in would be more confused than the muffin man in a cake factory
wow did i just say "muffin man in a cake factory"? i should get off the internet.
 
@Lusitanian be prepared to be asked "are you a girl?" a thousand times
 
@crypticツ lol, it's okay, in real life i get asked if i'm 13 every day and i get funny looks while driving all the time, so i'm used to questions like that
 
12:55 AM
hehehe
 
lady at the mcdonald's drive thru still thinks i stole my parents car and drove their without a license
 
@Lusitanian I had to show the flight attendant I was over 16 because otherwise I would not be allowed to sit at an emergency exit.
 
@crypticツ i'm probably not going to be able to enter a bar until i'm like 26
when i'll finally look like i'm 21
 
@Lusitanian dress like this, you might have a chance :P
 
@webarto needz moar hipsters
Jan 25 at 23:24, by DaveRandom
The problem with using your real name for stuff on teh internetz is it makes it easily possible for people to find things like this
 
12:58 AM
they are so hard to find on the google, they are too cool for search engines
 
@webarto the ironic thing is that being a hipster is now mainstream
 
I think you're cute.
 
@Lusitanian I had to think twice before that made sense, over here you can drink younger than drive
 
@Jasper yeah, it's like that in a lot of european countries, right? (assuming you are from europe)
@webarto thx bby xoxo happy valentine's day
 
yep
I'm from The Netherlands, by the way
 
1:00 AM
so is @PeeHaa, what a coincidence
 
@Lusitanian I'm muslim, and offended, Allah damn you
 
@webarto i especially can tell because of how religious you are
 
yep, that's why I mentioned it was obvious his name shouldn't be pronounced in the English manner (it's his initials phonetically)
 
racist much?
 
@Lusitanian I have a mosque, catholic church, ortodox church, and I'm sure there is sinagogue somewhere in 400m radius.
 
1:01 AM
@webarto lol
@MarkH 'twas a joke, i'm equal opportunity
 
Why did I read that as arses?
 
@PeeHaa LMAO, no.
 
@Lusitanian : )
 
hehe
 
@PeeHaa maybe because its valentines and you want a bit :P
 
1:02 AM
Epic statement, Sir.
 
was/is
 
I would like to have some nice young catholic arses
2
 
LOL
 
@PeeHaa i get the sense that chat with you would be way, way MORE fun if this thing weren't google indexed
@PeeHaa make that websucket chat site ;)
 
my girlfriend went to bed like 2 hours ago
im on ninja mode heading to bed lol
 
1:03 AM
user image
2
 
@Lusitanian hehehee. The things I had to bury in the results...
 
@webarto could be engineered :P
 
@PeeHaa jabber me ;) (i don't actually have jabber besides gchat)
 
choccie cock with choccie money :P
 
@PeeHaa if you're down i'd make a overflowchat.com site that doesn't keep archives but is otherwise similar, but we'd need to get users somehow
 
1:04 AM
dip a nerf gun in Chocolate
:P
 
"We'd like to let you know that this site uses cookies and JavaScript. Without them you may find this site does not work properly and many features may be unavailable. Information on cookies and Active Scripting and how to enable them can be found here." link is a JS link...
 
@Lusitanian why not just phpchat?
 
@webarto what do you mean?
 
@Lusitanian why overflow as in stackoverflow, can you login somewhere with SO credentials?
 
@Lusitanian It's free chat software
 
1:05 AM
@webarto naw
@Jasper huh?
 
@Lusitanian Should be "fairly easy" to build
 
@PeeHaa Is it webscale?
 
@PeeHaa if by "Fairly Easy" you mean "a PITA" then yes
 
D:
 
@PeeHaa and if by "to build" you mean "to get halfway done with" then yes.
@PeeHaa nah i'm kidding, if we did it without websockets it wouldn't be that hard. and it'd be fun.
 
1:06 AM
no web sucky sucky? why not?
 
Beats IRC fo chat
 
@Lusitanian Meant that @webarto was probably just referring to using an existing free chat solution over making something like this one yourself
 
@Jasper ohhh lol
 
@Jasper Not exactly, more of a, why overflowchat.com and not just phpchat.com, we certainly don't want C++ and jQuery :P
 
@webarto ah, ok, then I misunderstood
 
1:08 AM
No, I don't use other software because of my ego :P
See one, make one
 
@webarto would you converse on such a site??
 
:D
 
MAKE
 
I think I'm going to take the dawg out and go to sleep
 
DO IT
 
1:09 AM
@PeeHaa alright. make sure to take the dog out, too
 
@Lusitanian Just as well you haven't found any old articles about me (yet)... lol
 
Cya all tomorrow when it's friday for everyone
 
@PeeHaa So, you like to sleep with your dawg out?
 
@webarto Yes that way he doesn't bug me in the middle of the night
 
Friday for me, we can go wild.
 
1:10 AM
On a completely different note: I need some opinions: Abstract Syntax Tree or Converting to php on the fly?
 
laters all
 
laters, baby
 
interestingly, that doesn't actually look that terrible
 
nah, fuck that
 
i might be about to look at the code and be horrified though
hopefully not
 
1:10 AM
chat.php.net ?
I know some people that know some people that killed some people.
3
 
one does not simply get a subdomain of php.net
 
If we post enough pics of kittens, we might have a chance.
 
anyone aware of a desktop client for SO chat?
 
Doesn't exist.
 
boo
 
1:13 AM
The situation is that I'm rewriting a templating engine I did ages ago. It compiles my own language to php. It currently uses sort of an abstract syntax tree, but so badly that it needs to be completely redone either way. Should I turn the source into an abstract syntax tree and then turn that into php code, or should I turn the source into php on the fly? (The last one can be done because the syntax of the two is similar enough)
 
@webarto nah, but we first need to write chat software anyway
 
@jasper
-.- stupid chat
 
I got subdomain at debconf.org, I just asked nicely. Probably not as important as php.net :)
 
i'll give away moarwebscale.com subdomains
 
@jasper so why exactly do you use your own syntax? why not have them type it out with PHP variables. much quicker than translating from your language to PHP
 
1:14 AM
 
@jasper so instead of <title><!PageTitle!></title> (or whatever your syntax is), the create would simply put <title>$pageTitle</title>
@jasper this method is widely accepted as a much better and significantly more efficient way of templating than having your own language/syntax/token
@jasper this reduces the load you would put on the system from strreplace or substrings or any string manipulation functions, because as we all know, string manipulation methods are very system intensive (relatively)
 
@PeeHaa it's a SOP problem.
 
@Sugitime "compiles to php" takes care of the performance...
 
Ridiculous as this is, a different port is not the same host
The session cookie just doesn't get sent
 
@DaveRandom @PeeHaa I told you... Same origin policy
 
1:18 AM
@jasper oh so its like a Dreamweaver for PHP? Takes whatever they want and spits out PHP files?
 
It can still be done but it's an ever bigger pita
 
@DaveRandom You are not quite correct, it gets sent, but it's not parsed.
 
@Sugitime More like smarty, it's written in php, lives on the server and can do just-in-time compiling, but other than that, sort of yes (without anything wysiwyg of course)
 
@jasper you do know PHP doesnt compile right...? Its interpreted
 
# try to match session cookie in order to authenticate user
preg_match('#' . $this->cookie . '=([\w]+)#is', $data, $matches);
$this->connectionId = empty($matches[1])? 0: $matches[1];
 
1:20 AM
@webarto Well no it wouldn't be parsed, PHP is not running under a webserver sapi, it doesn't understand that the data on the socket is HTTP. But I am not even seeing the cookie coming in in the handshake.
 
@DaveRandom I stored sessions in table, retrieved ID from cookie, and etc. Not seeing is very odd :\ Do you have working code I can test?
 
@webarto There's a more RESTful way to do it I think, still fleshing out the details in my head. I'm going to throw all the stuff I've done this evening away, I've written some truly hateful code this evening and my eyes are going funny, I'm softcore and I need to bail. I'll get something usable ready by the end of tomorrow.
 
@jasper if your deadset in doing it that way, then thats your decision. Its just more inefficient and not the best way to template. Also, why would someone spend time learning your syntax when they can just learn PHP? I dont have a great answer to your question because there are no well known solutions to this issue because no one does it because its not the best way to do it. It sounds alot like I'm ripping on you, which I dont mean to.
@jasper I'd start to look around at doing templating differently. there are much better ways to do it than the way you are using.
 
@DaveRandom No hurry mate, just trying to help if I can, and I don't think I can (in a proper way), I just think you need some rest and you'll figure it out :)
 
@jasper just trying to get ya pointed in the right direction :) Have you explored an MVC style framework?
 
1:24 AM
Oh, noes... here we go again...
 
@webarto All of this work will hopefully be a bit of a waste of time in the end (for reasons I am not currently at liberty to discuss) but I want to make it workzzz
Now bailage
 
Bail well
 
@webarto Hey, ackoverflow.com is available. How about chat.ackoverflow.com?
 
@ShaquinTrifonoff buy it!
 
@Sugitime yeah, I'm just using compiling as the name for what the translation from my language to php. See it as the str_replace(-ish) solution you were thinking of, but instead of doing str_replace('variablename', $content, $template), it does str_replace('variablename', '<?php echo $content ?>', $template) ?> (just examples, not actually using str_replace) and saves that to a file. There is an extra cost, but only the first time a template is loaded after it was modified.
 
1:26 AM
@Lusitanian ...but what happens after a year? Pay $10/year :P
 
I'm thinking of buying php.ws, $500 a year
php.websucket
 
@webarto lol
 
@jasper firstly, you cant just use 'compiling' in some arbitrary fashion that is outside the normal understanding of the community. Throws people off. Its like saying "ya well thats why i'm going to wallapolooza it, so I dont run into those issue". It just wont make sense to people, or worse, they will get the wrong idea, like I did.
 
> ssttaacckkoovveerrffllooww.com is available!
 
@ShaquinTrifonoff nah, $10/year (that's how much domains cost)
 
1:28 AM
A compiler is a computer program (or set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language, often having a binary form known as object code). The most common reason for wanting to transform source code is to create an executable program. The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language or machine code). If the compiled program can run on a computer whose CPU or operating...
 
@jasper secondly, look up modern templating engines. No one uses str_replace anymore. and as PHP is interpreted each time, unless your using a specialized caching system, your gonna have a bad time.
 
@Sugitime > (just examples, not actually using str_replace)
 
@jasper yes I'm aware of what a compiler is. However you are not compiling the code because PHP is not compiled. Anyways that isnt even the point.
 
@Lusitanian That's what I said
 
@ShaquinTrifonoff you said month initially...
 
1:30 AM
@Lusitanian I know. I meant year (oops)
 
@jasper I think your project would benefit greatly from looking into some examples of what template engines like CakePHP or Ignitor or some other frameworks have done. They are pretty decent, and looking at their implementation, I think you will see the benefit almost immediately.
 
month is the new year
 
@Sugitime I'm transforming my language into another language (php) how is that not exactly what wikipedia gives as the definition?
 
the templating portion of php frameowrks like CakePHP or Ignitor*
not to say they are tempalting engines. they arent.
 
Please go to a private chat and post crap there.
Time for some hardcore template tweaking.
 
1:32 AM
fak it
 
@jasper so if you look at modern templating engines, you should get a good idea of how modern templating works.
 
i cannot sleep
 
join us
 
Jan 10 at 12:14, by Lusitanian
The CakeIgniter is a lie
 
lol
 
1:32 AM
@Sugitime Do you know what an abstract syntax tree is?
 
@Sugitime , if you look at php you TOO would get an idea wht templating language is
because PHP is a templating language
 
@tereško not even sure where to begin with that one. So ill leave it there. thanks for that.
 
@tereško codeangel.org/articles/… class has some unneeded stuff
 
true .. it;s not the class that is important in that article
 
@tereško thats a great article btw. thats the article I used to learn modern templating in PHP. but it doenst support what you just said lol
 
1:35 AM
what did i just say ?
 
@tereško thought you were sleeping?
 
@tereško that PHP is a templating language.
 
3 mins ago, by tereško
i cannot sleep
 
class Template
{
  private $vars = array();

  public function __get($name)
  {
    return $this->vars[$name];
  }

  public function __set($name, $value)
  {
    $this->vars[$name] = $value;
  }

  public function render($view_template_file)
  {
    extract($this->vars, EXTR_SKIP);
    ob_start();
    include $view_template_file;
    return ob_get_clean();
  }
}
@tereško true
 
@Sugitime did you actually understand what was written in that article ?
 
1:37 AM
@tereško well ya, ofcoarse. thats pretty condescending...
 
@Sugitime that article also uses the word compile in the way I did, so don't tell me that I was wrong in using it that way...
 
chillax
 
well the whole chat feature of SO is pretty nifty. time to head out. cya guys later
 
@Lusitanian it was not so much "sleeping" as "continuously coughing in horizontal position"
 
good morning
why no mobile chat apps for SO?
 
1:43 AM
No need.
 
@andho Have you been to the chat apps on your mobile browser?
 
i've accessed this room
 
@Sugitime Cya. I hope you didn't feel offended by the way I was reacting to you. If you did, I'm sorry, I was just a bit upset over you saying I was wrong in what I was saying because you hadn't heard the word used like that before.
@webarto no need? This chat really doesn't run to well on my phone through the browser, or are you saying something else?
 
I'm not sure why would someone want that, too localized I'd say.
 
@webarto I've wanted to continue a conversation when I couldn't be at my computer...
 
1:54 AM
Not a fan of that, but OK, not sure anyone would bother to make such a thing. Maybe XHR fallback would do the trick.
 
yep, I see why it's too low priority for anyone to really spend time on. And yes it might, but I'm afraid it's hard to say up front.
So... anyone who does have an opinion on whether to use an AST or "conversion on the flow" to "compile" from my language to php? (other than don't)
 
Good night guys and gal
 
2:30 AM
yayy! got retag privilege :P
 
hi again
 
@andho it's about time =oP
 
yeah, don't get much time :/, right now i'm slacking off at work ;)
 
@andho what time is it there?
 
2:32 AM
10:32 AM
 
ahh
 
it's truly asian time
 
@Lusitanian *goes back to kitchen* =o(
 
@crypticツ =o)
 
The women in the kitchen are high
 
2:40 AM
lol
 
sudo make sandwich
PASS: tests/validate-composite.tap 1
FAIL: tests/validate-convert.tap 1
PASS: tests/validate-identify.tap 1
#fml
 
3:00 AM
root@f4c3b00k:/opt/ImageMagick-6.8.3-0# convert -version
Version: ImageMagick 6.8.3-0 2013-02-14 Q8 imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC Modules
Delegates: ps zlib
This IM is f* disaster to compile/install.
 
3:17 AM
@webarto WAT are you trying to do
 
Installing Imagemagick, got it all working, and then...
DELEGATES = ps zlib
no must install all delegates (jpeg, png)
shit :)
 
fun
 
doesn't it complain about that when you do ./configure?
 
not sure, it all happens so fast :)
 
hahah
it should show in orange i think, at the end of config.
Like "hey, you might wanna have these installed before you compile IM"
 
3:24 AM
@webarto creating project "realchat"
 
@andho which reminds me I should enable colors :)
@Lusitanian awesome :)
 
@webarto i'm going to create a private repo if you wanna work on it with me
 
oh, someone gotta $7 spare :)
 
@webarto lmao no, scm-manager on vps :)
github repo hosting is way too expensive imho
 
:P
 
3:25 AM
scm-manager is a great tool
 
It sure is.
looks like it works
 
lol
good work
 
ooo, i've been using gitolite for sometime. It's pretty easy for me. But all the other guys intimidated by it. This might be helpful
 
gitolite is nice, but i like scm-manager moar
 
it's Java :S
 
@andho so? still works :P
 
@ɟɟouoɟıɹʇuınbɐɥs Flares missing, for some reason.
 
firing it up
 
Ah, finally my display name has changed.
 
let me ask, are the permissions as flexible as gitolite
i can do stuff like
@devgroup W features/.*$
something like that
basically give everyone in devgroup permission to commit to a branch that starts with features only
 
3:37 AM
eh, not sure
haven't used it in a team
 
okay, don't think it's available built in, cannot get my hands on a user doc. Might be there in plugins
 
hold on lemme check my install
yeah the permissions aren't that granular :/
read/write/owner are the only options
but i'll check plugins
 
3:58 AM
i think this might work: but no docs
 

« first day (853 days earlier)      last day (4095 days later) »