« first day (1190 days earlier)      last day (3762 days later) » 

12:06 AM
zzzzZzzzZzzzzZzzz
 
WAKE UP
it's seven on a Friday night, you old fart
@rlemon ping
 
:( don't tell @Loktar
He's even older
@dystroy too
 
requirejs and AMD, anyone care to explain why I should be wasting my time trying to conform to the popularity?
 
because you might have to one day work with people who use said technologies
 
But it sucks so much
 
12:14 AM
Then run your own
 
such is life
 
www.copot.eu/matei/french
that is how much I could do about the french singular to plural thing
it only understands a few things...
as of je, tu...
be and have at present...
1st group verbs at simple...
some whom don't change
some who end in aux...
not much... but something
 
@Fergal I've never had need for that
 
I wonder is it as popular as people suggest
And since when did JavaScript compile??? It feels like JavaScript is being overrun by people coming from other languages, wanting to introduce patterns they are used to that simply don't exist in JavaScript.
So many frameworks, all with their own brand of syntactic shite
 
@Fergal Yeah, that's a problem.
 
cant get .disable() to work on a button click
 
$("customSelect")
That's looking for an element, <customSelect>
@D
 
12:31 AM
Looks the JS is adding stuff to the class so can't figure out how it's suppose to be enabled, using firebug on example 3 I see it is active the class is class="customSelect", when it's disabled it changes to "customSelect disabled"
I tried adding $("customSelect").disable()
 
@DavidSmith You can only call .disable() on the returned object:
var sb = new SelectBox({
selectbox: $("select.custom").eq(0)
});

sb.disable();
 
$("customSelect disabled").disable()
 
$( document ).ready(function() {
$( "#start" ).click(function( ) {
$("customSelect").disable();
});
});
so how do I put that into a button start click
 
@DavidSmith <button onclick='yourFunction()'>blablabla</button>
then you link yourFunction should be that, without document.ready
or you add an event listener
document.getElementById('youButtonId').addEventListener(event(function()))
I think that is the correct syntax for the second one... don't quote me for that
 
12:36 AM
my html button is this <div id="start" class="classname"> Button </div>
 
document.getElementById('start').addEventListener(event(function()))
that will work fine for you: it does that as long as you click on anything with id of start
 
where is the .disable() in that to disable the list?
 
but if you use <div class='classname'><button onclick='start'>Button</button></div> is preferrable
in yourFunction()
 
this is the current html
<select class="custom" name="countries" id="cities">
<option class="usa">USA</option>
<option class="italy">Italy</option>
<option class="france">France</option>
<option class="germany">Germany</option>
</select>

<div id="start" class="classname"> Button </div>
this is their demo html
 
define it as {$(this).disable()}
 
12:38 AM
Don't fucking advocate inline event listeners. Jesus man.
 
again... don't quote me on that, but it should work
 
Don't you listen.
 
he's talking to me btw david
ok: never use the onclick @DavidSmith
 
It is simple. Separation of concerns.
 
sacred words from @rlemon
 
12:40 AM
Not from me, but from people way smarter than me who I listen too because it makes sense.
 
yeah... those
 
@DavidSmith It's not a normal jQuery plugin. So you work it like this:
var sb = new SelectBox({
selectbox: $("select.custom").eq(0)
});

$("#start").click(function(){
sb.disable();
});
 
na that didn't work either. Funny thing is on firebug the html comes out as <div id="select-cities" class="customSelect" style="width: 200px; z-index: 100;"><select id="cities" name="countriesFlag" class="custom">
<option class="usa">USA</option>
<option class="italy">Italy</option>
<option class="france">France</option>
<option class="germany">Germany</option>
</select><div class="selectValueWrap"><div class="selectedValue"><span class="germany"></span>Germany</div> <span class="caret"></span> </div><div class="selectList"><div class="selectListOuterWrap"><div class="selectListInnerWrap"><
So there is a difference between what is output on firebug and what is in the html file. So everytime I try these, it does not disable it?
 
And change <div id="start" class="classname"> Button </div> to <button id="start" class="classname" type="button"> Button </button>
 
let me try that
 
12:43 AM
@Fergal it should work the same as long as the id is the same... I think the problem is .disable()...
@DavidSmith and of course... change the event to 'click'
 
@Cicada3301 .disable() is not a jQuery function, it's a function on the returned object from SelectBox()
 
@Fergal I never used it... but if you think it works I trust you
 
@Cicada3301 I never used it either but I looked at the docs ;)
 
