« first day (1225 days earlier)      last day (3949 days later) » 
00:00 - 18:0018:00 - 00:00

00:24
@DaveRandom lol
hehehe
@HamZa When says the name of JC, I always repeat it - JEEEZ - us. Ker - rist.
btw if anyone hasn't seen - the shit show that is composer's replace functionality may be fixed: en.reddit.com/r/PHP/comments/1ygk20/…
@padraicb yeah, thanks for the shitstorm, and updating your post. Now everyone can go back to misunderstanding replace, but quietly.
@Danack I didn't get the joke (or was it not a joke?). Maybe because english isn't my native language ...
@HamZa People say Jesus Christ as a swear phrase "JEEEZ - us. Ker - rist".
00:44
There are three users called Jesus Christ I see. Maybe he read an answer by one of them and was just giving attribution. — McNab Feb 18 at 17:25
Sentences: 11
Question Marks: 8
Questions: 0
http://news.php.net/php.internals/72732
5
Jesus Christ ... — Robert Harvey Feb 18 at 17:18
Actually I suppose that's not 100% true, the last sentence is sort of a question, but doesn't end with a question mark
user895378
@DaveRandom +1!!
Going to sleep. Cyaa
user895378
00:47
@DaveRandom Also, I will award 250 bounty points to any answer of yours if you'll +250 more bounty on this question:
user895378
4
Q: What's the correct way to verify an SSL certificate in Win32?

briangreeneryI want to verify an SSL certificate in Win32 using C++. I think I want to use the Cert* API so that I can get the benefit of the Windows certificate store. This is what I've come up with. Is it correct? Is there a better way to do this? Am I doing anything wrong? bool IsValidSSLCertificate(...

user895378
@HamZa night
@rdlowrey I don't seem to be able to do it, I tried earlier. Don't know if a mod could do it? /cc @Gordon
I'm really not arsed about the rep, not like I don't have enough :-P
user895378
It wouldn't let you put more than 250 on it?
It won't let me adjust the value
I'm sure you used to be able to put multiple bounties on things as well
user895378
00:50
Well, I'm going to comment and offer an additional 250 on the best answer. Please upvote it so it shows up at the top of the comments.
np
Right I need to go bail, I'm on duty with The Boy in the morning
nite @all
ThW
ThW
nite
user895378
@DaveRandom nite
01:29
What's the next hot conference?
@webarto {insert @lusitanian's mom joke here}
I wanted to make a good L's mom joke yesterday but it was too dirty.
@PeeHaa are you going to Dutch conference because you're one of that kind?
@webarto In Amsterdam?
> June 26, 27 & 28 2014 - RAI - AMSTERDAM
01:45
@webarto Isn't that that expensive thing?
I was fooled, it said FREE ACCESS.
> Conference Days: 350 Euro (Regular), 297,50 Euro (Early Bird)
I see @igorw on every conference after video :D
Just want to go to one, while I'm young :P
02:37
:-)
03:39
Not sure why USSR missed the chance of accusing USA of faking moon landing, in that case.
03:51
@webarto would you have believed them? =oP
The great thing about turning something into a conspiracy theory is that no matter how true something may be the majority won't believe it because of the fact it's been called a conspiracy. If I was a government who faked a moon landing, I would intentionally come out with a conspiracy theory about it so people won't believe the truth when it did come out.
Information control: the most effective tool in the hands of the powerful
 
2 hours later…
06:16
Laravel PHP Framework Room is now available here: chat.stackoverflow.com/rooms/48123/laravel
06:29
hi guys does anyone know how to customize google charts (pie,column,stack bar)
06:55

Yes, because what we need is more Laravel

33 mins ago, 32 minutes total – 6 messages, 2 users, 0 stars

