« first day (851 days earlier)      last day (4323 days later) » 

03:00
lol
@Lusitanian because one of them has Super Cow Powers and the other does not! really!!! there are some slight differences, read the man
@webarto just did the same thing with mine
also i love nano :D
hi this is fine :D
03:03
@webarto since it's low resources, do apt-get install php5-cgi php5-cli
not php5 which depends on apache2
that way you can set up fastcgi/nginx quickly
which requires low resoucres
@ircmaxell I bought a VPS just to do this:
alias can sudo
alias has apt-get
alias get 'apt-cache search'
2
@Lusitanian I've never used it :( It would be a good time now.
is there anyone very experienced and afflicted via web performance?
dafuq
03:05
for your init.d scriptz
then for nginx
@OğuzhanEroğlu afflicted?
@Lusitanian kewl br0 thx
    location ~ \.php$ {
            try_files $uri =404;
            include /etc/nginx/fastcgi_params;
            fastcgi_pass unix:/tmp/php-cgi/php-cgi.socket;
            fastcgi_param SCRIPT_FILENAME /path/to/your/root/$fastcgi_script_name;
    }
@webarto obviously replacing /path/to/your/root/ with well...the path to your root
:)
that uses a unix socket instead of tcp, which is probably faster (untested)
Path to my root is the same path as your path to your root :P
that goes in your virtualhost config
then add an ssl cert for uber-security
03:07
I can haz hax0r?
let's see
david@promethium:~$ can has get hax0r
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package hax0r
nope.
@andho afflicted whereat web performance
@Lusitanian I don't have sudo :D
@webarto can has sudo
@OğuzhanEroğlu WWT the first true digital disease. No, not a virus, a disease.
03:11
@Lusitanian he don't need sudo
@Lusitanian One question, is there a way to restore to "fresh" installation?
Yeah, don't need sudo, root.
@webarto yeah, you've never had a solusvm cp controlled vps?
just go to the control panel and choose your distro
Reinstall, that must be it.
No, never had.
gotcha
already break it? :P
Hah, no, but I will for sure :)
I'm waiting for some nasty VPS @ Site5
03:13
"if you give a webarto a server..."
I'll break it for sure.
Related: microsoft.ba
@Lusitanian If you give any person a web server so cheaply and without a goal for it in mind, he'll be quite likely to break it
2 hours ago, by webarto
Downloaded
@Jasper Hey, I'm not going to bring world piece or anything with it :) I'll use dis for teh codez.
**peace
:)
Sorry, I'm burned out.
can haz edit
false
03:21
lol
You know why I got hired?
@webarto null
my humorz
@webarto lol
@igorw Were not Ruby, nil everywhere :P
03:22
morning .....
morning @NullPointer
OH F* 5AM
@webarto it's still great that rails has an option "whiny_nils" -- allows me to make fun of all the nilses every time
and yes, rails has a global option as to whether accessing stuff on nil throws exceptions
or at least it had 2 years ago
So cool :D
@webarto you wake up very early :P
@igorw Have you worked with RoR extensively or just recreational?
@NullPointer I've never slept :P See these @DaveRandom @tereško @PeeHaa are softcore.
03:25
@webarto I spent a year working with rails full time
@webarto Y U NO SLEEP ?
@igorw i am so sorry.
most of my free time during that time was spent on PHP shizzle though
took me a while to realize that conventions are not everything and that the rails way is a lie :)
"the r fails way"
when it's not doing crazy implicit shit, ruby is quite a nice language
03:26
@igorw Can you share some impressions with a fellow PHPers?
i like ruby and hate rails
I'm not sure what is what.
one of my first experiences was debugging for 2 days why that 0 evaluates to true and if 0 did not do what I wanted
@NullPointer Guilt? :P No, have to finish some stuff, I promised I'd have it tomorrow, last week.
@igorw So logical :D
@igorw What was the salary, I mean was it better than PHP one? They claim Ruby is much more paid.
@webarto noop .... it would be Guilt if you break your promise .... that is awesome ....:)
03:30
the main problem with rails is that it tries to force this MVC model on you which makes no sense, is coupled to persistence (activerecord), and in the end there's no real place to put your business logic.
@NullPointer Sorry, I promised I'd have it by Wednesday, by last Wednesday :P
@igorw don't call what rails does mvc
and activerecord is so awful
well the rails job was an internship, so I can't really compare it. plus I did some PHP stuff there too.
@webarto hahaha.....
sure it's not real MVC, it's rails MVC
03:32
Some say it's $100.000 which is insane amount (for me).
anyway, since it's coupled to persistence you cannot really put logic in your active record models, so you put it in bloated controllers and make your model anemic. and you're unable to unit test any of it. yay.
@webarto one hundred dollars?
@webarto O_o
@Lusitanian 'mericans and their units... 100k :)
03:32
lol
i wish i get half of this in starting
i knew what you meant, but that was fun
Joke is on you. :P
@webarto in the us i think the salaries are in general significantly higher.
@igorw Thanks for info, nicely said.
03:33
@Lusitanian but getting job there is harder
idk, i live in the us :o
You think you're better than us? :P
not at all
quite contrary, probably worse :D (not really, in general everyone is screwed the same degree eventually anyway)
Yes you are. You live in the US. Don't let them tell you otherwise!
@Lusitanian i am just saying what i hared from other .. might be they are not good
03:35
@igorw Are you from Germany?
@webarto nein, switzerland
according to g analytics, he's from switzerland
@igorw Marry me.
@Lusitanian am I the only visitor to your blog? stalker.
03:36
lol
@igorw no. you were the first, though.
I might have a rails application made by a guy called Nils. I wonder if he had whiny_nils on
@webarto are you homo :P
there have since been 16 other unique visitors
@NullPointer No, I think gay marriage is legal there. For papers of course :P
03:37
gay marriage should be legal everywhere anyway
@Lusitanian :cute:
@Lusitanian as I said, make a twitter and I will retweet :P
@igorw maaaaaaaaaybe
twitter and facebook are scary :(
(I wanted to check if he did indeed work on that rails app, but the server on which I have it became unresponsive as I SSH'ed to it, which is anoying, considering I'm one of a few admins of that server)
@igorw but i probably will tomorrow
03:37
@webarto whatever looks like fun ....
@webarto :+1:
My rankings dropped (I deleted the site), but I'm popular in India, ain't it @NullPointer :D
@webarto please clarify who is cute Lusitanian or his avatar :P
i am my avatar. i am a sentient dog.
@NullPointer His website, hey, I'm married (to a female).
03:39
it's a blag on a wobsite. not a blog on a website.
blag. wobsite.
@webarto you are
@Lusitanian lol... do you have WOBSITE
@webarto not loading this image
03:40
which is an indirect url anyway
wob wob wob site
blag on a wobsite.
@igorw You made React? :O
@webarto yes
03:44
@webarto lol .. that is funny
@igorw :hatsoff:
How do I install XAMP on VPS?
@webarto it's really just 70% understanding stream_select, 25% reading protocol RFCs and 130% ignoring said RFCs.
@webarto lolol
okay wow this needs to be saved as a quick reply thingy paste2.org/p/2855490
Can I throw in some other good word with f* ?
03:58
Seriously, 2 domains went into redemption period...
@webarto 15$/year ?? seriously
@NullPointer Yeah, I left about $3000 there. (6 years or so)
Yeah, I'll transfer to Namecheap.
i like dynadot
Support was really awesome, 2-3 min replies, until I couldn't access my account... and they've sent me new password, but account is empty, no domains or anything.
@webarto you can get 3 domain in ~15$
04:01
never have a domain with a company that's primary service is web hosting
@NullPointer Yeah, I know, at least 2.
@Lusitanian I think it's reversed actually :O I bought first hosting and domain, and left there.
it works both ways
I know what you mean though.
04:40
@webarto btw gave you stupid advice earlier, you should use php fpm instead (:
forgot debian haz package for it
@Lusitanian Will do it again, I installed "WAMP" now. 192.73.234.162
"Apache/2.2.16 (Debian)" -_____________-
this is me being sad.
It Works!
Don't know what framework to install :P
What is the easiest way to associate domain to this IP/server?
04:46
cannot tell if serious or trolling
if serious pl0x d00 tell
@Lusitanian I mean, I can think of few, but don't which one is the "best".
@webarto i was referring to the second (domain) question
@igorw It's bookmarked :P Is it webscale?
04:48
okay you're trolling.
@webarto it's gifscale
@Lusitanian Nay man, domain, I want domain, pls help.
@Lusitanian epic
@webarto please to .tk
@igorw it's your framework's motto
@webarto webar.to?
04:50
@igorw I'm too poor for that :P
i say we start the "webar.to" domain fund
kickstarter.
exactly
I'd say php.ws would be better
it will only work if @Lusitanian join twitter
04:51
:P
@igorw woah, woah, pressure ;)
nah i probably will
(and sells his soul to the devil)
the one site you won't get me on is facebook
i sold my soul to the devil years ago, got $20 for it
f4c3b00k.com
any of you guys looked into tent.io?
04:52
i have not, but it looks cool
@Lusitanian whoa dude, you could have gotten way more than that. I speak of experience
@igorw I think I say that URL somewhere here or on Twitter.
@igorw i know, but i can sell it again
what doesn't exist but people will buy you can sell infinitely
@Lusitanian true, dogs have 9 souls, right?
idk, something like that
woof.
actually according to christians (who i've actually asked this question to personally) dogs don't go to heaven
but once a christian is in heaven he/she can ask jesus or god to resurrect that dog in heaven
because, and i quote, "if every dog went to heaven, there wouldn't be enough room there"
please, please, PLEASE don't ask me to explain that logic
anyway, back to being a dog. woof.
04:55
@Lusitanian if I were to go to heaven, which I won't, I would ask god personally to resurrect you
@igorw i am touched.
@webarto get a domain name :P
user895378
@igorw I will, soon as they let me in control panel :P
user895378
05:00
@Lusitanian Those people clearly missed the part of their childhood where you're supposed to learn that all dogs do, in fact, go to heaven.
@rdlowrey thanks for that
user895378
The part where Mufasa gets trampled ... so sad.
WAT
6AM, better drink my own piss.
user895378
^ Waterworld. Kevin Costner. It's movie free association time.
05:05
Cool movie, br0.
i haven't seen the majority of the movies people mention anywhere
uncultured or i just don't care, one of the two
@Lusitanian yea sorry I missed that
@igorw it said "removed"
@Lusitanian I'll take it as a friendly insult then, I like friendly insults
05:17
@igorw lol,well, not sure it was that either
regardless
yeah, anways.
@webarto how goes breaking your new vps
05:50
0
Q: Autoloading Traits in PHP

savingerIs there any way for me to differentiate between traits and classes in my autoload function? Say I have a folder of classes and a folder of traits; it would be nice to be able to do something like... spl_autoload_register(function($resource) { if ( /* $resource is class */ ) { include 'cla...

/me runs
@igorw why, why, why is that upvoted
06:08
night, anyone who still happens to be here
user895378
@Lusitanian later dude
sam
sam
06:43
hi
06:54
puppies and hyenas?
07:18
Freaking news writers write their articles biased and it sounds like the whole Java thing has security issues
but most of the time it's only about Applets lol
07:33
good mornings
hello any one here
for help me
I am using wordpress and new in this, when i configure the mailing by contact form 7 pluging it showing error on sending email
mornings
morning
can you tell me how can i solve this error
@ircmaxell you wrote it. now support it :) stackoverflow.com/questions/14848526/…
07:55
@Anki please see the standard support options: i.imgur.com/1EWi81a.png
user652649
morning
08:44
morning'
morning bud
@webarto jo
I might have been drinking when you rang
Morning all
09:01
@PeeHaa morning!
Heya @NickFury
I'm having little confusion out of TWIG and H20 template engine which is more light weight. Both of them looks almost exact same.
@BasicBridge TWIG has better/more support.
@hakre i think it's borderline legit, so i am not voting on it. will get closed anyway though
09:16
noon !
@Gordon @hakre git question
git.exe pull -v --progress       "origin"

From ssh://path/to/git/project.com
= [up to date]      master     -> origin/master
Updating 42619da..4058351
error: unable to /create file location/of/inputfield_size_4b.jpg (Permission denied)

git did not exit cleanly (exit code 1) (28626 ms @ 13-2-2013 10:04:32)
After that ^ it has copied the new files into the directory, but for failed to do a real pull
Meaning: next pull I do fails stating I have local changes.
wtf?
Any ideas what the hack is going on?
@PeeHaa some file-systems do not allow to modify files in some circumstances. That will effectively prevent the file to get the pulled changes.
Because git uses the file-system.
09:21
@PeeHaa no clue. i always ask edorian when I have questions about git :)
what is the file-system?
@hakre But the strange thing is it gets the files (from the pull), but because the pull fails it thinks they are local changes
@PeeHaa error: unable to /create file location/of/inputfield_size_4b.jpg (Permission denied)
you can tell git btw. to assume unchanged if that is your issue (only).
@hakre ext3?
git update-index --assume-unchanged <file>
to find out what the changes are, you can use git diff
09:23
@hakre That is the error, but other files in the pull are copied
e.g. $ git diff origin/master
@hakre A file system is an abstraction to store, retrieve and update a set of files.
@hakre I know. But there shouldn't be any changes in the first place
hii guys
09:25
@PeeHaa check with diff, what does it say?
what shall be the database table field type for NOW() php code
datetime?
@hakre There aren't. Only after I do a failed pull it add the changes
@PeeHaa because the index changed.
The failed flow is:
@PeeHaa sorry for interrupting your discussion.. can u answer?
@hakre same with you.. can u answer?
09:27
- no local changes
- pull (fails because of a permission error)
- local changes (the changes from the pull even though the pull failed)
- fix permissions
- pull (fails because of local changes)
@hakre All right, last question any light weight and fast template engine suggestion.
@Sumit I think "datetime"
@BasicBridge 1.) php.net (PHP is a templating language, however it only works with PHP) 2.) mustache.github.com (works nearly with all langauges)
@Ocramius and what shall be the length of the same?
@PeeHaa okay, I can suggest you to do the following in that case:
09:30
@Sumit can you rephrase?
- no local changes
- fetch (don't pull)
- rebase to origin/master. if it fails, you have more options, like skip / continue
@Ocramius: Remind me later that I need to unhide you after you've finished taling with invisible-for-me Sumit.
@hakre huh? O_o
@Ocramius there is a column in table in database named "Length/Values" if i chose type = DATETIME so what shall be its length?
@hakre why you said that??
@Sumit did you actually read some mysql docs? ...
instead of rebasing you might want to merge though.
09:33
Because one thing is asking for help, the other is asking for people to do your job...
pull actually is fetch and auto-merge.
so you might want to just fetch and then merge because I think the merge as well can be resolved in case it fails. You also can revert a merge.
@Ocramius you can ignore users if you're tired getting pinged by them.
@hakre I see :) Thx
@hakre kk will try
@PeeHaa see the merge note. you might want to merge instead of rebasing.
@hakre yeps. tnx
09:47
86
Q: Is there a git-merge --dry-run option?

OttoI'm merging in a remote branch that may have a lot of conflicts. How can I tell if it will have conflicts or not? I don't see anything like a --dry-run on git-merge.

Hi guys!
Good morning all!
Lovely weather here in the UK
Hi All
ping @PeeHaa -t
Hey @Baba
is it friday yet?
09:53
@PeeHaa how are you doing ?
Hey @Baba
@Baba Good good. Fixing bugs people before me like a boss
s/bugs/stupidities
@PeeHaa lol
You?
@Gordon noes :(
@PeeHaa Cracking my head on this issue :
2
A: Error getting current variable in the foreach loop

Daniel FigueroaWell I have no real clue as to why this is, but i suspect it might have something to do with how the assignment is evaluated/processed. For fun I tried this and it resulted in another incorrect behaviour: $arr = array('A', 'B', 'C', 'D'); function itm($val) { return current($val); } foreach...

09:55
What do you do with a drunken @PeeHaa,
What do you do with a drunken @PeeHaa,
Earl-eye in the morning!
@PeeHaa I don't seem to know where the extra "A" came from
@webarto lol morning
Hi guys.. can I ask a simple question about php & macport here?
Discussion for all things PHP - You don't have to ask whether someone is here or can help. Just tell us your problem. If anybody can and wants to help, they will.
09:57
Sure thanks!
what's the difference between installing 'php5-http' and just 'php5'?
in mac-port
@hakre do you know where the extra "A" came from ?
@Baba We summon @NikiC @ircmaxell
@Baba reset()
Isn't this what is happening: next(), next(), next(), reset()?
@webarto I think so ..... if functions affect arrays then that is a major issue for me
Wrong copy
Damn I suck
DELETE ALL THE THINGS

« first day (851 days earlier)      last day (4323 days later) »