« first day (2551 days earlier)      last day (2396 days later) » 

3:01 AM
2% 301MB 3.4MB/s 1:11:48 ETA
shit
 
user8581664
lmao
 
Hi
can i ask a question on what you guys think about meteor?
 
3:14 AM
@VermillionAzure a lot of meteor haters here :3
but i love it.
 
but why?
 
for the right kind of project, it is incredibly easy and fast
 
it's like trying to tell a civil engineer that they should use lego to build their suspension bridges because of how accurate the tolerances are on the bricks
 
i've been rebuilding twitter from scratch in it, with only a few hours here and there on weeknights. i'm at about 80% complete and haven't hit any walls yet
@david that's why i clarified -- for the right kind of project
 
@david Why is Meteor like LEGO though?
My class is using Meteor right now
 
3:16 AM
a lot of people seem to think that it doesn't scale.
 
I mean, the reactive model can have its limits. But it's convenient when it needs to be
 
@VermillionAzure there is your answer
it's great in a classroom environment for teaching
 
@david He wanted something easy, not necessarily the best of the best if it takes too long for 3-6 weeks
So... what is the best? Angular? React?
 
just like building bridges out of popsicle sticks to carry eggs
 
Is sharding hard with MongoDB?
 
3:17 AM
if i was going to start a startup, i would choose meteor. working prototype in hours/days. if the idea catches on, then i would scale in something more traditional
same for a personal project
my dream job would be working at a company that uses meteor
 
@david So what is the best then?
 
working on user profiles right now. last two big hurdles are sending emails and uploading files
react is the pretty one at the ball
 
@FlorianMargaine No I am not trying to re-invent systemd, I wanted to do it until I found out Launchd and SystemD I am just trying to write a x-platform node api for daemons
(or as mac calls it Per User On Demand Agents)
 
i work at an angular shop, and i can tell you that fatigue from updating to angular 4, 5, 6, etc is keeping us at a given version for now
 
I am mostly writing it for my TCP over RTC tunnel
 
3:20 AM
@JoshuaLonganecker bruh no
 
@SterlingArcher o/
Wanna grab a beer ? I DARE YOU!
 
and from going to conferences, the trend is that react will win at this point simply by being more popular
 
@JoshuaLonganecker what conferences?
 
We'll drive and meet you half-way and we have a designated driver too
 
@ShrekOverflow I should be free thursday after work, let me check my interview calendar
 
3:21 AM
midwestJS, and a few smaller ones local to MN
 
I won't be free on thursday
but on friday I am going to Museum of Air and Space
 
@JoshuaLonganecker meteor is absolute garbage
 
I even did a presentation on why meteor sucks
 
and its going to be a guided tour
 
3:21 AM
mmm I see
@SterlingArcher link?
 
if you say Meteor 3 times, @SterlingArcher appears to tell you you're wrong
 
@SterlingArcher We agree on that, Meteor should be licensed as Crapware.
 
Meteor 3 times
 
@ShrekOverflow hmm, saturday I'm out of town, what time are you done with the museum
 
meatier meatier meatier
 
