« first day (2216 days earlier)      last day (2736 days later) » 

2:00 AM
Gary Johnson got a county in PA? Was he from there?
 
Looks like there is only 2% in in that county?
 
^ that
 
@SterlingArcher butthole surfing, coming to the Olympics in 2020!
 
ah
 
user6820627
i feel so stupid now stackoverflow.com/questions/40188211/… i lost 50 rep
 
2:06 AM
VA is projected to Hilldawg
NOVA is still being counted and that's the primary votes
 
was
oh
 
Heaviest population in va (i live there) and there's too much hilldawg support
 
She's gonna be your new neighbor
 
Iunno man, Florida is way too close
 
Murica is crazy.
 
2:09 AM
oh fuck my computer blue screened again
 
@SterlingArcher currently it's +1.5% for T
 
yea, India has ALL their shit together. :)
 
Yup, I'm watching Florida closely
 
@Luggage It's so bad for me right now, but not as bad as trump being in the lead..
 
I don't think it will flip again
 
2:11 AM
 
VA is starting to get really close
 
I bet that episode is getting some play.
 
Senate race is close too. House is swinging red, but theres a couple hundred seats left
 
The forecast meter at nytimes.com/elections/results/president has just moved into the 'tossup' zone from being 'likely clinton'
 
Ohh, I misread that. I thought Hillary was getting good gas milage.
 
2:20 AM
Welp.
 
@littlepootis too early to panic
or too late.
 
washington, oregon and cali will all go hillary
 
yup
 
and that's 74 right there
 
I wonder how the weed votes are going.
 
2:22 AM
so as long as he doesn't get a 74 vote lead you don't need to panic
 
looks like T will pick up both NC ans VA
PA is still to early to tell, but it looks like it will got for C
 
NC, VA and florida... what a world
 
if T picks up PA, then it's done and I can go to sleep
 
he won't.... there's no way
although this prediction place gives him more chance of winning PA than VA :S projects.fivethirtyeight.com/2016-election-forecast/…
 
and only 14% counted in PA.
 
2:28 AM
^1 that's why I said that T might pick up PA
 
!!who is winning in PA
 
@Luggage <
 
I am!?
 
Ohio is also swinging Trump
 
Traitors
j/k :)
 
2:30 AM
btw, T has also picked up MI (which was predicted 70%+ for C)
 
Current % in almost all swing states are T
 
I pity the fool.
 
sorry ... I am not american. I only know that FL and PA are swing states
 
only 12% counted in MI right @tereško?
 
Ohio is one of the biggest swing states
@david 16%
 
2:32 AM
@david lol, sorry then for scaring you :D
 
new hampshire is also a little red tinted at 20% :S
 
I wonder what % Hilldawg Cali will post
 
@SterlingArcher where are you seeing 16% for MI?
 
!!afk calling my bookie
 
2:35 AM
cnn has a horrible map display lol omg
 
The "developer win" IMHO goes to FoxNews this time.
 
who developed that POS
 
@tereško 10/10 agree it's beautifully developed
 
I'm enjoying the politico one
d3 is the real winner on the day
 
2:36 AM
lol
 
Guess now's not a good time to ask a question not about our election...
 
user559633
wonder how much cash mike bostock this election year
 
I actually like d3. It's a rough learning curve, but d3 + svg is smooth
 
@AdrianM. why not?
 
That's the spirit, @lug
@luggage, pardon
 
2:38 AM
ya big lug
 
> Alex Jones is like a deer in a dumpster file
 
senate is tied
 
room topic changed to JavaScript and US Election: Topic: JavaScript, ECMAScript. Read this: javascriptroom.github.io/rules. Before asking inform yourself on the XY problem goo.gl/taIqf | devdocs.io Documentation™ Helps. Room meta discussions: github.com/JavaScriptRoom/culture [ecmascript] [ecmascript-6] [javascript] [nodejs]
 
Well, I'm just a little new to javascript, but well-versed in OOP. I'm interested in composing a set of class objects in another class object, though using a service is leading to a need for some kind of initialization in my dummy array code.
this all using angularJS 2
 
I was with you up until the last comma
 
2:41 AM
^ that
 
we're probably not the best versed in angular 2... can you post a minimal example somewhere @AdrianM.?
 
