« first day (787 days earlier)      last day (4163 days later) » 

5:03 PM
@FlorianMargaine Same thing for me
 
0
Q: HTML5 - Mobile Application Development

user74848Are you providing free codes for some of your works sir?

 
Hahahaha
 
slow clap
 
@ThiefMaster i will be joining forces on JS cast :P
push code if u have done [ any ]
 
It's a university project. But after that part's done (probably after xmas) I won't mind pull requests etc
 
5:09 PM
@AmaanCheval just wondering if anyone has used it and liked it
 
:-) , i know v2 UltraVox a bit :D
@FlorianMargaine screenshot cant see it :-/
 
Seems indian
 
sure does
 
I have a stupid css issue that is stumping me!
 
5:16 PM
Omg CSS . i better run away
 
On this page templeisrael staff the contact info is supposed to be lined up with the bottom of the picture and it does line up in Firefox but in Safari and Chrome it doesn't
 
not in my FF @benlevywebdesign
 
@Anuj That is why I said it works in FF
 
you are being kicked on the bums by browser's rounding off
try using floats :P , basically there are ~5 px added margin with divs using floats u can remove this and use % with accuracy
 
@benlevywebdesign, that's ur site man.
 
5:21 PM
@AnujKaithwas what?
 
isn't that your sitE?
 
@benlevywebdesign i cant open ur site
 
@Abhishek well its working in Safari its just treating "27px" differently which is wierd
 
nvm got ur issue wrong
here is whats happening if u see
open chrome
and inspect element , the hover ur mouse over it
in the dev-tab
 
5:24 PM
@benlevywebdesign, you can either use a ul or use floats and individual divs for everything
 
the best u can do is use floats
 
but ul is rather easier
 
Hey, where can I find a JavaScript (preferably jQuery) powered app that handles text editing much like Word or Open Office. I am not interested in loads of WYSIWYG features, I am looking for the "text area" that acts like an A4 page, in that after whatever height in newlines, it makes the next page and so on?
 
@kapooht, you made your site incompatible for firefox? seriosusly. "!"
 
firefox, pfft...
 
5:27 PM
@An
 
@kapooht please.... let me ask you why "preferably" jQuery?
 
@AnujKaithwas it requires three.js to work
 
well this is wp and I am using the wysiwyg editor because thats the way you go about doing it because you have one "template" file and wp just uses it for what ever page you set it to use. I can try using your suggestions
 
@rlemon maybe he's using jQuery already.
 
@kapooht and FF can't handle your "three.js" file?
 
5:28 PM
@rlemon Just preferably - it doesn't have to
 
@canon but... jQuery is an abstraction library on top of javascript - therefore every pure js 'script' is inherently faster than jQuery plugin (written with same competence level) due to overhead.
 
Firefox returns true for "!$.browser.webkit"
 
@benlevywebdesign, 3.js uses 3d rendering of content, unfortunately ff does not support it yet
 
so really you should prefer the non-jQuery 'scripts' over the jQuery scripts (assuming they are written correctly)
 
The jQuery is just complementary, I did say "preferably" in that I can set options via jQuery
 
5:30 PM
@kapooht, is that your parallax plugin?
 
@rlemon I understand
 
@kapooht but if the "options" via jQuery are just as easily set without having it as a plugin then again, you are just doing yourself ill-favors by using the abstraction lib as a crutch.
^ not flaming jQuery - just trying to get the understanding that not everything should be done using jQuery - DOM Abstraction is not all there is to the web.
 
@rlemon Then I am looking for a JS plugin that does the required, not written with jQuery
 
@kapooht don't even mention jQuery - ask for a script that will < enter requirements >
 
@kapooht maybe you should say that FF doesn't support 3d yet instead of "your using ff?"
 