@Fergal good point
 
na that didn't work either so I added this
var sb = new SelectBox({
selectbox: $("select.custom").eq(0)
});

$("#start").click(function(){
sb.disable();
});
changed the html to <button id="start" class="classname" type="button"> Button </button>
but the select list still operates as normal?
 
m59
12:46 AM
lolzzzz my badges
!!stat
 
Do you have all the CSS?
 
@m59 m59 has 7110 reputation, earned 0 rep today, asked 12 questions, gave 315 answers. avg. rep/post: 21.74. Badges: 3g 11s 39b
 
m59
anyone see it? =D
 
!!stats
 
12:46 AM
@rlemon rlemon has 10091 reputation, earned 0 rep today, asked 71 questions, gave 370 answers. avg. rep/post: 22.88. Badges: 3g 26s 69b
 
m59
not the amount
look closely =D
Ahhhh dern
I'm wrong =D
 
yeah all the css is working as normal
 
m59
tired math
I need 2 silver badges asap
 
@SomeKittensUx2666 SomeKittens Ux2666 has 5927 reputation, earned 0 rep today, asked 57 questions, gave 263 answers. avg. rep/post: 18.52. Badges: 2g 23s 49b
 
m59
12:47 AM
hehe
I thought it was 3,13,39
 
Aw, low rep/post
 
even so when checking firebug I don't see the html change
 
m59
3x13 = 39
 
@DavidSmith are you placing things in the correct order on your page?
 
can you download the plugin and see how you would disable it
 
12:49 AM
yes! I'm rocking with my 34rp and 7b/badges!
 
well I'm using their own demo page
so it's exactly as it is in their demo
 
When the jQuery executes, do the elements exist?
 
m59
@SomeKittensUx2666 if you have any 0 score/non-accepted answers that aren't needed, you could delete them. I've got plenty, but a lot of the answers are too good to erase.
 
Link me to the exact demo page
 
example 1 has single active buttons, the example 3 has disabled dual button.
don't need example 3, want to disable certain buttons on example 1
 
12:52 AM
@m59 Tons.
 
m59
Signs that your architecture sucks: "WordPress Templates fit together like the pieces of a puzzle to generate the web pages on your WordPress site."
You describe it as a puzzle which must be pieced together.
 
oh sorry this is the direct link github.com/roblaplaca/jQuery-Custom-Selectbox
example 2 sorry is the disabled demo
 
m59
puz·zle  [puhz-uhl]  Show IPA
noun
1.
a toy, problem, or other contrivance designed to amuse by presenting difficulties to be solved by ingenuity or patient effort.
2.
something puzzling; a puzzling question, matter, or person.
3.
a puzzled or perplexed condition; bewilderment.
Yeah! That's how I want my software to be!! --WordPress devs
 
WHY?!?!
Also: Favorite Grunt tasks?
 
any luck fergal?
 
1:10 AM
you still here fergal
anyone?
 
no help
 
0/10 help
 
yup looks like it
jquery so complicated for starter
 
My sources say no
 
1:24 AM
...not really
the problem is it's too easy
all you learn is an API
 
I wish
 
If you think jQuery's hard, wait until you start programming.
 
I do sql at work and find that ok
this jquery stuff can't get my head round it
I suppose it's easy for those that already know it
can somebody explain what $(this) does in laymans term
 
