« first day (1567 days earlier)      last day (3377 days later) » 

7:00 PM
posted on January 30, 2015 by PeeHaa

Fixed a bug where the fragment was not stripped from the URIs. Thanks [@rdlowrey](https://github.com/rdlowrey)!

 
@rdlowrey <3
 
^ E_URL_FAIL
 
user895378
@Feeds yay!
 
@PeeHaa does it work for that url the other day now?
 
@MarcelBurkhard Yes. Stupid mistake which @rdlowrey pointed out :)
 
user895378
7:03 PM
@PeeHaa Actually I believe @kelunik was the first to spot it :)
 
user895378
But I'll take the credit. Screw him ;)
 
:D
gratz on first stable release ^^ (1.0.0)
 
heheh ooooh snap. Now I have to change the release note. You should have kept this to yourself :P
 
@PeeHaa I just looked at it and saw that fragment, maybe because I read the RFC for that not too long ago. :)
 
@MarcelBurkhard tnx :)
 
7:05 PM
incoming v1.0.1 Properly credit @kelunik for the last bug fix. Thanks [@rdlowrey](github.com/rdlowrey)!
 
hehe I'll just change this release
@kelunik Do you have a github I can link
 
Yes, it's nice that GitHub allows to edit those releases. :)
 
@PeeHaa hehehe
 
@PeeHaa kelunik ;-)
 
user895378
git tag -d v1.0.1
git push :origin/refs/tags/v1.0.1
git commit --amend
git tag v1.0.1
git push -f && git push -f --tags
 
user895378
7:07 PM
Err ... I mean ... wait ... I never delete tags I've already pushed to remote ;)
 
hehehehhe
 
user895378
It's sad that I actually know the commands to do that without googling it.
 
Oh cock :P
Meh not going to fix that one :)
 
So I'm following a guide to setup git... now I'm at "Add your SSH key to the authorized key list." -> Wait what? ... Now I have to that shit first :(
 
7:13 PM
@BenjaminDiele just downloaded one from puphpet (chose ubuntu and vim, just clicked through defaults for everything else) and all seems to be there. Did you get any errors when you did vagrant up?
 
what "git setup" ?
 
@PaulCrovella Eh. PhpStorm hasn't got a history that big :D Let me try again
 
@tereško I wan't to have a git repository on my dev server (I'm a noob and only have subversion yet) and then integrate it with jenkins
 
@MarcelBurkhard I hate to break this to you, but you probably wont be able to set it all up in a day
 
7:16 PM
@tereško I didn't expect to finish today so thats quite alright
 
do you know what "ssh keys" are ?
you can set up git-driven system without them , but then you will have to type in credentials every damn time
 
@tereško yes, just rarely use them ( as in never )
 
I use them on all my systems
 
@teresko Shouldn't take much time to set up git and jenkins as long as you're using a distro that has them prepackaged.
 
I got ubuntu 14.xy
 
7:18 PM
@JeremiahWinsley how may times have you set up such infrastructure ?
 
and my vps is debian 6
 
@PaulCrovella Now that I've deleted the old one and running a new "up", it seems to do some stuff differently. Now I see php stuff passing
I love these magic machines!
 
@JeremiahWinsley won't you answer ?
 
Git repos often, Jenkins only twice
My builds weren't very complicated though, it would take longer if you needed to set up build slaves.
 
@tereško help.github.com/articles/generating-ssh-keys/#platform-linux Do I need to do that on the machine that will have phpstorm etc. or the machine with the git repo?
 
7:22 PM
wat
 
@PeeHaa I can basically use this requestable.pieterhordijk.com as a proxy?
 
@tereško :D nvm I'll google
@nikita2206 I wondered that myself, but was to lazy to check the repo for protection against abuse
 
@PaulCrovella Aha! It has finished and reported 2 errors, "Composer install" seems to fail (gist.github.com/3bdNKocY/a32ad1bd84b2017b2289)
 
@marcel Do that on the machine you'll be using to clone the repo. Usually that'd be your client.
 
