« first day (1817 days earlier)      last day (3130 days later) » 

crl
1:01 PM
React seems fun (never tried yet), currently I'm learning angular, I've done some knockout before (it's quite basic compared to those other 2)
angular will provide you some interesting things like bidirectional binding, and templating
 
Thanks
 
I suggest jQuery and jQuery UI
both are rock solid solutions
 
good morning
 
good afternoon
 
@rlemon You disgust me.
 
1:10 PM
le' mon troll
 
I am tolerant of jQuery, but jQueryUI is over the line.
 
;)
jQuery UI is the best UI
correction: jQuery Mobile tops it
 
@rlemon thanks for the suggestion. Ive been working with jquery and jquery ui for a couple years now. I would love to use it, but have only used it to manipulate the dom in rails apps...
 
@JoelL I was being facetious
jquery UI is terrible
 
Not sure how i would build an app with it alone...
lol
oh
 
1:12 PM
You don't.
 
$.app.build()
done
If you want more, pass an int to build
 
!!define facetious
 
@SterlingArcher [facetious](http://en.wiktionary.org/wiki?curid=79942) Treating serious issues with deliberately inappropriate humour; flippant.
Robbie's joke about Heather's picture was just him being facetious.
 
twitter.com/awal sigh (not safe for work, I think. I dunno what is not safe)
these fucking bastards take my username everywhere
 
1:15 PM
brb, following Trans_Milf
 
holy shit, I just realized what that means.
(anyone can bin that link? edit time over)
 
crl
!!urban milf
 
@crl milf "Mother I'd Like (to) Fuck"
 
crl
sorry
 
1:17 PM
starred
 
I can't help but appreciate the insinuated (to) in that definition
 
Miwltf.
 
crl
!!acronym milf
 
crl
> Mother I'd Like to Find (polite form)
 
1:20 PM
@rlemon sorry I didn't hangout, I ended up grabbing a couple drinks with hot girl
 
!!acronym gilf
 
Nothing happened cause of my back spasms but I had a good time
 
@SterlingArcher bro, you didn't ask for a massage to work out your back?
 
is it just me, or has Dodge lost this one?
 
1:25 PM
delete Jordan.oppertunities;
 
Well, I was drunk so by "massage" I more said.. "Will you drop kick me right in the spine?"
No but seriously, if I went to hanky panky town I would ave like severed my spine or something
 
worthit.jpg
 
> "yea brah, we went so hard I broke my bed."
Fuckin' pleb. I go so hard I broke my fuckin back.
 
It appears the longer I don't answer these phone calls about car shipping, the lower they drop their prices
 
1:30 PM
lol
 
In one day of ignoring calls, the quotes went from a FIRM $850 to $665 lol
 
Not as firm as it once was, huh?
;)
 
