« first day (858 days earlier)      last day (4105 days later) » 

9:00 AM
does anyone use sublime text 2
 
is this unusual, it works but it doesnt seem right

$w = -1;
foreach($messages as $message){
	$w++;
	echo $messages[$w]['message'];
}
 
@hakre what does cv-pls mean?
 
@ConnorMiles See Meaning
 
9:12 AM
Thanks
haha on the first link
 
anyone here using Jekyll on Github as a blog platform and knows how to make syntax highlighting work? I've enabled redcarpet as the MD renderer but it wont highlight at all
 
checking. thanks
 
btw, consider that the output is crappy because my low CSS skills and tolerance for anything design-related make me itch each time I reach some "nice-looking" results
 
9:19 AM
@Ocramius your config says markdown: rdiscount but all your posts are HTML
 
Ah, yes, I ended up using html only
much simpler
 
Mornings
 
morning jo
 
@Gordon i use pygments with rst
 
@andho i dont want to use liquid tags. I want to use backticks
 
9:26 AM
$statement = $this->database->prepare("INSERT INTO chat (message, thread, name, type, agent, posted) VALUES (?, ?, ?, ?, ?, NOW()");

Any idea why the date's not working?
 
@Gordon what is liquid tags? is it -> `code in here`
 
Vampires are mythological or folkloric beings who subsist by feeding on the life essence (generally in the form of blood) of living creatures, regardless of whether they are undead or a living person/being. Although vampiric entities have been recorded in many cultures, and may go back to "prehistoric times", the term vampire was not popularized until the early 18th century, after an influx of vampire superstition into Western Europe from areas where vampire legends were frequent, such as the Balkans and Eastern Europe, although local variants were also known by different names, suc...
 
@andho liquid tags is what pygments/jekyll uses. something like { highlight: php } which is not what I want because that's not markdown. I'd like to use the same md flavor that github uses. when i view my MD posts in GH, they are highlighted correctly. but when I view them in the blog processed by Jekyll, they are just plain
 
@Gordon i don't use liquid tags, just rst with ..code directive, but that's not what you want. So how do you specify the language when using backticks?
 
@andho usually lang-name
 
9:30 AM
according to Github you just do
``` php
some code
```
 
err, how do you escape stuff in here? O_o
 
1500 rep! F yeah.
 
:7822466
.. code-block:: php

    // some code
but that's rst
@Gordon guess that's a github specific markdown flavor?
 
@AshwinMukhija gratz :)
 
9:41 AM
@andho yes, which is what I want
 
@Gordon guess you'll have to try to integrate the github-markdown gem
@Gordon sorry this is the PHP room. no ruby
 
;)
 
github is very generous: rubygems.org/gems/github-markdown
 
Hey, good all :)
 
morning @Jimbo
 
9:47 AM
@PeeHaa Thanks. :)
I think I made a good answer here. stackoverflow.com/questions/14976443/…
 
@andho that means I'd had to generate the blog pages locally and push them to GH
 
@Jimbo morning
anyone noticed 619 flag ... looks like a record
http://stackoverflow.com/questions/14835972/updating-a-table-based-on-selected-dropdown-using-jquery-in-asp-net-mvc/14972580#14972580
 
Marked.
 
@Gordon is your site generated by github? I didn't know that. The Octopress website said you have to render on your own, so i didn't check it. Anyway, if Github renders it, it should have the highlighting. I don't know
 
@andho should have but doesnt :) that's the problem
 
9:52 AM
^ afterwards kill with fire please
 
@Gordon maybe they have a different css file in github.com
 
@hakre FYI plugin 0.20 lets you just post , anyone running the plugin will see it as if the question is still open, then it will change to when it gets closed, and it wont consider it complete until it is deleted.
 
@DaveRandom please add any mark so if post require 20k privilege it show that mark
 
@NullPointer Sorry, can you elaborate on that?
 
9:57 AM
@Gordon i think github will render what ever you can render locally, so if you change the pygments renderer it should work
 
@andho yeah, but it doesnt
 
@NullPointer I don't quite follow...
Ow wait
 
I forgot you can't delv immediately until 20k
 
9:59 AM
@NullPointer Do you know off hand what rules are for requiring the 20K priv?
 
ive changed to kramdown now and it gets even more ridiculous. the entire codeblock isnt rendered at all in the blog while gh again renders it fine.
 
@Gordon :(
 
Can you query rep using the SO API?
 
@DaveRandom sorry ,no ?
 
@PeeHaa Yes I think so
 
10:00 AM
@NullPointer lol nice
 
http://stackoverflow.com/questions/14976672/if-with-mulitiple-empty-checks-and-or
 
@PeeHaa Yes we can, no problem
 
nice
I'll just set it to 1.0 milestone, because it should be easy
 
@PeeHaa Indeed, we'll just ping the API once an hour to refresh the current user's data. Could present an issue with the transcript, IIRC there's nothing static in the DOM to identify the currently logged in user ID in transcript (related to the reason it doesn't work as it is), let me double check that though
 
