« first day (957 days earlier)      last day (4216 days later) » 

08:08
@Zirak its mustache you mean
@badbetonbreakbutbedbackbone you can try looking at something like cdnjs.com for the specific js modules
and bootsnipp.com has tons of bs-only tools
08:22
thanks dudes
@LarsNyström Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
oh gosh @skopp @Mhche seems perfect this :P github.com/twitter/bootstrap/tree/master/js
exactly what i needed , was only to check the source eheh
?
not so fast
what exactly do you want to do?
those are the js files included within the downloaded bootstrap zip
@badbetonbreakbutbedbackbone Yeah man it's easy ;)
08:31
hmm ok as long as everyone's happy
@HaroldChan Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
i jumped into the convo late
now I've a question
@user2328185 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@skopp ask
hold on... I'm trying to remember what it was
a few actually
#1 @JanDvorak clued up with JSON / PLIST / XML ?
08:34
never heard of #2
O_o
Let's rewind <<
@JanDvorak from what I remember its pretty similar to XML. Doesn't apple use it for app configs?
@mikedidthis never used anything Apple
@JanDvorak You sir are a lucky man.
I need to parse a JSON output as a nice stream of human readable info
08:36
I assume PLIST means "property list"?
yeh
@skopp as in, some SAX-like transformatio?
github.com/Zirak/SEN highly buggy, incomplete (transforms lisp-like list notation (including plists))
@JanDvorak what now?
What kind of JSON, what kind of parsing?
08:38
I'll give a real-life example, lemme find it
Zirak I'll check your repo in a bit
S-Expression notation? why not SEXON lol
@CrashOverride Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
S-Exp Object Notation
or SXON
yeah.
Because SEN is short and simple
And explains what it is: S-Expression Notation.
I was half-joking
but half-serious too
heard of CSON?
Now I have
08:41
even if you haven't you can guess it may have to do with json
just a suggestion/query/complaint
or XSON
We0
We0
Hi Guys
I feel like an idiot
heck you even get PSON
We0
We0
$("#wallet_type_change").on("change", function(event){
alert("123");

/*
var $select = $(this);
$.getJSON(globals.base_url + 'wallets/get_type_form/' + $select.val(), function(data) {
if (data.success)
{
$("#wallet_type_container").html(data.html);
}
})
.complete(function() {
});*/

});
<select name="wallet_type" id="wallet_type_change">
<option value="wallet_type_marketing">Marketing</option>
<option value="wallet_type_compensation">Compensation</option>
<option value="wallet_type_refund">Refund</option>
<option value="wallet_type_giftcard">Gift Card</option>
</select>
with that
doesnt trigger
I will do a fiddle, but I am sure it is something small
Is get not a reserved word in JS?
We0
We0
in the $.get ?
it is commented out
and it is in jquery
08:46
just hang around here if u can
We0
We0
lol ok
going to try debug further
worse part is there is no js error
hey how do i minify a css file via Sublime Text?
We0
We0
Sublime text editor?
@badbetonbreakbutbedbackbone step 1: ctrl+shift+p
or cmd shift p if mac
then type pip
08:49
we're not done sir
to search a plugin?
type pip then hit enter
search for "minify"
wait 1 sec
there is 1 minify JS
not css :P
08:50
there's one perticularly good package
1 sec lemme check
type 'css' so long
aha..
i see many with "css"
whats it called?
im waiting for my st2 to open so i can check
but i can't see minify or compress :P
all snippets or color plugins
actually
relax
lol ok i'm relaxed :D
i tryed online tools but they edit my css :/ like removing 0px => 0
i don't want,indded they brokes my layout :/
08:58
it's there dude
type"mini" ... 1st on list
also, online there's proCSSor or something like that
oh ok !!
do you know how to use it? :P
what do you mean?
is your CSS ok to start with?
did u use CSSLint
i mean i installed package how do i use that on a css file :P ?
09:02
Hey hey
dont use csslint like its the bible
the package... uh, maybe close and open ST2
okok done
via cssminifier.com
it works
@badbetonbreakbutbedbackbone now csslint it
to check how it stands up
@badbetonbreakbutbedbackbone 0px is 0
dont use the linted output in your work though, not really a good idea
as @OctavianDamiean is implying
you gotta understand whats going on
09:04
@OctavianDamiean yeah bad example it removed for example 0.5px =>.5px
@skopp CSS lint found 0 errors and 258 warnings. How can you fix it? See the details below.
@badbetonbreakbutbedbackbone 0.5px is .5 px
@OctavianDamiean really?
@OctavianDamiean it brokes i don't think it's right :U
It is right and it doesn't break anything.
@badbetonbreakbutbedbackbone dont take csslint too seriously for trivial things
09:05
@skopp Yes, really.
for me it breaks, i didn't checked all replacements but some of those brokes for sure
its a guide
@skopp yeah ;) just warnings i got with firefox too nothing important :P
@badbetonbreakbutbedbackbone Minification doesn't break your CSS, I'm using that in production.
@OctavianDamiean i was talking about some online tools i used were not good
cssminifier.com it's perfect
09:07
Ah, well then.
@badbetonbreakbutbedbackbone as for the st2 package, RTFM O_O
:)
my css minifier will be perfect
the data structures are already set
@Loktar ping me when u are here please
... and that's pretty much it.
09:08
@FlorianMargaine can i test it ?
no
there's no runnable code
I just started :P
but i will be ur tester :D
and it's in Go, so it takes a long time to do anything, since I don't know the language.
09:09
The yui-compressor is just about right.
oo ooh
@FlorianMargaine tits or gtfo
no wait
Hey guys hope you doing well.
Kindly tell me how can i pass function in jquery for keyCode == 32 which is (Space bar) only if its pressed twice? thank you
proof or it didnt happen
yeah... thats the one
@skopp :9711165 did that meant anything to u ?
09:11
@Mahmoud You got to keep track how often it was pressed and trigger your desired event once it was pressed twice then reset that counter.
i am still trying to parse that message
@Darkyen uh... i think i deciphered it
here's a simple jsfiddle jsfiddle.net/wVZAQ any help i will be thankful
my browser is allergic to fiddles
@Mahmoud Well, it looks as if you didn't even attempt to solve it yourself.
09:13
hold on, i may have something that can help
@Octavian i was a way for a minuet and i did't ready you replay am not that lazy dude, any way thanks for you answer i will try your solution ) appreciate it
@OctavianDamiean Hows your handle on module CSS?
@skopp sorry what does (rtm) means?
@badbetonbreakbutbedbackbone i like codecademy's glossaries. succint, brief. here, I clipped the CSS one clipular.com/posts/6938001?k=JBZV-kCIZy-U0FmY6_ZMo-K0le8
@Mahmoud read the manual
or remember the milk
09:21
@mikedidthis What exactly do you mean?
Also if anyone else cares to comment: gist.github.com/mikedidthis/5676596
I made it by referring this link.
@mikedidthis Commented.
@OctavianDamiean thank you sir.
I know that linters sometimes complain about stuff like that but I don't care.
I think they complain because of oldIE stuff which doesn't concern me.
09:27
@mikedidthis me2
Really? Silly linters. Too be honest, 90% of the code I write is for myself :(
@skopp thanks man! :)
@mikedidthis maybe you can help me w/ something
@skopp sure.
ps. i forked ur gist. handy
@skopp <3 Your my first 'fork'.
09:30
im just looking for one i made which describes my issue
pps. try gistboxapp.com - it's cool
@skopp nice, but I write my gists directly from Sublime :)
me too... sometimes
if im in there. but gistbox is visual, which is nice to have sometimes too
esp when u have hundreds of gists
to sift thru
I use gists for blurbing, rants, code snips
I love gists
Yeah, they are super handy. I know a friend uses them for recipes. @rlemon uses his for jokes
I use em for comments like disqus, but in its place, too
I use them for trivial libraries for which I don't want to create a full repository.
That's an example
09:35
@OctavianDamiean unfortunately the files in a gist, despite being of the samer gist, don't necessarily work together
there's a trick to it
show you guys who dont know in a sec
What do you mean?
oh, i use gists for scripts also. like in perl and bash
@FlorianMargaine Ah yea, that's the oldIE issue I was referring to, cheers.
@OctavianDamiean you know I'd do anything for you.
come to Grenoble, I'll let you discover what pleasure means.
Wait, that sounded a bit odd. :P
no it didnt
its the way of life there
> Firstly, why is there a hot potato in your underpants? Nevermind.
09:39
you bigot
yeah,
I realised at that moment I had one in mine's too
You're like Zirak but different.
@FlorianMargaine thank you, I wasn't aware of the bug.
@skopp I shall read whilst I drink tea.
I'm a wordsmith
09:40
@mikedidthis it's IE6 though... so it may not concern you.
like shakespeare, only i don't shake speare
it gets done for me
@FlorianMargaine Yeah. Luckily its IE8 + for me :)
@skopp Where are you from?
anyone else go blank/stupid as if reading a fnord when they see "IE-something" ?
i see 'IE8" or something IE and I go catatonic for about 0.6em
i mean 0.6 ms
see?
@OctavianDamiean I'm from SA
[braces for lions in street jokes]
I have a giraffe. Everyone knows lions are terrible pets. they just eat and shit. and sleep
Mhmm, that could stand for South Africa or South Australia.
09:45
I don't rape sheep
@OctavianDamiean they have lions in South Australia ? I thought they only had dangerous animals ?
@Mifeet Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@dystroy yeah. they're called wombats i think
@dystroy If one escaped from a zoo if would be possible.
09:46
Poor lion, escaped from a zoo just to face Australia's wildlife...
Yea, the dropbears are deadly.
seriosly though, Aus has some vicious animals
not the platypus
wtf is that thing a duck or a beaver?
i read somewhere it actually is
It is probably the strangest mammal out there.
09:49
what about dolphins
think about it
I mean it is a mammal but they lay eggs.
There's a js bot, right?
Dolphins are not as strange compared to that beast.
yeah. I wonder if they aren't true mammals
@undefinedbehaviour yes
09:50
!!/tell undefinedbehaviour echo yes
@undefinedbehaviour yes
There's no proof our bot isn't actually a mammal
@dystroy Technically they are.
09:51
is the chatbot related in anyway to hubot?
I havent used hubot, just wondering
Not really.
Fuck, gotta go prepare something to eat. :/
i do love that page though
what an original design - for a gh page i mean
Yea, I mean you can do pretty much anything with a Jekyll website, that's what I love about Jekyll.
It just makes sense.
09:56
true. but there are more powerful static gens
jekyll is just officiallyu used by gh
The question is if you need more than that. Most of the time, the more powerful some library or tool is the more it stands in your way instead of helping you.
At least that's my experience so far.
I fully agree
@skopp I don't see any issues with your gist.
!!tell me your laws
@undefinedbehaviour 0. A robot may not injure a human being or, through inaction, allow a human being to come to harm.
1. A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.
2. A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws.
10:01
@mikedidthis what do you mean? It's a question, the gist
post a comment there
@CapricaSix Funny you say that after nuking an entire planet committing genocide.
Seems to be taken from "I, Robot" movie :D
@skopp oh, sorry I read it as 'this is my LESS' setup, will answer now.
!!don't tell me your laws
@Mr_Green Y U NO MAEK SENSE!? Could not understand don't tell me your laws (perhaps you meant to execute a command? If so, prepend the command name with a /)
10:03
@Mr_Green It's actually from Isaac Asimov.
The Three Laws of Robotics (often shortened to The Three Laws or Three Laws) are a set of rules devised by the science fiction author Isaac Asimov. The rules were introduced in his 1942 short story "Runaround", although they had been foreshadowed in a few earlier stories. The Three Laws are: # A robot may not injure a human being or, through inaction, allow a human being to come to harm. # A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law. # A robot must protect its own existence as long as such protection does not conflict...
@user1768615 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
I, Robot is inspired by Isaac asimov. isn't it?
I think so
It sure is. :D
Meh, imma go peel some potatoes.
hey, could somebody explaind me why eclipse marking this line as an error?
if (arg.length() > 1 && arg.charAt(0) == "$" )
10:07
use === instead of ==
arg suppost to be a string of text
and length is not a method, it's a property
no need for the ()
ehm, when im taking off () from length then eclipse is marking it as an errore
then eclipse is stupid
kind of ^^
10:08
"some string".length
11
Wait... Is that java or javascript ?
"some string".length()
TypeError: Property 'length' of object some string is not a function
If Eclipse sees it at Java, it requires the ()...
$ might be problem. Once check by removing it.
so its wrong to not put () in eclipse?
10:10
@OctavianDamiean if i recall correctly, they even mention asimov in iRobot
i cant remove it, bcuz i need it to make an specific controll
if string start with $ then it shall do smth
@Mr_Green yes. that makes 2 of us saying the same thing.
you mean the "$" thing ?
thats what i hate about jQuery
when I see $ i think php
10:12
it stands for function, not so?
example: "$s1" then make an action
else simply return false
i recommend checking out the js and jQuery courses on codeschool
@skopp
hi!
@skopp not only php use it , but also many other language
10:14
i know. but i think of php
it's like when I see my neighbours stupid goat eating grass from my lawn and think of Transformers 2
i cant explain it
it must be a psychosis.js
huh, good comparising goat and transformers ^^ probably transformers 2.0
goat get in next state of evoluction, dude be careful! =P
I'm the king of comparisons. like a simile without the metaphor.
MGE
MGE
Hello
MGE
MGE
        var ext = $(this).val().split('.').pop().toLowerCase();
