« first day (1943 days earlier)      last day (3004 days later) » 

4:00 PM
@SterlingArcher redis replies to queries in under 1ms, file system can take almost a second in cloud providers.
 
I did it because I wanted to see if I could. For some reason scrollbar maths sounded fascinating. And if you want to talk about semanticality: yeah, yours is better, but mine probably has a lot more support ;) And btw, added the "not selecting while scrolling" again, just to prove myself that I was right because I have self-confidence issues (jk)
http://codepen.io/towc/pen/gPQdYL
 
@BenjaminGruenbaum sorry, then I'm not sure :( That's the extent of my redis knowledge
 
well I haven't written anything, I was just showing you some techniques that would give you some more out of the box features
 
@towc Using the mouse scroll is broken :(
 
also added a cursor: pointer to make you know when are you hitting the scrollbar, it can get kinda blurry with other animations
 
4:01 PM
I should probably reconsider my use of redis.
 
@BenFortune I suggested using css to replace the scroll backgrounds with canvas images
 
@BenFortune blame the gvt
 
problem is webkit support only.
 
@rlemon well, thanks then :)
 
Funny, I'm working on zoom and scroll bugfixing in my canvas app
 
4:05 PM
@towc no, life is not beautiful sorry it's not kbye
 
@littlepootis keep blaming the gvt, it looks like it works
 
@Abhishrek you're only funny if you do something stupid and that it got recorded. Like others indians
 
racist
But in all honesty, India does have their own sense of humour that the rest of the world simply doesn't understand.
Ha!
-10
Q: Different between colsole.log and document.write?

rkm_Hodorwhat is the basic different between console.log() and document.write() in JavaScript? when to use one and when not?

 
@ndugger Downvote all the people!
 
crl
I have an element A, and an element B inside A, and I need the 'furthest' (at the opposite of .closest) <td> tag from B toward A
 
4:19 PM
@KarelG I get jokes in 3 different languages. You don't have that luxury, do you?
 
@ndugger stackoverflow.com/users/5167682/rkm-hodor there is a pattern of terrible questions
 
> B.Tech, NIT Jsr India
found the problem
 
@littlepootis I get jokes in every language
they are just not funny
 
@ndugger yes
Also, he mains Java/
 
that minion even asked this
-4
Q: Check if input is of primitive type