10:06 AM
@DaveRandom now i can explain my proposal ... to delete above question it require 20k rep so it cold be good if it show like
 
@NullPointer - agree with you, cause for this oinly I click on that question & than found that I don't have rights to do the same :p
 
@NullPointer We might as well just hide the post if you can't do anything about it, although yes that could work as well, I'll see how easy it is to hide a post without screwing up the rest of the site styles
 
@DaveRandom They can still flag
I just thought about this
 
Good point
 
10:09 AM
My word, that question is amazing.
 
have i missed anything entertaining ?
 
Morning @tereško and no probably not
 
@tereško See my CV tag. :)
 
@AshwinMukhija why close that?
 
10:12 AM
That question might fit well in any strong typed language.
 
@AshwinMukhija I think that's a useful question
Others may search for the same thing in the future...
 
omg , omg ... i have silver badge
 
Is it an illness?
 
The way I learnt PHP was knowing that it is a weak typed language. That made things easier for me coming from a Java background.
 
10:14 AM
@DaveRandom agree with @PeeHaa hiding may not be better option .. just would be good enough
@tereško congress
 
@AshwinMukhija it allows both ways
 
@hakre - I see you editing a question & found that sometimes you have just removed text like "Thanks in advance" or something.
How helpful it is ? And does it really require ?
 
@AshwinMukhija Coincidentally, I pretend I'm writing Java when I write OO PHP, starting out as if the engine will bollock you for mixing types is a lot safer in the long run
 
I mean, while you can cast variables at declaration, it's generally not needed.
 
10:17 AM
@tereško damn you! gratz though :)
 
@DaveRandom - ahh to remove signature is fine... but what about "Thanks" at end of the question ?
 
@andho this is the issue I am facing: github.com/xdissent/jekyll-rst/issues/4
you dont need the tags on GH but apparently, none of the available renderers support it
 
@Gordon it's a stupid but necessary overlook(ment|ing)
 
@Rikesh Actually I am not completely on board with that one either, you can ask a meta Q if you like, I really don't have the energy though. :-)
 
10:21 AM
@DaveRandom doesn't say in the FAQ that you can't say thanks in the question
 
@andho see here: github.com/gooh/gooh.github.com/blob/master/_posts/…. It works on GH. It doesnt in the blog and that is supposedly using the same renderer
 
Indeed. Like I say, I'm not totally on board with it.
 
can't be. github pages uses whatever renderer is set in the page repo right. But github uses it's own renderer. Notice the Travis status thingy on the repos.

But you said you were using github flavored markdown and it's works locally? That would mean that bug you showed is different right
 
@PeeHaa well .. you can aim for silver in and all
=P
 
10:27 AM
@andho i dont have a local installation. ruby wont compile all the gems properly. like i said: viewing the md files in the repo: highlights correctly. same files in gh-pages: doesnt work.
 
whoa, it's a bug I filed, and I didn't even give a description :S
 
@Gordon Github uses different rendering. Probably the one I linked to. You'll have to integrate it into your instance
and test it :/
locally
or you can compile on a vm and test it
 
@andho locally no work
and I dont want to generate the blog locally and then push the static version anyway
 
@tereško lol
 
10:30 AM
@Gordon nah, if it works locally, it will work on gh pages. But you will have to integrate the github-markdown in your repo. So you won't know if it works or not if you can't test it locally
if you can integrate it, i'd be more than willing to test it
actually i could test your current repo and let you know
presently, i'm gonna head home
see ya
 
Wut? Making function optional??? Why?!?!?! /cc @levim
I didn't understand the need for a shorthand thing, but this is just just just...
 
@PeeHaa Because it is completely superfluous when writing classes. I am completely on board with that one, my fingers regularly omit it, it would be nice if the engine caught up.
 
My fingers regularly omit semi colons ;)
 
^ this user is getting on my black-list soon
 
10:39 AM
> yeah, that framework that converts array to
applications
@Ocramius :)
 