@JeremiahWinsley damn I feared that, my client is fkn windows :(
 
7:24 PM
@PaulCrovella But now vagrant has installed php and such, awesome!
 
Progress!
 
@nikita2206 Yes
 
I wish I made progress :P
 
@JeremiahWinsley can It also generate ssh keys?
 
7:26 PM
@nikita2206 however if you need a proxy for a specific site and you are not doing too shady stuff it might be easier to tell me what needs to be proxied so I can setup a dedicated proxy for it
 
Not sure, it might require PuTTY for that. It can use them though. Alternately you can look into Cygwin/Babun and get a decent shell, but that's a little more work.
 
@PeeHaa nah thanks, I meant it was kind of a treat for you guys
No treat is a wrong word
 
Looks like it does generate them: help.github.com/articles/…
 
@JeremiahWinsley I have putty
 
My english just broke
 
7:27 PM
E_ENGRISH
:)
 
@JeremiahWinsley actually had that page open already 10 seconds before you posted the link :D
 
@PaulCrovella But now the apache server doesn't find my project. It's a start though!
 
@JeremiahWinsley thx for that windows.github link, seems quite nice, installing it now
 
@BenjaminDiele if you went with the defaults you should have a local awesome directory shared at /var/www/awesome on the vm, but it's not the default vhost. if you just go to the ip address (the vhost is awesome.dev which you'd need to set your hosts file to point at)
 
@PaulCrovella Let me check
 
7:34 PM
that somehow made less sense after my edit... sorry
 
I know what you're getting at. Good enough man ;)
@PaulCrovella You are correct about the awesome map. I changed everything with awesome in it to my projectname / folder.
Reloading now!
 
@JeremiahWinsley you got a minute? Struggling over step 2 in: stackoverflow.com/a/11165559/982075
probably should've just used git first before trying to install a git server...
 
@marcel You shouldn't need to do that, just hit the 'Clone in Desktop' button on your repo page. help.github.com/articles/…
 
@PaulCrovella Still 404 on the homepage :D And nothing in my apache logs :(
 
@JeremiahWinsley there lies the issue, I don't have a repo, I want to create an ssh key
 
7:42 PM
@BenjaminDiele are you hitting the ip address or the vhost domain name?
 
because I need that to create the repo? Don't I
 
@PaulCrovella ip
 
No, the ssh key is just so that you can push to your repo without password authentication. If you're using Github, the client should take care of setting all that up for you.
 
@PaulCrovella And I just set up my hostsfile. No difference there
 
Ok I guess I'll skip that step in the git server tutorial and head on to creating the actual repository and get back to the key thingy later if needed
thx @JeremiahWinsley
 
7:45 PM
@BenjaminDiele check that what you expect is in /var/www/awesome (or whatever)
 
@PaulCrovella It was my apache sites-enabled conf. That still pointed to /var/www/awesome
And now my php require_once fails. This is an enjoyable evening
 
GODDAMIT! How the crap did visual studio become my default for opening .json files!!
 
ey, visual studio is awesome!
 
but overkill for .json
I now have a folder for the repos, and a git user which can login through ssh but only with a ssh key, which I don't have
fml ^^
 
7:50 PM
ah shit, i still get a 404 :D
 
nice :)
takes me 3 seconds to launch Visual Studio though... Eclipse is slower
(and yes I hadn't started it before on this windows session)
 
@PaulCrovella Are you running visual studio on a toaster?
 
no, i was just expecting notepad++ :(
also, @MarcelBurkhard, who the hell still uses eclipse?
 
Ow, it's the PHP that's not worky worky. If I put an html file in my root folder, I can access that via apache. Not so with a php file
 
7:57 PM
bah, it's nap time for me. g'night all.
 
see ya!
 
@PaulCrovella I do, and currently I have more important things to unfuck, like not writing unit tests, not using proper dependency injection, not using continuous integration, not using a version control system. But once I'll have done that I might consider switching to phpstorm. ;D
gn8
 
@MarcelBurkhard switching to phpstorm first makes the other stuff a bit easier though
easier in the sense of, "not wanting to poke your eyes out"
 
@BenjaminDiele I'm happy with eclipse tbh
 
you heathen!
 
7:58 PM
:D
 
Now, why the hell do I get a 404 when I try to access my .php file :(
 
I'm atheist too yes..
 
Hope everyone is having a great friday
 
@RonniSkansing Just wonderful!
 
@RonniSkansing enjoying yours?
 
7:59 PM
yea thanks. Just got home from moving my brothers stuff. Enjoying a beer =]
considering what to do nexty =]
 
I have a beer as well! Beer is awesome!
 
note to self: don't delete puttygen after downloading putty next time because you think you're not going to need it.
 
beer is almost over
there are only few drops left
 
re
 
=] I need to cut down on the smilies, I dunno they sneak into everything I write..
 
