« first day (2737 days earlier)      last day (2215 days later) » 

12:30 AM
TrollLand is depressing 😬
 
 
1 hour later…
WAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA‌​AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT?
 
What
 
What the fuck are you strawpolling ?
 
Blondie
Which one is your favorite Blondie song
 
never heart any single of them, on that note who is blondie?
 
1:41 AM
that makes two of us
 
That'll be $30/minute for my review
 
@KendallFrey You're american you dont have an excuse
Or canadian? I dont remember
But norht america so
 
@Meredith only on a technicality
 
Tu eres norte americano
 
1:44 AM
eh what
 
@Meredith He is Canadian
 
The thing is
Everyone in here is canadian compared to me
 
@Meredith I am an Ogre from TrollLand, I take offense in my minority not being represented!!!
 
@SomeGuy I subscribe to your twitter 😀 anything you re-tweet I see it :P, but still thanks for linking the FB IR thread
 
2:02 AM
when no one but you votes in your poll
 
I did vote just to ogre you
 
hmmmmhhmhmhm
I don't really want to accept the fact what I have to do in order to prevent users from voting multiple times for the same subject
 
If someone really cares, let them vote twice
It's democracy
Heart of glass is the best blondie song
 
I so much dislike the idea of storing an ever growing Array of user-ids in the database
 
It's not really an array
 
2:09 AM
well, I'm using couchdb so, it really is. I could use individual documents per vote, but I dislike that idea even harder
 
Yeah idk I'm really only familiar with like mysql
 
MySQL / Couch is not the problem
 
Store everything in memory
Pray your only server never crashes
 
@jAndy Why don't you look into what other people are doing about this
 
I already did
but there isn't much room of what to do really
you have to store individual user-ids anyhow to achieve that goal
 
2:12 AM
I mean you can just create token's each user gets a token once they have voted
 
So are you making a strawpoll?
 
for a specific poll, that's what I'd do why - because that's what we do in real world, we don't go through the list each time, we just check if the user has voted in a poll
 
Are you looking for clients
 
no strawpoll, voting in a comment section
 
the advantage here is that you'll only need to keep the flag while the voting is currently ongoing.
@jAndy WDYT ?
 
2:13 AM
Idk much about couchdb but it's not relational right?
 
of course I cache votings for a while in memory and only write it down db every once in a while
 
No
> I mean you can just create token's each user gets a token once they have voted
 
The world of non-relational databases is so foreign to me
 
whats the difference
 
Store that Susan have voted in X poll on Susan not the poll
@jAndy you don't have a single entity being updated 1000s of time per second
and your queries will be near instant if the user can revote 😛
 
2:15 AM
so you mean, instead of storing to the comment-entity that Susan has voted, I store to Susan that she has voted for that comment?
 
hmm.. yea sounds slightly better
 
Ideally in a relational databse you'd just have f_key, f_key table
 
but .. talking about comments, there are also hell of a lot of comments
 
but I think that's dirty on a couch
@jAndy yeah didn't realize you are voting for comments
in that case storing it on comments might be the same
 
2:16 AM
Honestly it sounds like your app is begging for a relational db
 
^
Like ahem postgres
 
actually you could achieve that somewhat with a document-based db
in just creating new documents per vote
 
That's just ugly
 
Like start with postgres as a default
 
i don't think couch will be optimized for that kind of case
 
2:17 AM
actually, couchdb encourages that kind of storage
 
Strawpolls are 300% relational
 
@jAndy in that case, fire away matey!
What's the harm?
Counting queries ?
 
You have Polls, Voters, and PollVoters
Don't overthink it
 
it would technically really be the best option, I just don't dare to fire the database so much without knowing how much votes there will be
 
@Meredith Document DBs have their advantage
 
2:18 AM
so I want in-memory caching
 
@jAndy Use Postgrest :P
 
But not here
 
@jAndy AFAIK PG will do that for you OTOB
 
burrito time
 
nah I'm not that crazy to use different databases for this project
 
2:19 AM
lol, ok I won't mention PG again
 
what db does SO use for that matter? :P
 
But really though mysql
 
@jAndy MS SQL
 
@jAndy MS SQL
They are so microsoft stack they are still deploying to 11 bare metal machines
 
never really used mssql
 
2:23 AM
why does using bare metal mean microsoft?
MS is all-in on the cloud
 
@Mosho Because that is the only sane way to use microsoft stack
 
azure?
 
if you are not microsoft
 
I just really don't want to develop on windows
 
@Mosho I deal with MS Stack Azure almost every day
It feels like intended trolling at times to really useful stuff
but the $$$ is way to high
and it usually ends up in most devs' running clueless
 
