« first day (1155 days earlier)      last day (4021 days later) » 

user924016
13:02
@ircmaxell shit.
ya, a 7 hour process, killed at hour 3
I nohup-ed it this time
pce
pce
@ircmaxell did a suspend happens during a running command?
no, network hickup killed the ssh connection, and when the process tried to write to stdio, boom
heh. Make it seem not that long ago.
13:11
@PeeHaa Yup, but I'm all over the place... what's up?
(It's on Bitbucket, I can add you there)
@webarto Both the UX and UI may be moar friendly.
Also private repo support would be useful
And being able to dump any github url in it and it just works
Of course, current UI is no-UI :)
:-)
Let me lay some foundation there, it's mess now, and I'll send you linkz so you can do as you will :)
Let me know when you're done tweaking the templates :)
13:21
Yeeeeeeeep. I'm going to add that to skillz :)
:P
Professional template tweaker
Am I doing it right?
It's Mac-ish, coffee missing, some new hip technology book too...
@webarto With that resolution? no! :P
It's zoooomed.
:-)
13:24
1600x900, fine for me :\
Nice effeminate mobile phone accessory you have there. :P
She took all of my "devices" :)
TV is mine, no stickers on it >:)
Do we know of any high profile websites built using frameworks?
13:40
@Fabien IIRC pornhub uses / used one of the popular frameworks
You really are the porn king
I'm not sure which one. I'm trying to find the link, but I only find pr0n when lookng for it
youporn, Symfony
ah yourporn
that was it
13:44
If a field is declared dynamically, it is implicitly public, right?
(If I only did $this->field without actually declaring it in the class)
> in-house framework
It's a little sad, some peoples lack of aspirations Reddit Battle
tnx @crypticツ @webarto
DeviantArt uses "set of powerful tools" rather than classic framework.
@webarto they've made plans to upgrade to a "set of super-powerful tools" in the near future.
13:46
@webarto I hate art. Whatever the form :-)
Ow wait. Pr0n is also a form of art right?
The guy that made Kohana works for them, and it would take a lot of time to rewrite everything.
@PeeHaa Yes is it, motion pictures :D
@MadaraUchiha I can more easily live without named params than without anon classes tbh
@PeeHaa What would you use anonymous classes for?
13:58
unit tests
@PeeHaa Unit tests.......
@bwoebi ?
<GetStoreResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2013-12-14T14:02:06.938Z</Timestamp>
  <Ack>Success</Ack>
  <Version>853</Version>
  <Build>E853_UNI_API5_16582383_R1</Build>
  <Store>
    <Name>itamartreasures</Name>
    <URLPath>itamartreasures</URLPath>
    <URL>http://stores.ebay.com/itamartreasures</URL>
    <SubscriptionLevel>Featured</SubscriptionLevel>
    <Description>Welcome to our treasures store! Here you can find variety of high quality products sold on very cheap prices. Our store will make a great shopping experience for you. Our goal is 100% satisied c
