« first day (1073 days earlier)      last day (3880 days later) » 

2:00 PM
@DamienOvereem you'll only really see if it works until you get the first mail from the list ;)
 
@DamienOvereem ok, i chose Debian :|
 
@NokImchen Maybe ... none of those? :)
 
user895378
So @DaveRandom @Jack If the fingerprint matches we say we don't care about anything else and that's the final word?
 
@NikiC i'll probably wake up with a flooded mailbox tomorrow morning then ..
 
user895378
And if it doesn't match we fail unconditionally?
 
2:00 PM
Not sure, what would Jesus do?
 
@rdlowrey Nobody needs the NSA. You just need a bit of money (a few thousand dollars) to buy yourself a certificate authority ^^
 
@NikiC none!?!? I'm struggline with </php echo "hello world"; ?> cos my VPS cant run PHP :|
 
@rdlowrey Yes, that's what I think. @ircmaxell probably has a worthwhile opinion on that matter, but I suspect it will be exactly this
 
user895378
@NikiC And from what I've read about security practices you might not even need that much. Social engineering anyone?
 
I updated the RFC, if anyone has a minute ... better ?
 
2:01 PM
@NokImchen apt-get install php apache2
o.O
 
@Jack not add it, simply. If you can't decide on what the correct behavior is, maybe that means that it's better to let people check the fingerprint themselves, if they want to
 
@rdlowrey @DaveRandom Let me tinker with the context option first ... changing the logic later shouldn't be a prob :)
 
Just 2 cents: In signed XML you make the fingerprint part of the signed XML. So if the certificate on the other side doesn't match, that certificate's fingerprint will be different, which means the signature is different -> refused.
 
@Starsong thank u soooooooo much :)
 
@NokImchen Also its <?php not </php.
 
2:02 PM
@NikiC Then they should choose fopen().
 
@Starsong oh, ya, in my php files, its correct, typing mistake here
 
If you do have a function to obtain the fingerprint for a CA, it should do nothing else then get the fingerprint or throw an error if the CA file isnt available/invalid
 
@JoeWatkins I have nice sample for this feature
 
*Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php* :(
 
user895378
2:04 PM
@Jack We may not even need the function at all? Would it be better to move the fingerprint generation into the peer verification routine and check it there?
 
i hate my VPS :(
 
@NokImchen Sorry, package is php5 on Debian
Not php
 
@rdlowrey Hmm, but x509_fingerprint() has other useful functions besides the peer verification :)
 
@Starsong oh, i'll try renaming q.php to q.php5 :)
 
@NokImchen No I mean apt-get install php5 apache2
Not install php
 
user895378
2:05 PM
@Jack yeah I was just throwing it out there
 
@NokImchen If you cant find something try apt-cache search <packagename>
 
I should have something ready in a couple of hours ... gotta do stuff for the missus.
 
need some ideas here
4
Q: Get possible array combinations

Alma Do MundoSO, The problem From SQL I'm getting an array with strings (flat array) - let it be $rgData = ['foo', 'bar', 'baz', 'bee', 'feo']; Now, I want to get possible combinations of pairs and triplets of this array (and, in common case, combinations of 4 elements e t.c.). To be more specific: I me...

 
@Starsong it asked me many question like After this operation, 23.3 MB of additional disk space will be used. Do you want to continue [Y/n]?, i choose Y
 
user895378
@Jack No rush ...
 
2:06 PM
Yes, choose Y, thats just so you know what it's installing.
 
@rdlowrey In signed XML you use the fingerprint in the signed block of the XML.. this is basically a custom piece of code that needs to do this. So obtaining the fingerprint does have more uses.
 
@Starsong ah! its restarting :)
 
@rdlowrey I've been programming fecking JavaScript the whole day, I can use a distraction :)
 
@AlmaDoMundo tell me then :)
 
@AlmaDoMundo I did something quite similar to that once, let me see if I can find it (it may not be any better)
 
2:08 PM
@JoeWatkins, here's a sample
$app->get('/hello/awesome/pink/index', function(){
   /* ... */
});
$app->get('/hello/awesome/pink/create', function(){
   /* ... */
});
$app->get('/hello/awesome/pink/update', function(){
   /* ... */
});
$app->get('/hello/awesome/pink/delete', function(){
   /* ... */
});
that could be replaced with
$app->get('/hello/awesome/pink', new class extends BaseController {
   public function actionIndex() { /*...*/ }
   public function actionCreate() { /*...*/ }
   public function actionUpdate() { /*...*/ }
   public function actionDelete() { /*...*/ }
});
 