tipranks was MS stack
on azure
is*
people complained about stuff
 
@Mosho weren't/aren't them guys a MS Bizspark partner ?
 
but if no one complains then you're not doing software
them guys*
 
@Mosho I have seen more moaning about Azure than AWS + GCP combined
 
perhaps
 
2:28 AM
heck last 3 days I have been trying to figure out exactly which permissions Azure AD needs to properly provision a user, you'd think this should be easy peasy but its not 😃
 
I wasn't related to the backend really
 
Btw did anyone else notice how cute the cheetah is in the bodak yellow music video
 
The same thing works on my instance but doesn't on customers
and "Permissions" Error doesn't make sense
 
on identical settings
Also while I am at it, Google's Cloud is deceptively incredible to work with
like it just works 😃
My personal opinion/experience on azure is the same as my personal opinion about indian devs, it'll be either extremely awesome or extremely pathetic. But mostly the latter but very very useful if you are lucky enough to have a former.
 
2:37 AM
my head is spinning on how much database-load a simple voting system for comments causes
just alone for the initial display of votings... you have to ask your database, per comment, how many votes (and from whom) there are
 
Well it's friday night
Make your head spin because of something else
 
@jAndy Do the votes have to be realtime?
scratch that
 
mem-cache > storage you mean?
 
@jAndy No I mean just have your votes counted asynchronously
 
doesn't matter, the first guy opens an article or video or whatever is the subject for comments, has to fire the database a gazillion times
 
2:40 AM
have the asynchronous updated score be stored
 
I feel like you're really overthinking this
 
^
but he might work for $$$$$$$ heavy enterprise
@jAndy have you tried pitching discus 😃 😛 lol
 
ha, how is overthinking a bad idea especially in this matter :p
 
Like at some point you just need to be able to put this project on your resume
 
also @jAndy please look into discourse
 
2:41 AM
DDoS'ing your database is the worst outcome
 
its opensource and scales really well
the method not the solution
 
nah.. this project is kinda special. Rule #1: I'm doing it on my own, from scratch. No react, no jquery, no angular, not whatever
 
So just make it
 
@jAndy I am not saying use Discourse, I am saying look into what / how they are doing 😛
it may-be that you are just over thinking
 
I don't think so really. First user that receives the comment list to whatever, needs to put the database under more or less, heavy load
there is no way around that, which is what I have to accept I guess :P
 
2:47 AM
But really though
Don't use couch for this
 
I really wanted to make up my mind on couchdb so I've choose it for this projects.. that's why I stick to it
after the project, I can tell whether I like it or not
 
Ok but then dont complain
 
@jAndy did you try asking IKEA?
I mean couchdb forums :3
 
it has it merediths merits
 
Wow we both made horrible puns together!
 
2:49 AM
I'm sure it does
But this is literally the optimal case for a relational db
 
it's not so much about couchdb, this is more a systemic problem
 
^
Like jAndy said couch can be used by creating new doc too
 
even a relational db has to fire a shitload of queries for the first time to collect all the data
 
Collect what data?
 
on the contrary, you "could" just store an array within the comment-document and update that every 30 minutes or so
data for each comment (there might he hundreds, thousands), which users already votes on it
 
2:51 AM
@jAndy That is what I was suggesting
lol
 
Oh yeah it's reddit not strawlpoll
 
@ShrekOverflow that was my initial line to bring up the topic dude :p
 
Although I think there will be an upper limit on document size won't there ?
@jAndy So we are going in circles dude!
 
yea but that's in GB range
 
Aha that's nice to know
 
2:52 AM
we do, but I like to overthink this as you already noticed :p
 
Just like
 
because I hate ever growing structures
 
Make it first
Then fuck with it
 
@jAndy yep
@Meredith That is a bad parenting strategy.
 
Not for software
 
2:54 AM
if I learned one thing in the past 20 years of software developing... never go down a path without knowing what you want to do and how to do it
it will backfire in your ass so hard, not even funny
pretty much every piece of bad software did that :p
 
@jAndy I am become Kendall, the ultimate perv.
 
One thing I've learned: Don't optimize for users you don't have yet
 
One thing I've learned: ^ Don't do what that statement said.
 
well I'm well ranged in the thousands sector
 
There is a fine line, b/w optimizing for users and clean architechture
 
2:56 AM
so I don't really think about this for so hard for nothing
 
the last thing you want is to optimize when 300M users are hitting your database at 60rps
 
You'll be lucky to have 1000
 
@ShrekOverflow That's funny because I was just reading this: cracked.com/…
 
@KendallFrey Hahaha
 
@Meredith I'm actually on 12k
 
