« first day (786 days earlier)      last day (4177 days later) » 

1:02 PM
!!/choose fucked not-fucked
 
@Abhishek Y U NO MAEK SENSE!? Could not understand choose fucked not-fucked
@Abhishek fucked
 
>_<
 
hey people :)
 
@KirstyHarris hello
 
can i ask a stupid question. In ref to media queries... when u insert code between the {} does it auto resize the divs in there or would have have to put said widths so to speak?
 
1:21 PM
If there's a B.B. King fan, this...was unexpected: youtube.com/watch?v=EGsvAMRFivo
 
are you able to help with the random Q above @Zirak? :D
 
Hey guys
Any idea why this isn't working?
function countDown(count){


  count--;
  document.getElementById("timer").innerHTML = "Est. Time "+count+" seconds."
  setTimeout('countDown(count)', 1000)

}
 
oh come on PHP
at least tell me a little what's happening
error_reporting(E_ALL)
NOPE, i'll just give you a blank page, you prick
 
Happens all the time for me, when using CodeIgniter
 
1:35 PM
:O @GNi33
 
So anyone know why my function aint working?
function countDown(count){


 if (count <=0){

 }else{
  count--;
  document.getElementById("timer").innerHTML = "This page will redirect in "+count+" seconds."
  setTimeout("countDown(count)", 1000)
 }
}
 
@OctavianDamiean @GNi33... any of you two familiar with media queries reference my random question above ;)
 
HA! PHP no likey array-definition
 
@KirstyHarris i don't get the question
 
1:37 PM
u know media queries?
like it has this...
 
yep
 
@media screen and (max-device-width: 480px) {

}
 
mhm
 
i assume if i wanted to resize say my page wrap..
i would have to put something like..
@media screen and (max-device-width: 480px) {
#pagewrap { width: 480px; }
}
 
well, you don't have to do that if pagewrap is a block-element for example
they'll take that width anyhow, if it's not overwritten from some other rule
 
1:39 PM
posted on December 10, 2012 by RKoutnik

I'm a huge fan of Paul Graham.  As you can see in my already-outdated About Me post, he's inspired me to challenge myself to much greater things.  I've been reading through his essays and just finished A Student's Guide to Startups.  This essay is a slight change from his usual strategy of giving world-class advice.  Instead, he starts with the postulation that those in coll

 
all you gotta really know about media-queries is that the css-rules in there are only applied when the requirements are met, think of it as an if-statement
 
can any of you suggest a lightbox clone without dependencies on 3rd party frameworks ?
 
the rest is plain css following usual cascading rules
 
ah ok!
but i still need to put the code in there thou right? or will it just resize when i call that stylesheet?
well i put it as that type of page wrap so i could get it centred on any browser... is there a quicker way lol..
trying to get ones head round this media queries
could i do like a page wrap... and everything inside that page wrap at 100% width?
 
0
Q: custom css and javascript not working on page defined as template?

deckoffI have written a web-page which is a web-app (a simple card database using php, mysql, and styled with css3). The page works as expected. A friend of mine proposed me to use wordpress for everything else to save time on coding - welcome page, etc, so I decided to try it out. I need to lock the ...

 
1:44 PM
maybe im just having a blonde moment, a mean most of these explaining it are wrapped in classes rather than divs
 
damn ... looks like i will have to write the bloody thing myself
@GNi33 you might have set display_errors to off
@HarryBeasant why would you ever use that crap ? ... unless you get paid twice the normal rate
 
Just a simple countdown in seconds
 
@tereško probably, just fiddling around on a test-server
haven't touched PHP in ages
 
!!/choose a b
 
@Abhishek Y U NO MAEK SENSE!? Could not understand choose a b
 
1:50 PM
$arr = []
 
@Abhishek a
@Abhishek b
 
supported PHP >= 5.4
 
@Abhishek a
 
and that server is on 5.3.17... HAH
 
