« first day (3109 days earlier)      last day (1835 days later) » 

2:48 AM
@OvieAdese oh, it's definitely different than in JS. You might not notice it most of the time though
 
 
3 hours later…
5:31 AM
Hey, I posted this a couple weeks ago and never got an answer:
1
Q: Is a website bundler necessary to launch a Braintree UI project?

Luke IsittI am a new Website Designer (coming from a C-language background) and I am pushing to move towards more professionally-documented code, so I have adopted the Model-View-Controller (MVC) design pattern. I decided to implement this framework on a Braintree project: creating a simple page with a dro...

I was wondering if anyone had any experience with web bundlers, or Braintree specifically, that could lead me in the right direction?
 
 
3 hours later…
8:44 AM
Hey people, I've got a prompt like structure and I've added tooltips to the buttons, but the issue is the tooltips don't overflow the container. It's got an absolute position and so does the tooltip, correct Z-Indeces but it still doesn't overflow correctly, what do I need to do?
 
9:10 AM
Hey everybody
Happy easter !
Anyone familiar with apollo and graphql ?
 
9:23 AM
@KarelG wanna see an updated version? (Its now housed in a meshify c, with 6 fans and AIO)
... and because of the massive surplus of cooling ,it stays at 36-56 C (idle - load)
 
 
3 hours later…
12:14 PM
🚽
 
 
6 hours later…
5:49 PM
 <input type="checkbox" name="test[value]" value="true" <%=test.value ? "checked" : "" %> />
can you tell me whats wrong with this fucking shit pls
after i update test.value, i can see its true but when i come back to see if input is checked, test value is undefined
 
6:00 PM
i wont ask again
xD
alright im gon comit suicide bb
 
6:24 PM
@TheGarrus Please don't joke around about suicide. We take it seriously.
 
@TheGarrus how are you updating it?
 
 
1 hour later…
7:38 PM
I'm taking a course on javascript on Udemy and we're using Plnkr (plunker) and I can't seem to be able to copy the test out of the plnkr editor to the clipboard. Is there some kind of copy protection in plnkr? Firefox 56 64 bit on win7 64 bit
 
7:50 PM
@YetAnotherRandomUser control + c after highlighting it...
if they just stopped the right click but it's still displaying as text this should work
 
when I paste into Notepad++, I got SOH in white text with black background. I've tried CTRL+C and right click copy.
 
okay, right click when you paste, do you have an option "paste without formatting"?
I don't use notepad++ but most text editors that support formatting like that have two options for pasting
 
not in Notepad++. But if I paste with or without formatting in LibreOffice, I get #
 
just a hashtag/numbersign and nothing else?
 
if I paste into Notepad, I get white space
yes
 
7:54 PM
link to the plunker you're working with?
 
I can paste into Plnkr
 
I tried a random one and works in vim
 
plnkr.co/edit/?p=preview but this looks pretty generic
 
so it's every plnkr?
 
never used plnkr before, so I'm not sure what you're asking
 
7:55 PM
nevermind, but yeah that's weird works for me with chrome/Ubuntu
 
I tried copying from the description box on the left, and that worked. I think it's something to do with the middle pane
 
hmm, Have you tried chrome?
 
I just tried palemoon and it works there
 
I'm getting colors copying over in firefox
plaintext from chrome
 
getting colors?
 
7:57 PM
yeah it's preserving formatting.
not just whitespace but text color
 
oh ok
I don't get colors, but I do get copying in palemoon. seems kind of weird that something like copy might break
I've been recently learning some new languages and there are tools like plunkr that I didn't have when I learned programming a long time ago. Plnkr, jsbin, and then for Python there's a service called Jupiter that is locally-hosted. Are these all just teaching tools? Seems weird that there are so many...
but I also think it's weird that there are so many text editors and people get tribal about them too
 
user8729657
8:16 PM
Where can I find some nice icons for front-end?
 
@OvieAdese I go to clker.com for graphics. They have icons there too
 
user8729657
Dope thanks @YetAnotherRandomUser
 
user8729657
8:42 PM
@DavidKamer, thanks for telling me about webpack me app looks more clean now
 
user8729657
my*
 
9:09 PM
@OvieAdese nice! if webpack gets annoying to setup you might look at using parcel for simple projects. I actually created an npm package that works as a bootstraper for parcel and react.
 
I was wondering, creating an array via Array(10) works fine and I don't see a difference to new Array(10), is there any? I'm asking specifically about the constructor of Array.
 
user8729657
Ah @DavidKamer, thats just what I needed!
 
user8729657
thanks again
 
40
Q: Array() vs new Array()

scravyWhat is the difference (if there is any) between x = Array() and x = new Array() Which one should I use?

calling new Array() is clearer imo
less isn't always better when you want as many people as possible to understand your code
 
Thanks! I search on SO and big G and couldn't find anything usefull.
May I ask if you searched on SO directly? what was your search query?
I always call new Array() just because I know that one works, but I just saw on SO someone else use it without new and my first reaction was "that doesn't work... does it?"
and I'm never sure if that works for all std objects (e.g. Date) and a check tells me it doesn't
> When Date is called as a function rather than as a constructor, it returns a String representing the current time (UTC).
 
9:26 PM
@0xnoob most of the time to create an array it's sufficient to call []
I just googled "new Array vs Array javascript" and it was the first result
 
ok the 'vs' made the difference.
 
!!>typeof new Date()
 
Yes I omit the Array constructor, especially because it's weird behavior with one vs. multiple arguments
 
hmm, caprica must be down @rlemon
but yeah data either returns an object or a string depending on how you create it
 
which is also a little bit irritating
 
9:29 PM
well the date object contains useful methods
 
but I mean that's probably coherrent with the rest of the Date-library xD
 
It's just a complicated beast that almost anyone needs to reference mdn to efficiently work with.
 
it's the "Enter a valid tar command" for JS
 
heh
 
"Enter a JS expression, that prints out the current day of month"
 
user8729657
9:41 PM
@DavidKamer, I was doing research into the silk road guy, and good bro I'm glad that guys gone for life. He was doing too much bad things
 
yeah idk much about that stuff and/or I wouldn't talk about it here lol. I haven't browsed the dank web in a good while
I remember when hansa was taken down people were really freaking out lol
 
user8729657
I didn't even know people do that type of stuff on the internet
 
user8729657
terrible
 
user8729657
What is hansa btw?
 
it was just another dark web market place. I follow a lot of cyber security sites and it was a funny story that I remember because the guy who ran it got caught only because he came to the US for a beard competition lol
 
10:01 PM
@oxnoob var d = new Date;
console.log(d.getDate());
When you were just beginning to learn JavaScript, how long did it take you guys to go from taking the basic fundamentals to feeling comfortable with writing real applications?
 
user8729657
@DavidKamer, the US sounds dangerous I don't even want to go there tbh lol
 
user8729657
it sounds like there is a zero tolerance policy there
 
11:32 PM
@OvieAdese something like that, but the US is a big place and each state has completely different laws
The US is more like the EU than one country except for foreign affairs and a few guaranteed civil liberties.
@Aj96 feeling comfortable and doing it right were two different things
but to feel comfortable probably at least a month
even with a degree in software
 

« first day (3109 days earlier)      last day (1835 days later) »