this (inside of a jQuery callback) is the HTML Element that's being operated on
wrapping this with $() returns a jQuery object
 
so what does this mean $("select.custom").each(function() {
if($(this).attr("id") == "countries")
uderstand $("select.custom") is selecting an id
 
1:36 AM
$('select.custom') is selecting all of the <select> elements with the class custom
 
and then .each
 
2:16 AM
Filed under the category of "good luck with that"

http://chicago.craigslist.org/chc/sof/4291867708.html
 
Hey, it's @ErikReppen - haven't seen you here in a while.
@ErikReppen haha
 
2:36 AM
French people - can anyone translate this to English for me?
He is talking about TipRanks and I want to know what he's saying :D
 
 
2 hours later…
4:23 AM
@SomeKittensUx2666 Hey, I don't see what that has to do with my question, could you please explain?
 
 
1 hour later…
5:49 AM
@BenjaminGruenbaum Haha, you could try translating the transcript
 
6:01 AM
@Deniro That's what the spec has to say about catch
 
user4238267
i am beginner in javascript
 
user4238267
please suggest some resources
 
user4238267
where i can learn
 
@BenjaminGruenbaum o/
 
6:45 AM
$('#navigation a').corner("14px"); is it correct syntax in jquery? but it not applying round corner
 
@sudheerkumar nope
$('#navigation a').css('border-radius', '14px');
 
iam using round corners
 
For once ... windows is easier then android and iOS
 
i dont want to use border-radius
 
but then I am using html5 for windows ... and titanium for android / ioS
should i just jump native ? [scared of Objective C]
 
6:51 AM
@sudheerkumar why do you not want to use the CSS property that makes round corners?
 
in IE8 border-radius wont work that is why iam using round corners
 
fuck IE8
the few users that will use it aren't going to care it their corners are square
 
client is using IE8
 
i should use round corner
 
6:52 AM
round corners are gross anyways
 
change the client or client should change browser :P
 
@sudheerkumar use pie.css and let the client bug you about app speed.
then show them the same app in chrome and let the client feel oh shit he was living under a rock.
 
i tried it , it wont work in liferay theme
 
-_-
you have to do something your self young padwan // spelling nazi's please be silent
 
@sudheerkumar IE8 doesn't support round corners
You'll need to create images instead, which is beyond a pain in the ass. My advice?
16 mins ago, by phenomnomnominal
fuck IE8
@AbhishekHingnikar Suppresses the urge to correct
 
7:13 AM
@Loktar Fix all his IE8 problems
 
@SomeKittensUx2666 You mean teach him how to corrupt all working copies of IE8? Not sure that's possible...
 
Hey guys, where can I find some help or opensource where i need a menu of this kind:

menu 1:
http://s27.postimg.org/ddhvyfosz/menu1.jpg

menu 2:
http://s23.postimg.org/o6c336vx7/menu2.jpg

Menu 1 is the sub menu from the main navigation and
Menu 2 is, if the sub menu is longer than just one column,
it goes to the second column and further child-sub menu of sub-menu move to the right replacing the "Comment..."
 
7:47 AM
Can <style> tags be put into <noscript> tags?
 
<noscript> <style> .heh-good-luck-buddy { display: block; } </style> </noscript>
 
Sure they can
 
@SomeGuy Interesting... You'd think that the gravitational influence of the star's evil sibling would slow its rotation to match the black hole's orbit time
 
Hahaha
 
7:53 AM
@SomeGuy This is my baby :) meade.com/lx200
 
Really? That's awesome
 
It has a really corny Tour of the Universe feature.
 
Damn, that's expensive
$2600
 
But it's kinda scary watching it get its bearings
 
@monners Well, not everyone has taken a Tour of the Universe already!
 
7:55 AM
Can one put a price on the universe? (apparently, yes.)
 
Hahaha
 
I was so bummed about comet Ison
 
Why?
(Don't know what you're talking about :p)
 
It broke up!
!!google comet ison
 
7:56 AM
@monners Ison: It's not you, it's me
 
@SomeGuy "You can throw yourself into the Sun for all I care!"
sniffle
 
"Actually, I feel really attracted to the Sun"
 
@SomeGuy "You're a monster! You've got no Sol"
 
Hahahaha
 
Talk about Sol destroying...
(yes, I'm quite proud of that one)
 
8:00 AM
That was brilliant
 
"Did you hear about comet Ison? Talk about Sol destroying..."
Well that was fun
@SomeGuy Any plans to visit Australia?
 
Not really
Why?
 
Just wondering.
 
walks away slowly
 
lol
 
8:05 AM
Haha, I do want to visit Australia eventually
But it won't happen any time soon
 
Just thought you'd be a fun person to have a few drinks with is all
 
@SomeGuy How much would you say your brain weighs? sharpens knives and charges power tools
 
8:28 AM
Pfft, this guy. What do you sharpen your knives with, huh?
 
@SomeGuy The tears of my victims
 
It may be better to instead carve bone weapons using the knife. You know, creates more weapons to use
And you can come here and show off about your bone-knife
(Not about your boner, please)
(Okay, maybe on private chat.)
@monners Did I creep you out too much? :p
 
8:57 AM
@SomeGuy lol, no. I just had dinner
 
So, what does it taste like?
 
@SomeGuy Human flesh? Chicken.
 
Really? Thought it'd be more savory than that
 
The more you know...
Is House of Cards: Season 2 out?
!!yes or no
 
@monners yes
 
9:00 AM
Well, for real, it tastes like beef, I've heard
Or veal
 
Fuck! She lied to me. It doesn't start until mid-feb
 
What will you ever do?!
 
!!WWII Docos or Science Docos
 
@monners WWII Docos
 
Damn, I hate you
I have to study
 
9:01 AM
Uni?
 
12th grade. We call it college here
But most places call it highschool
 
you call it college in India?
 
Yeah, junior college
 
What ya gonna study at University, CS?
 
I think so
The system here is messy
Studying CS means they teach you about hardware
And studying IT means software
 
9:04 AM
Oh, was gonna say. I think you've probably got the software thing down :P Was gonna recommend IEEE or something
 
IEEE?
The standards body?
 
That's what they called it at my Uni
Electrical Engineering
 
Yeah, I don't enjoy it that much, though
It's interesting to learn, but most things are
I want to do some actual Computer Science, since I don't have any formal education in that regard
I know stuff from online courses here and there, though
 
I probably should have studied Arts and Technology (ATEC).
 
My ideal setup would be studying English, Psychology, Philosophy, and Computer Science, I think
And Math :p
@monners What do you do in that?
 
9:08 AM
For me it'd be Economics, Law, Design, and Computer Science
 
Ooh, interesting subjects!
But no clowning? :p
 
ATEC's basically digital design. It's useless if you don't know shit about software development, but for the web you're pretty much on your own in terms of learning anyway. So...
lol, yeah circus was fun. Not many career prospects, but fun nonetheless
 
@monners Some places offer decent courses for the web, I've heard
 
I firmly believe that it takes a very talented person to be a good stage manager. If you can do that, you can run any large-scale project (witht he right people, of course)
 
@monners What was it like?
 
9:11 AM
Hard!
We trained for 8 hours a day, every day
 
Haha, wow
What'd you get out of it?
And why'd you decide to join?
 
A whole lotta party tricks :P
 
Hahaha
 
Joined because it was what I was good at (at the time). Turns out though that my obsession for whatever I'm interested extends beyond just circus :P I'm very good at getting very good at things. I'm not so good at getting extremely good at things :P
I get bored.
 
Haha, that's still decent, I'd say
Better than being mediocre at everything
 
9:13 AM
That's the great thing about the web though. There's always something new and interesting to learn
 
I think that the idea that everyone just sticks to one job is kind of silly
Most people lose interest eventually
 
Hobbies, man. Hobbies.
I got into cycling in a big way about 4 months ago.
 
Not into it anymore?
Cycling was fun
 
!!go to sleep or go to movie alone
 
@phenomnomnominal go to movie alone
 
9:15 AM
@monners You're [sic] website is stupid.
 
No, still very into it! During college I lost touch with how important it is to have something outside of your primary occupation.
 
@phenomnomnominal Late night movie, huh?
 
@SomeGuy My website? joshmoncrieff.com?
 
@SomeGuy it's only 10.15, there's tonnes of stuff on!
 
@monners Yeah. Looks good and all. But you have a grammatical mistake :p
@phenomnomnominal Well, have fun! :p
 
9:17 AM
@SomeGuy LOL. your a ares whole.
 
The bot has spoken
 
@phenomnomnominal Check out The Butler or Moon
 
@monners Spam spam spam? :p
 
@SomeGuy Comes in a can. Better than Yam. I think therefore I am.
 
Hahaha
 
9:18 AM
!!American hustle or wolf of wall street
 
@phenomnomnominal American hustle
 
Haha sweet, thanks @Caprica
 
!!s/American hustle/Wolf on Wallstreet/
 
@monners @phenomnomnominal Wolf on Wallstreet (source)
 
I've heard it's great
 
9:19 AM
I've actually seen it :P
Was considering going again
 
Hahaha
 
Lots of swearing, and Leo is the shit
 
@monners What kind of cycling are you into? Just cruising around?
 
Talk about a surprising actor. After Titanic, who knew he'd end up being a good actor?
@SomeGuy Endurance road cycling.
Training for this:
https://www.bicyclenetwork.com.au/general/great-rides/42359/
 
Fun. What's the furthest you've been?
 
9:22 AM
220kms
 
Wow
 
But it's not about distance. It's about pace.
 
Ah
 
The 3 Peaks Challenge is equivalent to riding up half of Mt Everest in under 13 hours
 
Your Everest? What did I tell you about talking about your boner?
@monners That's insane
 
9:24 AM
@SomeGuy You told me to be realistic
Nah, it's only slightly mental.
 
Hahaha
 
The Tour De France guys do that in an alpine stage, then again the next day, and the next, and the next, etc etc for three weeks
No wonder they're on drugs
 
@monners Ever experienced a runner's high?
 
Yep.
 
How long does it last?
 
9:28 AM
Until you stop or you pass out :P
 
Hahaha
 
It's a funny feeling actually. Like, you're still in pain, but it doesn't matter any more. Ya can't think, but everything seems clear.
 
I have some kind of asmathic problem... so I can smell blood, when that happends,,,
but I'm such an athelete that I started not to care about blood...
 
@monners Happened to me a few times
But it was too long ago to really remember about it
I haven't exercised more than moderate amounts in a long time
 
9:31 AM
In cycling you aim for something called lactate threshold, which is the balance between your muscles producing lactic acid, and your body being able to clear it. Basically it's a state of almost intolerable pain.
 
Sounds hot.
!!define schadenfreude
 
@SomeGuy It means I aint got time to learn your $5 words
 
Hahaha
 
@SomeGuy schadenfreude Malicious enjoyment derived from observing someone else's misfortune.
 
Well, I guess that isn't really apt, since you enjoy the almost intolerable pain too
 
9:33 AM
It's not the pain, it's standing at the top of a mountain
Pain sucks. I don't like it.
 
Yeah? Pain does suck, but it feels kind of satisfying when it's from exercise
 
But there's a sufferfest slogan that most decent cyclists know:
I will beat my ass today to kick yours tomorrow
 
hi
 
Errr, Javascript. Right.
 
What's up?
 
9:36 AM
anybody wants to work on a data processing app
for the cops ?
 

« first day (1190 days earlier)      last day (3762 days later) »