8:02 PM
yeah you gotta man up
 
@RonniSkansing Yes, and who likes smilies Ծ_Ծ
 
Wait ... I DO =] 2x smilies from now on
 
@PaulCrovella that's why I use a Mac ;)
 
my computer thinks my ssh key is a Microsoft Publisher Document x)
 
8:08 PM
lol
Oh, because it ends in .pub, hah
 
you have went of the deep end , @MarcelBurkhard
 
"Next, add the contents of the public key file into ~/.ssh/authorized_keys"

I added the content of my public key to /home/git/.ssh/authorized_keys and did *service ssh restart* then I choose the private key file in putty. Server refused key.. what?
 
not sure if I should congratulate you or express my condolences
 
@tereško because I don't mind eclipse?
 
8:14 PM
there is no difference between eclipse, phpstorm and notepad in what you are currently trying to figure out
 
that was my point to
first things first
PHPStorm doesn't like me using a mounted folder anyway
:D
I told me that my project cannot reside in the same folder as the server location (or smth like that)
 
/me ships beer to @tereško
 
ooh
There's soon going to be a new version of Laravel! inb4 room11 doesn't care because Laravel sucks
 
heard about it few days ago
 
is this thing on
hi
 
8:18 PM
this means another wave of spam on all the incoming streams
 
bye
 
@marcel I don't remember for sure, but I think that error has to do with your deployment settings. If you change the deployment location to 'in place' it should fix that.
 
Laravel 5 right?
 
@igorw nope, so you may need to PROJECT YOUR VOICE A BIT if you want to be heard
 
yeah , another iteration of crap =/
 
8:18 PM
Laravel should have made the smart move and moved to Laravel7
 
@JeremiahWinsley I already uninstalled phpstorm and when I'm going to install it again I'll be using git, but thx :)
 
@JeremiahWinsley this chat has autocomplete and if you click on the "arrow icon" you can replay to a specific line
@RonniSkansing or better: laravel 2015
 
lol yea that would be awesome
 
@tereško Thanks, hadn't seen that.
 
well, this is a bit more advanced when compared to ordinary IRC thing ... and there is also the option to edit your lines for 2 minutes (iirc)
 
8:21 PM
/home/git/.ssh/authorized_keys

should that be a folder or a file?
 
it's a file but it is a file on the "target machine"
if you are connecting to th github, it's not what you need to use
 
ok then I fucked something else up
I have it on my dev server with my public key in it
server still refuses my private key to login, I'm doing something else wrong I think, will check sshd_config
 
ok .. I will try to explain the basics in 40 words or less
you have 2 keys: public and private and you can generate a public key, if you have a private
 
@MarcelBurkhard Check the file permissions - needs to be 0600.
 
also, when you encode something with private key, it can be decoded with public one and vice versa
 
8:23 PM
you can skip that part @tereško I know how RSA works
 
Sigh .. 2 hours of debugging. Now, bug chased. But to fix it I need to fix everything. Fuck it, going home :/
 
so ... to connect to some machine, you need to give it the public key (either in a file or in config)
 
