« first day (2696 days earlier)      last day (2477 days later) » 
00:00 - 16:0016:00 - 00:00

16:00
var value = () => {
	return 2+2;
}
console.log(value)
How can variable value has the value 4
It should log 4 but it logs function
Because you're not calling the function...
value()
I want the variable to be the output of the function without calling it
It's a function, you need to call it.
var value = (() => {
	return 2+2;
})();
defaultsTo: function() {
  return uuid.v4();
}
It is also javascript
the value of defaultsTo is the return of function
What are you getting at? That function will still be called internally somewhere in sails
16:08
@BenFortune Ok.
so sails runs the function automatically in the background
then its ok
thank you
Why did they call it Attributes as opposed to keys or members .. :|
I found this wonderful package npmjs.com/package/no-one-left-behind
In VS Code, when you type a ) while the caret is in front of a ), it will skip over the ) instead of inserting one. How can this be disabled?
@rlemon Sweet
16:34
so, is there any restriction to which modules can be used in react?
like, I tried using fs.readdir and it gives me a TypeError: fs.readdir is not a function
@SaitamaSama Yeah, anything interacting with the filesystem, since it needs to run in the browser
hmm, okay :D
Some network things too, like the http server.
yeah, those make sense, I was just wondering if React could make some magic happen to make those work :P
webpack does some things
But it will never polyfill things like that
16:45
@OliverSalzburg yea it's not bad for a first draft
are you trying to read a directory to load JS files?
next one I wanna make look less tophat-ish
@Luggage yeah I already have an api endpoint for that, to load .flac music file though, but I was wondering if I could do with not having an api like that and do everything in the frontend
Reminded my of a Lego minifig head
if it's for JS files and you are using webpack, you have a webpack API for that. require.context and such
16:48
oh, will keep that in mind, might come in handy
or any file that is part of the front end
seems like I'll just parse the vorbis header from the api for each file
@OliverSalzburg i need this In my life as well
@KamilSolecki The disable option?
Yeah
If you find out let me know please :D
17:02
@KamilSolecki I'm assuming the behavior is tied to editor.autoClosingBrackets
Because the editor doesn't remember which parens it actually inserted itself, it just skips over all of them
I'll disable it and see which setting I hate more
@towc that's most likely from the original artist
oh
mine was a recreation of this gif, imgur.com/9uGXXpb
but that artist has a lot of awesome ones
he was also the artist behind No Mans Sky
which is fucking gorgeous honestly
that gif is just No Man's Sky on release day
man took forever to find the artist name and page again
his stuff is awesome though
17:16
nice, but he definitely has a preferred instagram filter
haha
man he's so talented...
just a random plug for another artist I love
I have almost all books he's done art for, came across them when I was 10 or so, love them so much
let bama = 1;
console.log('Roll Tide' + ' ' + 'is number ' + bama);
how would you say "quality people" in a sentence like "I was expecting there to be more quality people" in a way that doesn't sound stupid
17:32
good question for english.stackexchange.com
@Mosho higher quality people?
Or just more people who have certain qualities?
"better" people
I wish there was more interesting people
that could work
were
also, what context?
Because at some contexts that would be rude
17:41
@Loktar I want an eq visualizer made from this
@BenFortune hah that actually wouldn't be too hard
I just use random numbers for the noise
In most context, it would be rude right? I mean at least on some level to some people. If you aren't one of the "quality people".
Wonder how hard it'd be to do in webgl
@Bama right, very
@Mosho "Why are there so many scrotes?"
17:43
There is a nicer way to articulate whatever he's trying to say
@BenjaminGruenbaum it is objectively rude
like, a club
or a JS meetup
Also what do you mean by quality people? The way they dress, act, their knowledge?
that would depend on the context
for a JS meetup, it would not be people who don't know what a closure is
for example
I think the sentence would change depending on the context though, if you're trying not to offend
well, you wouldn't be offending anyone with that I think
17:46
@Mosho I would have expected more senior people and higher level discussion and while it was nice to have a lot of newbies and learners that's not my cup of tea?
since it is said behind their backs
@BenjaminGruenbaum criticising the discussion instead of the people is a good way to not offend anyone
@Mosho while being obvious about the level being too low
I guess that's what we usually say about those meetups :P
Oh, about JSIL I tell shay and everyone else every time we meet up to discuss it :D
17:48
I don't really know the context, I was asked this and couldn't really answer on the spot
I love "Developers" that Don't know how to google anything
18:46
DEVELOPERS DEVELOPERS DEVELOPERS DEVELOPERS
@Bama then they arent developing so well
19:42
Why is Chrome serving a content file from memory cache, even though I'm delivering it with must-revalidate?
It's behaving as expected with other requests that use the same cache control :/
Hmm, only works as expected everywhere when I add max-age=0. I thought that was implied when using must-revalidate
20:28
parselyjs is so glitchy :(
Anyone here good w/ parsley.js or want to take a quick look at something?
damn kids putting shoe marks on my walls
reddit.com/r/nononono/comments/81zoh7/… holy crap crocodiles are scary
it's just nature idk why it's marked nsfw
> boing boing boicrunch
@SterlingArcher tbf so is nudity
21:39
fair point
jesus christ what is that
I remember BSNL, it's where that indian skype interviewee worked
21:48
interviewee is a word. well i'll be damned
of course it is
@SterlingArcher lol wtf
hello. i'm using nodejs. should i worry about setting up username:password for mongodb if none but 80 and 443 ports are available to the world?
Why would they even do that shit right next to a highway?
@good_evening Yes
@OliverSalzburg why?
21:51
UBLK to unblock my card
DBLK to block my card
port 80 is the first place any hacker will look
@good_evening Consider the cost of doing it vs the potential cost of not doing
me with hangover
sends DBLK T_T
no confirmation 😞 card blocked now
I feel like an idiot
@KendallFrey it's not port 6699 anymore?
@good_evening yes, always
21:53
The VS Code debugger just spawned on the port where my HTTP application would launch. That introduces a lot of confusion
You refresh your page and get weird "Websockt connection expected" errors
ok, thank you, i will
lock yo doors
@OliverSalzburg I didn't have vs code do so but I setup launchd to launch a node process months ago when i request to localhost:8080, tried using localhost:8080 great confusion
Yeah, it took me a while to figure it out as well
@OliverSalzburg 9222?
21:59
@MadaraUchiha 11371 actually
rubs hands maliciously excellent....
I also saw VS Code connecting to it, requesting /json/list and I was like wtf...
Alarm bells went off instantly :D
I thought some malicious script is connecting to localhost, trying to sniff shit
sniffing shit? kinky script
Reminded me of that vulnerability with the WebStorm built-in HTTP server
@KendallFrey leave the script alone, all fetishes are beautiful
22:04
I'm not judging
React or Vue?
@GregHerbowicz 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.
towc isnt here
so react
@GregHerbowicz Yes
22:07
best designs are made in paint anyways
@Luggage gwt for real?
no, not for real. :)
I prefer react
today
Backbone.
@Luggage in small print: subject to change in Math.random() * 2 years
!!> Math.random() * 2
22:13
!!are you alive
!!> Math.random() * 2
@KamilSolecki Not at all
@Wietlol 0.2858364880565243
a friend just pronounced sublime as "sub-lime"
and it made me giggle
@rlemon
0.2858364880565243 * 365
!!> 0.2858364880565243 * 365
22:13
@Wietlol 104.33031814063136
@KamilSolecki you have 105 days
@towc How do you pronounce it?
ssubelime
r/theykindadidthemathbecausetheyusedabottodoitanditsnotreallyfair
@KendallFrey sah-blime
22:14
@towc everyone I know pronounces it as "sub-lime"
@towc I don't understand the difference
I mean, how else?
sublimee?
this is like "stupid canadians pronounce "Zee" as "Zed""
sue-bleem
22:15
@KendallFrey suhb-lime and sahb-lime
and then the entire world pops in and says "nope, its just mericans that do it differently"
Kendall cheats
OOOOH
NOT FAIR
22:16
@towc nope
you're not british enough
I pronounce it səblime
Both of the things you said match that
sheblame
(dutch web page though, but I couldnt find the translation so easily)
> səˈblaɪm
22:20
/səˈblaɪm/
Sue blame
Atom
Almost everything wrong with SV startup culture on one recruiting page https://www.healthiq.com/careers
@KendallFrey I use IntelliJ
it builds butterflies
22:24
Well fuck you
We don't have sugar, candy bars, soda (diet or otherwise) in our office. If you bring some it will get thrown away.
im currently using 6GB of butterflies
@Wietlol How many butterflies is that exactly
iDunno
Ive never seen that Apple product
but my task manager is very specific about it being IntelliJ building the butterflies that causes the sudden rise in RAM usage
22:26
IntelliJ, Eclipse
@KamilSolecki you should open your eyes a bit more, I have been spreading the word for quite a while
cause global warming
by the ram usage :P
even more on windows with the threshing T_T
@Wietlol open your eyes to the grander scheme of things
22:44
@stevelord @alfiedotwtf Them: "we're a startup that sells life insurance" Me: "so you're insurance agents" Them: "No, we're a startup" Me: "So you're insurance agents that lose money"
lmao
@KendallFrey holy fucking jesus
I'd love to beat it with Jesus
He's probably really good at it, what with being alone for forever before he got bored and made us.
He beat the game
22:57
he invented porn
// Is there a better way to do this?
function resetAscend(confirm = true) {
	var work = true;
	if (confirm) {
		if (!window.confirm("Are you sure?")) {
			work = false;
		}
	}
	if (work) {
		alert("A");
	} else {
		alert("B");
	}
}
// I mean, if "confirm" is false I don't want to make a confirm popup.
@EnderLook const work = !confirm || confirm("Are you sure?");
oh also the name conflict
23:14
lol wtf there's a console.table?
@KendallFrey That doesn't work, the confirmation popup still appear. It seems that both parts of || are checked instead of only the first because it's true :(.
@KendallFrey Ok, I'll fix that
@EnderLook I don't believe you
//whats the different between:
Student.prototype = Object.create(Person.prototype);
//and this one:
Student.prototype = new Person();
@BenFortune most people just chuck it in the cabinet under their TV
@KendallFrey Ohh, when I change the name of the variable that problem also fix! Great!
23:16
wow console.table() is so cool! never seen it before! wt*!
console.table(window) lags me the fuck out
haha so cool!
console.table(console)
What is that huge table?
all attributes and functions of the window object
@EnderLook If you're talking about console.table(window) it's the enumerable properties on window output into a table
23:19
@BenFortune Oh... it seems that window have a lot of properties!
the worst thing about rpis is powering them
ffs
thing needs like 1000 amps
and the perfect cord
truth
lol
@MadaraUchiha wtf
00:00 - 16:0016:00 - 00:00

« first day (2696 days earlier)      last day (2477 days later) »