« first day (2142 days earlier)      last day (2800 days later) » 

My avatar won't change wtf stackovenflow?
 
Are you trying to change it to a picture of the moon
 
no a matrix picture
it has been the gray earth for a long time so I wanted to change it
 
I was thinking about changing mine up too
But Clam is too iconic
 
camp lazlo is a funny avatar
 
7:11 PM
Yeah I like it a lot
Plus Clam is me_irl
 
!!urban me_irl
 
@William No definition found for me_irl
 
me in real life
 
Hi js guys
I have textarea and want disable it from user from posting messages ,But this is not surely that he will not post because he can enable this textarea by firebug or something , How can i do in this case please ?
 
You can't sorry
 
7:18 PM
what i cant ?
 
You have to do permission checks on the server
 
^
 
For the reason you gave
There's no way around it
 
Browser code runs on the user's computer, you have no power there
 
what is the server code written in
 
7:19 PM
Treat anything the browser sends to your server like it's infected with a zombie virus and do all important checks serverside
 
You have to do permission checks on the server Thanks , i understand
 
Great. That was easier than it usually is :)
 
check by ajax you mean right ? @Meredith
 
Sure
 
hi losers ;)
 
7:44 PM
@SuperUberDuper u wot m8
 
im trying to sound cool
 
you sounded scary
i was afraid you were gonna bully us
 
while coding on a saturday
I wont i promise
 
@SomeGuy yay
@AwalGarg send us your slides
 
any losers coding on a sunny saturday? (im in USA)
 
7:56 PM
I'm not coding but I'm still a loser
 
gd gd
 
its ok
night
 
So let's assume I made an app for a workout diary that calculates a 6 week program. I store saved data in localStorage. Should I go through the shitshow of setting up passport and saving data in a database mongodb or would noone ever want to use several devices while at the gym?
 
Serialize the data, upload it to pastebin
Pastebin key is their password
 
is es6-shim of use if you already use babel-shim? I'm wanting to support Array.find
 
8:06 PM
@SuperUberDuper use babel-polyfill
@Meredith I like it. Kinda esoteric. I would hate to use an app where I can't choose my own password though
 
@Meredith pastebin can be private?
 
@SuperUberDuper No idea
 