xD . the bot chooses randomly (x
 
1:59 PM
@Abhishek would you be interested in doing some CSS work to make this look better?
 
Its bugged
 
nvm was doing it wrong
dunno am doing some html work to make my work project finished
 
2:15 PM
0
Q: Improving Twitter Bootstrap Tooltips with json data

zmancThis is a working example that I am trying to improve. Throughout the application I am working on one of the requirements was to have tooltips everywhere. However the customer wanted the ability to see a "Summary" of these tooltips and be able to manage them from a single location. What I end...

 
ok guys , what is the proper way to introduce variables in global scope, when writing some module ?
 
Assign it to window?
 
var exports = exports || {};

(function (globals) {
	"use strict";

	// code goes here

}(exports))
should i do something like this ?
 
exports is module-specific, process is the global object
 
not in context of node.js
the environment is browser
 
2:20 PM
ah, durr. Then your example is really only introducing one global, exports. So that's namespacing. What are you aiming for?
 
isolation from global scope , with controlled access to said scope
 
Then yeah, your way is pretty much the standard
 
2:35 PM
 
@AmaanCheval > As previously, I used Median to calculate averages
wat?
 
Haha, I don't know
That is dumb
Why'd he write "average" instead of just writing median?
 
@Abhishek :D
 
@AndersMetnik Excuse me.
 
@Abhishek Interesting behavior
 
2:49 PM
> Thank you for adding your comment. Your comment is pending moderation. It will appear after it has been approved.
~_~
 
I am currently in a misery @AmaanCheval you know my state :P
.. atleast the psychological
here comes the saddist phase again -/
 
@Abhishek Excuse me, sir?
 
@AndersMetnik when i said that it was without the question mark :-/ i really meant to ask you to excuse me
 
Ohh :P
My bad, i just liked the picture :P
 
Why isn't there a sane js statistics library?
 
2:58 PM
By statistics library, you mean one that'd display statistics?
 
That's a minor part, I mean to do statistical operations. Displaying is a nice bonus, but shouldn't be too difficult with something like raphael
 
@Zirak How nice. How very nice.
 
@OctavianDamiean You're not familiar with that problem
 
I don't think you understand. :D
 
3:06 PM
@OctavianDamiean I see
 
@Zirak the two off my mind
 
@Abhishek Not statistics related at all
@Abhishek I said "sane"
 
I think you're looking for D3.js.
 
The very definition of sanity is insanely different and is avaialable in more distros then linux on the planet earth
@OctavianDamiean you ninja'd me ..
 
I have no idea what you're talking about but D3.js should be the solution.
 
3:10 PM
@OctavianDamiean hahaha
 
@Abhishek jstat.org/documentation nicely documented
 
@Zirak its not my library , and well read the source nazi :D
 
You brought it up, you suffer the blame
 
That's a faggy name, you suck.
 
3:21 PM
I don't think it will be a problem.
 
@Zirak haha :D
 
hrm, install R just to prove a point to a random internet person...?
 
Haven't used R in years. So install and re-learn R just to prove a point to a random internet person...?
 
!!/choose yes yes yes
 
3:23 PM
@OctavianDamiean yes
 
Thought so.
 
@Zirak You mean to imply the internet serves for other reasons?
 
ARGH.... Media queries does my nut! lol
 
@Neil I was surprised when I learned it's not only about porn myself.
@KirstyHarris What's so complicated?
!!/tell KirstyHarris mdn media queries
 
3:29 PM
@OctavianDamiean I know, right? Who woulda thunk it?
 
lol it just is!!! a mean i get it... but i dont :S
 
Interesting. Some guy just called me in tears, telling me that my wife is dead. Oddest "wrong number" I had.
 
a mean does it mean i have to specify everything in a separate sheet.... ie resize the whole lot according to the new sizes etc... ie if i had a page wrap... would i have to change that and paste it again in the mediaqueries :S
weirdo haha
 
@Zirak O_O
 
3:34 PM
Want css help i take it ?
 
4 mins ago, by Octavian Damiean
Also @KirstyHarris http://css-tricks.com/css-media-queries/
 
if i put it all in one wrapper thou... say pagewrap
and then resize that and everything in that is like at percentages... will it resize with it?
thick moment
 
@Zirak That's gotta be an awkward moment for that guy right there
 
@Zirak i bet you responded "yeah, i know, i stabbed her about 40 times"
3
 
"No shit dude. You just saw me hit her in the face with a hammer."
 
3:40 PM
Price of 1GB of storage:
1981 $300k
1987 $50k
1990 $10k
1994 $1k
1997 $100
2000 $10
2004 $1
2012 $0.10
@KirstyHarris yes
@KirstyHarris here take a tip
 
thankyou :)
 