2:57 AM
> I was now burning out of control while trying to make it to the shower while having the orgasm of a lifetime ... I completely emptied myself into my burning pants as I put out the flames.
 
@Meredith I work at a company that runs atlassian's identity stack.
 
Something I didn't think I'd read today
 
3:21 AM
heyo
 
3:33 AM
> It's hard enough to tell your partner that you like a little butt stuff every now and then. Can you imagine if you were a) into being set on fire
@KendallFrey well then
 
Hey guys. Can I ask an incredibly dumb question? (Noob alert)
 
@TheDarkSide 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.
 
Right.
 
Noob questions are ok, vamping is not
 
3:57 AM
^
 
4:33 AM
Hey all, there's a tag named Probot in Stackoverflow: https://stackoverflow.com/tags/probot/info
Can anybody with a reputation of 20K+ help me to create a wiki entry for the same.
:)
Here's a gist for the Wiki:
https://gist.github.com/aps120797/fbdd95ae932ca8e11df4fe3406d5c0a9
 
@aps120797 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.
 
> All registered users may propose new tag wikis.
 
No, only users with 1500+ reputation can create a tag and users with 20K+ reputation can create a wiki for the tag.
 
> propose
If you have sufficient knowledge to write it, why not?
 
Oh, can we? Thanks @user202729! :)
 
4:37 AM
(i.e., you suggest the tag info page. Other users will review it to see if it is good.)
 
Cool. Thanks. :)
 
 
2 hours later…
6:16 AM
Morningo
 
 
1 hour later…
7:19 AM
Hello Team
Can anyone help me?
How to save X and Y coordinates value using javascript?
 
7:48 AM
evenr
event
PAGE X AND PAGE Y
 
Sorry I didn't get you
Can you please explain me?
 
send paramete evet
and check page X and X
Y
if(event.pageX > 120 && (window.innerWidth - event.pageX) > 600) {
ele.style.left = (event.pageX - 100)+ 'px';
}
like this
 
this is my code
 
1 message moved to Trash can
@RuchiPatel Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
 
1 hour later…
9:27 AM
Hi all
@RuchiPatel question is not clear
you can use offsetTop, offsetLeft, e.pageX, e.pageY to get the coordinates
 
10:15 AM
I am unable to understand this line 'Finally, JsAction uncouples event handling from actual implementations. Thus one may late load the implementations, while the app is always able to respond to user actions marked up through JsAction. '
Could someone please help me?
 
Jon
10:26 AM
Hi guys how can I get this js variable .html(awsomejsvariable); and punch it into my ajax data: {name: value, } so i can send it to php
 
@Jon 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.
 
11:14 AM
,
+
 
@Mosho Killed Diablo without moving
ggwp
 
Tree shaking doesn't work with babel loader in webpack 4. What could be causing this issue?
I wanna ask a iphone-related question.
I mean the usage of iPhone.
You know what, I'm used to listening to youtube videos while I'm falling asleep.
I don't know if it's only me who don't know the usage, but it seems that iPhone is unable to be scheduled an automatic power-off. So there're times my iPhones keeps playing videos even though I'm sleeping tight and drains out of battery. It's pretty annoying.
 
11:42 AM
@ZhengquanBai use a charger
 
The point is I don't want it to play the whole night.
 
did you look for an app that does that?
 
The only workaround I find is to set up a timer and set a callback thing like "stop playing" when the timer times up.
And, it did do the trick actually!
But, I have to set up a timer every night. Thanks to si
Thanks to Siri, I can use voice to set the timer.
But I still have to do this repetitive thing every time before I go to sleep.
Let's just put this issue aside if you don't mind. But could someone please check this question out cuz I really have no idea why this is happening like this: stackoverflow.com/questions/49830103/…
 
12:03 PM
@YuyingWu 吴语盈?
 
12:43 PM
> A potentially historic ice storm expected this weekend
FOR THE LOVE OF GOD CAN WE HAVE SPRING SOON?
 
global warming is a hoax
 
no u
 
we do have 20°C here though, it's nice
 
no it's not nice, I'm going around half-naked and I'm still sweating
@KendallFrey move out of canada plz
 
It's 38°C here
 
12:47 PM
Why would I want to move out of the best country in the world?
 
^^ that is not nice
 
@KendallFrey coz no spring
 
@Zirak nice
now do a pacifist run
 
1:08 PM
Morning
Every single of you one
 
1:24 PM
So I installed onedrive
and it replaced my documents folder with onedrive
It errors every time black desert tries to do anything and creates a new copy
Thanks microsoft
 
@Cereal That's where you fucked up
 
Why would anyone choose one drive over something like Google drive?
 
