« first day (3672 days earlier)      last day (1501 days later) » 

00:14
Sorry for the delay
No, if I can do this with a better technology, happy to give it a shot.
ABC
ABC
01:05
Hi. how to make a pinning column in angular-gridster2
 
4 hours later…
05:05
 
2 hours later…
07:19
:50847207 Yes I already did it , there is a return statement before  httpResponse.json();
 
2 hours later…
 
3 hours later…
12:25
hmm I'm doubting if the trouble of storing language inside url as in: site.com/en/path is worth it over simply using a cookie to store language information
looking for a great resource for the preparation of Mern stack interview.
Anyone can suggest me a good one.
Thanks :)
The problem is that site.come/path (thus without language indication) should also work. -- This means that I have to be careful managing paths.
And make sure any of the other pages don't (say) have the name "en"
hey guys
@paul23 filters. capture if any locale is set and put that as cookie
12:31
how much time does it take in avg. to finish a page (with responsiveness) ?
@KarelG hmm any example for that using react-router?
@aeXuser264 the page should be visible completely within 1 seconds. For elements that involves long processing, use background ajax calls and show loading icons
Or wait, do you mean "default value" - that I have covered already. I'm more about how to "store" the selection of the user.
@KarelG i meant to build a page
i am getting mad. takes me about 2days
depends if you have insight on the context and design
and back-end support if needed
12:33
i am currently mocking all backend apis
i have complete design of the page
i want to know a somewhat avg time to build using nextjs
@paul23 React has a sorta language switch for that
Tried to find an useful article about that, and medium.com/prototyped/… covers a fair large part of what I am thinking at
@aeXuser264 that still really depends of the user's skill and familiarity with nextjs
you should just proceed and work on the task instead of asking how long it takes 😉
well i am working on it, started nextjs like few weeks
well i guess i gotta work harder. thanks @KarelG
time is relative
that is why I don't schedule tasks by time, but kinda level of complexity
it's rare that I have missed the business deadlines so far and I want to keep that nice, "clean" record. My team got even a yearly bonus from that. It is all about good planning.
and know your people
and trusting them
well, good thing your higher ups don't get the idea that a "clean record" means you are having too much time ;)
@KarelG thanks, though that one just says: "any other page apart form language-specifiers should never have 2 letters".
12:47
@makadev sshhhhh
@paul23 you're using the XX-XX locale form?
it can be adjusted, no?
not decided yet, currently we use just cookies with a long description of language and localization (to allow for region-specific variations, since we noted xx-yy locale used doesn't allow for the current specification I live in currently).
But the other pages are dynamic, and users can give their own names + urls (with limitations like only visible letters on ascii page)..
So currently the other page could be "en-uk", and we'd have to hence put also the limitation there (and I'd have to carefully figure out how the router work to make sure to put the correct limitation on the dynamic urls)
 
1 hour later…
13:57
@paul23 ahem, en-gb
@BenFortune facepalm
user14475233
14:51
y'all ever just...work hard on an answer, but it doesn't get any recognition?
yep, it happens
but not everything is for the reputation, at least that's what I keep telling myself.. *runs away sobbing*
@Neil if you run away while crying, I cannot comfort you ya know ...
well I technically ran away virtually
it's just text you know
the comforting is also virtually? 😮
yes, probably, but I appreciate it just the same :)
following the elections?
Before the literal voting has ended, he's declared himself a winner and is calling it "sad" and a "fraud against this country" that the voting is continuing..
15:07
the voting isn't continuing
it ended yesterday
the counting of said votes is continuing
yes, you're right, that's what I meant
some states are darn close of each other atm
I can imagine either Trump or Biden going to the court
or even together
I've been following along
there are three states where it is still unclear which as of now have Biden leading
Nevada, Wisconsin, and Michigan
if he wins these, then he's won the election
Pennsylvania is for Trump I think
of course everything must be counted first. I wouldn't have it any other way
15:16
gap is kinda big. but yeah those vote by ballot is an interesting thing
what's wrong with voting by pen and paper?
well that's what they are
i'm allergic
costly? Try to fraud on that.
they're one of those scannable ballots that can be fed into a computer and the vote can be tallied automatically, I know because I voted using one
there were some problems with voting machines yesterday somewhere
i think it occurred in Mi
15:18
there was a broken pipe in one of the voting rooms in Georgia
but none of the ballots got wet or were otherwise compromised
ABC
ABC
Hi
Hey guys