whatever u have doubt's on will it work or not work
just fiddle it :-)
test it :D
that way you will gain confidence and also knowledge :P
 
Hey, I have a source-control question: If a project diverges (for instance, a client-side-only version, and a version with a server-side component), is it better to fork the repository, or are branches within the repository preferable?
 
ty :)
 
you might also discover something completely new! and be called awesome :D
 
3:42 PM
hahaha doubt that
 
@RyanKinal Depends, really
Branches, mostly, though
 
@RyanKinal How unlike each other are they? If they have a common core and roadmap, then branches
If they're actually separating, then fork (as implied in the imagery of the word)
 
So, if there's common functionality, then branches are most likely better?
 
Yeah
 
Yea, I'd go with branches too.
 
3:47 PM
If they're turning into different products though, I'd probably fork for nicer usability
 
Sounds good. Thanks!
I'll eventually be adding a server-side component to GMScreen, but most of the functionality is client-side, so I think a branch is the way to go.
 
is it bad practice to create a page for printing instead of using a pdf library to create a pdf?
 
@Phil Not sure what a pdf has to do with a printing page
Pdf is not synonymous with "printing page", so no, it's not bad practice
 
4:02 PM
I'd say it's better practice, as a plugin is (mostly) required to view PDFs in the browser.
Although, as with everything HTML/CSS, results will vary by browser
 
I personally prefer to see a trimmed html page to print to a pdf
If I want to print out an online recipe, loading a pdf is a pain
 
Depends on the content
 
@Phil you can use webkittopdf
its decent :P
but u will have to design it with the constrains and limits and philosophy of paper
[ ie Reverse type will be PITA ]
 
In fact, I would argue that pdfs are almost always worse than a well-structured html
Whenever a library makes me download a pdf for documentation, I cringe on the inside
 
@Neil +1
 
4:07 PM
@Neil Agreed
 
mozilla.github.com/pdf.js <- that is a good step btw
 
"Depends on the content". As you said, a soup recipe shouldn't be on a pdf. But if you're posting an elaborate math proof, then a pdf is pretty much expected.
 
primefaces is one of these and it's a royal pain in the ass
 
Does anybody here use Node on Windows?
 
I find that I prefer their showcase labs to their documentation unless I simply can't get the detail I require otherwise
 
4:13 PM
And I'll take that as a big, fat NO
 
Only when I'm on windows and have to work on something, which happily hasn't happened for quite a while
 
Is that because Node is significantly worse on Windows, or is that because you're usually using Linux anyway?
Or both? :-P
 
@AmaanCheval bah, his data sucks (raw, unformatted), too much messing around required. Re-introduced myself to R for nothing...thanks a bunch for that
@RyanKinal Node on Windows hasn't really bit me hard, so it's the latter really
 
@Zirak Haha, you're welcome
 
4:17 PM
I heard people say that node-windows sucks, but they haven't said why, so...
 
can anyone tell me why this media query aint working :S pinkclouddesign.com/jessicarose/?page_id=75
pretty please :)
 
That's not a media-query, that's a page.
Problem solved?
 
sorry lol
 
thanks guys for the answers :)
 
@media screen and (max-width: 590px) {
 #PageWrap {width: 100%;}
.innerpagewrap{ width: 100%;}
#Header{ width: 100%; float: left;}
#menu{width: 100%;}
#MainContent{width: 100%;}
#FooterWrapper{width: 100%;}
}
is it because its not "floating"
but that shouldnt really make a difference should it?
 
4:22 PM
Looks like the styles are being overridden. Are you including these in the right order?
 
yep,
fml :S
 
lol
Put that media query at the bottom ;-)
 
but they again i dont think all of them are floating... would that make a difference?
as in the main bits
 
I'm not sure what you mean
 