@rdlowrey For more info check w3.org/TR/xmldsig-core
 
@JoeWatkins seems good?
 
@DaveRandom we have a lot of rfcs
 
@DaveRandom - yes, I'll be grateful
 
@Starsong oh, i think i wont need it cos i want minimal and also i get headach when i know so many commands :|
 
2:09 PM
ie. the Dutch/European iDEAL system uses the fingerprint as the keyName value.
 
eh! my VPS dont allow torrent seeding :(
 
@NikiC Actually is function autoloading still a going concern?
 
@DaveRandom not really
 
@NokImchen Most VPS's don't...
 
It says "Status: Withdrawn" :)
 
2:10 PM
@AlmaDoMundo You have heard of ->mount('/hello/awesome/pink', ...) right?
 
:-(
@NikiC Yeh I know but someone was talking about resurrecting it last week
 
@DaveRandom that was ajf
 
@Jack ? (actually, this is some sample and it's not mine - but I understand it well)
 
@Starsong i still cant run php, when i try to open the url, it begins to downloading :|
 
While he has good intentions I somewhat doubt that he/she is the person to get that thtough
 
2:12 PM
@AlmaDoMundo might be a good specific use case but I dunno if that's what we're looking for ... it makes no sense to list all the places you might use it with examples of code, I think it makes more sense to define where in general you might use it ...
 
@Gordon do your mod powahz let you edit function autoloading out of chat.stackoverflow.com/transcript/message/11955764#11955764 ?
 
@JoeWatkins well, at least it's an idea - we've discussed that with colleagues and found this case
 
@DaveRandom just post a new one ^^
 
@NokImchen Check your Apache configuration, you probably need to enable PHP in that dir
 
@NikiC :'(
 
2:13 PM
may be more samples will come tomorrow :p
 
@NikiC Uncle Gordon has already struck :-)
 
@Starsong ok, let me brute force all the possibilities :|
 
@NokImchen Look for a general server config tutorial, setting up a LAMP stack on Debian is not complicated.
 
@Starsong in Apache Config is default
 
What's wrong with the following JSON:

[{STID:"241",VRNOA:"199",VRDATE:"1/2/2013",ETYPE:"PURCHASE",BILTY_NO:"",PARTY_ID:"0035",TRANSPORTER_ID:"001",OfficerID:"",REMARKS:"",NAMOUNT:"38800",DISCP:"0",DISCOUNT:"0.00",EXPENSE:"0",FED:"undefined"}]

I am unable to post it in formatted way. You may want to have a look at it at http://json.parser.online.fr/
 
2:15 PM
@KamranAhmed Your keys are not quoted
 
@KamranAhmed jsonlint.com
 
someone help out a noobie install Symfony (me)
 
Use a JSON encoder instead of building it manually
 
@KamranAhmed .. and this is the point where you bow before the awesomeness that are @DaveRandom and @Gordon and scream "I AM NOT WORTHY!!"
 
2:16 PM
@DamienOvereem nah. that would make me feel uneasy. I'm not Alice Cooper.
 
@DamienOvereem Ring kissing is generally sufficient (no, not that, dirty boy)
 
@NokImchen You're probably looking for apt-get install libapache2-mod-php5
 
I was there but then
1. I got stuck trying to install curl (lol)
2. someone told me I don't need curl or composer since I already downloaded the zip package
3. I have no clue what to do with this package or where to put it
 
@Starsong i'll try that now :)
 
/me hates people that ask questions, run off with the answers without even as much as a thanks..
 
2:18 PM
@Gordon @DaveRandom thanks...

[
{
'STID': "241",
'VRNOA': "199",
'VRDATE': "1/2/2013",
'ETYPE': "PURCHASE",
'BILTY_NO': "",
'PARTY_ID': "0035",
'TRANSPORTER_ID': "001",
'OfficerID': "",
'REMARKS': "",
'NAMOUNT': "38800",
'DISCP': "0",
'DISCOUNT': "0.00",
'EXPENSE': "0",
'FED': "undefined"
}
]

@DaveRandom That's what you are talking about?
 
1) lol
2) use composer
3) See 2)
 
@KamranAhmed Double quotes. Read json.org and
3 mins ago, by DaveRandom
Use a JSON encoder instead of building it manually
 
@DarkAshelin hmm. too unspecific. try youtube.com/watch?v=z14t0N4ZPy0 then (randomly picked from youtube)
 