Not like the glory days :(
 
car-shipment negging??
put your balls on his desk.
 
inb4 s/days/hole/
 
1:31 PM
see how low they'll drop it
 
inb4 s/es/ic/
 
!!s/es/ic/
 
@rlemon inb4 s/ic/ic/ (source)
 
:D
 
lol I can't transport my balls to Minnesota..
 
1:32 PM
oh yeah says who
 
dude
flying ddt
fuck yea!
 
RKO? the fuck is wrong with kids. you can't just rename DDT
 
I don't know wrestling D: all I know is RKO did some things and the internet loved it
I did meet Mick Foley and his super hot daughter once at my old job
 
1:35 PM
RKO is a wrestlers initials. DDT was a move from the 80/90's -- RKO does the DDT as a signature move today, and everyone calls it an RKO now
 
fiddler shows
 
it is a DDT dammit!
 
when i request a method in javascript, service returns the data
 
Your old job as in the rape one? Why was she there?
 
15100718191858205
in textview
and 15100718191858204 in jsonview
any idea?
 
1:36 PM
They were friends with the organization president
 
mankinds daughter is hella hoty
 
@rlemon oh, they're not calling the move the RKO, it's just what commenters screamed when RKO pulled out the DDT
 
no, they call it an RKO now :P my brother and his son are all about WWE
 
WWE is good comedy show
 
1:37 PM
doo di du dooo IT'S JOHN CENAAAAAAA
 
help me
 
pretty sure dude on the bike ded
 
@Sajeetharan You haven't told us what you need help with
 
@KendallFrey i am making a request to wcf restfull service
it returns different data in textview and jsonview in fiddler
actual value i need is 15100718191858205
it returns 15100718191858204 in json
any idea?
 
needed an image to test with, and I needed it to be large, so I google image searched "big ass image" , ohh the mistakes I've made..
 
1:42 PM
youtu.be/Qz-rsqEaa_s?t=4m8s lol omg these rugby ones
 
@Sajeetharan Any idea about what?
You're woefully lacking in details
 
why it shows two different values
 
@Sajeetharan we're not magic, we have no idea whats going on past what you've told us, which is next to nothing
 
I have a hunch it's because the number is more than Number.MAX_SAFE_INTEGER
 
!!> Number.MAX_SAFE_INTEGER
 
1:43 PM
@SterlingArcher 9007199254740991
 
!!> 15100718191858205 > 9007199254740991
 
@SterlingArcher true
 
!!> 15100718191858205
 
@KendallFrey 15100718191858204
 
@SterlingArcher i am making an get request /DuoSubscribe5/V5Services/V5Echo/EcoService.svc/json/searchEco?searchBy=SerialNo‌​&value=2922744444&withDetail=false&securityToken=c6e1a5d79b94a1d87487bbe239ca7523
it returns the result as a json
 
1:46 PM
Ok, now print the JSON
 
message is too long
what can i do
[{"AccountStatus":"Tagged","Provision","EcoID":201510071409586100,"Financials":n‌​ull,"GUDeviceID":15100714123650900301,"GUProductID":15091218260779201,"GUStoreID"‌​:0,"Issued":true,"ModifyDate":"\/Date(1444207356667+0530)\/","OperationalStatus":‌​"InStore","Owners":null,"PermanentRefID":15100714123657303,"Primaries":null,"Seri‌​alNo1":"0000065536","SerialNo2":"2138046487","SerialNo3":"","SerialNo4":"","Seria‌​lNumber":"2922744444","TenantID":3,"Transactions":null,"ViewObjectID":0}]
this is the result i get in the browser
but when i call the service via ajax request
it gives the result as PermanentRefID":15100714123657304
@SterlingArcher got it?
 
Might wanna have that number returned as a string. As @KendallFrey said, it's greater than JS's max safe integer
 
somebody can help me with a question about $resource?
angular js
 
@SterlingArcher we have to return that as a string from the service?
 
They appear to be IDs, in which case they shouldn't be numbers
 
1:52 PM
anyone have ideas of how to return the "variables" in the following as array? api.census.gov/data/2010/acs5/variables.json
 
I would think so. IDs should not be stored as integers anyways
Dammit Kendell
 
@SterlingArcher its not an integer its a decimal
 
@DevanshuKashyap 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.
 
Doesn't look like a decimal to me, but ok.
I suggest a string. Beyond that I don't know enough to say more
brb
 
user3119231
1:54 PM
Hello, (more or less) experts.
 
@Sajeetharan What is "a decimal"?
 
@jumpstracks : What do u think about multidimensional array approach?
@CapricaSix : Thank you :)
 
A decimal number, or just decimal, refers to any number written in decimal notation, although it is more commonly used to refer to numbers that have a fractional part separated from the integer part with a decimal separator (e.g. 11.25).
 
@DevanshuKashyap bit concerned on memory requirements, but if thats only way, that's fine... I'm trying to figure out why it's not using brackets
 
@Sajeetharan Nice copypasta
3 mins ago, by Sajeetharan
@SterlingArcher its not an integer its a decimal
It is indeed an integer, written in decimal notation
Not sure what the point of the distinction is
 
1:56 PM
ok
 
Decimal is the type in his database or programming language
 
@DevanshuKashyap any ideas on modifying default json parser? and transform into an array?
 
user3119231
brace yourself - future incoming! threejs.org/examples/#webgl_effects_anaglyph
 
@jumpstracks : Can u explain the scenario, where you're using it, its pretty large to keep in array
 
@DevanshuKashyap I need to iterate through field list and draw a UI, then retreieve the data and put in graphs etc
 
2:02 PM
^ looks badass
 
@jumpstracks : I rcommend parse json step by step and save it it in hidden html input type, or hidden textarea and keep appending there. maintain list this approach rather than using array. or use DOM model to create hidden input component and keep putting variables one by one this way
 
Then you remember that your apples are now locked in a titanium cage and you will never get to eat them.
 
@DevanshuKashyap I'd prefer reusing json.parse vs writing my own parser if possible, doesn't look like that many array elements compared to other areas of system
 
@Loktar looks badass until you realize you can't bite it lol
sandblaster can :O
 
@SterlingArcher *ahem*
 
2:08 PM
haha yeah might hurt your teeth
 
shut up kendell >|
 
@KendallFrey lol just gotta lick it... alot
 
@jumpstracks : Your approach would be fine then
 