5:32 PM
:P (i'm nit picking now)
 
@benlevywebdesign I never said dismissed Firefox as being a lesser browser.
 
oh I read it wrong then
@kapooht did you write the script yourself? or is it borrowed from someone else
 
@kapooht so basically you want to split the 'document' out by size based on the A4 dimensions?
 
@rlemon In which case
Where can I find a JavaScript library that handles text editing and handles the text area like an A4 page.
 
@kapooht ok well the editing is all well and handled - many WYSIWYG tutorials on how to do that and many stripped down versions of that.
 
5:35 PM
@kapooht you could set the dimensions of A4 with css if I'm not mistaken?
 
@rlemon Have you ever used Google Docs or Office.com
 
Printing is going to be difficult because documents are not a standard size... I mean, I suppose you can assume 600px*740px for A4 size, however that is 72DPI - anything else will be VERY different.
 
I would not like to set any dimensions via CSS
 
@kapooht yes, and i'm unsure how they handle it. I assume they use hard coded numbers and make the assumption on the DPI
 
@kapooht why not?
 
5:36 PM
you could always use the Google Docs api
 
WYSIWYG - If I saved the input of the text area, and wanted to print it to PDF programmatically, it should look the same
 
@kapooht ok, what you are looking for is not a simple task.
 
@rlemon Nope
 
@rlemon pure js is great... and I always advocate knowing exactly what any library is doing under the hood so that you can make informed decisions. The reality is that jQuery (and other libraries) abstract away handling many inconsistencies across browsers. Some of those libraries can be useful and there's really no reason to poo-poo them by default.
 
you will either have to take a bloated WYSIWYG editor and strip it down, or write some code and press it yourself.
 
5:37 PM
Also
lynx > firefox
 
I am discouraging CSS and encouraging set document size, margins, padding, line height via JS
 
@canon what browsers? Really?? From what I see it does a shit tonne of work to handle IE6/7 - IE8 support is like 10 lines for most functions and you're done. and anything IE9 doesn't support that we need is not even abstracted / shimmed by jQuery.
@kapooht that is the stupidest thing i've ever heard.
CSS was MEANT and DESIGNED for this... not js
 
What I meant was
 
speaking of wysiwyg editors is it possible to change the default space size(in px) when your in the visual editor view for example in wordpress
 
I don't want to explicitly define things in CSS as "padding: 50px"
 
5:39 PM
@kapooht why not?
 
Rather, a library that defines the padding as 2 inches
 
@kapooht what is two inches when i'm zoomed, or change my OS DPI settings?
 
and sets the element's padding to 2 inches
 
you cannot determine this absolute.. so don't even bother.
 
What is 50 pixels when you zoom out?
Regardless of pixel size
 
5:41 PM
nothing. Which is why I don't care about 'sizes' relative to the screen, rather I care about sizes relative to the rest of the document.
think in EMs and you'll see what i'm talking about.
 
@kapooht The web <3's pixels
 
Hint: pt
 
Unforunately, physical document sizes aren't measured in EM's
 
<div class="large-padding foo bar"></div>
.large-padding {
    padding: 50px;
}
.medium-padding {
    padding: 25px;
}
.small-padding {
    padding: 5px;
}
.no-padding {
   padding: 0px; // this would be an over write for other classes... see :P
}
 
in the wp wsysiwyg editor is it possible to change the size of the default space when in the visual editor view when you just hit return/enter
 
5:43 PM
Other hint: pt + print.css
 
> Just a point of note - the "Text Size" feature in IE will not scale fonts that are explicitly fixed using pt or px
 
@kapooht did you create the script for your site?
 
@benlevywebdesign which script?
 
hint for Ben <p>
 
oh just use a p haha why didn't I think of that
 
5:44 PM
I'm used to setup my margins and paddings in meters. After a while you'll love it

    .large-padding {
         padding: 50m;
    }
 
@benlevywebdesign github.com/mrdoob/three.js I didn't create the 3D library
 
rlemon: print.css :p
 
now that class deserves the name
 
1) Don't use JS to rape the DOM with inline styles... if you can avoid it that is.
2) Don't rely on real life measurements online - there are too may variables that are ever changing...
3) Listen to Florian on media="print" for CSS... this is the CORRECT WAY TO DO THIS!!!! FFS!!! IT WONT LOOK THE SAME ON THE SCREEN AS THE PRINT - MAKE IT LOOK SLEEK ON THE SCREEN THEN SPEND HOURS TWEAKING THE PRINT TO MAKE THAT WORK!!!!
^ I had to do this recently.. it sucks... but it is all we have.
 
So there is no JS script which handles text editing with physical document sizes, such as A4?
 
5:46 PM
the ones that claim they do are just guessing.
no print API === you make hard coded assumptions based on averages
 
Why a script? Hr is there for a reason
 
I am defining all the margins
@FlorianMargaine Hr?
 
but yeah I get it...
page break
 
Oh right
I was just looking for something that may make my life easier, clearly not :P Thanks anyways
 
but you have to preview with a print.css in a specific environment
 