@AlmaDo =/
 
so that when you are connecting to it with your private key it can recognize you by having the public
 
@tereško I think I did that, put public key on target authorized_keys and private key in putty under settings ssh - auth - private key
 
8:25 PM
and also fuck spl_object_hash (but, more honest - fuck developers who think what it will be unique and don't give a damn about gc)
 
yeah .. that's a problem with putty: you have no "verbose" mode
that's why people where mentioning CygWin .. we find it to be less of a fuck-around to use shell commands for this
 
@AlmaDo the solution is this: class MyClass { private static $counter = 0; public $id; public function __construct() { $this->id = ++self::$counter; } }
 
@tereško thx, I'll try for like 10 more minutes and If it won't work I'll get cygwin
 
Bam, globally-unique ID!
 
@AndreaFaulds yes. Now imagine that to introduce fix I will need to follow 2-weeks release cycle ..
 
8:28 PM
cygwin will let you have semi-native git/ssh/wget/svn/vim/ls/cd in windows shell
 
@AlmaDo ...?
 
@AndreaFaulds "globally"
 
@tereško yes I think it's almost a linux-in-windows kind of thing right?
 
not to mention that there are legacy unit tests which rely on the key-generation via spl_object_hash .. so I will need to fix that bunch of sh*t ..
 
@ircmaxell application instance-ly? locally?
 
8:28 PM
@AlmaDo it will always be unique if you hold the reference to the object
 
@MarcelBurkhard and if you want windows shell to look pretty, google either "console2" or "cmder"
yes , kinda
 
@tereško both are ugly in their own ways
 
@ircmaxell yeah. But it will be cleaned by intention (let's say, changing quantity of items)
 
Simple fact of life that Windows terminals suck (mostly because Windows's CLI is a crappy DOS imitation)
(also, UTF-16)
 
8:29 PM
@tereško I'd rather not use the windows shell at all :D but well maybe I'll have too and then I'll google those terms
 
@MarcelBurkhard I'd recommend Babun over cygwin - it's based on cygwin, but comes preconfigured with the tools you need + zsh and mintty, much better than cmd.exe
 
so it's just bug - guys, who wrote that code - didn't know about gc. or how spl_object_hash works ..
 
what the hell, why can CLI apps use UTF-16?!?!?!
 
@AndreaFaulds it's relative. The default windows shell feels like an insult. I take what I can
 
@tereško Yeah, I understand you. I used Console2 when stuck on Windows.
 
8:30 PM
Huh.. anyway, screw it. Because of that in Monday I will say woops, we didn't make it
 
@MarcelBurkhard in time you will find that running GIT from terminal is much easier then using some GUI tool
also, you get better control
 
@tereško I use the console on linux a lot but avoid it on windows as much as I can
except for ping/tracert/ipconfig stuff
 
in past month I have converted 3 co-workers to using GIT from terminal, because the saw me sing it when I was fixing their fuckups
 
@tereško I'd happily use it from terminal If I was on linux...
 
@MarcelBurkhard I mostly use git and ssh from windows shell
 
8:33 PM
@tereško maybe I have to jump over my own shadow then... (is that even a saying in english? )
 
not sure .. is that from Carl Jung?
 
Anyone here know how I can get twitter bootstrap via composer installed in my silex app? Googling shows me pretty little :(
 
@tereško just tried to find out where it originated but no luck sry, just means to overcome an initial ehm.. not-wanting-do-it ?
 
let me search for that
Thanks man!
ow
 
yeah... symfony2 package sry... I shouldn't speak when I got no clue...
 
8:38 PM
I wonder what is behind the (removed)
 
@RonniSkansing More beer
 
@BenjaminDiele anyway you should manage your client stuff with bower I think
 
what's bower? :D
 
@BenjaminDiele I got lots of beer here..
 
@RonniSkansing some bundles that don't suit his usecase
 
8:39 PM
@RonniSkansing Pass me one please. I'm out of beer.
 
@MarcelBurkhard well, I am not really all that versed when it comes to Jungian theory. Most of what I learned was related to this song: youtube.com/watch?v=Tja6_h4lT6A
 
@BenjaminDiele bower.io ... I would call it "Composer for javascript libraries"
 
wasnt composer a clone of npm?
 
yay, some more installing of stuff
 
8:40 PM
@tereško Song seems nice, don't know what you are talking about though..
@BenjaminDiele yeah and make sure you install the right node package, because one is something entirely different and many tutorials are wrong ^^
 
great! What could go wrong?
 
hehehe
 
Absolutely everything!
 
drove me crazy when I tried sass/less with symfony assetic
@BenjaminDiele with node I meant node js, fyi
 
@MarcelBurkhard Yeah, kinda figured that one out :D Thanks though
 
8:44 PM
my server still refuses "our" key though...
 
Anyone here know how I can get Silex to automatically translate my request url to the correct controller / action? Doing all the routes manually would suck
 
at some point you might want to rethink If you really want to use a microframework
:P
 
yeah, you might have a point
 
@BenjaminDiele how many routes do you have that that is unmanageable ?
 
@Danack None yet, but it does seem awfully dreary adding them manually, each with its own action
 
8:49 PM
@BenjaminDiele Should be pretty trivial to make it yourself
 
@PeeHaa just asking if it already exists :D
 
gtg bye, cu
 
@MarcelBurkhard See ya!
 
9:08 PM
I like adding each route
and coupling it manually to a action
would it be possible to have a php 7.something where the word function is unneeded. Like public foo() instead of public function foo()
 
@RonniSkansing nope
unpopular
 
oh I thought that would be the hit
 
Well it's aesthetically pleasing to basically everyone.
 
and happy friday btw
 
9:44 PM
just wasted like 1 hour because I didn't see the # in front of AuthorizedKeysFile %h/.ssh/authorized_keys
ah it's still not working..
 
> warning interned string buffer overflow
Should I be worried?
 
I'm just going to guess yes, you should be worried.
 
> Fri Jan 30 21:50:23 2015 (41488): Warning Interned string buffer overflow
Not really sure what to do about that, this is the opcache.
 
I think @NikiC would be the most helpful there ^
 
Eh, that just means that the buffer is full not that it's overflowing, the buffer being full makes perfect sense..
Why would the error say that
Thanks for the quick find by the way
 
@BenjaminGruenbaum Probably so you change the size of the buffer
 
The buffer is 64 megabytes, that's quite enough for interned strings if you ask me :D
 
I finally got my ssh key working
 
@BenjaminGruenbaum You must be interning a lot of them ^^
 
9:57 PM
Lots of string literals maybe?
 
@NikiC heh, it's just wordpress, moved it to linux hosting from windows hosting which was horrible * 4 websites. Saved about 200$ a month and got much better performance.
Azure need 2 instances of a 2 core 3 gb ram vm to power a 100K visits per month wordpress site. mfw.
 
@BenjaminGruenbaum lol
that's rather weak ...
 
You don't say
Microsoft support blamed an application error on stock wordpress, moved to a cheap linux VM has been flying since.
So, what do I do about the interned string warning?
 
nothing, probably
 
It's filling my logs with junk
 
10:11 PM
I find it weird that it is
It doesn't sound like something that should be occurring all the time and google doesn't have a single person asking about it
 
@BenjaminGruenbaum Isn't that just the opcache.interned_strings_buffer setting that needs increasing?
It default to 4megabytes, which may be low for WordPress.
 
It's 64mb, I changed it when I configured php
I do appreciate the help
@NikiC exactly
 
try moar?
 
@BenjaminGruenbaum Sounds like a typical wordpress translation plugin to me :)
 
Also, it doesn't happen in the other site which has a much lower setting for that.
The 4mb site works just fine but the 64mb one doesn't
I find that really odd
Hmm, it's probably because I gave that server way more opcache memory but only a little more interned string allowance so it wants moar
 
10:18 PM
@PeeHaa ? what if somebody use your debug app (requestable) to GET "http://kittnes.org/blog?post_id=1); drop database kittens;--" ?
 
@BenjaminGruenbaum that shouldn't cause a problem.....tbh it sounds like a bug/stupid thing where strings are continually being added - maybe doing opcache_get_status and dumping the interned_strings_usage might add a tiny bit of info.
 
@marcio Not much because that page 404s
 
(PS: I'm not that person)
 
I think 64MB is way more than it should ever need.....and it would only be running out if there is a bug or Wordpress is doing something stupid.....
 
But if you are asking about responsibility / liability. I can hardly be held responsible for that :)
In related news. This keeps putting a smile on my face requestable.pieterhordijk.com/XECuvc
 
10:21 PM
@Danack yeah it's huge
 
do you guys have ssh keys with or without passphrases?
 
@MarcelBurkhard a lot of things only accept them with passphrases.
 
ok, I used a 20 char password and now I'm annoyed because I have to type it all the time because I'm trying to get my ssh-agent working
 
@MarcelBurkhard Keepass?
 
/me idiot
@PeeHaa I have keepass but I can't paste to Windows For Github's PowerShell (or I'm too stupid, probably the latter)
 
10:27 PM
Yeap the latter :P
Right click -> paste
 
oh.. too obvious
 
:)
 
I tried right click, Shift+Insert etc.
anyway.. thx, but It doesn't really solve my actual problem :D
I have pageant running with my key loaded (the same that now works in putty) but in the Github Shell thingy it asks me for a password
"Could not open a connection to your authentication agent."
 
Dunno how github for windows works tbh
 
@PeeHaa guess what, neither do I
:D
 
10:32 PM
ow crap. I think my machine is doing a disk check :(
Stupid stupid feature
 
@BenjaminGruenbaum feel free to open a bug on bugs.php.net and ping me with it. As I said, this is either a bug in PHP or Wordpress doing something entirely dumb. But the fact that it's not possible for users to find out deserves another debugging function anyway.
 
10:44 PM
/me just did his first git commit to my helloworld repository
 
\o/
 
/me is now unstoppable :P
 
@MarcelBurkhard Double check to make sure you didn't just upload your private key? I KEED, I KEED.
Could someone with a real (as opposed to VM) centos box with PHP 5.6.2 do me a favour and run:
git clone github.com/aws/aws-sdk-php
cd aws-sdk-php/
composer -d allow_url_fopen=1 update
php vendor/bin/phpunit
Basically - this is working fine on my OSX machine and completely fucked inside the VM. PHPunit doesn't even display itself correctly.
 
remote: error: insufficient permission for adding an object to repository databa
se ./objects
remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To git@____:/home/repo/helloworld.git
! [remote rejected] master -> master (unpacker error)
guess I haven't made my first push yet, only a commit (which is weird terminology when you used to use svn... )
 
10:48 PM
@MarcelBurkhard do you have write access to that dir?
@Danack WTF?!
 
@igorw Why the /@igorwhile(true|false)/ distinction?
 
@Ocramius seems not but I don't get why...:
$ sudo chown git:www-pub -R helloworld.git
$ sudo git echo "test" > helloworld.git/test.txt
-bash: test.txt: Permission denied
 
@MarcelBurkhard Are you writing in a bare repo directly?
 
well my git user only has access to git-shell-commands
@PeeHaa yes and no, only to check permissions, but I pushed from my client with git push origin master
 
10:52 PM
Oh wait, I think I understand now, nevermind.
@igorw hey what feature does PHP 7 need most?
 
@AndreaFaulds A yolo extension.
 
@PeeHaa It works now, the gui thingy had already pushed so my console push threw that error
 
@NikiC BUT THAT WOULD BE TO GIVE INTO THE DARK FORCES OF PHALCON
 
@tereško I'll just use command line git from now on :D
 

« first day (1567 days earlier)      last day (3377 days later) »