is it good to use Facade pattern for all services over the Injector class in angular?
ABC
ABC
I would like to ask regarding to the gridster2
no idea what either of those are
15:19
@Neil even then, it could be used as an argument in the court :P
me neither
ABC
ABC
I'm trying to change the value of enableEmptyCellDrag
@KarelG well it's literally impossible to have everything go perfectly well
ABC
ABC
here's the question
https://stackoverflow.com/questions/64682655/how-to-change-the-gridster2-options-value-when-clicking-the-button-in-angular
if Trump wants a recount, he's welcome to request it afaic
but he cannot just declare himself the winner despite legitimate results saying otherwise
if you delete all the liberal votes he won in a landslide
15:21
I'm getting frustrated which approach is fine
Hi guys, asking my question again as I had to step away lastnight to handle election and food.
Is there a better library/method for screen recording than recordRTC?
I'm running into memory issues with this demo: Basically, not too much different than the demo they've got: https://www.webrtc-experiment.com/RecordRTC/simple-demos/video-plus-screen-recording.html
and my script and the demo are showing the same issue. I'll literally pay someone who can actually record 10 seconds worth of video. Hell, I'll take anything over 6 as reasonably functional.
@KevinB definitely :D
@GregBorbonus if all you're doing is registering video, then really there's not much going on in terms of memory aside from the literal actual saving of the video in memory
if that's all it's doing, then yeah, it'll work until you run out of memory
the memory requirements seem extreme
well how much memory we talking about?
No angular experienced here?
15:27
have you run the program and monitored memory usage?
my angular experience is very dated
Mainly just using the task manager in chrome
the most recent version I've used is 1.6
@GregBorbonus you've got to do something with that video in memory. Does the library have a hook or a means to output that data somewhere?
ohh..
15:30
yeah, it's buffering it.
I mean, what do you intend to do with it? Show it to the client or "download" it?
Show it and upload it
that's the intention
if you were to show it to the client, then as you show it, you can remove it from the buffer
I've been attempting to use the library recordRTC
and you also don't want to buffer too much for obvious memory issues, just enough so that you can prevent interruptions
15:31
but I'm not liking it's performance
if you are creating a service?

do you prefer it to make a facade service and place all services there?

or

