« first day (1271 days earlier)      last day (3902 days later) » 

00:00
hi @CarlosJ.López
hello @BadgerGirl
@rlemon, your boss has a tiny head?
@CarlosJ.López What's your phone number?
hahaha he better not reply that, who knows who's watching
@BadgerGirl phone number? that would be a long distance call hehehe
@sid 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.
00:07
hehe @BadgerGirl are you badgering Carlos?
@BadgerGirl oddly, that got flagged
@CarlosJ.López hahahahaha! That's nasty!
Who could be that intolerant to friendship.
00:11
@Matthew yep, that could be even on the most clean... circumstances hehehe
@CarlosJ.López, if there were an act we all called the Carlos J. Lopez what would it be? Weird, @BadgerGirl, that comment was innocent enough. I agree, no need to flag it :)
@Matthew hahaha oh well, none comes to my mind now, i'll keep that question in mind and see what ideas i cum up with XD
pun-inteded ;)
anyways @BadgerGirl i'm not intolerant to friendship, but its weird (at least to me) when random people ask for such kind of info
It makes sense though, @CarlosJ.López. Everyone knows badgers are attracted to dark, mysterious Latin eyes in StackOverflow avatar photos.
hahaha okey so there are more badgers around here?
Hold on, I'll go get my bush poking stick.
Maybe we'll be able to flush the rest of them out of hiding.
Okay, my work day is over! It was nice talking with you. Bye! :0
have a good one
00:36
Hey guys - still hiring here.
We're hiring for a couple different positions in Seattle. On site, relocation offered. Details here
@Pheonixblade9 "aggressive timelines" @_@
@CarlosJ.López I don't know why they put that there. I work 35-40 hours/week.
I'd suggest removing that
lol damnit I left and got pings
had to get my tax writeoffs together
@rlemon what were you wondering?
I've always read that as "You'll work like a dog and get no respect"
00:39
@Pheonixblade9 "JavaScript, CSS, HTML, C#, SQL Server, and JSON, etc." totally my waters :)
ooh a game library
@SomeKittensUx2666 same here, I just pinged my boss to remove it.
@CarlosJ.López open a private room with me for more info.
im new here, how do i do that?
click my name
@rlemon hmm idk honestly, I just have kept adding stuff as time went on. State management is good to have so you can switch between menus and stuff, and resource loading obviously. The two big things.
@rlemon also if you plan on doing UI within the game some sort of rendering order is nice to have for sure
so the UI is always on top, backgrounds always in the back.. but then you want ordering within them as well
Also heh I saw codepen had team accounts now.. was going to see if you wanted to be on one with me, but they are fucking pricey
$400 a year, or $40 a month :? 5 members minimum
00:47
Hi all
aaaah it's Neal!
@Loktar idk general structure?
lol I know it is a broad question
@SomeKittensUx2666 Hi. How are you?
haha yea
@qwertynl Broke 10k on Monday
00:53
I made mine based off what I was comfortable using in the past
@SomeKittensUx2666 Mazal Tov! You get a cookie!
Flixel/Blitz basic ect.
Made of fake rep points
From the internet
see i've never used anything in the past :/
hence my uhhhhh
00:54
@SomeKittensUx2666 ha
Hows it goin @SomeKittensUx2666 ?
aside from the 10k?
if( !empty($_COOKIES['jar']) ) { nom(); }
Work's been .....interesting
4 hours ago, by SomeKittens Ux2666
> Oh, I deleted the [.git] directory when github went down thinking it was me somehow
^ Coworker, who I'm now nicknaming Wheatly
@SomeKittensUx2666 ha
@MarkTsai 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.
Yea. github has been annoying recently
01:02
@jt0dd The question's too broad for SO's format. Come over to the chat rooms to discuss: chat.stackoverflow.com/rooms/17/javascriptSomeKittens Ux2666 9 secs ago
also cv
javascriptroom.com @SomeKittensUx2666 :-P
Ah, never been here.
@jt0dd hey!
!!welcome jt0dd
Hey!
@jt0dd 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.
01:04
Ive read them before, don't be a help vampire.
yep, yep. Boilerplate
Ok guys i just asked a question that mustve been too broad, here it is
pft. I put a lot of time into those
Real-Time Event Communication

When a player is in a battle situation, he could potentially change his supposed level and perform moves that he is not yet capable of or add to his health, mana, etc.

If we were to wait for server validation on such data values before streaming it out to each client involved, it would cause unacceptable latency and break the real-time flow.