@Mosho Also, just ate at Humongous. Thought about you.
 
nice, went there on my last day in israel a month ago
way too expensive though
 
yeah, it's not worth the money
but it's nice as a once-in-a-long-time
 
1:38 PM
@Ikari Idk, it was there
I don't use any of these cloud storage things, I don't even know why I installed it
 
finally, a great answer badge
only took 4 years
 
1:53 PM
@rlemon My plumeria is coming back to live :D
 
nice
 
That's some otherworldly shit right there
 
my almond tree took a dive. not sure why. the root ball in the pot was bursting, but that shouldn't have hurt it to bad so fast.
it's slowly on the up and up
 
Here is the good news I wanna announce. My problem finally got resolved. I should have specified "cross-env NODE_ENV=production" when running webpack. And it's not even sufficient to use DefinePlugin to set NODE_ENV to "production" in plugins. It seems babel-loader keys off the "NODE_ENV=production" from the command.
 
The winter death count is not final yet :P
 
1:56 PM
0
Q: Tree shaking doesn't work with babel loader in webpack 4

Zhengquan BaiI'm tinkering with the tree shaking example from the webpack document. But it seems that tree shaking doesn't work once I add babel-loader to the mix. Here is an overview of my project: As index.js is not consuming the square function, the square function should be pruned out of the bundle. How...

 
But I also got a pretty sweet new orchid potted yesterday, which I took from a job
 
nice
 
That's what it looked like during the show
 
I need to cut my jade plant at work
it's going to break itself soon
 
What does it look like?
 
1:59 PM
huge
 
:D
Do they grow quickly?
 
umm. quicker than some succulents. not super fast
it's doubled in size in about a year, but it wasn't huge to start.
but it has two branches coming from the base that I think will make good cuttings.
and then I'll just prune the main bulk of it down
 
Take pics!
Sharing is caring
 
@Ikari 3 manned it on Expert, wooo. Someone left right at the start
 
2:18 PM
@OliverSalzburg the jade plant is at work. but I will take pics on monday
today I'm thinking of building a few new plant shelves, so I can keep more of my plants at home without supplementing their light.
 
@Zirak :o
When we did it yesterday with a 4 stack it went pretty okay as well, other than that, we got rekt every time
The heavy's are so annoying tho
 
2:35 PM
so I live somewhere now
this friend owns an apartment
I was looking for apartments. He asked me how it was going. I joked about being flatmates. He gave me some keys
it was fun
 
@rlemon I need like a workbench thing for all the plant stuff. With storage space for substrates and pots and whatnot. The big challenge is that it has to go into the living room
So no stainless steel wonderland
 
got any dimensions in mind?
 
the bush dimension is a good one
 
that's nice
 
2:41 PM
Yeah, I was thinking something along those lines. I don't have any set dimensions yet
If I find just the right thing, I'll make it fit :P
 
build it :P
make it fit that way
 
I'll probably start overthinking everything and then never finish it because I don't have much spare time to begin with
 
anyone used graph api ?
seems like a no
 
2:57 PM
@rlemon What to look for in a good rasp? What's a realistic price for good quality? Because the ones I just used were shit
 
sharp, cheap, good handle.
 
Should the metal part extend through the entire handle?
 
no one answers me
ok bye
 
So apparently Canadian toys r us is still going to be a thimg
I'll have to visit some time
Maybe some US stores will stick around they are unsure
 
is it recommended we use symbols instead of arbitrary constants, for flag constants?
and if so, what's the recommended way to do that?
 
3:04 PM
@OliverSalzburg yes
well, most of it at laest
 
@Ikari if you're going as all heroes, Orisa or Mei are good for handling them
 
@rlemon Good start, but it needs to be an entire area with cupboards and cabinets
 
ohh no, that's what I'm building for my windows :D
just imagine the mm are inches
then it scales proper
 
Ah :D
I like that
 
not sure how much weight the joints will hold.. but we'll see :)
 
3:14 PM
You're using wood for all of it, I assume?
 
yes
 
@Zirak yeah, a guy from the PHP room was playing orisa yesterday, the orisa was a real help, with the Shields and the mini gravs made me (was playing bastion myself) shred through hoards of troopers easily
 
In related news: Drama llama github.com/w3c/dom/issues/175
W3C pushing for DOM 4.1, everyone else disagrees with the release, major browsers say they won't ship as there're some incompatible changes with WHATWG
holy hell gsnedders is in that thread
@@gsnedders go go go
 
What's the drama? I thought it was pretty much open and shut case
 
who's gsnedders
 
3:29 PM
He used to be a room regular
way way back
 
I see
 

« first day (2737 days earlier)      last day (2215 days later) »