lol
 
2:09 PM
i usually have my screen frozen with so much stuff
 
so i take and put, one by one
 
This baby the type of baby to give out those jolly rancher apples
> RPGs in a nutshell
 
crl
the guy has good tastes too, uses jsbin
 
@DevanshuKashyap problem is, the json is not being recognized as an array as it doesn't use brackets, post parse, I've tried parsed.variables[0] and parsed[0].variables[0]
 
2:23 PM
Did you see this?
http://stackoverflow.com/questions/45015/safely-turning-a-json-string-into-an-object
 
@DevanshuKashyap not specifically, but I am able to parse & iterate json which uses brackets to denote an array, the challenge I think here is I don't see any brackets so it's not seen as an array
 
crl
@jumpstracks what is your problem? want to iterate over an object?
 
@crl well, the variables in api.census.gov/data/2010/acs5/variables.json which are objects within the variables node
 
crl
!!> var o={foo:1, bar:2}; for(var k in o) console.log(k, o[k])
 
@crl "undefined" Logged: "foo",1,"bar",2
 
2:31 PM
using nodejs with express, I have a get request where the Query String Parameters is like filter:sort=recent-activity&sort=trending so in my req.query.filter I have 'sort=recent-activity&sort=trending' how can I make it an array ?
 
@crl ew
 
let filters = document.querySelectorAll('.filtered');
let params = [].map.call(filters, (filter) => ({type: filter.dataset.type, key: filter.dataset.key})).map(obj => `${obj.type}=${obj.key}`).join('&');
 
by array, do you mean an object?
 
!!> var o={foo:1, bar:2}; Object.keys(o).forEach(k=>console.log(k,o[k]));
 
@rlemon "undefined" Logged: "foo",1,"bar",2
 
2:32 PM
@rlemon Why not for in?
 
like if I do req.query.filter.sort then it will be ['recent-activity', 'trending'] @JanDvorak
 
@argentum47 dat param string... ew
 
@JanDvorak afaik Object.keys doesn't need hasOwnProperty to be safe
for..in does (or at least should)
 
evening
 
@rlemon should. But nowadays people assume there are no enumerable properties on Object.prototype
 
2:35 PM
when you assume...
 
yeah, so how to write it the correct way? should I do let params = {}; [].map.call(filters, (filter) => ({type: filter.dataset.type, key: filter.dataset.key})).forEach(obj => params[obj.type] = params[obj.type] || []; params[obj.type].push(obj.key)).join('&'); and then JSON.stringify(params) ?
 
@rlemon so, what do you do when forced to support IE?
 
shim Object.keys
 
@JanDvorak find a new client
 
good call
 
2:37 PM
use jquary ?
 
crl
@argentum47 you may need the useQueryString param github.com/request/request#requestoptions-callback
 
@Loktar have you heard The Wolfpack by Hopes Die Last?
 
@argentum47 One doesn't simply [].map.call when already using ES6 features. Also wtf is that?
 
@AwalGarg What is the ES6 replacement for [].map.call ?
 
Array.from ?
 
2:41 PM
^
 
[...nodeList]
 