alright. Basically, when I get an instance of the object b service in my composing class, the private constructor parameter for the service then is considered a property of the class, and npm throws an error because some kind of initialization isn't included in the dummy array
Perhaps, perhaps.
 
is 'dummy array' an angular thing?
 
No problem, @david.
Well, I'm just using it until an http implementation is put in place
it's just an array of coded instances of class b
 
So you're using static data until real data is fed in?
 
2:44 AM
yes
 
Been there
 
and the compiler wants a private parameter, which I'm already importing.
Yeah.
It's a bit funky.
 
@AwalGarg not a signle 500 / 1000 note :P
I have not used currency bills for past 2 years ;), I've been using my cards since then .... so 0 black money.
 
I'll post the code to provide a visual
 
user559633
if the data is meant to come back from some API, why not stand up some disposable source for mock data?
 
2:47 AM
virginia might still go blue, the gap has closed considerably
 
@david My reaction on that was : Et tu Virginia?
 
My money is VA swings blue.
 
yeah, that does seem likely
0.3% gap and 10% still to count
 
Nova is to heavy hilldawg and is the majority population of my state
If trump loses florida even Fox News says he loses the election
 
user559633
I want to live in a world in which Fox News is a television station for foxes.
 
user559633
2:50 AM
They can get breaking news on where rabbits are living or where it's warm this time of year :3
 
This just in, Farmer John left the coop open.
 
KEY RACE ALERT
 
user559633
It's Wolf Blitzed here, reporting live on Fox News. The Johnsons are leaving out cat food again.
 
@tristan LOL
 
@SterlingArcher Fox won't say he lost, remember last time when they had to announce Obama won?
 
2:52 AM
plnkr.co/edit/EWVlz2cBfB19JJUYyMfC?p=catalogue script.js will show the structure of the class, the constructor of which is bringing an instance of a service into the property set of the class, and leading to the error. No pressure, though, I think I'm going to take a break.
 
How in thee hell?
 
The west will go to Hillary anyways so
 
Couldn't we just have a neural network of Hank Hill take the office?
 
west coast, plus probably colorado
 
2:54 AM
What's the math on that likely, leaning meter?
 
4 hours ago, by Luggage
2024: First artificial neural network president.
 
Lol@
!
 
Someone hacked the president again.
 
So, maybe the singularity isn't quite that machines become sentient, but that people become as dumb as machines.
 
@SterlingArcher it's good math. they have the best math
 
2:55 AM
@littlepootis do you think C will get Nevada?
 
so much math
 
Good night, and good luck, all.
 
VA just swung blue
 
Celebrate and/or cry as desired.
 
I expected it
You should see some of the prius people drive up here. Decorated with bumber stickers like IE4 surfing a porn site.
 
2:57 AM
@tereško likely
 
Fox just called VA for Hilldawg
 
Even fox is sick of trump
 
user559633
Heading out. Thanks for letting me hang in here. Have a good night everyone
 
"prius people", hehe
 
@tristan night dude
 
2:59 AM
@SterlingArcher isn't that a bit early? 0.2% difference at 82% reporting
 
Possibly, but the analysts are reporting primarily democratic regions yet to come in
 
Yay :D
 
welp, gtg
GL, HF
 
WTF how is trump on 140?
 
:D
 
3:04 AM
140 isn't enough
 
@Abhishrek votes, most likely
 
there's 74 for hillary 100%
 
@SterlingArcher gosh :-|
 
He's got a good chance to win, he's red in several swing states, and florida is close af
 
its amusing how indian tv discussion about american politics
are way more civilized than the entire election
 
3:09 AM
Fox news all night has shockingly been all statistics. Of course they have bias but I've never seen such civil discussions
Republicans have taken the senate lead, and have 39 seats in the house over democrats
 
this might be the first election where they're not sure they actually want the republican to win
 
which kinda makes them the most objective
 
All I see from Hilldawg is scandals and investigations
IMO, feel free to disagree, how can anybody be in the running with a federal investigation over their head?
Just seems silly to me.
 
I think it's good, innocent until proven guilty and all that
it will be pretty lol if she wins and it turns out she is guilty
 
Yeah. Another part of my concern, is how is a career politician a multi-millionaire?
 
3:14 AM
'murica
 
That would be horrible. Nothing would be accomplished if that happened
 
what would actually happen? would her second person become pres?
or would it trigger elections?
i'm eating these new flavour mentos and they taste like soap
 