3:22 AM
@hsimah you're wrong
@VermillionAzure not public :(
 
1. You can come and join us.
2. Afternoon
 
this is why i will use meteor until something else with similar features comes along that has more support
long story short: use it to build small, neat things
it is fun to code in and you don't have to spend forever configuring your build process before you can even start development
 
Also, what about JSX?
I'm a PLT guy and I find it interesting that Angular and React are at odds with separate tooling and languages
What effects does this have on their own ecosystems?
 
PLT may stand for: Patent Law Treaty Pearson Language Tests Photonic Laser Thruster Stock symbol for Plantronics Platelets, a component of blood Power line communication also power line telecommunications Power line transient Preferential looking technique Programming language theory, in computer science PLT Scheme, a programming language...
 
Programming Language Theory :(
 
3:27 AM
i was hoping you meant photonic laser thruster
 
@ShrekOverflow what time? I work till 5 and it'll take me... an hour or more to get out to DC
 
We'll meet you on your side of the city
the museum (IIRC) is that side anyway
 
I fucked this up with @KendallFrey before. There are 2 air and space museums, one in DC, one in herndon
which one are you talking about
 
Can you take a look at something for me and tell me exactly what is happening here.

Comparing Width/Height to Padding.
https://jsfiddle.net/p1980vsp/2/

I believe the one with Padding shrinks when you zoom in on it.

But why is this?
 
3:43 AM
Spent today setting up my new MBP. Man this thing is fast!
 
@monners what version did you get?
 
15" 2.9GHz, 16GB, Radeon Pro 560 4GB, 500GB SSD
Basically top specs everything except the CPU
 
that 4gb of ram on the VC is nice
 
Doesn't really hold up to the 1080ti in my fun machine, but it's a nice to have
 
am holding off on getting a new mac till I see what's wrong with my 12model
I picked up a yoga 720 in the mean time just to work, it's screen is really nice
 
4:04 AM
Man this gopro battery pack is legit. i've charged 2 camera batteries from dead to full, and half my phone, and it's at 75% charge
Not bad, will be great for long rides
 
I recently upgraded my Apple Watch from series 0 to the latest. Blown away by how much better the battery life is
On second day without charge, 75%
 
user8581664
4:24 AM
Is that the hardware or software?
 
Guys holy shit. I thought this movie was a horror movie.. and I'm legit tearing up
What a crazy sad ending.. the movie is called Boys in the Trees
 
5:04 AM
seems like bullshit to me
who finishes school in october
i might watch it on the weekend tho
 
is there any way to check whether any timeOuts are pending or not?
 
@SterlingArcher I've heard of it. Isn't it the movie about teenager friendship that was part of La Mostra?
I didn't think it would be any good
 
5:19 AM
Hi
 
@KHsueh 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.
 
Can someone with a Mac help testing something on Safari 11 please
I have this problem with the openlayers framework on Safari 11 and when clicking on a map object, the wrong object got selected
Not sure if it is only my machine?
 
5:40 AM
can some please explain this code .
 
Hi I am new on HTML CSS AND JAVAscript. I want to make a calaneder on a particluar div space. hw can I do that. what is the best way
 
1 message moved to Trash can
@SeanCh Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
can some one please explain this code
var funcs = [];
for (var i = 0; i < 5; i ++) {
  funcs.push(function () {
    console.log(i);
  })
}
funcs.forEach(function (func) {
  func()
});
 
@Maid786 what sort of calendar are you building?
If you are using bootstrap, maybe this would help eonasdan.github.io/bootstrap-datetimepicker
 
@KHsueh Thank . I dont know anything about HTML,css and Js too. I jsut start. So guide me best way.
I want to embeded calander
 
5:56 AM
you neeed to download the library (the full package one) and the dependency prototype.js
 
can some one please explain code i pasted above . help is much appreciated.
 
@KHsueh I download . It is working . but some css command and js command in html . I want to create separate file for css and js. there is also two js file and one css file. Now I want to remove css and js code from html page. Could you please share you email id?
 
you need to first include the dependencies within the head tag
<link rel="stylesheet" href="stylesheets/calendarview.css">
<script src="javascripts/prototype.js"/>
<script src="javascripts/calendarview.js"/>
 
Yes I did that.
 
And setup a window load event listener to run a custom function (for setting up the calender)
 
6:09 AM
1 message moved to Trash can
@KHsueh 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
 
@KHsueh I share my gmail id .
 
1 message moved to Trash can
@KHsueh 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
 
Please send me on my gmail id.
@KHsueh did u see my gmail id. I have only script file now in html .
It looks fine
 
ok i send to your gmail
 
6:25 AM
@KHsueh Please check my email .
I unable to send u .zip file thats why i share my drive link.
 
Morning
 
6:45 AM
Can someone show me how to add this line of code to my playbutton.

var button = document.getElementById('playButton2').src = 'https://i.imgur.com/KOlHFBD.png';

jsfiddle.net/y3zu8de6/14
 
Ace
sup family
 
If they do launch a phone with 6-8 GB RAM, I have to ask, wat the fuck is it using that much ram for
 
Ace
sup
 
@ShrekOverflow Can you help me with my code?
 
Ace
@ShrekOverflow why did you change your name?
 
6:55 AM
Dunno
impulse?
ShrekOverflow sounded Unique
and pun on StackOverflow as hard to resist
 
@ShrekOverflow You work for Auth0?
 
Ace
ugh
i hate u
 
Me?
 
Ace
no, shrek
he thinks hes better than everyone else now
lol
 
Does he?
 
6:59 AM
Can show me how to add this line of code to my playbutton.

var button = document.getElementById('playButton2').src = 'https://i.imgur.com/KOlHFBD.png';

https://jsfiddle.net/y3zu8de6/14/
 
I have a div. I want to fill calander view on this. @KHsueh how can I do that. I do not want width 50% and height 400px like that. I want to fill parent or wrap content .
@KHsueh
 
@svgcoding Can I? Yes. Will I? No.
 
 var book =[
            {id: "book1", name: "twilight",selected : true , reviews :[]},
            {id: "book2", name: "Fast and Furious",selected : false, reviews :[]},
            {id: "book3", name: "titanic",selected : false, reviews :[]},
            {id: "book4", name: "Jurassic Park",selected : true , reviews :[]}
           ]
Below are my records :
 
@monners That wasn't nice, how come?
 
Because you've been vamping all day
 
7:01 AM
What does vamping mean?
 
I am trying to puse selected book ids in my array like below :
 var ids = [];
  var flag= false;
  books.forEach(function (book) {
            if(book.selected)
            {
                ids.push(obj.id);
                if(book.reviews.length > 0)
                    flag = true;
            }
        });
 
The act of acting like a vampire, sucking the time/blood of people around you with no return
 
But for flag once it is set to true i dont want to check book.reviews.length > 0 condition again
 
Case in point
 
@monners That's not true.
 
7:03 AM
Can anybody pleas give me some suggestion on this
 
All I was doing was asking for help.
 
Without doing any independent research
 
I'm sorry if you took offense to that.
 
I didn't take offense. I'm just choosing not to help based on that
Give a man a fish...
 
I did do research, me and another developer.
We couldn't figure it out and this was my last resort.
 
7:05 AM
Pro tip: if your question is answered on the first page of a google search, you probably shouldn't be asking us to help you with it.
 
@KHsueh Thank you very much . I able to do that. A lot of thanks.
 
But after I put the code in, if it's not working right, then maybe I'm doing something wrong.
 
If what you're working on is legitimately like the fiddle you posted then you've got a long way to go before we can help you
 
I'm just asking how I put this code into it:
var button = document.getElementById('playButton2').src = 'i.imgur.com/KOlHFBD.png';
The image will flicker without it.
 
Can't tell if trolling...
 
7:10 AM
Huh?
 
Ace
'dd.charAt' is not a function
wtf
//GET DATE ON LOAD
    var today = new Date();
    var dd = today.getDate();
    var mm = today.getMonth() + 1; //January is 0!
    var yyyy = today.getFullYear();

    if (dd < 10) {
        dd = '0' + dd;
    }

    if (mm < 10) {
        mm = '0' + mm;
    }

    console.log(dd);

    //make opacity of current date
    if (dd.charAt(0) == 0) {
        console.log("true");
        $('#bb' + dd.charAt(1)).css("opacity", ".5");
    } else {
        console.log("false");
        $('#bb' + dd).css("opacity", ".5");
 
@monners I'm not trolling.
 
@monners hes not, he simply has no idea how hard he is vamping recently
 
Ace
if you feel he's vamping just dont say much
 
@KamilSolecki Can you help me with my code?
 
7:19 AM
@Ace charAt is for string. Get date returns number
 
Ace
@KamilSolecki makes sense..
 
Since when is asking for help with a code vamping. I don't get it.
 
Ace
questions with google search answers arent usually tolerated
 
This is a coding site where people talk about codes. Is it not?
 
Ace
because of common sense reasons
 
7:22 AM
@monners I do, how may I be of assistance?
 
Ace
you can ask, but dont expect people to like you
 
@ShrekOverflow Do you know Ben Schwarz?
 
Ace
like, my question is suspect to vamping but im not asking a lot of questions of such
 
@monners why am I supposed to know him?
 
@ShrekOverflow Errr, I dunno? I think he had something to do with Auth0. Was just asking out of interest
 
7:23 AM
I do see an acount on slack
 
@Ace So, because I ask about codes, now I'm the bad guy?
 
He might have worked with Auth0 before I joined
 
Ace
asking about codes can, because of common sense reasons
 
What is this for if it's not to discuss codes?
 
Ace
this chat being flooded with google searchable answers
 
7:24 AM
@svgcoding yes, It is. But if we were to tell everyone how to console.log hello world, then we would go mad. We often like helping people, but to avoid wasting our time, we require effort on the other party too.
 
Ace
nobody wants chat full of questions that a 10 sec google search can provide
 
@svgcoding Do you honestly think you're in the right here? You think we're just a resource for your well-documented questions?
 
Ace
especially many questions of such
even most of mine are 'vampish' but i dont ask them a lot
you can get a way with a few
 
It's give and take. Put in the minimum amount of effort trying to solve your own problem, and you'll find we're all a lot more amenable to discussing your questions
 
@KamilSolecki Just remember what you said.
 
7:26 AM
hmm?
 
Eh?
Was... was that a threat?
 
Quick Question, would ya'll like to unlock your computers via Google Prompt ?
 
@monners im getting reported to SO Police :O
 
@KamilSolecki About. Damn. Time. :P
 
Ace
@ShrekOverflow maybe
 
Ace
@svgcoding did you read what i said?
 
Here: I put effort into it like you said: i.imgur.com/ekqSr82.png
 
^ For those who don't know what prompt is
 
Google already has my soul. I draw the line at explicit remote access.
 
You told me to show that I'm putting effort into it. Seee. There.
 
7:28 AM
@ShrekOverflow Was only asking because I know Ben through CSS/JSConf. Nice guy.
 
any knows about kaggle datasets ?
 
Oh ok :)
 
@svgcoding Please tell me you're not being paid to write code
 
No.
I wish I was though.
 
Ace
copy/paste ur code and press ctrl + k
 
7:30 AM
Ugh. That was petty of me. I apologize
 
Ace
easier that way
 
@KamilSolecki See, Effort: i.imgur.com/ekqSr82.png You told me to put effort into it, I did.
 
Ace
ugh people dont like clicking links to see an image, what if they want to re-create your problem, u want them to type ur code?
 
ok wait.
 
Don't inline everything as a string in the onClick attribute. Learn some basic JavaScript, you might surprise yourself
 
7:33 AM
<button id="playButton2" style="display:block; width: 266px; height: 266px; cursor: pointer;background-color: black;background-image: linear-gradient( to right,#000000 83px,#0059dd 83px, #0059dd 86px, #000000 86px, #000000  174px, #0059dd 174px, #0059dd 177px, #000000 177px ); border: 3px solid #0059dd;"
onclick="
    var button = document.getElementById('playButton2');
    var player = document.getElementById('player2');
      document.querySelector('#playButton2 .initial').style.display='none';
 
Ace
ex:
 
us this hastebin.com if you like to share your long code
 
This goes where? var button = document.getElementById('playButton2').src = 'i.imgur.com/KOlHFBD.png';
 
Ace
$('#' + elementID).click(function () {
            myFunction();
        });
instead of 'onClick'
 
7:36 AM
@Ace And how would you do that without jquery?
 
@Rahul I never knew of that, thanks!
 
Ace
use jquery, and do $('#' + eID).css("src", "i.imgur.com/KOlHFBD.png");
 
np
 
Ace
@monners he doesent use jQuery?
 
@Ace no, I don't
 
Ace
7:37 AM
o.o
do you know how to add it?
 
@Ace I was asking you. Bit presumptuous to jump straight to a jquery solution
 
Ace
ah
 
I want to use the code set up I have.
 
Ace
for me the ('playButton2').src seems fishy to me
 
hey mans and womans :D
 
7:38 AM
It works, just trying to figure out how to put this part in: var button = document.getElementById('playButton2').src = 'i.imgur.com/KOlHFBD.png';
 
as someone wise said before, god hates jQuery
 
@Qh0stM4N Greetings fellow bipedal entity
 
Ace
//SINGLE
            var sbox3;
            sbox3 = document.createElement("button");
            sbox3.style.position = "absolute";
            sbox3.style.left = "40%";
            sbox3.style.top = 0 + "px";
            sbox3.style.width = "18%";
            sbox3.style.height = "95%";
            sbox3.style.borderWidth = "1px";
            sbox3.style.borderColor = "white";
            sbox3.style.borderStyle = "solid";
            sbox3.style.background = "black";
            sbox3.style.color = "white";
like that
 
@Ace It works though: jsfiddle.net/y3zu8de6/15
 
Ace
create a custom button using JS
and add a function onclick
 
7:40 AM
I want to use the code set up I've been using.
It's just going into blogger.
on the right side panel.
 
Your code is wrong. You can't ask for advice and then dismiss it because the response is inconvenient to you
 
Ace
add it anywhere after the "onclick" and test it out
there isnt a 'should i put this in x position", where it's this: "does this work?"
add it where it works
 
Every time I test it I have to clear history from my browser.
 
Ace
use google chrome, press F5 to reset cache
while having debugger window
and... select 'disable cache while in developer mode'
 
i use firefox
 
Ace
7:43 AM
on the debug window
 
hmm now i guess i need to define my own bipedal type
I am not going to suffer hard :)
 
Ace
well use google chrome
 
ı need Jquery to pure js converter.
 
I worked with a guy who used safari for everything. He was awful
 
Ace
are you serious?
 
7:45 AM
come on. It would not be too bad for someone to convert our jQuery code to pure js like coffeescript or typescript
 
i see
 
I'm back from testing, I can't get it. :(
 
@Qh0stM4N jQuery and CoffeeScript/TypeScript are orthogonal
You can use jQuery with TypeScript, no problems
 
@MadaraUchiha But why would you?
 
@monners for making jQuery code a little bit more senseful ?
 
7:51 AM
@monners Because the two solve completely different problems
 
Ace
@svgcoding console.log? alert()?
 
Atleast, the compiler will scream on you for some errors that jQuery does not show :troll:.
@MadaraUchiha o/
 
Say you already have existing jQuery code, and you want to migrate to TypeScript
 
@Ace huh?
 
lol, I mean why would you use jquery if you're experienced enough to appreciate the benefits of typing in javascript
 
7:52 AM
Say it's a relatively small app as part of a larger build process that already uses TypeScript
 
@Ace I don't think I am better than any one here, In Fact if anything I am probably one of the most pathetic individuals in the chatroom, I mean I use an Ogre as my face!
 
@monners Because maybe someone dictated the choice for you
 
24 mins ago, by Rahul
any knows about kaggle datasets ?
 
@MadaraUchiha Spot on!
 
We currently have a project we started and are continuing with an outsource (don't ask me why), and they are reluctant to use our starter because it's TypeScript and they don't understand it.
 
Ace
7:53 AM
@ShrekOverflow i was joking T_T
 
@monners What you are saying sounds similar to me as saying why would you use React + TypeScript or <insert any random js lib + typescript>
 
@MadaraUchiha sorry I do not want you to misunderstand me, I just want an online tool that I can easily translate the application into pure js as I continue to write jQuery.
 
Ace
@svgcoding on your web debugger, use console.log or alert() so you can get feedback where your code is failing..
 
@Qh0stM4N That's not possible.
 
Ace
@monners why spend more time when you can use jQuery?
 
7:54 AM
jQuery is a runtime library. There's no compiler that can migrate your code for you
 
@Qh0stM4N are you looking for codepen.io ?
 
@Ace "more time" when compared to what?
 
@Ace You'll spend a lot of time learning / debugging jQuery code aswell
 
Give me a jQuery code sample that you think would take significantly longer without jQuery.
 
Ace
dont you code faster using jquery?
 
7:55 AM
and sometimes the abstractions offered by jQuery might bite you
 
@Ace No.
 
Ace
$('#' + eID)
 
@Ace not really
 
Ace
document.getElementById()......
 
jQuery is a library aimed to solve a problem
The problem was that DOM was inconsistent across browsers
And jQuery normalized it
 
7:56 AM
If you have to use jQuery then fine. If you don't, you wouldn't. I reckon you'd be hard pressed to find a project that's built with typescript and uses jquery often
 
Ace
oh w/e im not gona say i know shit, i DONT
 
const $ = el => document.querySelector(el);

$("#hello").textContent = 'blah';
 
@Ace I don't think that's possible, and I don't belive so.
 
Ace
dont listen to my shitty advice
 
But today the DOM is not very inconsistent
 
7:56 AM
If you really want to save a few chars ^
 
Also, saving characters isn't what makes you code faster
 
Ace
hey, time is money
 
@monners Any project that needs to run on IE 8+
 
@MadaraUchiha I feel like you're playing devil's advocate.
 
Ace
@MadaraUchiha what JS library can?
 
7:57 AM
@monners He is not
 
@monners How so? I explained why jQuery is mostly redundant today
 
JQuery is different abstraction than TypeScript. They are aimed at solving different problems.
 
Ace
i'l betray jQ with something that can make me code faster
 
@Ace Whatever is right for the job.
 
Ace
as in 'typing'
 
7:58 AM
@MadaraUchiha Sorry, that was in reference to your response to why one might use jquery and typescript
 
jQuery aims DOM,
TypeScript aims JS itself.
 
Ace
how long would i spend figuring this out?
thers many JS libraries
 
@Ace Years.
 
Ace
@ShrekOverflow thank you
 
@Ace Typing won't make your code faster on its own.
 
7:58 AM
There's no shortcut around experience
 
^
 
I wrote a horrid jQuery shtuff 6 years ago (I think) and shared it here
 
Ace
rather $() than document.getelementbyID
 
Also, I guarantee that even if you type twice as fast as me, I'd still complete a reasonably sized task faster than you would.
 
7:59 AM
Raynos told me to get a different hobby
I thank him for that :P
 
Ace
@ShrekOverflow LOL
 
@Ace This one has that code inside: jsfiddle.net/o7p2tfsr Are you able to debug it?
 
@MadaraUchiha What if all the packages I use export their own type definitions? :P
 

« first day (2551 days earlier)      last day (2396 days later) »