10:18
because we all know how fatal metaphors can be
MGE
MGE
takes the file extension
but if I want to take the filename ?
especially whilst operating a heavy car or driving machinery
@MGE psychosis.js?
be my guest.
MGE
MGE
nop
@skopp replied, but still a tad confused.
just going to call my copyright guy brb
10:19
0
Q: Change jQuery object property

Wildan MuhlisI have this jQuery Object: The object called by $('#demoForm').data(); method and inspected by DOM tab of Firebug. How do i change highlighted property value? and what the name of topic related to this case?

@mikedidthis checkn
When I push into an array the result looks like this: Object
, undefined
any idea why the undefined is there?
@Mr_Green I do hope that's Java getting an asskicking
` add_alteration: function(element){
page.viewModel.selected_movement().components.unshift(
{
assured_name: '',
commencement_date: '',
cover: '',
cover_term: '',
description: '',
person_assured: '',
premium: '',
premium_term: '',
},
console.log(element)
);` This is how im doing it
10:26
@FlorianMargaine that looks like python. only py is len
and says object undefined
I think skopp is Nexxpresso
thoughts?
@OctavianDamiean here's one example of what i was saying about gists. gist.github.com/skopp/5558295
but it's layed out and setup such that it does this gist.io/5558295
@FlorianMargaine oh shit
he knoweth
my bad thought u said "i think skopp drank too much nespresso"
false alarm
im building "shitio" in my spare time
a gistio... for bash/shell
@FlorianMargaine Really?
10:41
I HATE Flash
urgh
what is this nexxpresso
@SimonGruau Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
you coulda just did this: @nexxpresso
or not
@skopp I is noob.
me too
but we all are
never think you know it all
10:45
@skopp totally. I like that.
one of my fav poems is kipling's 'if'
2
Has any of you worked with Highcharts? I have trouble getting negativeColor working correctly in a moving chart. Question: stackoverflow.com/questions/16833912/…
to date i can't think of anyone today who can be the manifestation of the "man" in 'if'
@dragon112
without neagtive color working fine
?
Yes, without the negative color the line moves prefectly
adding the negativeColor will cause the line to start doing this
10:56
0
Q: what is the exact use of shift operators

MaheshVarmaI know the concept and how all shift operators work, and till now I did not get a chance to work with << >> >>> or <<= >>= >>>=, where do we actually need to use these operators in real time? Thanks in advance.

@skopp It's a pretty good one!
don't read this one
That's my favourite poem
Wait, bad link
need help with jquery guys

« first day (957 days earlier)      last day (4216 days later) »