mm, soap flavor
cilantro?
 
Her vice would become president iirc, but there would be incredible opposition, and she wouldn't be removed for a year or two pending indictment. During that time, she'd be in court and shit, and not focused on leading
 
they've already investigated and moved on. the latest batch didn't turn into anything. I don't think it's a concern.
I have no idea if she's guilty.. not making any claims there.
I just don't see it as a problem for her going forward.
 
3:26 AM
trump won ohio, hilldawg won colorado
no candidate has ever won presidency without taking ohio
 
hillary was prejected to win WHILE losing ohio: projects.fivethirtyeight.com/2016-election-forecast/…
but yes.. looking trumpy
tha was also having florid and pa, though.. so..
 
republicans have control of the house
senate is leaning red too
 
if the senate, house, and president swing republican thats huge
 
3:32 AM
^^ Source, NYT and a slight modification by me.
 
@Luggage so ... prepare for riots
 
what did you modify
 
The label of "very likely" for trump
 
"shit your pants"
 
oh lol i missed that
 
3:34 AM
Well, I guess I'm not going to the US for a few years then
 
booooo
 
@phenomnomnominal You won't be allowed.
 
Exactly
 
build walls everywhere
colonize mars!
Then put a wall on it!
 
Colonize Canada
and Civilize Canada for Jebus's sake.
 
3:35 AM
Make Canada our Buddy, Guy!
 
Sorry, but this is absolutely terrifying
The amount of hatred I saw at the Trump rally I went to 2 weeks ago
Fuck that for a joke.
 
You went to a trump rally?
 
I can say the same about democratic protesters firebombing a republican center
 
Sure did
America needs a 2 state solution
 
I must have you confused, I thought you were in france.
 
3:38 AM
I am in NZ, I was in Florida for holiday
 
Split america by party, let them run themselves :P
See who's policies work better
 
yay nz
 
Lol as if anyone in America cares about policy
It was barely mentioned by either Trump or Clinton at either of their rallies.
 
One of them has policies.
 
3:39 AM
They just spend their entire speeches antagonising their opponents.
 
The other has a 'personality'.
 
NYTimes predicting 91% chance Trump Victory
Trump wins NC
 
i wonder why NYTimes still has florida light red when it's 99% reported
 
where you seeing 99% at? I'm seeing 95%
 
hehe, utah..
where hillary may come in third
 
3:52 AM
8 minutes till polls close in the west
 
the west coast it strongly blue, so I wouldn't expect any surprises
 
yeah, but that will yield more senate and house seats too
Florida went red
 
Knew I should've shot him
 
10/10 this chat is on some sort of watchlist
 
rip merica
 
3:59 AM
We're gonna be your problem, too.
🇺🇸😢
 
Jesus oregon votes completely by mail?
 
lies
 
da fuq oregon
 
we have a sea border
can't build a wall over the water
actually you can...
 
4:29 AM
Morning! How does the election go?
 
Poorly. Or great, depending on your view
 
AHAHAHAHAHAHAHA
 
58 mins ago, by Luggage
user image
^ it hasn't gotten better.
in fact, it's in the "shit your pants" area
 
SELL ALL YOUR SWAMP STOCKS AND BUY UP BRICKS AND MORTAR
NO
BRAKES
 
209 : 216 that looks close
 
4:32 AM
That looks much closer than expected... looks like a usa scale Briexit is coming?
 
yea, only ours takes effect in a couple months
bigger and faster. America-style
 
You only need to look at Toblerone to see how the future and uncertain Brexit is hurting UK life :<
So, when I wake up, Clinton was merely leading. When I'm done with my baby and look at the computer again, Trump is almost certain to win. That is fast...
 
the markets already dropped
 
Do we have FBI to thanks?
 
4:38 AM
Can we discuss politics in here :P
 
meh.
 
cnbc.com/pre-markets markets are doing terrible -_-
good thing I'm not planning on cashing out my 401k for a long time :P
 
RIP DOW
 
Damn. My 3.3kg pork chop is crying again. See you later >_<
 
Time for sleep.
 
5:08 AM
If you all could tag the right david, that would be appreciated @david, I've been getting tags for I assume you for the past couple days.
 
 
netflix has been around for 37 years? really?
or 19 years?
 
user406009
Yeah, they had the DVD thing for a while.
 
user406009
I actually think the DVD service was and remains better than their streaming.
 