How can this be addressed
oy... please do not copy/paste from an SO q...
This is, as cited in the question a moment ago, dealing with Javascript real-time multiplayer games. And advice taken. @qwertynl
I gave advice :-)
@jt0dd the author of that, @IvoWetzel, I think has used it for that exact same purpose
@rlemon I'm not catching on to how it would be done exactly
With that, can encode transfers, but I'm more worried about the functions that a client can misuse. Like modifying my game variables so that I'mmable to use shoot(thatGuy) when I shouldnt be able to do that.
server-side validation is your only way
01:10
If I were to validate the data at the server (Ok, should this player really have 20mana? yes, he should, we shall send the action forward to all clients)
m59
m59
What does this mean? "Unfortunately, there is no way to use MochaJS or ChaiJS with E2E testing (trust me I tried...)"
It seems as if the real-time aspect would break due to latency
m59
m59
Rather, why? and what do you use instead?
@jt0dd Have you benchmarked it?
@SomeKittensUx2666 I guess that's my only option, huh :D
01:12
@m59 What is that quote from?
m59
m59
it talks about angular specific stuff as an alternative
@m59 hmmmm well i use mocha/chai for backbone, so idk about angular, sorry :-(
m59
m59
I mean, I've heard of e2e testing for other stuff, so I'm not inclined to think Angular is the only way
Web Audio API: does anyone know if it's possible to determine if the audiocontext.destination is clipping?
@jt0dd If the client has access to it, it's vulnerable.
01:18
@phenomnomnominal ^^ :-)
m59
m59
@SomeKittensUx2666 you're hacking people now?
@PotPlant hmmm
You could manually look at the signal?
I don't know if it's built in
Yeah, I was wondering if the clipping was happening further along than that, and so no.
But if you're building a mixer, then being able to see if clipping is happening is very handy.
I guess you can always do it by ear.
Hmm, no actually you can't, different freq. response of stuff and all that.
Yeah exactly
What are you working on?
Well, starting off simple with a Minimoog-esque synth.
01:26
Very cool
I'm pretty much blown away by the Web Audio API.
It's fucking amazing aye
My only issue is the resolution of the FFT
I know nothing about that!
I'm still scratching the surface.
Meant I had to use a custom implementation for my tuner, which means JS, which means a lot slower
Oh, is this for analysing input?
01:28
Yeah, the FFT does the time-domain to freq-domain conversion
Ah, I've not even looked at that. I've just been generating audio with oscillators.
0
Q: return value after a promise