In this case I suppose there's no incriminating data stored since it's not coupled with username
But unless you can choose your own key on pastebin (and there's no way that would work) I still think it would turn off some users
I'm more concerned with wether it's a legit usecase than how to implement it
 
What you can do
Is register a pastebin account for them using their credentials
Then upload pastes on their behalf
 
8:09 PM
Then I might as well set up passport and provision a mongo database on heroku
it's roughly the same amount of work I'd think
 
Way less work
 
Setting up a mongo instance for heroku takes literally 1 minute, passport isn't that much work and mongoose takes care of the ORM part. Again, I'm trying to debate with myself if it's a feature that's really needed
The app assumes you measure your 10RM (10 repetition max weight) while at the Gym, so you'd use your phone for that. Then the diary is used during exercise so you'd use for phone for that as well. But if you wanted to look at upcoming exercises from another devices is when you'd need an actual account
(ignoring the fact that localStorage might get wiped)
 
I mean, the real answer to just use a server
But using pastebin as a data store is kinda funny
 
Yeah, I get the esoteric part of that
 
Also I'm pretty sure it's against their TOS
 
8:17 PM
So I'd get extra points for being a rebel?
 
Double points
 
8:29 PM
Can't see a way to create pastebin accounts via the API and fuck using selenium to do it via the web :)
 
@phenomnomnominal Did you get a midi foot pedal?
 
@ivarni you like ORM?
 
@SuperUberDuper Some of them
I appreciate a good abstraction, and not having to deal with databases lets me get stuff done
 
9:12 PM
what does the d in httpd mean?
 
daemon
 
srsly?
no
 
oh, it is...
HTTP Daemon is a software program that runs in the background of a web server and waits for the incoming server requests. The daemon answers the request automatically and serves the hypertext and multimedia documents over the internet using HTTP. httpd stands for Hypertext Transfer Protocol Daemon (i.e. web server). The implied meaning can be: The abstract web server concept Apache HTTP Server CERN HTTPd HTTP server Cherokee HTTP server Hiawatha HTTP server with Reverse proxy functionality Lighttpd HTTP server NCSA HTTPd HTTP server Nginx HTTP and reverse proxy server Thttpd HTTP server TUX web...
 
9:17 PM
if classical art is not safe for your work space, then i feel bad for you
 
I'm not in the US, I just get the impression they're more sensitive to that stuff there
I could be wrong but then Trump isn't a likely next president where I live so I win anyway
 
9:28 PM
well sadly we do have our far share of populists around here
they just haven't gotten as far as trump has
 
TRUMP world emperor!
 
lol
 
TRUMP is the messiah!
 
i'm not sure how reliable fivethirtyeight is but they think it's a landslide for clinton
 
so does nate silver
 
9:30 PM
I don't see her getting 80%
 
yeah it will still be closer but there is no way trump will win IMO
I doubt Clinton will get ohio
I'm no expert but just my opinino
 
I'm just glad I am not in a position where I have to choose between those two
 
I'm debating not voting at all
I'm in NC so my vote likely actually counts for something
It is theoretically possible for trump to win NC although unlikely
 
I think you should vote, I don't care what for but what use is democracy if we don't use it?
 
maybe but I don't want to be on the loosing side and it is my first election
 
9:34 PM
b-but politics isn't about winning or losing
 
You'll be on the loosing side either way :)
 
i often see politics framed like sports
 
My grandmother has TRUMP stickers as reverse phsychology
 
where you want "your team to win" and so on
it's not the right way to think about it
it is persuading you with emotional votes
 
but at this late stage in the process, when it's down to two choices (not counting other parties), all you have left is the two "teams".
 
9:37 PM
yeah I might flip a coin
very 2 face batman approach
 
@Luggage i mean to not frame it like teams so people do not get emotionally invested like one does with sports
 
@William You may as well not vote, in that case
 
it's just a tactic to get voters, get them emotionally invested in your campaign and yourself
 
@KendallFrey if everyone did such we might have a tie and then no one gets elected right?
 
no
If people were elected by coin toss, everyone would lose
 
9:39 PM
@KendallFrey who are you voting for?
 
i think the best voting system would be
for everyone to write down their nomination on a piece of paper
put it on a big hat
 
@William I'm not, I live in Canada
 
and then someone digs their hand in and pulls out one piece of paper
 
Canadians can't vote? :)
 
and that's who will be the next president
it's pretty fair
 
9:39 PM
@Luggage Not in the American election
@bitten no, that's a bad idea
 
@KendallFrey why?
 
@KendallFrey if you give me a convincing argument I will vote whoever you prefer.
 
there's no voting bias, no second past the post, and whoever has the most votes has the bigger chance to get elected
"everyone's vote" counts in this way
 
@William The things that come out of Trump's mouth should be convincing enough.
 
^
 
9:41 PM
@bitten No, precisely the opposite
 
@KendallFrey obama is in charge of isis right?
 
If you want to improve electionss, have people select a 1st and second choice with instant-runoff elections.
 
He founded ISIS if you believe Trump
 
Then.. you can safely vote for a 3rd candidate, with a backup choice of hillary or trump.
 
@KendallFrey it's one of the only systems where an individual's vote counts
what am i missing then?
 
9:42 PM
The way democracy works, if most people prefer A over B, A should always be elected.
(in a two-party system)
 
IMO the two-party system is broken
 
voting by hat gives you a possibility of selecting a candidate that only a small percentage of the population wanted.
 
@ivarni you obviously haven't taken a policial science class
 
@KendallFrey eh a two party system isn't democratic though
so that analogy fails
 
it will always come back to 2 parties general speaking
 
9:43 PM
@Luggage yes but the chance of it being picked is incredibly low
 
If only 10% of people vote for someone, they clearly aren't what the people want. So why elect them 10% of the time?
 
if there any parties at all
 
@William No I haven't but I've watched simpsons
 
right.. but a few changes can give an alternate party more of a chance, but yea.. it'll always boil down to 2 (maybe 3) parties
 
@bitten It's democratic, but there are other problem.
@William Oh really? Why's that?
 
9:44 PM
@KendallFrey but this is what i think it addresses, 10% of millions of people is a lot of people
so why shouldn't they be listened to?
 
@KendallFrey because 2 'weaker' parties will gang up on a bigger one to get thier candidate a chance
 
Not too long ago, Canada proved that a two-party system isn't always the natural outcome
 
@KendallFrey @ivarni youtube.com/watch?v=s7tWHJfhiyo
 
We don't have the two-party system here, instead we have lots of parties who will choose who to bed after the result is clear, so we don't really know what we're actually voting for
 
@bitten Because majority rules
 
9:45 PM
lots of more nuanced parties will naturally ally, when it benefits them, bringing it down to a fight between the two largest groups.
 
there are exceptions but generally speaking there is a 2 party system
 
@KendallFrey a majority being when it's over half though? :p
 
Well, you replace 2 party system with 2 faction system, effectively
 
and if it's over half, then it's statistically more likely to be picked.. so the hat wins again :D
 
red v blue
 
9:46 PM
@bitten Yeah, and if it's less than half, then election procedure gets weird
 
But at least then you have some control of how the power is balanced within the faction
 
bye.
 
but it always seems to get weird when it's less than half? when it's tied people go mad because they don't want to vote for the "losing party"
 
huh?
 
Having a ranked voting system instead of a pick-one should help prevent that tendency for coalitions to form
 
9:47 PM
@Luggage was that to me?
 
it was in your general direction
 
@bitten People who vote like that are colossal idiots
 
I need someone familiar with angularjs + socket.io
 
@Luggage haha
 
I need an adult
 
9:48 PM
I need someone with a C cup
 
@KendallFrey (don't let William see)
 
i have a c cup in my pants
 
@bitten Why would you gamble with such high stakes?
 
@KendallFrey that's a fair point
@KendallFrey see my comment on emotional voting, people do gamble with such high stakes
 
The stakes are significantly lower if only one (or a few) people are gambling
 
9:50 PM
They refuse to gamble. They hunker down with 'their party' and refuse to take a chance on actually making a choice at all.
 
@Luggage it's frustrating when people are close minded
@KendallFrey also true
 
Imagine Trump and Putin in charge of world peace. Then stock up on tinned food
 
still, i know the hat idea is silly.. but you're warming to it right?
 
There's been a lot of people talking about the American voting system is broken.
 
:p
 
9:52 PM
Mostly liberals because a change in the voting system would probably benefit them
@bitten no
 
@KendallFrey haha. maybe one day
 
The biggest thing we can do to improve the voting system is getting voters to actually have a clue what they're voting on.
 
@KendallFrey that's impossible
well
 
Not for at least a small improvement
 
impossible when 'talking about politics' is considered rude / bad conversation.
and any issue where someone might disagree is 'politics'.
 
9:55 PM
i mean impossible because there's too much to consider.. how the media can influence people, how someone's rhetoric can be more powerful even if their facts are not correct
and how one can bend the truth to align with their world view
and so on
 
You have your world view, I have mine, but to try to reconcile them is taboo.
I guess each side jsut tries to out-breed the other.. to get more voters
 
also, trust your favorite news channel
 
the loudest drum wins etc.
 
@bitten Yeah but you can't argue with facts
 
@KendallFrey Wanna bet?
 
9:56 PM
@KendallFrey you can twist them and persuade with them
 
@bitten no, the drum with most advertising dolars usually wins
 
I knew someone would disagree
 
@KendallFrey one sec
 
@KendallFrey Half the world does
 
@Zirak nope, I don't do much midi stuff at all, except drums cause I don't have a kit
 
9:57 PM
@KendallFrey politics is rarely about facts
 
@tereško That's the problem that needs solving.
 
wanna buy a tv media network?
 
Only if it's Fox
 
because unless you do, you can't even try making politics based on facts
 
I hear gawker's domain might be up for sale
 
9:58 PM
@ivarni actually it is not. Denton is keeping it.
 
it takes more than a new/changed news outlet.. it takes education early on to give people the tools they need to make better decisions
2
but trying to make kids smarter is against the local religion
 
@Luggage ^^
 
Allow me to paraphrase the anarchist manifesto: "Any form of governance will lead to civil war."
 
@phenomnomnominal can i introduce you to my hat? /s
 
@Luggage to enact changes in education, you need public support. To get public support on any large issue, you need huge media platform.
So ... I am calling BS on that statement of yours
 
10:00 PM
@Luggage More people need to be taught how to determine if something is true
 
Everything always ends in bipartisanship.
Tertium Non Datur
 
there is already pro-science (which is usually pro-facts) media everywhere.
 
yeah
moar
 
we spoke about trump earlier, what about trump's "repeat it until it's true"
 
@Luggage with "media" you mean "few small youtube channels"
 
10:01 PM
people believe them as being facts
what do you do in that situation @KendallFrey?
 
1 min ago, by Kendall Frey
@Luggage More people need to be taught how to determine if something is true
 
confirmation bias, people believe what they want to believe
 
@bitten and clinton's "dont talk untill everyone forgets"
 
aye
 
So if a guy with a dead ferret on his head says something they want to believe, they believe it
 
10:02 PM
There's a difference between what you believe to be true and what you can demonstrate to be true to someone who believes it's not true.
 
USA election will be fun this year: two fucked up choices and I cant even figure out which would be the worst one
 
@KendallFrey but it's so easy to manipulate facts but i understand your statement.. that kind of education takes generations
 
Trump would be the worst choice. He doesn't understand most of the things he talks about. He knows nothing of the world and demonstrates it. Hillary, as slimey as she is, should be fairly competant.
But definitely a "hold your nose" candidate.
 
@Luggage He knows everything. It's going to be great, let me tell you.
 
I believe that humans have walked on the Moon, but I can't demonstrate it to someone who doesn't.
 
10:04 PM
there's a reflector on the moon
 
Could have been put there by robots
 
@Luggage competent. Sure. But based on how she operated in state department, it would be "policy for sale" candidate
 
I can't even demonstrate that there is a reflector
 
The ongoing Lunar Laser Ranging Experiment measures the distance between Earth and the Moon using laser ranging. Lasers on Earth are aimed at retroreflectors planted on the Moon during the Apollo program (11, 14, and 15) and the two Lunokhod missions. The time for the reflected light to return is measured. The first successful tests were carried out in 1962 when a team from the Massachusetts Institute of Technology succeeded in observing laser pulses reflected from moon's surface using a laser with a millisecond pulse length. Similar measurements were obtained later the same year by a Soviet team...
 
Some people are so maligned that they don't want to know the truth too.
 
10:05 PM
One of my co-workers says the earth is flat...
 
@taco awesome
 
Is there evidence?
I say there's a teapot orbiting the sun opposite Earth
 
Evidence doesn't matter to a huge chunk of society.
 
@phenomnomnominal Which is what I want to change
 
There are so many ways to prove to yourself the earth isn't flat, it's stupid
 
10:06 PM
@KendallFrey in the context of politicians using facts, it's often to push an agenda. i'm with you on scientific facts and scientific scrutiny and wish the same, but often when we talk about facts in politics it often ends with "yeah, they took our jerbs!"
:p
 
@KendallFrey "there is a horizon" seems like a good piece of evidence
 
@KendallFrey I get that argument, but it sounds like a non-sequitur to a flat-earther.
 
I'm sure we've all seen a boat disappear on the horizon
 
@tereško That's not evidence either way
 
There would be a horizon if it was flat..
 
10:07 PM
I don't think there will ever exist a generation that makes the kind of sacrifice required for systematic societal reform.
 
but how would the boat disappear if its flat?
 
@taco a mirage
 
The moon is "upside down" on the other side of the world
 
@Luggage no, there wouldn't
 
I'm not arguing it's flat, just that the presence of a horizon is a weak argument.
 
10:08 PM
there's a horizon in holland and it's pretty flat
although it still does look a bit curved.. hm
 
@Luggage you're a weak argument.
 
@taco that's not actually true.
 
There's a freaking equator. Use a sundial to verify
oh ok, never checked the toilet thing myself
you could launch a DIY weather balloon and verify it's not flat
 
you would have to go pretty high
 
Again, you have to want to verify that.
 
10:11 PM
and you need time and equipment
 
right, they use those same images as 'proof' it's flat
 
@tereško of course you'd have to go high, but it's been done by children
 
Which will never happen for as long as we have education systems that just disenfranchise people and don't actually instill a desire for knowledge.
 
taking a long-exposure photo at night near equator is an option (you would see stars moving around two different fixed points)
 
what about islands and ships that seem to disappear as you get further away from them?
 
10:12 PM
... but that too requires equipment (and usually traveling)
 
if you walk across a causeway or sail out to seat, you can see this effect
 
@bitten who are you challenging? I don't think anyon eis arguing for flatness
 
@Luggage i don't know anymore ;_:
 
@bitten what we arguing are DIY proofs
 
i thought it was arguments for roundness?
 
10:13 PM
yes, it is
 
How about sunrise/sunset
 
but it require travel and equipment .. again
 
there are a few more though
 
@phenomnomnominal depends on what type of flat-earther you are talking to
 
get a stick, stick it vertically in the ground in a city at midday and measure the shadow
 
10:14 PM
and get shot by the cops
 
travel far away north or south and do the same experiment, measure the shadow and you'll have a different length
ergo sun shines from the same point so you walked around a sphere
 
travel, measurements, equipment
 
or you are jsut at a different angle to the sun 3000 miles above the flat earth
 
travel far away === go on a plane === look out the window
 
the Egyptians could do it
 
10:16 PM
@phenomnomnominal false, if you take a photo at 10km height with a modern camera, the curvature is less than one pixel
 
some things you can't reason about from you armchair
@tereško hedidthemath.jpg
 
That's why I have a couch.
 
@Luggage my face is :|
lol
 
@tereško interesting. I guess I always figured I could see it cause I know it's there. We all have our biases.
 
I lost my bias in the war. The war on drugs.
 
10:19 PM
@phenomnomnominal do you live on mount everest? maybe that has something to with it..
 
@phenomnomnominal or the window glass is a bit curved to compensate for pressure difference
 
or.. the window is curved to FOOL YOU.
 
riiight
 
@tereško thanks Obama.
Imagine if Gore had won :(
 
@Luggage shiii-
 
10:20 PM
@phenomnomnominal probably nothing would have changed
 
Probably :(
 
or maybe Saddam would still be gassing Kurds
 
@tereško who runs the world? girls? bankers??
 
If by "girls" you mean "Beyonce" and by "Beyonce" you mean "Illuminati" then yes.
 
@bitten who cares about rest of the world. US is run by campaign contributors
you people might enjoy this:
 
10:23 PM
Hi room, is there time to talk about js in here or are we doing the politics thing for now?
 
@Dominik Welcome to the JavaScript chat! Please review the room 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.
 
No. I won't watch any more flat earth videos because youtube recommendations are getting the wrong idea about me.
 
@tereško i already knew it was round all along because my dad has a globe in his office
@Dominik it's flat earth now
 
:D
 
Compared to humans, JS makes sense.
 
10:25 PM
agreed
 
@tereško it reminds me of thunderf00t's why do people laugh at creationist's playlist
 
@bitten yeah. This guy has a series about "spirit science"
 
@tereško haha it looks like a reference/nod to it
i'll check it out
 
lemme know how it goes
 
11:03 PM
@Dominik just ask your question! someone will be around to pick it up
 
11:16 PM
is anyone on windows here?
If you are, could you run npm ls --depth=0 --parseable on a node project and send me a chunk of the result?
 
@phenomnomnominal which shell?
 
any
Just need to check if it respects the path seperator
 
@phenomnomnominal i got this hastebin.com/edonozogel.tex
 
@bitten thanks I figured it out. Was just looking into this the Stackoverflow chat to see how helpful it COULD be :)
 
great thanks
 
11:22 PM
similar output on git bash and powershell too
 
Perfect, I just needed to make sure they did '\'
 

« first day (2142 days earlier)      last day (2800 days later) »