still php files dont get executed, but downloads the whole file :(
i'll read the whole google :|
 
2:19 PM
@DaveRandom OK thanks :)
 
@DarkAshelin What problems have you had getting composer to work? That's the root of your problem
 
@DaveRandom I dunno how to get curl working, also it's monday
 
@DarkAshelin "dunno how to get curl working" is not an error message ;-)
 
indeed it's not
more like a brainfart
 
Phah!.. So the subscription for interlans-win succeeded, php-announce succeeded, but still waiting for internals :)
 
2:24 PM
same problem as I have with Symfony, I downloaded the zip / tar.gz and now I have a folder and I dunno where to put it
 
is there anything which is like a complete package of basic things need to run a website like WAMP for Desktop Windows , cos installing one by one is confusing me a lot :(
 
I don't get Anonymous Classes
 
@NokImchen XAMPP but don't use it in a production environment.
 
why do we need that?
 
@NokImchen vagrantup.com
 
2:25 PM
@DamienOvereem While you're waiting, in case you don't know, news.php.net/php.internals
@DarkAshelin What OS?
 
@iroegbu it's up to us, I believe - to figure out why :)
 
@iroegbu no one knows
 
I'm seeking good practical samples for that
 
@DaveRandom Win7
 
but I'm not sure too
 
"select where php.exe is located" wth
THE php.exe
 
@Starsong sorry for replying late, i was searching the meaning of "production environment", well, i always need something for production environment only. So XAMPP cant be used :(
 
@NokImchen Then figure out why Apache isn't executing PHP scripts in your web root.
 
@Gordon do i need to remove debian to install Vagrant?
 
@NokImchen no. vagrant is a tool for managing VMs.
 
2:28 PM
Probably because you haven't told Apache that PHP should open .php files.
 
@Gordon what if i remove debain, will Vagrant still work without Debian? :)
 
@NokImchen will word work without windows?
 
@AlmaDoMundo we aren't too lazy to type out the names of our classes
 
@iroegbu I think that's not the point :p
such thing exists in Java - from what I've heard
 
ooh! Debian is an OS! i didnt know :(
i thought Linux is OS and Debian is a software runnin gin Linux OS :|
 
2:32 PM
nope. It's the name of one of my dogs
 
@NokImchen make a flat hand. move it quickly onto your face so that it makes a slapping sound ;)
 
isn't Vagrant a DJ?
 
@AlmaDoMundo ok, I see some points... it's not a bad idea after all.
 
@NokImchen Debian is a distribution of linux.
 
@NokImchen Debian is a pile of awesome.
 
2:33 PM
@iroegbu then tell them to @JoeWatkins :p
 
@Gordon what an instruction :(
 
@NokImchen that's how you facepalm ;)
 
@Starsong I will be home in 1 hour and I will test the Netbeans<->Nginx situation
 
@Gordon "facepalm" ? so many new words :|
 
I hope it works
 
2:34 PM
@Gordon that's a bad instruction :p
 
You get bonus points for slapping through your face.
 
it will not work in Debian OS :p
 
@Jack So that's where all my SO rep came from
 
2:34 PM
$starsong->rep++; //?
 
my current Debian is all messed up. I want to make "format" my VPS totally clean and then reinstall latest version of Debian, please give a bit of idea how to do it...
 
Why is your Debian all messed up?
 
@Starsong cos i copy paste all the Putty commands available on google and executed it, i didnt knw what i was doing :(
 
1) Go to your VPS control panel
2) Install Debian
3) Cry
4) Install CentOS
5) ?
6) Profit!
That's how it would work for me anyway
 
Eww CentOS :P
yum install aptitude ?
 
2:37 PM
apt-get better-os
 
Upgrading Debian Squeeze to Debian Wheezy, please wait...
 
^C^C^C^C nooooooooo...
 
:D
I liek Debian. :P
 
@DaveRandom there is not "Install Debian" option in my VPS control panel, i aent a ticked to downgrade from Debian 64 bit to Debian 32 bit (just to get a fresh installation), he said he'll do it in 24-72 hrs, but nothing happened
 
2:38 PM
I'll go and install ubuntu desktop.
on a server, ofc
 
Ummm... well then get a better VPS provider...
 
that's the source
 
@NokImchen your on a VPS, that should normally take at most 10 mins
sometimes it's almost instant though on my old box
what's your VPS btw?
 