$logo = $xpath->query("//Logo/URL")->length;
var_dump($logo);
Y U 0?!
(The output is generated by $dom->saveXML() btw, so the DOMDocument object is fine.)
hmmm should work
ThW
ThW
the xml has a namespace, the xpath expression does not
14:04
moment...
Ah good eyes this monring
ThW
ThW
and use evaluate(), it is more flexible
is using nested try/catch blocks the only way to catch multiple types of exceptions?
@crypticツ Define multiple types of exceptions?
ThW
ThW
$xpath->registerNamespace('ebay','urn:ebay:apis:eBLBaseComponents');
At the same time?
Or:
14:06
@ThW Then what?
try {
} catch(FUExcp $e) {
} catch (SHITExcp $e) {
}
?
ThW
ThW
$logoUrl = $xpath->evaluate('string(//ebay:Logo/ebay:URL)', NULL, FALSE);
@PeeHaa wait you can do that?
yes you can :)
ThW
ThW
unlike query(), evaluate() can return scalars, and xpath has typecasts
14:08
@ThW Ah, great. Thank you :)
Huh, seems as though PhpStorm doesn't know the third argument to DOMXPath::evaluate()
@PeeHaa I always saw this example us1.php.net/manual/en/language.exceptions.php#example-271 and assumed it had to be nested. I've never seen that syntax before of using another catch block.
well at least not in the docs
:-)
@crypticツ It's part of the main idea of Exceptions.
It allows you to catch the most specific exceptions first, then handle differently on the case of more general exceptions.
> Each try must have at least one corresponding catch block. Multiple catch blocks can be used to catch different classes of exceptions.
@crypticツ :)
For example, you may be able to handle a ClientException, but not an Exception.
And so you'd handle ClientException, but in the case of Exception you'd log and kill the script.
14:11
Emphasize for extra drama
my error handling is so much easier now =oD
I might add an example of multiple catch blocks if you think it isn't clear yet
@PeeHaa I would, the only thing that says it is the above sentence, but you have to pay attention to the wording, something I failed to do.
k will add an example
14:16
lol
> WHERE THE HELL CAN I GET THE MANUAL FOR PHP 4? 100% of my code is written in it and I have no intention of converting REAL code to this new Object Oriented crap. I WANT DOCUMENTION FOR STRAIGHTFORWARD PHP FUNCTIONS!
is there a PHP manual changelog for changes made to the manual?
@crypticツ svn log
no github =o(
At what domain is TPB available now or is it just down?
14:18
@PeeHaa .pe
thepiratebay.pe doesnt load for me
clear your cache?
or use IP?
it does for me
194.71.107.27
@PeeHaa why no use https?
It does resolve the ip, but for some reason it times out
@crypticツ Testing shit to update my proxy
14:21
Quick question.
when I need to change part of my header when user logs in
is it better to have 2 separate headers or it's better to make php edit the header part?
Example: Not Signed In displays: Sign In
After Signed In displays: Welcome, user instead of Sign In
If that is the only change, What would make the most sense you think?
my Google-fu is low, I can't find the svn for the php manual =o(
@PeeHaa just as I find it =oP
ThW
ThW
@MadaraUchiha it disables the automatic namespace registration. Otherwise a namespace prefix on the current context can override your definition.
14:25
@crypticツ :-)
the php edit makes most sense to me
But somehow it's not working with cookies but it works with sessions
lol
@SabTheCoder Are you trying to create and access the cookie in the same request by any chance?
I'm trying to use cookies for remember me and session for !rememberme
If check box is checked i use cookies else I use session
That was not what I asked
The answer is No to your question.
The cookie works, it's time() works but the html is not getting modified when it's used
weird.
14:42
it must be a bug in PHP
is that possible?
Happens all the time
Since php is a dynamic language it has a lot of bugs, it's quite possible you've run into one.
14:45
owww
user924016
like that ^ ?
@SabTheCoder you should probably do all your server-side coding in C
@BenjaminGruenbaum I'm new to programming in general but I started with php
If I do it in C anyways, how will it work on the web?
Is there a sort of platform to do the "conversion"?
With a command line interface - that's the only way you can code in C.
Guess it's too early for me
What about python?
14:48
Python is awesome
I don't like snakes.
user924016
lol
But you should really start using var_dump() and debugging your code
user924016
you guys are like calling the Christian abortion line
Hi guys, I have a php doubt, from page.html I have this: "<a href="logout.php?user=1">Logout</a>", so when I click it opens that page but in this way I get data in "get mode", is there a way to do the same thing but having data "in post way"?
14:49
I'll do that. Thanks
@newbie Put it in a form
@newbie It's totally not how to do it
Also look into CSRF
@newbie @PeeHaa told you to use forms, do that. Check form submission with php and how to do it. It's really simple ;)
thanks, I thought of a form, but I thought there there different ways
14:52
Forms is the only way I think.. I'm not sure though
@PeeHaa www.example.com/register.php/
If you're application needs JS enabled you could use xhr, but that would be pretty crappy from the user's POV (the need for JS). But that depends on your target audience
Notice the / after register.php
Why does it strip my CSS out when there is a /
?
4 mins ago, by PeeHaa
But you should really start using var_dump() and debugging your code
How does that help?
How does debugging your code help? Hmm idunno. I'm new here
14:55
I don't think there is a debugging for a link :S
THe php is good
www.example.com/register.php/ << The / strips out the css though
I tried it with a simple hellow world, same thing
ok the PHP is good. In that case it is probably a solar flare that is messing stuff up
user924016
@SabTheCoder could you make a pastebin
user924016
15:02
@SabTheCoder and what was the question again?
Google: eskjuelinjection @SabTheCoder
@PeeHaa I'll use prepared statememtns for that. Just making a simple test atm
@RonniSkansing www.example.com/register.php/ strips the CSS out
When there is the / after register.php
user924016
why are you adding / after register.php?
I added it by mistake when typing
and i noticed that
user924016
also show me the tag that includes the css
15:04
So I wanted to know why it's like that
<link rel="stylesheet" href="theme/styles/style.css" />
user924016
@SabTheCoder try /theme/styles/style.css
Sec
It strips out the css
Meh
user924016
check the network pane in developer tools
user924016
you should be able to see that it is using a wrong url.
I don't understand this part
user924016
15:07
which browser are you using?
*unleashes the power of the mighty tiny avatar*
Opera
I got Chrome and Firefox as well
@crypticツ :D
@webarto When do you start?
@Fabien Monday, if they don't change mind ^^
user924016
15:10
@SabTheCoder you could try in chrome... see developers.google.com/chrome-developer-tools
@RonniSkansing I got in in Firefox but I don't understand how it works
user924016
@SabTheCoder then you should learn it
When I got on the www.example.com/register.php I get 1 thing
when there is a / I see several things
I see my css my images and my javascript
@webarto heh. Why would they. You start soon. friday for me.
@Fabien I missed the final meeting ^^ I think there's 2 weeks introductory period. Might not work out :) You got more info on what you're working on when you start?
15:14
Missed it how? -_-
Nah, no idea but it's most likely drupal
there's tons of work to be done. That's all I know.
It was at 10AM and I woke up at 11AM ^^
That's good, if you can't do something, just pick up next from the list :)
@webarto fail. They contacted you about it?
@Fabien Had 3 meetings in +0 timezone and I assumed the same for 4th, but it was +1 actually. Yeah, sent email with important parts, I replied, waiting for reply now.
@BenjaminGruenbaum That's my patent :P
@webarto Fair enough.
JavaScript canvas effects have been getting really cool lately jsfiddle.net/56EKq
15:19
That's a new one :D
user924016
@BenjaminGruenbaum ... hehe
user924016
merry xmas
Seriously though, can someone help me with a PHP problem I have?
I'm trying to format dates and I'm getting unexpected results - maybe it's because I'm using a bad API? Maybe there are good libraries for this?
Hmm... maybe it'll help more if I post the code and the result... one sec lemme pop the editor open
@BenjaminGruenbaum code?
15:24
...
Chrome API integration FTW!
hi
is it okay to ask questions here?
@MichelReap read room description
@MichelReap If you are able to construct a decent question which is on topic for this room sure :)
15:35
okay
So i want to set up a website where I can sell a few products (for the moment just one product). Just a small website with a static text description, a few images and maybe a video, plus the "Buy" button. Is there any CMS that would help me or would that be overkill and I better go off writing it myself?
@MichelReap Do you know how to write PHP?
yes, not much but I can manage
I think Paul Walker was killed by the movie industry to boost their release of Fast & Furious 7. Same thing with Heath Ledger and The Dark Knight. The F&F7 trailer is now #1 on IMDB, so I'm sure it's going to set some record when it releases. *puts on tin foil hat*
:P
@MichelReap If you can manage I would just write it myself. It should be pretty easy from what I see of your requirements. And it sounds like a nice little project to work on to get better at programming (if you are into that kind of thing)
Only possible caveat I see is that you might want to support paypal at some point which is just horrible :)
> [Still Failing] PeeHaa/PitchBlade#103 (master - 0ea6c44)
that's what I am afraidf of
15:40
Yes travis that is the fourth time you are telling me that
that I run into much trouble when dealing with payments and stuff
@MichelReap paypal integration?
not strictly paypal but with all things related to payments and transactions
secutity, etc.
Payment in general is doable, it's just paypal which has a horrible API and docs
@MichelReap Do you know about hashing passswords, XSS, CSRF and SQL Injection?
I've read a bit
15:43
If you know about those it would be a nice project to do yourself.
I guess you're right, I think I'll go for that then :)
15:57
evening
jo Joe
user924016
hi Joe
github.com/krakjoe/git because it's saturday, not finished yet ...
@JoeWatkins tnx
huh?
ah you know what ...
this already exists
16:01
@JoeWatkins Is phpdbg already finished?
@JoeWatkins :-)
@bwoebi no, why ?
@JoeWatkins you begin the next thing without having finished the other :-D
16:05
keeping myself entertained is all ... don't want to go making a bunch of commits while voting is open,the next release will likely be the one that is included ...
also, you don't really finish stuff that is your own ...
like, ever ...
@JoeWatkins no, not finish, but enough functionality for php 5.6^^
yeah, we have enough now ...
take it seriously ! i spend 500 $ for that source code ! i'm not joking here , if you can help me will be better if not , just don't treat me as kid ! — user3003065 3 mins ago
16:13
*spends $500 on source code, encrypts source, finds out it was WordPress all along*
500 $!!!!!!!!
@crypticツ :P
user895378
@PeeHaa I am awake now :)
> you better keep your blab lab bla
@rdlowrey jesus finally!
16:14
monginr!
@vascowhite :-)
user895378
@PeeHaa Sorry, was at the bar last night
Ahhhhh ok. In that case it's cool :)
hehe
The following: I have a abstract class with a concrete method. I created a php unit mock from that abstract class.
user895378
k
How can I overwrite the concrete method?
user895378
In the mock?
16:16
Manually creating a mock is the only solution?
@rdlowrey When possible yeah
user895378
$this->getMockForAbstractClass(...) <-- ? Or are you asking how to use that method to override the class's concrete method?
$this->getMockFromAbstractClass() <- I tried to use the methods argument in tehre, but either I failed or phpunit doesn't support it
user895378
lol synchronized
lol synchronized
user895378
Um I don't know if that's possible with getMockFromAbstractClass ... it should be but ...
16:18
@rdlowrey Yes is it possible to override the concrete method in there or do I have to create a mock manually by setting up a mock class which extends the abstract thing?
Have you done it before?
user895378
If I have I don't remember TBH. Did you try with getMock? I don't ever use abstract classes anymore really.
user895378
Also, I usually just use the implementation tests to get coverage on the abstract class
@cryptic ツ, need spend 500$ more for cryption ? — user3003065 2 mins ago
@rdlowrey Nope didn't try with getMock(). Will do
user895378
I need to get me some 'o that cryption ...
16:22
hehehehe
user895378
@PeeHaa Yeah the only thing with that is you'll have to manually tell it what to do for each abstract method so it can be tedious if you have a lot of abstract methods in the class.
user924016
lol
user924016
at the cryption thread
@rdlowrey Neh the class contains only two abstract methods so it should be fine
I'm just trying to get rid of my manual created mocks, because at the time I wrote this piece of shit I thought it would be totally fucking awesome to have all kinds of specialized mocks for each kind of fucking test on my filesystem. getMock() would do
I hate the past me
4
user895378
^^ I hate the past me as well
user895378
16:26
There are so many things I want to go back and fix/improve in my projects when I eventually have some time to do so.
user895378
Now I just need to find a Delorean, some flux capacitors and Christopher Lloyd.
Guys, who knows a company to rent a dedicated servers for not more than 30 USD?
I found a company datashack.net/dedicated was selling dedicated at 29USD per month, but they don't have at stock now servers :(
user895378
I can't get over how powerful generators are ... it's crazy. Everyone should be using 5.5
user924016
^yep
16:32
@rdlowrey for a second there I thought you were talking about an actual generator. Yeah the horsepower sure has gotten better lately.
user895378
hehe, sorry I thought the context was implied but now I can see that :)
user895378
ZOMG this gas-powered generator is so much better than my human-powered Flintstones generator.
16:46
@rdlowrey I missed today generators in C… callbacks suck…
you know the ugly for loop to loop in Zend over a HashTable?
user895378
@bwoebi yeah ... I've spent the last three days completely overhauling the aerys code to make things more generator-friendly ... It's like the entire car is in pieces in the garage right now, but once I put them all back together the engine is going to purr like never before.
user895378
@bwoebi have fun with that :)
Hello everyone, I am looking for someone to help me with WordPress I am willing to pay$.. I am close to finish
@rdlowrey actually I don't need it, I'm messing around with llist now.
16:50
@rdlowrey I only annotated where it made my IDE itchy.
:P
user895378
@MadaraUchiha I figured -- it's fine
@MadaraUchiha ?
I heard the song.
@MadaraUchiha can you help me with a php date issue, @PeeHaa tried earlier but left in the middle of helping me.
16:53
@BenjaminGruenbaum Sure, what do you need?
user924016
@LJ-C what kinda of help?
1 message moved to /bin/rebecca
@BenjaminGruenbaum Close, but no.
17:00
@Ronni I have finished most of the work I believe, now I need help just filtering posts which I also did on some pages. Also I need help setting up a nice gallery I am not sure what the best practice would be
user924016
@LJ-C i think this is the wrong place for asking for freelance. Im pretty sure i could help you, but i would rather tell you to try and fix it yourself. WP already has a gallery thingy or a billion shit plugins that you can use
yeah I have seen but the site looks very nice so I don't want to ruin it with plugins that look like crap. I would also finish it my self but I am under a major deadline now so I can't mess around it too much. This would probably not take longer then 3-4h to a guy that knows his way around WP...
user924016
@LJ-C with WP your site is already ruined, but i can understand you do not want to add more to the burden...
user924016
I wll be back in an hour or something, maybe if you have not found solutions i could help you abit
sure ty
17:12
If u have an array with a lot of ints like 0x100000 0x666666 and instead of making them all string, u want to convert it to hex so it supports on css, is there a function to do so?
user895378
@JonyKale var_dump(dechex(0x666666));
thanks
"i want K loop se o jay yar." I have absolutely no idea what that means! — vascowhite 4 mins ago
17:28
Hey gm
Anyone knows why my form crashes? pastebin.com/qszQ3JBh
how often is the session garbage collector called ?
@Marchy </form
When weird things happen with your HTML, always validate it.
Google "w3c validator"
What exactly crashed? o.O
thanks XD
@bjori His form close tab wasn't enclosed, so the rest of the page appeared screwed up.
17:40
ah. screwed up. not crashed :)
/me expects 'crashed' to mean 'segfault' or something along that way :)
@bjori When dealing with newbies, you learn to just accept their usually broken terminology :P
fair enough
@MadaraUchiha There is any local html validator? /wtf you can even store music in a database?
@Marchy I never needed one, so I don't know. You can search though.
@Marchy You can store anything in a database. Is a good idea though? That's a different question.

« first day (1155 days earlier)      last day (4021 days later) »