as in u know u put float: left;?
in my actual css... they are not floating (she dont think
 
4:24 PM
Right
 
would that make an issue?
 
Nope
 
Well, if you float some box you take it out of the text flow.
 
Move your media query to the bottom of the file.
 
awesome
worked :)
thankyou sweet ;)
just have to figure out the widget area now as its disappearing lol
 
4:26 PM
Special cases have to come after general cases, otherwise they'll be overridden (unless they are higher specificity)
Also, +1 for responsive design :-)
 
oh right! didnt know that
will do hehehe,
can u do it on sidebars thou?
as i got a 3 widget area
actually its just me being a spoon
lol
 
Back later... lunch
 
thanks again ryan
 
@OctavianDamiean ...that's brilliant
 
4:32 PM
You know, I have to admit that Windows 8 isn't as bad as I previously thought. Redmond is getting better, it almost makes an impression as if they recovered from their Vista fiasco.
 
-3
Q: Javascript: Only letters and numbers allowed

jzou117 function f_check_NumOrLett(form){ //Only letters and numbers allowed var text = form.bucketname.value; alert(text); var filter = /^[A-Za-z0-9]+$/; if (filter.test(text)) { form.submit(); } else { form.bucketname.select();...

please :p
 
I mean it is still Windows 7 mostly but it feels different somehow.
 
HTML5 Canvas Wrapper Libraries Based On Javascript http://bit.ly/SLERWp
what should they be based on else?
 
 
4:42 PM
yeah, right...
 
Script
 
CoffeeScript, Dart ... i still see those "based on JavaScript" too... so
 
CoffeeScript
Bastard! Ninja'd me!
What the hell ... I seem to love this Apple keyboard. :/
That's not possible.
 
magic keyboard ?
 
the batteries in my magic mouse are low again?!?
that's it
i'll switch back to a cable mouse tomorrow
screw all that wireless garbage
 
4:45 PM
I don't know if it's magic, didn't see any sparkles or unicorns since I use it but the tactile feedback isn't that bad.
 
I'm using my magic mouse & keyboard for 6 month before batteries are going low
 
Oh, mine is wired by the way.
 
(daily, couple of hours)
(you need to take of hands when watching porn, thats the trick)
(ask @Abhishek)
 
i don't know, the keyboard is still > 90% since i use it (for like 4 months now)
 
@jAndy Wow, really?
 
4:46 PM
but i have to change batteries in the mouse every month
 
@AmaanCheval: wow for the trick or wow for the time period ?
 
Hahaha, time period
 
the only really nice thing about it is swiping to switch between desktops
 
absolutely
 
I don't even use workspaces anymore
 
4:47 PM
literally never change batteries on magic devices
 
is there a magic mouse with cable?
 
that would be magic mouse
 
@GNi33 I use a Magic TrackPad though, It's been about 6 months since I bought it and it's still working with the original batteries. :)
I don't use it everyday though.
 
@GNi33 Yeah, that's why I don't use wireless keyboards/mice (mouses?)
 
@RyanKinal Mice!
I never bought one because I assumed the batteries would run out too soon
And the fact that when using a desktop, I don't really need them to be wireless
 
4:52 PM
When using a laptop, I don't need them to be wireless
:looks at laptop on desk:
 
its so great to use wireless stuff if you're watching porn movies and stuff via macbook/itunes on your beamer or tv
 
there is almost never a need for that
 
Well, that would be the exception. If I had a "media server" or something plugged into my TV.
 
it's just "being hip" most of the time
 
'course, I have a Roku now, so I don't really need to worry about it
 
4:54 PM
I love lying on my couch and just use magic keyboard and mouse to do stuff while watching the beamer-screen
 
I love my Logitech G930. It's just awesome to listen to your favorite music while taking a dump.
 
Wired I/O FTW. Fewer things to worry about
 
even code like that
 
I could see an argument for wireless headphones.
 
impossible accomplishment over wire
 
4:58 PM
Chrome, could you kindly stop crashing all the time, what the hell
 
@GNi33 Funny, mine just crashed as well.
Must be a sign.
 
I've had some issues with Chrome lately. Some pages will just freeze the whole thing.
Usually when loading fonts via CSS -_-
 
No problems here
 

« first day (786 days earlier)      last day (4177 days later) »