« first day (811 days earlier)      last day (4138 days later) » 

2:14 PM
anyone know of a good pdf to html converter?
html5 preferably. and not loaded with a bajillion inline styles with everyone absolutely positioned.
actually all I really need is the paragraphs pulled to <p> tags and the links generated.
and images.... stupid images..
 
@rlemon You've seen Mozilla's, right?
 
:(
pdf viewer or converter?
 
Hmm, that's a viewer
 
I don't want to view. I want to convert to a HTML only version
basically I'm trying to get the most support coverage as possible. so I was hoping to avoid fancy readers
 
It probably does convert it, though, doesn't it?
 
2:17 PM
yea, but look at the source.
 
It's full of divs
Quite horrid
 
I'd be better off using one of the shitty ones or doing it by hand :P
they are like 60 page manuals. like 5 of them
 
I think you might as well use the source generated by pdf.js
 
atm I give them the option to 'view' or to 'download zipped package'
 
@rlemon so you liked it eh?
 
2:18 PM
Oh, wait, 60 pages, never mind
 
view only works if your browser supports a native viewer
 
the narration is what I loved about it
 
@rlemon How do you detect that?
@Loktar What are you talking about?
 
@AmaanCheval I don't
 
Bastion
 
2:19 PM
literally two buttons to different files
<a href="file.pdf">view</a>
<a href="file.zip">download</a>
 
Hahaha
 
I assume a PDF viewer plugin for your browser
but I know that mobile support for this is VERY limited
hence the need for a HTML version
 
How limited is it? I know iOS can show PDFs
 
@Loktar how long is it? I have all of the cores.. got my first shard before bed last night
 
Haven't come across any on my phone. I think it just downloads it and you can open it in the native reader app
 
2:21 PM
Im not sure, its pretty short like 4-6 hours?
I havent played it for a while
the diff weapons are so cool
what sucks is you get good with one.. and another opens up
 
@FlorianMargaine Stock browser, that is. Chrome on Android does
 
@rlemon ... @VoidKing just does not give up...
Just for information's sake, the problem with your code is that you are overrunning the array. The for loop condition should be 'i < jsonObj.events.length' I'm not knocking you, I didn't see it either, and had to be told, myself. Unfortunately at the time of this posting, this error was underneath two others, anyway (my lack of commas and getting IIS express to serve up json files), so they had to be resolved first. Don't know, maybe this will help any future readers. Other than overrunning the array, this code (provided the other errors are taken care of) works fine. — VoidKing 1 min ago
wtf.
 
I rolled back his question...
 
hmm, he voted to close his own question.
 
2:27 PM
@canon yea and i am voting to reopen.
vote to reopen if you can.
I know I voted to close.
it was before the stupidity
 
0
A: Hide div until scroll

rlemonWell there is no way (I know of) to do this without Javascript. Assuming HTML like this: <button id="top">Top</button> you can use the following code: $(window).scroll(function() { // when the page is scrolled run this if($(this).scrollTop() != 0) { // if you're NOT at the ...

I love this guy
 
And he just keeps on going..... :-\
 
"it's not working and it's always in the top right"
 
@rlemon lol
 
... you put it on the top right... and you didn't include any of the JS I posted.... o_O
what did you expect would happen?
 
2:29 PM
hehe
 
wow
@Joseph Silber Thanks for trying to help, I appreciate it, but I looked that over, tried it, and not only did it not work, it didn't show any script errors. No external JSON for me. Maybe someone else will ask the question to the satisfaction of the other viewers here and hopefully cause less trolling. Till then I will be voting to close this post (and not asking again, lolz), as it appears to be constructive to absolutely no one (least of all future viewers). — VoidKing yesterday
is this guy serious...?
 
yea he was a little b*tch.
basically I posted some help links (my Javascript Resources bookmark) with a facepalm and he got all up in a huff about it
calling me a troll and rude and shit ... like really freaking out
 
@Event_Horizon hehe u missed all the fun a few days ago. all of the comments were purged.
 
i remember that I'm just saying, he called people trying to help with answers trolling (with more than likely tested code)
 
so I posted back telling him to calm down we're trying to help him .. but it was already too late. he was off the deep end
 
2:32 PM
He seems like he doesn't know A) the internet and B) what the hell he's coding. I didn't see any trolling going on, and the answers seem to work....
 
lol the only 'trolling' would appear to be by him
that is the best part.
 
thats also what I was thinking
!!/learn VK1 "VoidKing:Maybe someone else will cause less trolling."
 
@Event_Horizon Command vk1 learned
 
!!/tell rlemon vk1
 
@rlemon VoidKing:Maybe someone else will cause less trolling.
 
2:39 PM
!!/tell Event_Horizon "You are the spark that fuels my capacitors!"
 
@Event_Horizon Command you are the spark that fuels my capacitors! does not exist.
 
well screw you too @SOChatBot
!!/learn vk2 "rlemon: Trolling, I call trolling here! See VoidKing, no one cares, and your tears sustain me."
 
@Event_Horizon Command vk2 learned
 
I think i'll write a shitty plugin
 
Just like all the rest of your plugins then
:-P
 
2:54 PM
OH SNAP
 
yea... I don't write plugins :P
hehe
 
'mornin all
 
$.mcToppy = function(options) {
    var btn = $('<button></button>'),
        defaults = {
            css: {
                position: 'fixed',
                bottom: '16px',
                right: '16px',
                backgroundColor: '#FFF',
                color: '#444',
                padding: '4px 6px',
                borderRadius: '4px',
                display: 'none'
            },
            text: 'Top',
            speed: 500
        };
    options = options || {};
    $.extend(options, defaults);
My uber plugin
woo
Everyone wants plugins right?
 
3:16 PM
especially if you use pretty objects to build them
 
btn.css(options.css).text(options.text).on('click', handle_click).appendTo('body');
$(window).on('scroll', handle_scroll);
condense ALL OF THE THINGS!
 
posted on January 04, 2013 by Randall Koutnik

I stumbled into my first job without so much as a formal interview.  Had I bothered to ask a few key questions, I would have been much better prepared for the fiasco that was about to unfold.  Hindsight's 20/20, but I hope I can pass some of my vision onto you. How much am I getting paid? This seems like a no-brainer.  Most of the questions here are about getting the feel of the

 
!!/tell rlemon vk1
 
@rlemon VoidKing:Maybe someone else will cause less trolling.
 
@SomeKittens Don't feel bad. I'm working at $10/hr right now.
 
3:24 PM
Cost of living, man
 
There is none for me, so I'm like you; just happy that I'm being paid to code
Going to change the rate next month, though
 
I'm curious to see what percentile that puts you in
 
mctoppy lives!
 
@SomeKittens For my country?
 
3:26 PM
@Dirty-flow wow... I hope i'm mis-interpreting your name
 
Yeah
 
damn, I know i'm under paid.. but I don't mind.
 
The guy I'm working for is really just starting out too, so I don't mind right now
 
demand stock options
> "Give me shares or I walk!"
 
Hahaha, my contract actually was profit-percentage based for the first project I worked on
 
3:28 PM
that would have been nice
 
@rlemon and how did you understand it?
 
but the work environment just got worse and worse. I was no longer happy.
 
@SomeKittens Not really. The first project made less money that if I'd have worked $10/hr
 
Menstruation ...
 
LOL
 
3:29 PM
lol
 
No, stock in the company.
 
How else can anyone understand it?!
@SomeKittens Yeah, I didn't even think of that
 
wait, were you talking to @Dirty-flow?
 
@AmaanCheval As an antithesis to Perl jam?
 
@canon Yeah
 
3:29 PM
its about the flow in a hip-hop song
 
@SomeKittens swoooosh went straight over my head
 
and was tha name of a rapper
many years ago
 
@rlemon I meant this
 
"The humpty dance is a trance so do the bump!"
The Humpty dance is the only real old school hip hop
@canon yes
 
Announcing Mongo Helper, the simple mongodb connector for node!
 
3:33 PM
@rlemon Oh, @SomeKittens is who you should ask for help about your Node / Mongo troubles
 
0
Q: Trigger refresh for new media manager in 3.5

Richard SweeneyI'm trying to figure out how it's possible to 'refresh' the media library in the new media dialogue in 3.5. I'm adding images from an external image library to the WordPress library (via a tab/iFrame combo in the media dialogue) which works ok, but I have to close and reopen the dialogue in order...

 
delv?
 
@SimonSarris Delete vote
 
oh
poor void king
 
lol, @Neal... are you stalking him?
 
Does anyone know why CORS-enabled redirects are cancelled when a custom header (say X-Requested-With) is set? And how to prevent this cancellation?
 
3:54 PM
!!/google cors preflight
 
do you send a cors header that allows x-requested-with
 
Yes
I've set up a test at rob.lekensteyn.nl/302.php
 
custom headers always trigger preflighting so his regular request is never sent unless he responds to the OPTIONS request
 
It enables CORS, and redirects 302.php to 302.php?food=
 
3:56 PM
you send an empty Access-Control-Allow-Headers:
 
why do you use redirection in response to ajax
anyways
 
@Thief, I send what's literally requested
 
It's quickly set up, I did not bother with error checking
 

« first day (811 days earlier)      last day (4138 days later) »