@Starsong eeeee! i hate aptitude *! it says *aptitude command not found i wasted hours trying to figure out, but nothing happened, i finally decided to forget my VPS and start mining bitcoin. But 2day again i'm into my VPS cos last night SHA256 f*cked me :(
@DaveRandom my VPS is only $10/yr, cant get any VPS cheaper than that :P
@Starsong eeeee! i hate aptitude *! it says *aptitude command not found i wasted hours trying to figure out, but nothing happened, i finally decided to forget my VPS and start mining bitcoin. But 2day again i'm into my VPS cos last night SHA256 f*cked me :(
 
i'd rather get centos6 instead of debian :[
 
2:41 PM
@NokImchen You get what you pay for
 
@NokImchen maybe you can find one here lowendbox.com
 
@NokImchen Choose two: specification, low price, support.
 
E_NOT_A_CHOICE
 
@DaveRandom hehe, ya, i thought i'll install something similar to WAMP and my work is done! but in reality its a lot difficult :(
 
found one.. $9/year.. LOL lowendbox.com/blog/…
 
2:43 PM
@reikyoushin ya, i choosed from there only :)
 
Yeh *nix doesn't work like Windows. You have to be, y'know, competent.
 
@reikyoushin OMG! i wasted $1 :(
 
though cheaper = sucks more
 
@AlmaDoMundo lol.
 
2:44 PM
@DarkAshelin :p
 
@DaveRandom You don't HAVE to be....I've seen my share of inept *nix users
@DaveRandom Ubuntu has lowered the bar for *nix users ...
 
^ this
 
@DaveRandom *nix are for geeks! haha. jk.
 
@DarkAshelin that's not the most stupid question. Somebody here linked a snapshot for question about "Why in PHP 'foo' and 'bar' are used and not something like 'allah' & 'akbar'" (no offense to anybody) :p
 
ahahaha
 
2:46 PM
how do we format VPS? Can i install Debian Wheezy after i format my VPS ? or am i just being stupid trying to format? :|
 
@NokImchen it should be on your solusvm if you have one..
 
@NokImchen You do it in solus/parallels, or aks your provider if you dont have that.
 
@reikyoushin yes! i have solusvm :) let me explore :)
 
@NokImchen you should see all OS you can install there..
 
@NokImchen If you're lucky they'll have an image with hardened PHP stack already installed.
What ever happened to suhosin?
 
2:48 PM
@Starsong my provider is a lazy guy! he takes ages to do anything :|
 
anyone know? I enabled openssl extension on my wamp server but it still gives me "openssl not enabled" error. I did restart my server
 
@NokImchen He's getting $10 a year; why would he care?
He's probably just offsetting his server costs.
 
@Starsong yes! thats y i have no complain :)
 
@DarkAshelin check that your extension .dll file exists in extension_dir folder
check errors log also
 
I used the following methods:
http://stackoverflow.com/a/17379839/2539335
http://stackoverflow.com/a/4774365/2539335
 
2:49 PM
@NokImchen that's the problem with LEB, its cheap, but definitely D-I-Y
 
Actually with a Ubuntu live CD it's easier to be install an operating system to be incompetent in then ever before. It's even easier then with windows.
 
I'm off now :p see you all
 
@reikyoushin i saw "Reinstall" button, by "Reinstall" does it mean to delete all modules/packages and start afresh just like when i bought the VPS in the beginning?
 
pff, wanted to start with Symfony2, got stuck at installation T.T maybe I'm not ready for it?
 
@NokImchen Yes
 
2:54 PM
OMG!!!!! i can choose to install ubuntu-9.10-x86_64 suse-11.3-x86_64 and scientific-6-x86_64.tar.gz and slackware-13.0-i386-minimal and owl-current-20100323-x86_64 and fedora-15-x86_64 and many many more !!!
 
Just choose Debian
or, if they have it, Debian with PHP/MySQL/Apache stack
(My VPS host has that option)
 

PHP for noobs

Because the real PHP room makes you feel like a retard
 
i choosed Debain 60. x86 64, is that Wheezy? :|
 
No, it's Squeeze
 
/me is back from market and mall
 
2:56 PM
lol @DarkAshelin
 
@Starsong i dont see that in my control panel :(
@DarkAshelin is that for me? :|
 
for me mostly
 
wb @tereško
 
what is CentOS 5.5 64-BIT w/ cPanel ? has it got free cPanel too???
 
why the hell would you want cpanel
 

« first day (1073 days earlier)      last day (3880 days later) »