@David chat doesn't work that wya, it tags every david
it isn't by id
 
@400654 Orly?
 
Can somebody ,
help me ,
find the length of an array with random index ,
 
array.length
 
I swear...
the only way Trump doesn't win tonight is a tie.
then it goes to the house where it's filled with republicans
Then he gets elected
 
5:39 AM
if its random index , array.length would be wrong ,
var a = [1];
a[2] = 3;
a.length would return 3
but there are only 2 items as of now
 
@KevinB, anyway to log out of the room then? I've clicked "Leave" but that isn't doing anything.
 
i'm not sure
none that i know of, but never looked into it
 
Clear cookies maybe?
 
@32teeths see here
Wait - what do you mean find the length of an array with random index
that makes no sense
 
@32teeths Index has nothing to do with length. If you have an array, you can get its length by calling array.length. When you assign something to an index that doesn't yet exist, you're populating all positions prior to that index (assuming they don't already have values)
const rando = Math.round(Math.random() * 100);
const myArr = [];

myArr[rando] = 'blerg';

console.log(myArr.length); // will return the length of the array
Why do I get the feeling I'm doing someone's homework for them...
 
5:54 AM
yes, imagine that when you assign arr[x] = thing the engine does while(arr.length < x-1) x.push(undefined); arr[x] = thing;
 
@monner
i m sorry
 
!!> var arr = []; arr[4] = 42; console.log(arr.length);
 
@doug65536 "undefined" Logged: 5
 
that is what i m saying
 
@David you sure you don't have another copy of the room open in another tab?
@32teeths when you put one thing in the array, in index 0, there is one thing right? the length will be "last populated index + 1"
indices start at 0
think of the array index as "how far from the beginning". the first item is 0 away from the beginning
 
6:05 AM
@doug65536 So , I was hoping how to find the length of such array
 
one based? you're going to have issues if you do that
you'll have the first entry undefined, ignoring it won't make it go away. forEach will access it
 
@MadaraUchiha awesome! congrats!
 
ok
 
trust me, one based arrays are awful. there's a reason almost every language uses zero based
every time I program in Lua I am dinking around with -1 and +1 everywhere because of 1 based arrays
 
Cool ,
I dint mean one based arrays
 
6:09 AM
you assigned [1] first
 
if i have created an array ,
 
oh I misread it
 
var a = [{name:ashique}]
and give ,
 
that's an array with one 1 in it
 
roll no as the index for the array ,
 
6:10 AM
the length is 1
a.length would say 1
when you did a[2] = 3, you skipped over a[1]
so you added 2 items there
 
like ,
 
js fills the ones you skipped with undefined
 
suppose ,
a[322] = {name:ashique}
 
length would be 323
 
a[3222] = {name:"doug"}
so i have only two items in the array now
 
6:12 AM
no
 
like any way i can get 2 as the count
 
you should stop saying that, it is wrong
 
yea i understand ,
 
you have been repeatedly told that js grows the array and fills it with undefined for all unpopulated items before the one you assigned
oh yes you can
 
i want to get the answer 2 as a count for that ,
 
6:13 AM
!!> var a = []; a[20] = 1; a[332] = 2; a.reduce(function(t,i) { return t + i!==undefined?1:0; }, 0)
 
that is what i am truing to to achieve
oh,
 
@doug65536 "ReferenceError: a is not defined"
@doug65536 "ReferenceError: arr is not defined"
@doug65536 1
 
?
!!> var a = []; a[20] = 1; a[332] = 2; a.reduce(function(t,i) { return t + (i!==undefined?1:0); }, 0)
 
@doug65536 2
 
but it loops over 333 items, mostly adding 0 to the total
if you need a sparse "array", use an object
!!> var a = {}; a[20] = 1; a[332] = 2; Object.keys(a).length
 
6:18 AM
@doug65536 2
 
@32teeths big time XY question though, why do you want that?
 
@David MAGA
 
6:43 AM
Cat pictures to cheer up political stuff
 
Trump: Merry Xmas Hilary ^_^/
 
In my angular app, the current folder structure is like this
app
  > common
  > components
              > charts
	      > dashboard
but chart is a part of dashboard, so should i put it inside the dashboard folder ?
 
fuck me sideways
that is all
 
@Codeman Thats technically impossible
 

« first day (2216 days earlier)      last day (2736 days later) »