@PeeHaa you should look at my configs ;)
but I really like seeing `function (...) {
all the rest really looks like what derick said
 
I agree
 
q: how do you stop a co-worker to bash in every discussion with the premature-optimization-syndrome?
having a guy here worrying about 10Kb json...
 
@PeeHaa You really can't see any benefit/can see harm in allowing them to be omitted? What good are they really doing there? They're obviously methods, they have code in them. There's no chance of you confusing them with something else as you are reading them, and it brings it more into like with other similarly syntaxed languages. /runs away
 
@DaveRandom My biggest issue I have is having two syntax styles. PHP should be made more consistent not less
 
10:43 AM
Alright, that's a fair comment
 
@All Any question that's basically a "fix my code question" and has a poorly worded title - along the lines of "why isn't my code working" - this wont be helpful to future visitors. Do I flag as off-topic, not constructive or too localised? I'm pulling for too localised but not sure :)
 
Also I would vote I agree with this:
> As Sara noted, we shouldn't let users define methods without modifiers at
> all, so at least public/private/protected will have to be there.
 
@PeeHaa Definitely agree with that. Also var needs to be burninated
 
Yepz
 
@Jimbo Definitely TL, although really we need a Y U NO RESEARCH???? close reason
Or possibly Hire a developer
 
10:51 AM
@DaveRandom Cool
 
Hey all
Anyone got a minute to help me with a ssl / curl problem that drives me insane.
 
Not sure, how insane would you get?
 
Jimbo :)
 
Ooh delivery
 
10:54 AM
@shredding Might be something to do with CURL_CA_BUNDLE from a quick google search
0
Q: SSL certificate: unable to get local issuer certificate

celwellI'm running Debian (Lenny). When I run this: curl --ssl https://www.google.com I get this error: curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using ...

 
Jimbo:
I have included the CA
161: $this->curlOptions[CURLOPT_CAINFO] = dirname(FILE) . '/certificate/GandiProSSLCA.pem';
That's whats driving me insane. Everyone who has this problem solves it like that.
The funny thing is: I have tested it on four server + 2 local machines, it worked everywhere.
This is the first test server we deliver to, and it does not work.
 
It's gotta be the new server then right
 
@shredding What does var_dump(file_exists(dirname(__FILE__) . '/certificate/GandiProSSLCA.pem')); show?
 
Good Guy Dave to the rescue!
 
:-P
 
10:58 AM
 
I'll read that, but the server looks ok to me: demoshop.netshops.de/sysinfo.php
 
Wow array_column Count: 30 / 6 :(
 
Hm, this is basically the same solution I already got (including the pem)
 
@shredding Seriously, check whether the PEM really does exist in the place that you are specifying (echo out the path, check file_exists(), is_readable() etc). Also (if you have been testing on Windows), remember that your *nix filesystem is almost certainly case-sensitive.
 
I tested on mac.
I've done that, but I'll redo it now.
the PEM does exist (is_readable returns true)
 
11:06 AM
@shredding Can you show the STDERR output when you set CURLOPT_VERBOSE?
 
I'll try that.
 
doctrine anyone?
running some tests on DB methods. All tables are emptied before each test method.
But this is what happens:
one test inserts an entry
then the DB is cleaned
I verified with a JDBC inspector
then a new one is entered in the next test method
then I find/select all entries
different values
 
and it returns the value from the previous test
buuuut if I turn on process isolation it all works fine
 
11:16 AM
@shredding Interesting, it seems like the cert file is not valid then. Have you tried simply re-uploading it? How did you transfer the file, via FTP? if so make sure you use binary mode transfer (although admittedly that shouldn't really make a difference for PEM formatted certs, I wonder if cURL is throwing up because the file uses \n line endings instead of \r\n)
 
hmm ... that's it. When i get home i will download Ghost in the Shell series and start watching it again
though , i suspect that most of you have no idea what it is
 
@tereško have it on my drive but I fall asleep each time in the middle of ep1 =_=
 
FUU
Failed an audit again
 
Dave: I went with firefox to connect.elefunds.de, downloaded the certificate and uploaded it via ftp
@Dave I tried as well this one:
https://www.gandi.net/static/CAs/GandiProSSLCA.pem
@Dave: Setting CURLOPT_SSL_VERIFYPEER to false would solve the problem.
But this ain't a good idea, right?
 
@shredding Depends on how you define "solve"
@shredding No, it isn't, especially for a payment gateway (which I think is what this is?)
 
11:27 AM
Dave: solve means it works then. It's not a payment gateway, but it has to be a secure connection.
 
yea ive just come back from the javascript room, its been over 1 hour and no one knows what im on about
 
@shedding can you show the output of:
 
Which output?
 
$fileData = file_get_contents('/var/www/demoshop.netshops.de/engine/Shopware/Plugins/Community/Frontend/LfndsDonation/SDK/Communication/certificate/GandiProSSLCA.pem');
for ($i = 0, $l = strlen($fileData); $i < $l; $i++) {
    printf(' %02X', ord($fileData[$i]));
}
 
11:31 AM
Thank you so much for helping me, btw!
What is that?
 
@DaveRandom %02X is to hard for my simple mind
 
@Gordon any luck?
 
Okay, I have an idea what it does.
 
@andho no. it got even worse. apparently i broke something because any changes I push dont happen on the blog. i am installing this on my ubuntu now
 
But I don't know what it may bring :)
 
11:33 AM
@shredding Just a hex dump of the cert that you have on your server, to verify that it really is the same as the one you linked (which I presume is working elsewhere)?
 
any certificates, private keys, etc should be located outside of public website data
 
@Dave: Yeah, it's working.
 
@Gordon okay, i'll see if it works or not. Do you use octopress?
 
@Dave You can easily try by cloning the git repro here to your htdocs and run the rawExample
(In PHP/Example/rawExample.php)
 
@andho no. octopress requires a local install, right?
 
11:36 AM
@Gordon yeah, it's just an abstraction/tool for jekyll. It installs everything and helps to create the posts and preview the files and stuff
 
@Dave: Here is a working example on another server:
 
@andho not what I want then. I will use this mainly from my windows box and I dont want ruby on it. besides, even if I wanted it wouldnt work because of the gems
 
raspi: I'll add a htaccess file.
 
@shredding kk git is taking forever to clone to my local give me a couple of mins
 
@DaveRandom: You're awesome.
its rawDataExample.php, btw
 
Hey guys, when I have some spare time I'm thinking of putting one of my projects over on Github that I've worked on in the past - It's currently awful code, but I'll re-write it and then upload it. Was wondering if anyone's interested :)
 
@Jimbo yes that will be great that is exactly what im looking for
 
@Jimbo Does it involve websockets? ;)
 
@ConnorMiles What?
 
11:43 AM
@Jimbo thats my point
 
@PeeHaa Haha, I wish - although I'll add that once you guys let me know about the new stuff
 
WHat kind of project is it?
 
It's a multipurpose application - custom-built in-browser transmission client GUI for downloading videos (legitimate, for educational purposes of course), a global queue for FFMPEG conversions in the background with percentage completion, and then in-browser viewer :)
 
@shredding OK I am getting the same exception, which is kind of a good thing because it means I can debug it locally, I will investigate
 
Basically, you download vids, add them to a conversion queue, then watch them in-browser later!
I wrote it for my friends and about 5 of them use it all the time, but it needs to be re-written
 
11:45 AM
DaveRandom: I never went that far.
@DaveRandom: Which OS are you using=
 
@Jimbo Actually I might indeed be interested in it, because I am thinking of integrating video playback on my upload site
 
@shredding Windows (sorry)
 
Ok.
:)
 
@PeeHaa Cool, well I'll be re-writing the basics first, but then I'll shove it on Github and let you know ^^
 
kk cool
 
11:49 AM
@DaveRandom: The API is hosted on heroku, I'll try with the original url.
 
@DaveRandom you wanna vps? for teh awesome codez
 
@Dave
 
@Dave
 
@webarto I most certainly do, but billz before codez I'm afraid
@Dave
 
@DaveRandom: When I change the URL to elefunds-api.herokuapp.com and then Include the PEM from here (curl.haxx.se/docs/caextract.html), it works.
 
11:52 AM
@webarto Can you tell me of these awesomez vps's?
 
@DaveRandom ain't nobody asking moneyz fool
 
@shredding That's using a different cert, it's a wildcart cert issued to *.herokuapp.com
(by a different CA)
 
@Jimbo Yes, what do you want to know? VPS in general or?
 
@webarto Hook me up and I'll love you forever
 
@webarto I currently have a kimsufi 2g, it's awfully slow. 1.6+ GHz, 2GB RAM, 1TB HD - dedicated
I pay around £16 p/m
 
11:54 AM
@DaveRandom: Okay, but then it looks like my cert is not correct.
Or at least not for everyone (because it works on some machines)
 
@Jimbo How many visits etc?
 
@shredding No that's not possible (that's the whole point of certs, they would work everywhere or nowhere)
 
@webarto Not that many, we're talking for a small group of ppl (me and my friends), but needs a good processor for ffmpeg and also legal torrents
and root access, as if it's completely mine
Also 100Mb/s
 
Ok, than I'm down to my last.
 
@Jimbo Right, processor is the bottleneck there. I'm afraid that is all you can get for that money (CPU).
 
11:57 AM
I could implement a fallback, meaning that the heroku fallback would kick in if the ssl error occurs.
 
@webarto If I went up to £20, could it get any better?
 
@Jimbo I think you could get 4 cores for that. Not sure yet. I'll let you know.
 
@webarto Awesome, cheers
Also what is the location of the server?
 

« first day (858 days earlier)      last day (4105 days later) »