pedalpeteI have a javascript function where I want to return the value that I get after the return method. Easier to see than explain function getValue(file){ var val; lookupValue(file).then(function(res){ val = res.val; } return val; } What is the best way to do this with a prom...

@Liam 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.
Yeah, it's been a blast so far. Made some oscillators, a VCF, a VCA, plus some other bits (waveshaper and delay) and hooked them all together with an old-school keyboard sending control voltages and triggers and gates. It's been ridiculously easy!
01:32
Yeah, the audio graph concept is super natural
Yeah, unlike the DOM a lot of thought has been put into that API.
I need to figure out the sequencer next. It's looking like it's going to be a setTimeout loop doing lookahead scheduling. I'm not sure I like the sound of that, but it seems to be the way to go.
02:03
Golf: what's the shortest way to generate an initialised array of length n, suitable for mapping?
@PotPlant isn't there sequencing built in?
@PotPlant: with what value, undefined?
@OneKitten Anything.
First idea would be Array(5).join(' ').split(' ')
02:05
but, but HOLES!
@phenomnomnominal Yeah, I think I just need to get my head around the fact that the web audio timing is separate from the JS thread.
Yeah, holes.
So far I've got: Array.apply(0,Array(10))
02:17
Hmm, for specific small n you can do (''+x).split('')
Where e.g. x === NaN or {} or null, depending on desired length.
only {} is useful
Heh, yeah!
02:55
is 21 the max length of digits js can handle?
!!>Math.random() * 1e22
@Connor 168211223440463700000
@Connor 4.1766277578809887e+21
03:18
hey all - anyone keen w/ python?
:D
03:41
I'm a noob. How do I get the ID from a button into an ajax call?

I setup a jsfiddle to illustrate my question (it's not working because I don't have files linked)

http://jsfiddle.net/kFS38/
the clicked button?
this.id
TY- How do I get it into the function? I'm struggling :(
...what do you mean 'get it into the function'?
did you see my jsfiddle?
I have a function that is working if I manually populate it but not sure how to convert to dynamic
04:00
Kitten- you give up on me?
can you point me to resource that would help?

Noob Javascript Resources

Jun 15 '12 at 13:05, 1 minute total – 11 messages, 2 users, 0 stars

Bookmarked Jun 15 '12 at 13:09 by rlemon

m59
m59
@SomeKittensUx2666 I feel like it's fail that npm/bower/grunt/yeoman don't expect you to namespace your projects
04:07
@m59 how so?
m59
m59
With every other thing ever, it looks to be good practice to prefix project names
classic example: var myApp = myApp || {};
like, there's npm install github
If I wanted to make my own module for that, I'd need to either come up with a fancy name (not my thing) or namespace it
but no one ever namespaces anything
So, I don't know if pmkr-my-cool-module will be uncool because of the namepsace
I'm pretty content to roll with my verbose naming plans and pmkr the heck out of everything. I just wanted to throw it out there and see if you'd make plenty of fun of me for it beforehand =D
you mean have multiple packages named express or whatnot?
m59
m59
well, express is specific enough to not worry about that
that kind of is its namespace
I suppose I like to name things pretty literally.
Unless it's a large project.
generator-angular-component
^ that makes me angry.
things I'm working on (non-namespaced):
That defeats the purpose of centralized package managment
m59
m59
generator-boilerplate
generator-angular-component
generator-node-module
git-setup
github-create-repo
etc
@SomeKittensUx2666 the namespacing? you mean because people can't guess the name and roll with it?
04:20
if both you and I publish a package named mongo-wrapper, which one does Jim want?
m59
m59
that's exactly the problem!
kittens-mongo-wrapper
now I can pick sensibly
Gotta either be namepsaced or fancily named like Mongolian Rapper and Moongoose Coat.
While those are excellent names....
I'd prefer them be named for what they do and just have a prefix.
@SomeKittensUx2666 gimmmeeee wisdom
04:38
I dunno
3
Q: Calculating Paint Times of Elements In All Browsers

George MilonasI am trying to calculate the elapsed time an element is painted onto the DOM from the start time of the script or if the specific element was even painted at all. I am inserting a background gradient to the HTML, and then using javascript to create random (clouds, which are just large periods wit...

can anybody make sense of that question?
6
Q: how to Pass value From Collection to model in backbone.js

SportI want to pass and fetch a value from the view to model use of a collection, i am able to pass the value into the model when i used collection it is not working .i don't know where is the problem here is my code . my model var PostwallModel=Backbone.Model.extend({ urlRoot: 'http://localho...

I pretty much rewrote his entire script in preparation for his response to my question in the comments. but the OP never responded. lol
any one have idea to do
Read the answer you got?
04:44
no
@SomeKittensUx2666 any ideas?
it sounds like he wants to calculate the execution time?
m59
m59
@SomeKittensUx2666 that's probably answer enough for me :) Like I said, I'm just curious if the general dev will see my approach and thing negatively about it.
-1
Q: Why does "@grant sandbox" do what it does?

OneKittenI've heard that you could use in Greasemonkey the following directive: @grant sandbox When I run the following basic Greasemonkey script in Firefox: // ==UserScript== // @name Test // @namespace user12345678 // @include http://example.com // @version 1 // @grant sandbox...

Is this question really that shit?
@OneKitten no
04:59
just wondering "why the dv", but don't want to comment on there which looks crap
so many kittens D: haha
Good morning Europe, good afternoon Asia and Indonesia, good night america!
good morning/afternoon/night human
user924016
Mornings
05:09
Good (UGT) Morning !
m59
m59
The mayor of the town next to mine was convicted for stealing $30,000 dollars from Toys for Tots and only got 1 year probation and had to pay the money back.
I want to punch things.
That's probably as close to stealing candy from 30 thousand babies as anyone has gotten...
05:24
@AbishekArumugamR 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.
How to take value from user and apply that value in SQL Query in jsp
@AbishekArumugamR the J in JSP stands for what?
m59
m59
Joy!
I am creating a website using JSP and PostGreSQL, In that website analysis operation are performed in PostGreSQL only I Passed the SQL Query in JSP and showing the result in JSP. Now i want to take value from JSP Through textbox in JSP and the textbox value should be applied to the PostGreSQL String..How to do it, Anyone Guide me...
the J stands for Java, and the S stands for script!!!!!! :P
05:30
3 mins ago, by SomeKittens Ux2666
@AbishekArumugamR the J in JSP stands for what?
m59
m59
@OneKitten LOLLLL hahaha
P stands for pages..
m59
m59
@SomeKittensUx2666 WOOT GRATS!
05:30
@m59 what'd I do?
m59
m59
10k brah!
m59
m59
so that's why there are none left :)
err....dang 26 again
I got disputed on a bunch
m59
m59
that's normal - the system is odd.
05:32
hi, anyone used suds.js in titanium?
> You won't need to worry about a thing.
Wording sounds....off
Sir, I want to take value from jsp text box and apply the value into PostGreSQL Query. In JSP i pass the PSQL Query as a string..
m59
m59
Yeah, right now you need to worry, but later it's ok, lol.
@AbishekArumugamR I really doubt someone is going to answer a JSP question here.
Might want to really learn what JSP stands for.
!!afk all requests for help should go to my secretary @CapricaSix
m59
m59
@SomeKittensUx2666 so, I think on posts where some people agree with the flag, but others deem it invalid, it gets considered disputed no matter what the result is.
So, you're still helping, but it's not labeled intuitively.
05:35
isn't having a bunch of disputed flags bad?
m59
m59
afaik, it's the same as having a bunch of helpful flags.
Other than that it was more controversial calls.
Just means someone disagreed I think
Unless you flag as "invalid flag"
okay, going for real
Yeah, that's what I did
m59
m59
Yeah, then the mod comes and agrees with you, invalidating the flag, but still it's "disputed".
So now...on to 20k haha.
@SomeKittensUx2666 are you totally burnt out on main now?
oh, that makes a lot of sense
Actually, not really burnt out
m59
m59
05:38
I'm toast.
finding myself idly searching for questions
had to stop myself, I'm only answering questions from this room for a month
it's addicting, getting upvotes
m59
m59
I don't know if I'll ever be able to answer another jQuery question again.
Writing content is hard
m59
m59
like copywriting, you mean?
I've got a friend that's amazing that is open for freelance work - and affordable.
Current budget: $-10
m59
m59
05:46
hehe
Product is good. Make you happy.
That'll be $7.50.
06:18
that's a question...
any one got any info on how to make a js lib work in node? i.e. a js lib designed from browsers
can we set the clientWidth property of an element?
@deostroll what would be the effect?
06:30
to make the width of the element equal to another.
@deostroll try setting style.width instead
or better yet, use CSS. Is your data semantically a table?
@OneKitten Why are you linking to an answer? Also, why is the answer downvoted?
but the target element, i.e the width of the element I am trying to mimic, has nothing set in the likes of style.width
@JanDvorak; my mistake, I got there from a user's answer and found the question
I didn't dv it
@deostroll then read clientWidth, but write to style.width?
@deostroll I'd use jQuery, by the way ;-)
yeah, but there is a difference of 2px in my case...don't know why?
06:33
jQuery solves nothing -- the problem never existed with jQuery.
@deostroll borders, padding?
* yawn * a fresh morning all
so you are suggesting I have to reset the css for the tables and then check?
@deostroll can I see your HTML/CSS?
If you want to set the same width to both columns, set them both to 100%
hmm resetting works...meaning setting padding etc...
06:38
Hi
Anyone who have used the dymo label frmework
@NikhilAgrawal never herd of it
You mean Dymo labels?
the ones that print out labels
Well not quite...I am trying to make a fiddle to demonstrate...
Jes
Jes
hi friends
good morning
i have a question and need ur suggestons
good morning
i got a table where first coloum of the table has a list of check boxes and the second coloum has input text field. now my prob is if the second item is checked then hw to get the value of second text box
give the checkbox this name "cb_x" and the input this "input_x" where the x is your row level (just an example)
when submitting the data, loop through the max rows and if its value is true, check the input
06:54
@Jes go up to the row, then down to the textbox. Are you using jQuery?
@KarelG I believe he meant "in javascript"
Jes
Jes
@JanDvorak yes using jquery only i mean
@Jes then which part are you stuck with?
Listening to change events? Determining if a checkbox is checked? Finding the row? Finding the textarea? Getting its value?
its somewhat jagged.
Jes
Jes
var service_amenites = $(" #service_amenities input:checkbox:checked").map(function(){
				return $(this).val();
				}).get();
i get all the checked values
@JanDvorak now need to know how to get the textbox values?
I do feel jsbin is more appropriate instead of a fiddle.
06:58
!!tell jes jquery closest find
@alexche8 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.

« first day (1271 days earlier)      last day (3902 days later) »