Bookmarked 5 secs ago by Dan Lugg

 
2 hours later…
09:24
@DaveRandom hm?
hi guys
i would like to know how to make a search in oracle forms?
maybe somebody faced with it
09:36
@solvator yeah, but none of them came back to tell the tale
dead men tell no tales.
Morning
09:59
Hello, does anyone has experience with installing VisualWorks on win8?
10:12
^ Famous last words
morning
morning room
Mornings
@Gordon Wondering if you (the mods) can increase the value of a bounty I placed on something. I suspect not but just thought I'd ask
10:22
so @Madara's nomination failed?
@internals, Do we have any debugging tool?
But old-school methods I mean.
@Leri you mean phpdbg?
Morning
@bwoebi No, I mean debugging tool for C.
10:31
@Leri yes, then gdb/valgrind… what else!?
@bwoebi Thanks, Nothing more, just did not know what to use and that was reducing my efficiency.
@Leri do you have much more choice anyway?
@bwoebi I guess not.
@DaveRandom nope. I can only cancel the bounty so you can put up a higher one. you'll get the rep for the existing one back.
A lazy Saturday
@Gordon Ahh yeh well that works just as well, can you cancel the bounty on stackoverflow.com/q/7340504/889949 please?
@DaveRandom done
Great, thanks :-)
user2518044
Hi!
user2518044
Somebody know how is named the thir part of an URL? For example:
http: // www. example .com / HOW/IS/NAMED/THIS-PART
@Bartek path.
A uniform resource locator, abbreviated as URL (also known as web address, particularly when used with HTTP), is a specific character string that constitutes a reference to a resource. In most web browsers, the URL of a web page is displayed on top inside an address bar. An example of a typical URL would be "http://en.example.org/wiki/Main_Page". A URL is technically a type of uniform resource identifier (URI), but in many technical documents and verbal discussions, URL is often used as a synonym for URI, and this is not considered a problem. URLs are commonly used for web pages (http:)...
user2518044
@MadaraUchiha Thanks!
12:34
in Laravel, 6 hours ago, by Dan Lugg
How did Laravel become the conceited hipster framework we all know it to be?
Oh you.
12:47
Do i get my reputation back if i delete my answer and then undelete it?
@aksu No.
Link?
ok thanks
You won't be able to delete it anyway, it's accepted
i can delete my answers @daverandom?
what are you saying
@aksu Not if it's accepted you can't.
12:50
Oh it's a self ask/answer, you could do it
That's a really horrible solution, btw
ok
Learn to use PDO properly :-P
Oh jesus, using globals as well
0
Q: PHP Website code

user3340583Hello there im starting a website up selling web hosting now i have a plans page, to show all the plans we do, but when im making the layout everything is fine until i add the last one and it just stretches at the bottom like in this picture here:http://gyazo.com/b765a8990504c55af723f7d2c87aab41 ...