@AwalGarg I have a list of filters, I have to take the selected elements (the selected ones have a filtered' class) now send something like this ?sort=active&sort=recent&tag=tag1&tag=tag2
 
@rlemon not every array like non array has an iterator method
 
then add it
fun fact: in babel [...n] calls Array.from
 
@argentum47 what is an element?
@argentum47 show example input output, I am not able to understand what you mean otherwise
 
2:45 PM
<a class='filtered' data-type='tag' data-key='tag1'>tag1</a>
<a class='filtered' data-type='tag' data-key='tag2'>tag2</a>
<a data-type=sort' data-key='expired''>tag2</a>
<a class='filtered' data-type='sort' data-key='recent'>tag2</a>
input
filter: sort=recent&tag=tag1&tag=tag2
output in query string in chrome network headers
 
jsonpath is showing some promise in parsing into an array
 
so that in express I can do sortFilters = req.query.filter.sort; someQuery.in(sortFilters); tagFilters = req.query.filter.tags; someQuery.in(tagFilters)
 
@argentum47 so you want to create a dictionary from data-attribs of a set of DOM elements and url stringify it, right?
 
yeah
 
You sure you want to do this server side? I can't see the use case
 
2:49 PM
god dammit
 
yes, I have take the list of tag ids lets say and then get the filtered data from database
 
@argentum47 you'd need a dom parser on the server. Then getElementsOnTagName to get the filtered class elems, then array.of followed by your code
 
@SterlingArcher well fuck you too
 
Also see,
!!mdn URLSearchParams
 
2:54 PM
look for a server side version on npm, I dunno
 
@arentum if you need to parse these elements on the server side I suggest looking at "cheerio" package.
@argentum47 if you need to parse these elements on the server side I suggest looking at "cheerio" package.
 
@SterlingArcher fuck you indeed, I just wasted 3 minutes on that thing
 
2:59 PM
@rlemon so good
 
@rlemon the first one would actually be useful sometimes.
 
so would fifth one
and/or is a pita to write.
 
lol the super ellipses
 
_.inInterval('minute', function () {
  Schedule.update({}, {
    $inc: { start: 60, end: 60 }
  }, { multi: true });
}, 'cycleUpdate');
Is there anything wrong with this?
 
URLSearch looks cool, but I also can do filter: {tag[]} from the client and then JSON.parse on server side?
 
3:01 PM
@corvid O_o
 
@AwalGarg I think we misunderstood.. what did u mean by server side?
 
@argentum47 *you
 
@JanDvorak it's a client collection, not touching the server
 
// went to college, entered aula, waiting while students come in.... waiting for 20 minutes. Checks for update on a student platform. No updates. Wait another 10 minutes. A person came in, picks the micro and says " *Hello, apparently the professor isn't available in the office. So you may consider that the course got cancelled* "

Welp, i went to there in hurry for nothing.
 
@argentum47 In the code which runs on a machine which is hopefully not controlled by the client.
 
3:03 PM
I meant that url construction , that happens on the client and then the data is sent to server
 
@corvid I mean, I don't know what it should do or even what library it is using
 
@FlorianMargaine uhmm, I decided to go the debian package way but I'd need some help with that if/when you are free and willing. Official docs are way too ugly and I am slightly skeptical they contain a number of useless steps.
@argentum47 Then just use URLSearchParams thingy and polyfill
 
Every minute, it will update the client collection by adding 60 seconds to the time (start and end are unix timestamps)
 
Few things in the DOM utils API are actually useful and not spec bloat, but they are terrific at being unimplemented.
 
3:08 PM
 
@SterlingArcher read the fake comment user names
 
@AwalGarg look at pydeb
 
lmao i didn't notice those
 
@SterlingArcher welp, that's a great input
well done
 
@AwalGarg and look at my commits on this repo github.com/ralt/pyxtrlock
 
@SterlingArcher sounds familiar
/me checks
yea
 
@Loktar watch the video, but don't watch the first 40 seconds unless artistic period blood doesn't bother you
Aside from that, the video is so badass
 
Listened to it 4 times apparently
haha alright I'll check out the vide
 
3:32 PM
@Kitler here?
god that gif generation took a beating.
 
So much grain you could end world hunger
 
God I love that video
 
3:36 PM
^ looks impressive until you see how its done... spectrafishing.com/_ui/skin/img/spectra-wire-sprite.png
which is lame as hell.
 
so yea, on dark theme I replaced the ugly spinner with fish
\o/ yay me
uploaded a less optimized gif.
yay? nay?
 
@SterlingArcher the video after that was with a woman in pink bikini
...
 
A woman in a pink bikini is not a video
 
didn't watch it lol
 
3:42 PM
funny
 
sometimes youtube comes up with a video suggestion where there is absolutely no relevance to the video you've watched ... i think
 
@KarelG Because it recommends based on your history
 
so i've been watching videos with pinups lately ?
 
why was i not aware of that ...
 
3:51 PM
!!afk lunch
 
I don't get what the point of $exists is in mongo :\
 
to check it something exists
 
but it doesn't seem to even do what I imagine it is supposed to do. Collection.find({ tasks: { $exists: false } }) to find all things in collection that don't have tasks key
 
@corvid it's a clever wordplay?
 
user1596138
support.google.com/chrome/answer/… How the hell do you bypass this crap. Chrome won't let me have ANY extensions not in the web store no matter what... But the new react devtools aren't in there
 
3:57 PM
@corvid it returns every document where tasks does not exist
that makes perfect sense
 
user1596138
@Loktar does yours work? Mine removes the extension every time I open Chrome and tells me it "saved me"
 
@LanaKane you close chrome?
 
user1596138
@FlorianMargaine Yes. Either way it doesn't enable it while I have it open.
 
@LanaKane You need to install it like you're developing it yourself
IE, set up a project, load unpacked w/e
 
user1596138
Whyyyyy. And why doesn't Facebook say that
 
3:59 PM
Because chrome is saving you
 

« first day (1817 days earlier)      last day (3130 days later) »