you just get those services from injector?
like injector.get(Service)
@GregBorbonus well find out what the limitations are to the demo.. it may be that performance is being limited because it's a demo and they want you to buy their product..
otherwise, just find another library
it's not
yeah, I wrote the app with 0 limitations to the code.
as they say, think up a word and follow it with .js.. chances are that's the name of a legit javascript library
I think it's the fact that it's creating 2 videos
and overlapping them
15:34
why would it do that?
screen + webcam
have you considered sending both separately to the server and letting server deal with that backend?
Honestly, I don't think that's asking for a tremendous more amount of bandwidth
Only if I can stream the live preview
that'll be what I need to create
the live preview can be two videos on on top of the other
you don't need to splice them together, just have the cam video on top overlapping
it's important to make them play and stop at the same time, but that shouldn't be too hard
15:47
I think they are doing that now
and writing a singular video in canvas
Hoping someone can tell ME whats happening in my simple javascript comments feature
My comment system is loosly based off of this tutorial
However, Now, My code is vastly improved and different
Problem Im having (and dont know whats causing) is if someone clicks reply twice
ie: reply on one post and reply on another
So anyways.....
If you go here
and click reply on one comment, then change your mind and abandon that thought and decide to comment on a different post then WYSIWYG
Ive narrowed the problem down to this
$(document).on('click', '.reply-btn', function(e) {
	e.preventDefault();

	var comment_id = $(this).data('commentid');
It seems that each time reply-btn is clicked I need to reset comment_id to the PRESENT this
instead of prev comment's this and now this new this
which results in wys
16:24
improved is subjective
You're attaching click handlers inside click handlers
17:04
Yea... I was gonna come back to that
in final cleanups
you should see the orig...
17:16
I guess now is a good time to clean that up
Maybe it might even fix my issue
I always thought that looked weird but being a newb and coming from a tutorial I figured thats how it is or suppossed to be etc...
but I did have in mind to clean that up. Thx for the clue
17:33
Ask me smth about JS, I am preparing for an interview
@entithat are DOM listeners run sync and blocking or async ?
async
trick question
so you're wrong, and didn't get the job
@entithat make a class without the class keyword.
17:42
function C() {}; let c = new C()?
do you mean that?
but it's an instance of the class, not exactly class, right?
Let me rephrase, create this equivalent class using functions.
@SubhananGanguli Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
@JBis hmmm
17:44
class Foo {
   consturctor(bar){
      this.bar = bar;
   }
   static fooBar(){
     console.log("static");
   }
   barFoo(){
        console.log("instance");
   }
}
@entithat Oh you know JS? Name every js package on npm now
considering theres a js framework for every word, just read aloud a dictionary
@entithat const arr = [1, 2, 3] empty the arr without using splice
user14475233
@Neil im sure EVERYTHING on this site is for rep. i got begged once to mark a question as correct. (srry for late response, i have school)
@LttntLrk Yes, you got begged by someone who wanted rep.
user14475233
17:49
i forgot who it was
@aeXuser264 .pop()?
I mean, ok, get rep, not trying to dissuade you. Just sayin' I answer questions not because I want rep, at least not anymore
if I can help, then I'm glad to do so
oops forgot to add, not even pop or unshift
user14475233
im at 172, it dont really matter yet
user14475233
i think...
17:52
@JBis interesting question
user14475233
also, what is the best website to edit javascript code, and add 3d assets without blender? Im on a school chromebook, and idk if its possible
delete arr
arr.length = 0
saw somewhere its possible, but never used it
@aeXuser264 yes, I was looking at some methods in the prototype. I was thinking smth could be there
@Ikari it won't work
user14475233
I DID put a good answer for this one, right?
https://stackoverflow.com/questions/64668983/how-do-i-make-the-button-dispear-when-i-go-to-next-screen
user14475233
17:59
it got like no recognition from the person who posted the question
well if you can't read you prob wont get the job either
> hit Ctrl+K before sending
ok ok
finally
:50853930
function Foo(bar) {
	this.bar = bar;
	this.barFoo = function () {
		console.log("instance");
	}
    function fooBar () {
		console.log("static"); // Im not sure here
	}
}
const f = new Foo("b");
f.barFoo();
f.fooBar();
so, here I dont know how to represent static function
18:03
no
user14475233
i got invited to that chat called "trash can" lol
@JBis could you, please, tell me how to write it correctly ?
try to figure it out, if you tested your code you would see it didn't work
yeah, I know. I could leave it like this.fooBar, but I have no idea how to clone that static func
user14475233
@JBis why is the trash can chat marked NSFW???
18:08
@LttntLrk probably because nsfw stuff is moved there
oh I have an idea
user14475233
also, why was i invited to it, along with entithat
user14475233
kinda amusing
function Foo(bar) {
	this.bar = bar;

	this.barFoo = function () {
		console.log("instance");
	};
}

Foo.fooBar = () => console.log("static");

const f = new Foo("b");
f.barFoo();
Foo.fooBar();
@JBis check it out
user14475233
I love how nevada is the only west state to be "too close to call" in the election
but clark county, and washoe county ore the only 2 that want biden, and the whole state is blue
18:09
||>  function Foo(bar) {
	this.bar = bar;

	this.barFoo = function () {
		console.log("instance");
	};
}

Foo.fooBar = () => console.log("static");

const f = new Foo("b");
f.barFoo();
Foo.fooBar();
@JBis undefined Logged: "instance", "static" Took: 29ms
looks decent
looks good
|| mdn prototype
read that, i was trying to get you to use that
I know them. Just did not get it immediately
can u ask me smth else?
ok thanks
user14475233
@JBis what is leetcode about? it looks alot like overflow...
18:20
heapoverflow
user14475233
?
@LttntLrk they have a bunch of mock interview questiosn iirc
user14475233
then i dont have to worry about it then lmao
it's more interesting to get those questions from you, @JBis
well no
18:22
:(
user14475233
i think im about to ask a pretty good question
let's do it
user14475233
either one of the two things is going to happen:
upvoted to godlyness
downvoted to oblivion
ahah
user14475233
theres like 75% that downvoted happens
18:25
Can I say that Promise is a wrapper which allows us to work with async code?
user14475233
you just did
user14475233
boom
the best answer for recruter
user14475233
@entithat if ur doing an interview thing, im not the best person to ask questions...im just a mere beginner in JS
user14475233
18:33
i only have 2 years experience
lol not bad
user14475233
and my age makes me unqualified to help professionals like you guys lmao
I am not even junior xD
user14475233
in HS?
user14475233
*JS
18:36
u know, I have a few years of experience at js but
I have not work yet
at company
@entithat no
user14475233
lol, im not even out of middle school yet
user14475233
YET
user14475233
im so close
@JBis ok then how can I describe it?
18:37
in the least rude way possible, nobody asked @LttntLrk
|| mdn promise
user14475233
lol i knew that was coming up @JBis, i saw it in my head
actually, I got a description from there and just rephrase it :\
@LttntLrk stay off the drugs kid
user14475233
lmaooo
user14475233
18:39
top comedy humor
A promise is an object that may produce a single value some time in the future: either a resolved value, or a reason that it’s not resolved
user14475233
a promise is a thing that most women dont keep
but most men dont either, so who am i to take sides...
u know...
user14475233
what rep do i need to be in to make a room?
user14475233
i wanna make a p5.js room for the p5.js nerds
18:42
idk
don't ask questions you can answer with research
;)
user14475233
ive seen that answer before, but i forgot it
user14475233
i thought it was 250
@KevinB I agree
@LttntLrk an entire room for all 2 of you?
18:44
ahah
1,831 questions
user14475233
@JBis theres more than 2 people watching the p5.js tag
user14475233
im like, 7 of those questions right there
is there though?
there's plenty of people watching the javascript tag,
user14475233
theres 1.4k watchers
user14475233
18:46
on p5.js tag
user14475233
and us p5.js people are....special
user14475233
we arent you're average potatoes
well, theres 2,114,806 javascript questions and 17 people in this room so proprotionally there would be 0.01 people active people in that room. And since you are 1 person, you are already out preforming expectations.
user14475233
DAMN
you guys did your RESEARCH
user14475233
i was outsmarted...
18:48
@KevinB how you feeling about the election? i think biden's got the win
I am from Ukraine
i think he's got it, but the house/senate results kinda put a damper on a biden win
that's why I choose Biden
user14475233
im just watching as my country betrays me
user14475233
with nothing to do
18:49
also depends on how many ballots the supreme court ends up throwing away over the next month
@KevinB dem's seem to have house. Senate is up in the air.
Hey all! I've got a question that I don't know what I should even google for...
oh ask me
user14475233
@Tschösi ask away
yeah, considering trump's got three people on the bench god knows what they will decide
18:50
is there a way to create a typescript function that can be called from an object where the object is then automatically one of the arguments?
idk typescript (
user14475233
what is typescript
user14475233
i looked it up
js is fine too :D
user14475233
windows javascript, basically
18:51
its a language which adds static types to js
@Tschösi do you mean a method?
@JBis they do, though, they lost ground
and then this?
potentially
@JBis yes haha
18:52
true, but majority is mostly the only thing that matters
problem though is it's fine for the next 2 years, but makes keeping it in midterms harder
and with a split house/senate and thus no real ability to get legislative wins with mconnel at the helm, could be a rough midterms
hopefully, assuming biden wins, 2 years will be enough to get a lot done
so sad mconnell won again
stackoverflow.com/a/64686058/1586174 <= question about this answer, regarding the last two lines. I flagged it because that seems weird. Am I wrong, or is that something actionable?
err, you flagged it?
just edit it
lol
I'm always wary about changing other peoples posts
19:09
just from a web dev standpoint the "Explore Trump and Biden’s paths to victory " is really well done nytimes.com/interactive/2020/11/03/us/elections/…
posted on November 04, 2020 by Lakshmana Pamarthy

The Beta channel has been updated to 87.0.4280.47 for Windows, Mac and Linux. A full list of changes in this build is available in the log. Interested in switching release channels?  Find out how here. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn about common issues. Lakshmana PamarthyGoogle

19:51
Someone has an idea on how to solve this issue?

https://stackoverflow.com/questions/64653038/how-to-return-asynchronous-calls-in-javascript-with-two-callbacks
you keep saying null
but i find it hard to believe you don't actually mean undefined
null !== undefined
they mean different things
@KevinB you're right, I meant undefined, not null
looks fine to me
the results you say you are getting don't sound possible
if you return "A", you'll get "A"
if console.log(json.access_token) is correct, so too will be console.log(httpResponse, 'fetch json')
user14475233
20:31
do you guys think if i made a video on how to code a game with p5, it would get more attention than my normal videos?
no idea
i'm not in any way privy to the market of people who watch programming related videos
user14475233
im thinkin of switching up my content a bit
user14475233
and i hope that if i TEACH, people will want to learn
user14475233
but that isnt always the case
@LttntLrk The first question to ask yourself before teaching is if you are in a position that you should be teaching.
user14475233
20:42
i know enough for the simple game I want to teach
Despite the fact that you stated numerous times that you are beginner in JS?
user14475233
yes
user14475233
beginner in my terms, is like, alot for me
but for you guys, it is like an ant
user14475233
i know simple animations
user14475233
and triggering/movement
user14475233
20:44
and buttons/vectors
Ok, well the second question is, is the content of what you are teaching redundant? has a video been made that teaches what you are teaching?
user14475233
not yet
why not
user14475233
every coding video out there for p5 is simplistic
i'd like to go in depth, and explain why things happen, and how
user14475233
all while teaching the small community that i have
user14475233
20:47
if that makes sense
user14475233
if i dont respond, im in school
21:06
posted on November 04, 2020 by Michaël Zasso

Notable Changes Diagnostics channel (experimental module) diagnostics_channel is a new experimental module that provides an API to create named channels to report arbitrary message data for diagnostics purposes. With diagnostics_channel, Node.js core and module authors can publish contextual data about what they are doing at a given time. This could be the hostname and query string of a mysql

21:35
I've had a very similar issue in the past but I cannot figure out how to apply the solution I found to this example. jsfiddle.net/q0238bmw/1 , i can't scroll to the "top"
^ that's the relevant SO question i asked
what's justify-content: center; for
@KevinB when the red is larger than the content, it should center the context
(.flex's height would usually be dependent on the size of the viewport)
removing it causes top to reappear
but why
9
A: Centered elements inside a flex container are growing and overflowing beyond top

Temani AfifYou forgot nothing but you simply need to understand what is happening. First you made your wrapper to be 100% height of screen and then you made the box to be centred vertically and horizontally. When the box has a big height you will have something like this: Now, when you add overflow-y: au...

that answer explains why pretty well
22:34
posted on November 04, 2020 by Cindy Bayless

 The Beta channel has been updated to 87.0.4280.47 (Platform version: 13505.33.0) for most Chrome OS devices. This build contains a number of bug fixes, security updates and feature enhancements.  If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching channels Find out how. You can submit feedback us

22:58
posted on November 04, 2020 by Bindu Suvarna

Hi, everyone! We've released Chrome Beta 87 (87.0.4280.49) for iOS: it'll become available on App Store in next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Bindu Suvarna Google Chrome

23:22
What’s the tag for the “old-school class syntax” in JavaScript, i.e. function ClassName(){}ClassName.prototype.methodName = function methodName(){};new ClassName(); etc.? appears to be about C/C++. ? (which lacks a wiki)?
there isn't one tmk

« first day (3672 days earlier)      last day (1501 days later) »