5:48 PM
@kapooht is it your design though? I want to share it on my web design and new media major facebook group page but I want a reason though...
 
long story short: it's a pain in the ass
 
what the guys basically trying to tell is, there is no possibility at present to calculate pixel to "real-life scale". There are too many factors like viewport size, resolution, DPI and zoom to name a few
 
@benlevywebdesign You want to share kapooht.co.uk ?
 
Listen to rlemon, he spreads the good
 
Regardless of the various implications that occur with what @jAndy and @rlemon have said, Google Docs exist and Office.com
I am looking to create a similar editor
 
5:49 PM
don't listen to jAndy, he's bad
 
@kapooht basically you are going to have to choose a WYSIWYG editor out there you like, then write a pdf / print CSS sheet to re-define the rules so it will look slick on the PDF / Print. Basically there is no way to determine how the printer / OS will handle the print in js - and the CSS sheets you will write just do their best job at guessing what most peoples systems are configured as and run with those.
 
@Abhishek Are you sure he does, sir?
 
@kapooht Animal porn exists... and in quite a good amount - doesn't mean it's right or that it should be done.
3
 
jAndy <3
 
The sites that you are referencing are doing exactly what i'm taking about.
 
5:50 PM
:p
 
@rlemon I disagree, there isn't enough
 
@AmaanCheval yes sr
 
@kapooht yes because it has a cool use of parallax and 3d
 
they are making assumptions and rolling with them. There is no print API - face it - you won't get a "plug and play" solution.
 
@benlevywebdesign Then those are your reasons to share? :3
 
5:51 PM
@kapooht so its your design and did you modify the script at all?
 
All the web is built on assumptions
 
@rlemon: do you actually have a list of prepared phrases and speeches which you wait to fire in certain situations ? I mean.. rofl
 
nobody uses ie4 -- YEAH SURE
 
@rlemon I am hoping to do it slightly differently. I am hoping that by using the text editor, what is saved is an XML file, and when printing, the XML file is converted to a PDF, where tags have certain margins, paddings, line height etc
 
@FlorianMargaine yes yes it is. I assume no one using my code is on IE6... I like to assume they assume I don't give two shits about them if they are using such a dated browser.
@jAndy no, I wish. I hate typing. Fuck why did I decide to be a programmer.
I need a coffee - I think i'l get one. :P toodles.
 
5:53 PM
@rlemon You hate typing?
 
@rlemon I've been wondering that myself... what with such a "fuck the users" attitude. ;)
 
@AmaanCheval yes, I also hate computers and networking.
 
kapooht PDF generation is totally a whole other issue
 
@AmaanCheval: yea I was thinking the same :P
thats like.. self punishment and having a sexual satisfaction out of it :p
 
Hi people anybody knows how to test qunit tests browserless and also having jquery
 
5:54 PM
Hahahaha
 
@canon I have said attitude because I don't actually write front end code (very seldom at least) - so it's easy for me to take the Utopian approach and to think that we should only have to support the latest to revisions to any OS / browser.
 
otherwise you wouldn't do it right ?
:)
 
@benlevywebdesign I found three.js, looked through the API, found particle function, played around a bit, and created what you see. I didn't modify three.js
 
@Abhishek I'll just implement ICY for now. That protocol is pretty simple anyway :p
 
anyways - Coffee time!
 
5:55 PM
@ThiefMaster yeap
 
@FlorianMargaine I can do PDF generation, it's no problem. I am just looking for a JS Script
 
@ThiefMaster: brotocol in this room, bro
 