rkm_HodorI have to check for each input, print out if it is an instance of a primitive or referenced type. But I am getting same output each time. Any Help? Note: I do search SO, but no luck. How can I check if an input is a integer or String, etc.. in JAVA? Code: public class Demo { public static voi...

 
4:21 PM
To be fair, some of the best programmers are from India; but as people keep blabbing on about, India has such an enormous population, that we interact with them more. They really do have a lot of bad programmers, though
 
user1596138
@towc Probably has a lot more support? What kind of support?
 
Like worse than normal
 
@jhawins using canvas has a lot more support than using background-canvas
 
Hmm... in node's net.Socket class, how are you supposed to approach a reconnect? const addr = socket.address(); socket.close(); socket.connect(addr);?
 
4:22 PM
i won't generalize people. I agree that there are good programmers from India. But their education system is based on quantity. As end, the real good programmers become a very small minority towards that large group if you compare it to other countries like USA
 
I'm also not sure about the support of background-images for scrollbars
 
crl
@towc for chrome maybe
 
user1596138
@towc Support?
 
@ndugger when 1/7 people come from your country, statistically, more bad programmers will also come from it
 
Not sure what you're talking about, but here's my prototype implementation of scrollbars with a canvas. Might get you started. http://jsfiddle.net/6v5cv32f/2/
Basically there's an invisible overlay with scrollbars and I pretend it actually scrolls the canvas.
 
user1596138
4:22 PM
Like it's supported in more browsers?
 
@rlemon o/
 
crl
.scroll ::-webkit-scrollbar { width: 5px; }
.scroll::-webkit-scrollbar-track-piece { background: #f1f1f1; }
.scroll ::-webkit-scrollbar-thumb { background: #bcbcbc; border: 1px solid #a8a8a8; }
looks great
 
Although this is true, you can never convince me that there's not something extra wrong with India. I hear too many horror stories of their education system and culture surrounding career.
 
@littlepootis I'm a fan of minion. that video made me sad :/
 
@jhawins what else could it have been?
election support?
 
user1596138
4:24 PM
@towc Well it could have meant support
 
emotional support
the sads man, they're real
 
@rlemon feel 'ya
 
user1596138
But now I see it meant support, not support
 
user1596138
:D
 
pretty straight forward, yup :)
 
4:26 PM
@ndugger this says quite the opposite
 
@ndugger A carpenter in your country has higher standard of living than a programmer in India. Most indigrammers care about money and only money. Their lack of knowledge and communication skills make them look dumb.
 
dunno... i can't see their education system being much worse than ours.
 
@rlemon touche'
 
user1596138
Am I the only one who doesn't get this demo at all? JS1K "Supernova"
 
showing electron paths of all elements from 1 to x
 
4:28 PM
> A visualisation of the 118 known chemical elements, based on the number of electrons per shell.
 
India education system is fucked up. It's useless.
 
Says it in the details.
 
It should not be called an education system.
 
eh, if even indians says that the system is fucked up ...
 
4:29 PM
There was a "communication" class as part of my IT technical degree where they pretty much told us about the notion of "self", body language and overall techniques to communicate without conflicts. It's a shame almost nobody went to class or paid any attention to it.
 
@KarelG only like 0.5% will say that
others will say shit like " tere baap ka kya jata hai job milti hai job "
 
that 05% are skilled people then ?
 
and I'll say "pass me kebob"
 
loosely translates to : why the fuck you bother, it gets you jobs
 
36 secs ago, by rlemon
and I'll say "pass me kebob"
 
user1596138
4:31 PM
@Trasiva Well yeah I read that, but it seems to just output numbers in a pretty pattern
 
user1596138
Also there are repeated elements.
 
i need good music to help me program. ideas?
 
@jhawins do you not see the lines between them?
 
user1596138
No
 
monitor contrast needs some work :P
 
4:31 PM
This is a bit strange, one syntax works with es6 but not the other, is there any real difference? (example below)
 
There's lines and everything my man, I promise.
 
@KarelG Most indians don't even know what an education system is.
 
myMethod() {
  // this doesn't work
}.future(),
myMethod: function () {
  // this works fine
}.future();
 
user1596138
lol yeah ask @Loktar some of our monitors are jacked
 
@JacqueGoupil youtube.com/watch?v=QFY_CEcaVmQ this (10 hours)
 
crl
4:32 PM
let furthestTd = (el, table)=>{// returns the table's td where element is
  let curTd = el.closest('tr'), tbl;
  while( (tbl=curTd.closest('table')) !== table)
    curTd = tbl.parentNode;
  return curTd;
};
 
user1596138
I see them now.
 
crl
because nested tables
 
I just realized how easy it is to have platform specific builds with gulp + browserify
 
@corvid just doesn't work that way. the first doesn't attach the method like the second does. The second you have an anon function you can call future on before you return
the first, you do not
just not how the syntax works
 
user1596138
lol if you drag quickly on this 3D Spirograph demo the thing will flatten out and go crazy
 
user1596138
4:36 PM
Don't take this as bitching. I'm just checking out the demoes
 
what a bitch
 
!!afk 2lb burrito
2
 
We're getting ehalthy food for lunch today
I got a thai chicken wrap with all sorts of healthy shit on it
 
@rlemon Two pounds? What kind of bitch gets a small ass burrito like that? Five pounds or bust!
 
You're the bitch
 
user1596138
4:40 PM
!!stat Trasiva
 
@jhawins Trasiva (http://stackoverflow.com/users/3499931/trasiva) has 242 reputation, earned 0 rep today, asked 19 questions, gave 12 answers, for a q:a ratio of 19:12.
avg. rep/post: 7.8. Badges: 0g 3s 16b
 
He has more Q's than A's? Clearly a help vampire
/s
 
better question record than i have,
 
!!stat
 
@ndugger You (http://stackoverflow.com/users/1408759/ndugger) have 1366 reputation, earned -2 rep today, asked 17 questions, gave 61 answers, for a q:a ratio of 17:61.
avg. rep/post: 17.51. Badges: 0g 9s 26b
 
4:44 PM
-2
 
ow got downvoted
 
Nope
 
that ratio is pointless
 
I downvoted twice
 
Hes trying to get his rep back down to 1337 I think
 
4:44 PM
I'm trying to get my rep back down to 1337
Slowly, but surely
 
lol
 
i'm up 28 today, but haven't done anything
 
!!stat
 
@CSáµ  You (http://stackoverflow.com/users/731947/cs%e1%b5%a0) have 6838 reputation, earned 0 rep today, asked 5 questions, gave 135 answers, for a q:a ratio of 1:27.
avg. rep/post: 48.84. Badges: 7g 28s 54b
 
@littlepootis I'd prefer white noise to this.
 
4:45 PM
@ndugger I just don't answer questions that have an accepted answer or one as good or better than mine.
 
hmm, 1/27 that's interesting
so ratio computes only on a>q
 
19 is a prime number ...
 
17 also
 
so, i think that it gets computed
 
@CSáµ  I don't think you understand how ratios work
 
4:49 PM
i don't?
 
17:61 is the smallest those numbers can get, because 17 is prime, and 17 does not fit in 61 evenly
 
crl
simply: .classList.toggle(cls, boolean)
 
it doesn't give any more information than what the previous statement contains. 17 questions, 61 answers. it actually gives less info.
 
@ndugger I dig that, but 41/7919 wouldn't speak it so clearly as ~1/193
 
crl
4:51 PM
the ratio should rather be 40/60, 70/30, much clearer
 
@CSáµ  wat
 
there
meh
 
that's not how it works
then i would say " the ratio's aren't right "
they can use decimals for that. that approach is better i think
 
crl
should I propose this to w3c?
Element.prototype.furthest = function(selector, otherElement = document){// returns the last element matching selector inside otherElement
  let current = el.closest(selector), container;
  while( (container=current.closest(otherElement.tagName)) !== otherElement)// for avoiding having to .closest until leaving otherElement
    current = container.parentNode;
  return current;
}
 
furthest what? Be more explicit in your naming
 
crl
5:00 PM
similar to .closest, it can be useful
 
why not get the last element of the nodelist ?
 
crl
no it's in depth
 
how so
 
I also don't like the naming of closest. Closest what? Closest parent? Closest sibling? What?
 
crl
@KarelG imagine you have a table containing 2 other table
 
5:01 PM
if you have a table containing more tables, you already have a problem
 
^--
 
crl
it's an example
 
choose a better example
 
crl
imagine you have a recursive shema with some element with .foo, well, actually I'm using Range.commonAncestorContainer, that's maybe why I need this, I could do with another way, searching the ancestor myself,
 
like a list within a list, within a iist
got it
 
Yo dawg
 
crl
yea thanks guys
 
@crl in seriousness, I like the idea, but hate the naming convention. If they fix "closest" to be something like "closestAncestor", and you name yours "furthestAncestor", then yes. I'd say go for it
But the naming is too confusing right now
 
i truly hate websites which provides plugins, but the actual download link is a tiny link at the top of the page
gradle.org i was looking around that big fat green bar for download or something
 
> Gradle.com is now accepting pre-registration. Sign up here for updates:
learn2read
 
5:08 PM
Holy shit, Trump fucking STOLE New Hampshire.
 
i don't need the updates. i need the binary
you missed the "download" on the top ;)
 
Ha, I see it now
It's so fucking tiny
@Trasiva You can't steal a state, silly. That's what we call "annexing", and it was banned after the incident with Texas.
 
that's why i vented
 
@ndugger Hah
 
crl
!!urban vent
 
5:10 PM
@crl vent Term meaning to let of steam. Have shout, complain or whatever
 
crl
I thought vent=fart for some reason
 
hey guys i have problem when i upload my website to heroku
 
@Android2841 Welcome to the JavaScript chat! Please review the room rules. Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
it work fine on loclhost
but not on heroku
did anyone faced suh problem
 
!!urban vent 1
 
5:11 PM
@KendallFrey vent A slang for the term Ventrilo, an internet chat program, that allows users to voice communicate over the internet.
 
!!urban vent 2
 
@KendallFrey vent to release built up emotion by yelling, complaining, etc
 
we'll find something yet
 
crl
hehe
 
!!urban vent 3
 
5:12 PM
@KendallFrey vent short-word for Ventrilo
 
crl
damn..
 
i give up
 
0
Q: Get this error: "Uncaught TypeError: Cannot read property '0' of undefined"

LazizI get this error in Chrome console in the script below. Specifically, it looks like there is problem in the line 12. If anyone have solution to get it fixed, would appreciate much. Thanks in advance! function countChecked() { var NUM_QUESTIONS = 26; var count = 0; //tracks the number of ch...

jesus
much eval
 
Glad I stopped at 3 O.o
 
@Android2841 there is usually a log why it doesn't work. i'm not familiar with heroku
it's a Ruby thing. Did you have thought to ask there ?
 
5:13 PM
Do you not get rep for accurate flags?
 
you can do heroku with node, its not necessarily ruby
 
@Trasiva Never heard of any such system
 
you don't get rep for any kind of flags
 
Ah, okay.
 
heroku support php js and many other
 
5:14 PM
it's a cloud platform, originally intended for ruby
but it got additional supports like python, go, ... so yeah
 
heroku is nice and all, but setting up gunicorn and shit is a major PITA
 
the stats command should show flags/edits too
 
i have posted my question but no reply so i was wondering if someone can help stackoverflow.com/questions/35317925/…
it slow as heell
but it free so you cannot complain
 
@Android2841 doubt it, this is the JavaScript room, not PHP
 
Anyone know how to get this in same line?
$("#present-users").children('li.present-user').each(function(){ console.log($(this).find('img')[0].title) });
 
5:16 PM
@BenjaminGruenbaum question
You guys use browserstack for performance testing? Or just unit/ingeration testing?
 
TIL i truly suck at embedded middlewares ;_;
 
@SterlingArcher php chat room was not interested to help so i came here
 
I know, I'm just saying, not many use or even like PHP here so I doubt you'll get much help. Sorry. I hope the main site can assist you quickly
 
@Android2841 please edit your post. First, dig up your log file. Then copy/paste the relevant error in your question. Then add the github link
 
!!stats
 
5:20 PM
@rlemon You (http://stackoverflow.com/users/829835/rlemon) have 11182 reputation, earned -4 rep today, asked 71 questions, gave 373 answers, for a q:a ratio of 71:373.
avg. rep/post: 25.18. Badges: 8g 56s 92b
 
without the log file, it's a stab in the dark to determine what your problem is
 
I downvote my rep away
 
!!stats
 
!!stat
 
@SterlingArcher You (http://stackoverflow.com/users/774078/sterling-archer) have 12303 reputation, earned 0 rep today, asked 94 questions, gave 504 answers, for a q:a ratio of 47:252.
avg. rep/post: 20.57. Badges: 6g 36s 64b
@KarelG You (http://stackoverflow.com/users/2412895/karelg) have 2068 reputation, earned 0 rep today, asked 16 questions, gave 121 answers, for a q:a ratio of 16:121.
avg. rep/post: 15.09. Badges: 2g 12s 26b
 
5:21 PM
Catchin you on badges lemon
 
i have a lot low rep posts :/
 
!!stats
 
@KevinB You (http://stackoverflow.com/users/400654/kevin-b) have 68689 reputation, earned 27 rep today, asked 8 questions, gave 2256 answers, for a q:a ratio of 1:282.
avg. rep/post: 30.33. Badges: 6g 75s 110b
 
my rep changes are like this for the past like 3 years
 
he has me beat on badges too
 
5:22 PM
I'm 40 flags away from another gold
 
@rlemon Not enough answers for passive rep
 
My rep is very much few and far between.
 
heh
can you link that answer about that regexpr to find simple regexpr ?
 
I have the most rep here
 
@KarelG if you use a regex to find a regex, now you have three problems
 
5:25 PM
3
A: What Regular Expression Can I Use To Find Simple Regular Expressions

TrasivaRegex can be complicated, but if you do a global regex with ([\.\\]([*a-z])\+?), it will capture your individual fields without including the parenthesis per your request. Demo code as put in this fiddle is below as well. var testString = 'For example, I have (.*) string with (.d+) special bits ...

 
Also this with es6 seems to fail :\ myStr = `${command}\r`; //fails. myStr = command + '\r'; // works fine
 
seems like a problem with a transpiler; that shouldn't "fail"
 
@FlorianMargaine I fixed the live update on Source. Lobby now refreshes when a lobby changes
And it reorders nicely, when people join :D
nick <3
 
@SterlingArcher I broke it.
 
I'm sure I don't know what you mean
 
5:34 PM
I just wish I could smoothly refresh the lobby, that blink is annoying
@Trasiva hmm?
 
@SterlingArcher Doesn't actually let me join a lobby, or automatically put me in the created lobby.
> {"msg":"You have joined the game!","success":true}
 
The number didn't refresh?
Oh yeah ignore that log, it returns that regardless of error atm
 
Numbers don't refresh, nope.
 
Your game is dumb; not enough people want to invade Poland with me
so I can't even play
 
When you create a game, it auto puts you in the lobby
And you can't join more than once
Next step is you can only join 1
 
5:36 PM
Well blah
BLAH I SAY.
 
jesus what is happening in the lobby screen
its flickering and spazzing out like crazy
 
It refreshes constantly to every change, so that's people cliking join
It's on my to-fix list
 
@BenCraig What's my cousin Jesus have to do with this?
 
It will drop significantly when I disable the join button if you're already in a Lobby
 
!!stars
 
Or if it just took you to a lobby
 
Why did you take the server down? :(
 
So I can work and not watch you twatwaffles blink my lobby lol
Poland can wait
@BenCraig yes, a waiting room is also on the list
 
It would be cool if humans had antlers
 
5:42 PM
Wat
 
What would you do with antlers
 
Get them tangled with other antlers and die embarassingly?
 
@SterlingArcher gtsallahabad.blogspot.in
goving tiwari on slide
 
If you don't think it would be cool if humans had antlers, you're a fascist.
 
5:46 PM
I'd rather have a monkey tail. At least those serve a function
 
Antlers would be cool
 
Imagine you have antlers. You go to a crowded bar. Bam. You turn and poke out some dudes eye
 
He has antlers too
 
Antlers are the biggest lawsuit waiting to happen
 
it wouldn't go down like that
 
5:47 PM
would you rather have giant ears or a tail?
 
No
 
tail
by far
 
Unless the tail had an antler at the end
 
Orly? What about the short girl you have your eye on? Somebody bumps her and bam, antler in the jugular. You're dead now. Antlers have ruined your life.
 
@rlemon Gimme a tail. So much more utility.
 
5:48 PM
but with giant ears you could wear your backpack and free up your hands
 
I already wear my backpack and have free hands?
 
That upsets me on an existential level, lemon.
 
personal space, bruh
 
@rlemon I bet you'd get 200 channels too.
 
Are we talking full on monkey tail, or one of those chernobyl extra chromosome tails?
 
5:49 PM
@towc you should install canary if you follow the bleeding edge
 
Do your ears hang low, to they wobble to and fro, can you tie them in a knot, can you tie them in a bow, can you throw them over your shoulder like a continental soldier, do your ears hang low
 
!!youtube barney do your ears hang low
 
and want to be the first to use the tech and build educational demos for others about it or find / report bugs
 
5:55 PM
hey guys was just wondering what your wise opinions were on the prospect of using a onepager based website in terms of SEO
 
google works, use proper meta data and tags and crap and have good content
crawlers (that you care about) execute js
 
@KendallFrey . oh my fucking god
 
dark
@SterlingArcher Hey, do you know what Kermit said at Jim Henson's funeral? Nothing.
 
5:59 PM
 

« first day (1943 days earlier)      last day (3004 days later) »