:|
Please, pretty please, don't do that. You are creating a maintainability nightmare
@MadaraUchiha what. the. fuck.
@DaveRandom Rounded corners, the hard way :D
12:53
what is the reason of community wiki posts?
> Hello there im starting a website up selling web hosting
Ye gods...
@aksu In the past, the suggested edits feature didn't exist.
So community-wiki posts were made to allow low-rep users to contribute and edit.
Today they're just mostly annoying.
ok thanks for info
It's sometimes good to partially disown things when you've farmed enough rep from them
@DaveRandom I disagree.
If your question/answer really helps that many people, I don't see why you should limit the reward for yourself.
12:56
I CW'd this because it's clearly useful to people but I don't want the rep from that piece of crap answer
At 20k+ reputation loses its meaning, we both know that. So why deny yourself of that awesome feeling of hitting the rep cap?
I can agree there though
If you feel that the answer is crappy/repwhorish/very simple, I also sometimes CW it.
That's just it, it's basically rtfm, people shouldn't get rep for being able to read IMO
13:13
@rdlowrey C89 compliance fixed
user895378
Great. I'm still having build issues but they're unrelated to your code.
I never managed to get x64 to build even before any modification, I was just building x86 since that's still the mainstream build anyway
user895378
When I do x64 the build works but then running the php.exe binary immediately crashes. When I do x86 build I get "unresolved external symbol" for all the openssl libs :/
I had similar issues when I was trying to include mcrypt in my build, eventually I cut it back to just sockets and openssl and it worked
user895378
Did you specify a path with --with-openss=[DIR]? Or did you just use --with-openssl by itself?
13:17
Didn't specify the dir, just dumped everything into the exact folder layout indicated on the wiki page
Oh @rdlowrey I did have some issues because I left my real PHP build in %PATH%
user895378
Okay, I'll start over with a clean environment and make sure I do everything exactly step-by-step from the wiki page.
Get rid of (can be done by just moving out of %PATH%) any existing PHP installs you have as well
> I missed that part while reviewing the patch. So forget the previous reply about not willing to have it in 5.6, this is an excellent thing. Go ahead with 5.6 and master please :)
\o/
user895378
Just read that too :)
user895378
Now if I can just get a working windows build today I can do some perf testing to make sure there aren't any hidden wtfs.
user895378
This is a really nice addition if it works as expected.
user895378
13:25
@DaveRandom Did you, like myself, find it a bit depressing when you realized that there wasn't anyone working on things like this? No PHP security czar in the sky working to address these issues? I'm not sure if I should be encouraged or dismayed that it's up to people like you and I :)
user895378
I guess that's open source, though.
@rdlowrey Would be interested to see how it compares against using an explicit cafile on Win, it's actually possible it would perform better. The cafile option reads the entire file every time, this doesn't - so there's a lot less I/O in the PHP src, although f*ck knows what Windows does underneath
@rdlowrey I know - although my research into this tells me that there are worrying few people in the world in general who really actually get it (and I certainly don't count myself as one of them)
Normally you Google something like this and there are 10000 forum posts, at least one of which has basically the question you want to ask in it, but not with this. It seems that no-one ever does anything like this.
You guys have been working pretty closely lately. What are you guys building?
user895378
@Fabien A php-src that doesn't expose your encrypted communications to anyone who wants to see them.
Sounds pretty valuable. How does the current one expose your encrypted stuff?
user895378
13:36
lol good question. Oh, I read that as "Why does ..." instead of "How does"
It was Why and I changed it :P
Is this another 'because PHP' or do some other languages also fail here?
user895378
The other popular scripting languages have the same issues, actually.
Not as badly as PHP, in most cases
So SSL isn't as secure as people like to think it is?
user895378
PHP isn't doing anything wrong, it's just putting the burden onto users to manually enact the settings needed for secure TLS transfers. The capability exists to do it correctly, but you have to be knowledgeable enough to do it and most users aren't.
user895378
13:39
Python and ruby do the exact same thing.
This is quite a big thing then I take it.
user895378
Not really. We're just trying to make it so that everything is done automatically for you if at all possible and you don't have to know anything for your transfers to be secured correctly.
@rdlowrey Yeh but Ruby doesn't disable verification by default (not sure about Python)
user895378
^ Yeah, that's problematic. Not sure why it was ever disabled by default.
user895378
It created a generation of php developers with no understanding of the simple steps they needed to take to do things correctly.
user895378
13:42
If it had always errored out immediately when certs couldn't be verified then this would be a much more tractable situation today.
I think there should be a difference between PHP Developers and PHP Programmers. You guys being the latter.
Damn it what is the point in php-src using travis if people don't fix the damn failed tests
user895378
@DaveRandom It's really annoying. After each PR you have to manually scroll to the bottom of the travis report to see what failed.
user895378
And lately it's always the same annoying datetime / reflection failures.
user895378
/me grumbles something unintelligible about ... ext/date ... grumble grumble ...
13:46
There seems to be this really odd assumption that people have that the tests are right and the output is wrong, people never seem to realise that maybe the tests are wrong. I've just had a huge debate with someone at work on this point.
debate :)
@rdlowrey UTC All The Things!
user895378
@DaveRandom INORIGHT!!?!?!?!
How is the new job @DaveRandom big improvement on the old one?
I really like UTC, although I suppose I am biased being that I live in it for 6mths a year
user895378
13:47
In 99% of cases when I first thought "oh, the tests must be wrong" it turned out that, no ... my code was wrong.
@Fabien Goes without saying, I think. Took me a while to get into it but I think I'm mostly over that now.
user895378
I'm several hours offset from UTC and I have no idea why everyone doesn't store everything in UTC. It's the only sensible thing to do.
user895378
Timezones should only ever be used for display transformation. If you ever store offset times you're doing it wrong IMO.
user895378
UTC: one TZ to rule them all and in the o'clocks bind them.
timestamp if you update often and UTC for non-changing is the rule I usually go by.
13:52
@rdlowrey Well I think SE (main sites) have taken that one step further and present all display times in UTC as well don't they?
user895378
I'm even fine with that. People can learn to think in UTC.
At the end of the day, "x ys ago" is generally more useful to a human
user895378
Timezones are a relic of the 19th century IMO. They should be eracinated on the basis of inefficiency just like the English standard imperial system of measures.
@rdlowrey In fairness, you guys are just about the only people who still use most of them
Especially weights and volumes
user895378
I know and its ridiculous.
13:55
Although drug dealers seem to like imperial weights still for some reason
user895378
The worst part is no one here even knows what any of them mean because they're so nonsensical.
user895378
I qualitatively understand what Fahrenheit degrees and miles mean. Other than that I've got nothing.
I have no idea what Farenheits are in real money, they're meaningless to me in practice
I do think long distances in miles though, all our road signs are still in miles
@rdlowrey us or uk miles? ;)
I think some of the signs for max vehicle height etc are still in feet/inches as well, although I'm not certain about that
user895378
13:59
Oh, I get feet/inches too.
user895378
Because ofc base-12 makes sense.
@PeeHaa Pretty certain they're the same thing. Our pints are different but I think distances are the same
@DaveRandom Nope they aren't
@rdlowrey Base 12 is fine. Base 12-then-3-then-22-then-8-then-10 makes less sense...
mile
mile type	metres
international	1,609.344
U.S. survey	1,609.347219
nautical	1852
14:00
@PeeHaa dafuq. So the difference is <1mm?
Muricans always think theirs bigger
I think you had that right the first time
Damnit I never get the 8/10 relationship the right way round
@rlemon is here! He's Canadian, he's probably got some weird hybrid and yet irritatingly nice view on the whole thing
14:11
Right I'm taking Charlie out to the park, catch y'all in a bit
user924016
Morning
mornig
moin
user924016
=]
user924016
14:20
sup
14:43
@DaveRandom views on what now?
14:56
Does/Has anyone actually use/used Drupal?
Yes and I hated it
Which version?
And how long ago?
somewhere last year for a couple of months
Am I supposed to feel like I am hacking everything together? :-/
All I can say is that was exactly how it felt for me
14:59
Everything just feels too complex. Like if you want to do anything your own way you have to overwrite and do ugly punishable things.
Complexity as a feature?
$node->field_name['und'][0]['value'];
user895378
@DaveRandom Got it building successfully in windows \o/ ... stupid me was using the x64 deps while trying to build x86.
Complex as in too automagical
Like its a giant big if/else clause to decide what gets shown.
user895378
@DaveRandom And it works ... AWESOME.
15:04
Maybe it's just the learning curve tbf.
user895378
var_dump(strlen(file_get_contents('https://github.com'))); // int(14532)
user924016
@Fabien no, your right it is
Considering the end result for someone using the CMS it seems completely crazy to use Drupal.
user924016
@Fabien not worse then WordPress
user924016
I have been looking alot for a usable CMS for some customers lately
15:07
I'm waiting for PeeMS. The name needs some work but I have hopes. :) tag @PeeHaa
user924016
Well, let see how the world looks in a couple of months
@Fabien :)
user895378
@DaveRandom Question ... is there anything useful that can be added to the array returned by the new openssl_get_cert_locations() function for windows users from the win cert store? Currently it only spits out data like this:
user895378
array(8) {
  ["default_cert_file"]=>
  string(21) "/usr/lib/ssl/cert.pem"
  ["default_cert_file_env"]=>
  string(13) "SSL_CERT_FILE"
  ["default_cert_dir"]=>
  string(18) "/usr/lib/ssl/certs"
  ["default_cert_dir_env"]=>
  string(12) "SSL_CERT_DIR"
  ["default_private_dir"]=>
  string(20) "/usr/lib/ssl/private"
  ["default_default_cert_area"]=>
  string(12) "/usr/lib/ssl"
  ["ini_cafile"]=>
  string(0) ""
  ["ini_capath"]=>
  string(0) ""
}
Date of export of the cert would be nice, but that would not always be available neither would it in the same format if available
user895378
15:15
Well that output doesn't have anything to do with any individual certs. It only tells you where openssl will look for CA certs when trying to verify a peer if you don't specify the "cafile" or "capath" stream context options.
Ow I just read the first index of the output :P
I really need to learn how SSL works and how to set it up properly once and for all
Can't find the time though :P
Make sure you check UTC
15:31
morning
user895378
@MadaraUchiha I think there will be a lot more reference materials for how to do it correctly in PHP going forward. A lot will be added to the manual with 5.6
user895378
I wouldn't worry too much.
user895378
@crypticツ morning
@rdlowrey Cheers
user924016
morning @crypticツ
user924016
15:37
Any of you use watchr for running your tests on file change?
@rdlowrey I had to change app's composer minimum stability to 'dev' since Arya is using fast-route's dev-master as a dependency and will cause error otherwise since default is 'stable'. I assume I can manually set fast-route:dev-master as a required package for the app so it shouldn't require me overriding the global stability setting. But just thought you should know.
@RonniSkansing I use a post-commit hook to run it after every commit
user924016
@MadaraUchiha how does that work. I am sick of relying on ruby for so much stuff
user895378
@crypticツ Feel free to PR changes if you think they're necessary ... I'm not knowledgeable regarding composer things like that so if you need them just PR. I don't ever do anything other than git clone --recursive so if you need things like that changed I suggest proposing them in a PR.
@RonniSkansing In your .git directory, there's a subdirectory called hooks
There's a bunch of sample scripts there, you can use anything that's runnable
user924016
15:42
@MadaraUchiha sounds awesome, I will check it out
Just rename the file properly (basically remove the .sample) and make sure it's executable +x.
@rdlowrey Well it's nothing you can fix on your end as far as I know. If you install Arya's dependencies by itself by using Arya as standalone package it works fine since you have manually set the branches to use. But when you make Arya a dependency of another package that is where the problem happens then. So kinda in the hands of the end-user. The only way it would be fixed otherwise is if @NikiC pushes a stable version out and you end up using that instead.
user924016
@crypticツ maybe you could fix the composer.json with stability flags? Would that work
@RonniSkansing no - they are only applied if they're in the root composer.json file.
user895378
15:43
Oh okay. Then bug @NikiC to mark FastRoute as stable in the composer whatever as soon as he's comfortable doing so :)
TAG ALL THE THINGS is the answer.
@RonniSkansing that has to be done by end-user. If you set the flag in Arya's composer it still would be overridden by the end user's settings, afaik.
user895378
@DaveRandom Ah, small hiccup ... most of the openssl tests relevant to this functionality require ext/pcntl for forking so one process can act as client and one can act as server. This means we can't run the test suite and get meaningful results on windows (which can't ext/pcntl). We'll need to look at adding tests based on proc_open
user895378
Alternatively, we could add a single test script that's skipped by default (similar to how the SNI tests work) that connects to lots of remote resources (slow) as an integration test that you can optionally enable when you're in development. That's the easier short term solution than rewriting ~30 tests to run cross-platform.
And if anyone wants to see that it's not just me: michalspacek.cz/prednasky/hash-store-profit-passwords
@ircmaxell Crap sound quality :(
Just like the next evolution of font awesome
This is incredible, that's a whole freaking world of possibilities
I admit the Front-End world has made some pretty large leaps the last few years having recently come back to it.
Off the bat: monochrome icons transitioning into full color ones on hover or focus
Wonder how's browser support for this though
I imagine anything that supports font imports
16:47
I use icomoon.io for my font icons. I wish there was better SVG support otherwise would just use them =o(
16:58
Just a quick poll: when you see a keyword forrange what do you think about or what do you think that keyword would do?
@crypticツ no glyphicons or fontawesome?
@Gordon nope, tried those and didn't like the small iconsets available and limitations like not being able to select only the icons you want in the set.
iconmoon allows you to build your own font set from dozens of other sets.
it's what the backlog is currently using =oP
user924016
@Jasper I think foreach
that's a good thing I suppose
17:04
@rdlowrey @crypticツ Dev packages are included using a @dev suffix. No need to change minimum stability
or something like that. there was a blog post about it ^^
user924016
Thats what I said.. stability
user924016
=]
@NikiC So Arya's composer file would need to be changed then?
I had to set min stability to dev for backlog composer file for it to install Arya as fast-route was causing minimum stability error.
@crypticツ You can only include arya as @dev is what I mean
instead of lowering minimum stability altogether
but really, no idea bout this stuff ^^
@NikiC is whar I have in composer`"rdlowrey/arya": "dev-master",`
17:09
I think that means that I need to add a branch-alias to fast-route and then it can be included with 1.0.*@dev
I am working on my templating language. It is more limited than a traditional programming language - the major thing being that there is no real variable assignment.
It has a simplified for-loop (for (1 --> 5)), but I have decided to bring the language closer to php (as that's what it'll generally be used together with), which means that the I can't have a for-loop with a different syntax, so I decided I'll have to rename the simplified for loop (and not have a normal for-loop, but at least there'll be no more "syntax-collissions").
forrange is my current best candidate, but I feel the double 'r' is a bit annoying and the word also looks like it is pronounced quite differently, so I'm open to any other suggestions
Stuff like that is why I hate custom templating solutions
We already have foreach and now I will have to remember another way of doing it
17:26
@PeeHaa Of course, you're free not to use my templating solution, but the simplified for is basically the only thing that'll be really different (of course, it's still only a subset of php...) (and foreach just works as you expect it, by the way).
The two main points of this system are that (a) you could use this to support themes developed by others, because the template gets zero access to things you don't give them access to and (b) a caching system I have planned that isn't possible without custom templating
For something like a forum (or even a CMS or a general site with a news section) it'll allow you to keep your data in a database like is normal, but the caching will make sure you don't have to connect to your database on the majority of the page views. This all can be done at a very low (code-wise) cost
Hello every one. i;m having a little oop php issue i was wondering if someone can give guidance. here goes...
I'm looking for a good way to implement configuration objects. the system should transparently support database tables / yaml files / json. all withing an interface ISettings.
For example:
$Parser    = new YMLParser(new FIle('something.yml'));
$Settings = new Settings($Parser);
anyone?
17:44
What is the issue with the above?
need implementation examples. standard practices so my work is standard with expected norms
You need implementations examples of the different parsers?
i havent seen anything exactly like this in other cms systems.
Why not have Settings take an arbitrary depth associative array?
then you can substitute in an object implementing array access, to lazy-load settings
Of which Settings itself can take
so you could have:
@ircmaxell Will array $var typehint work for objects implementing ArrayAccess?
17:49
$settings = new Settings([
    "database" => new ArrayLoader('path/to/database.php'),
    "views" => new YAMLLoader('path/to/views.yml'),
    "caches" => [
        "cache1" => "hardcoded-value",
        "cache2" => new JSONLoader('path/to/cache2.json'),
    ],
]);
great idea. what about dynamic properties vs array access. should i implement both or is 1 better over the other.
i can insist on Array access and have users cast their arrays into an object
@MadaraUchiha no, inside just do a check if (!is_array($var) && !$var instanceof ArrayAccess) { throw new exception('badmethodcall'); }
@ircmaxell Yeah, but that's suboptimal and you know it :)
you could do either. I only chose array since you can do things cheaply. But you could simply use ArrayObject($array) for that...
thanks i think ill go with that. just as it is. and leave it all as an associative array to keep it simple.
17:52
Yup, and if it's arrayaccess, even better...
hard question? is there any form of standard to this? or some big library i can emulate so as not to reinvent the wheel?
no idea...
I'm out, laterz
user924016
later
Does !$v instanceof T work? I thought precedence required !($v instanceof T)
00:00 - 18:0018:00 - 00:00

« first day (1225 days earlier)      last day (3949 days later) »