6:17 PM
hi all , i have many functions , and every function i use this $(document).ready(function(){ is it not good to use it for every function or i must do it one time for all functions ?
 
I don't understand why my page is displaying the styles differently between ff and webkit
 
@goodmood: you should change your whole application structure like so, that you can encapsulate all logic after one ready event
 
@benlevywebdesign Because they're different rendering engines ;-)
 
sh** sucks
 
!!s/sh**/shit/
 
6:19 PM
@jAndy if i understand u i must use just one ready event right ?
 
@RyanKinal Could not process input. Error: Invalid regular expression: /sh**/: Nothing to repeat
 
Aw, man
 
@goodmood: no, you don't "have" to. But it makes a lot more sense to decouple stuff like this
 
@benlevywebdesign Really, though, they're pretty similar. There shouldn't be much of a discrepancy, unless you're using some experimental features.
 
@jAndy ok thx
 
6:21 PM
nope just margin thats all
@RyanKinal staff page look here on ff and webkit
 
lul
@jan is enough to ping me
?!
 
@jandy sorry for the wront enter.....can you help me on any pointers to testing JS browserless
 
@theshadowmonkey: the first thing which shots into my mind would be node.js
 
Looks the same to me
 
6:24 PM
I have tried rhino and envjs...but env giving me weird errors like body empty
 
@theshadowmonkey: forget about rhino, node will enlighten you :)
 
yeah thanks...will have a look at nodejs...how do you emulate headless browser?
 
@RyanKinal must be that I am on mac? idk
 
cough since when did website have to look the same on all browsers? I thought the idea was making them look good on all browsers, not the same.
 
 
6:29 PM
@benlevywebdesign Could be
 
@rlemon: yea thats the idea really
 
Also, take into account what @rlemon says
 
Well guys, It has been nice getting to know you all over this past year and a half. I would like to thank you all for the information you have shared with me and the lols we've had together. Unfortunately we only have ten more days left.... I say we make the most of this time and write an Erlang parser in js.
 
Agreed.
It's a shame that it's all been for nothing.
 
nasa.gov/topics/earth/features/2012.html phew... we were all mistaken. That was a close one.
 
6:34 PM
 
@benlevywebdesign Who cares - looks good on both. ship it
 
Actually, the letter spacing on the right is kinda crap
And it's probably what's causing the difference.
 
@rlemon which looks better, I think the right side second person title needs soem space
 
agreed, left does look better - but if you break down your salary to $/hr then how much money are you wasting by trying to fix 6px padding on a single browser / OS combo
^ I still lul at this. Got it hanging in my office.
 
6:36 PM
Agreed
@benlevywebdesign If you're only going to use one of your @font-face declarations, then please, for the love of Meyer, ONLY LOAD ONE OF THEM.
Once they're cached, it's not bad... but on the initial load, it's hell. At least in Chrome/Win
Not sure how or why it's doing that, either...
 
I'm officially a member of the club! I just got my bronze JavaScript badge!
 
Congratulations!
 
@RyanKinal you shouldn't see that issue now!
 
:-)
 
@rlemon u fine ?
 
6:52 PM
@goodmood THE WORLD IS ENDING NOBODY IS FINE
 
@RyanKinal We all fine.
 
@RyanKinal and if the world is ending why u are afraid ?:)
 
It's the Rapture! God will judge us all!
What if I wasn't a good enough person?
What if I didn't do enough volunteer work?
 
How does one get a bronze Javascript badge?
 
What if I didn't hate gay people enough?
 
6:53 PM
@RyanKinal the one who made bad in his life , this one who should be afraid koz hes gona be to the hell :) , but if u done good u shouldnt be afraid :)
 
@rlemon check on ff and chrome for new spacing
 
painfully learning how to draw a walk cycle...
 
@goodmood But I've worn clothing of mixed fibers!
That is EXPLICITLY FORBIDDEN IN THE BIBLE!
 
@RyanKinal many things are forbidden in bible and u dont care about it
people just dont mind of bible
 
6:56 PM
 
But it's THE BIBLE. It'S GOD'S WORD. And it's infallible!
 
@RyanKinal so if its gods word u should follow it as its saids in it
 
@goodmood Good, bad, wrong, right ... that's all imaginary.
 
because god knows best
if he told u something u should follow it
 
In the end all what counts is, can you justify your actions to yourself or not? If you can, fine if not, well, not so fine.
 
6:57 PM
@IvoWetzel runaway Hershey kiss?
 
then u should kill the boy who disobey his parent :) , as it saids in bible :)
 
THAT'S WHAT I DO!
 
@rlemon What did you just call me?
 
hey guys, I'm having troubles with setting a value of a input in firefox using jquery. everything works great in chrome. is there anyone who could help me?
 
I try to be good and do exactly what the Bible says, but there are so many sinners, and it's hard to stone myself to death because I was a disobedient child.
 
6:58 PM
@rlemon Ah, I see (Well google images sees)
but inspiration comes from this game cdn.zoknowsgaming.com/wp-content/uploads/2012/02/…
 
@RyanKinal thats what u do ? u mean killed the your son ?
 
... and in case you haven't noticed, I'm being completely, utterly, sarcastic.
 

« first day (787 days earlier)      last day (4163 days later) »