« first day (3505 days earlier)      last day (1666 days later) » 
00:00 - 20:0020:00 - 00:00

00:03
I'd use it
 
1 hour later…
01:11
!!choose minecraft or fallout76
minecraft
 
1 hour later…
02:16
a font based programming language, i love it
all the shitty features can be written in comic sans
02:38
my genius idea to crack widevine didn't work :(
i tried to comment out the error that prevented recording
well it worked for audio, just not video.
i'm shocked
I'm not sure if I should report this. It does mean that spotify and other audio related things aren't protected as much.
@phenomnomnominal ^
No idea. Most things aren't really that protected tbh.
Obviously, I could record spotify with a screen recorder or something like that. But this achieves better quality. I just can't figure out why video doesn't work.
I think I can write an article or something.
got video working
well damn
ok so i am able to capture video and audio from a widevine protected stream in full quality. The only problem is its in real time. So if the clip is 2 hours it will take 2 hours to download.
03:10
I don't think that's a new thing? You can always record the raw output from your device
But cool that you managed to get it to work!
03:26
@phenomnomnominal its not the raw output
Yeah but that's what I mean by it not being that protected?
Well I'm not really sure.
It's definity security theatre
Let me explain, and tell me what you think.
More the point is that it's breaking ts&cs by cracking it
sure!
03:29
It seems that the spec doesn't say what to do if you try to use the captureStream method on a video/audio element that is playing EME (aka DRM protected) content. The Chrome team decided, we should throw a security error (there is some discussion to adding this to the spec). So I was like, what the hell. Lets comment out the error and see what happens.....
So we're talking about commenting it out in Chromium here?
So I built chromium overnight...yada yada...error...yada...yada...fixed error...yada...yada build successful. So I commented out the err and rebuilt the relevant files. I then use captureStream with the MediaRecorder API and was able to capture a widevine protected video. (Widevine being the standard DRM protection used by Spotify, Netflix and everyone else for all their content on chrome and firefox). From the mediastream recorder I converted it into a blob and then downloaded the blob...
The blob played fine (audio worked, video didn't...for now).
My instinct tells me that the captureStream captures raw data (meaning the same quality that it is being played at). Which means it would be *better quality then if I screen reordered.
However, that is the real question. If captureStream is full quality then it is significant, otherwise it doesn't really matter.
@phenomnomnominal yes, 3 lines to be exact
Do you think captureStream is full quality?
03:53
From the spec
> The UA MUST record stream in such a way that the original Tracks can be retrieved at playback time.
doesn't that mean full quality?
alright i'm going to bed. Might write an article tomorrow. I'll read in the morning if you reply.
04:07
Fun project
04:45
Hmm maybe the video thing makes it more of an issue. I don't know enough about it! But I do know it's relatively easy to get a DRM audio track with a virtual soundcard
Virtual soundcard is still re-encoding the audio though, which is always lossy. I wonder if captureStream suffers from the same problem.
 
1 hour later…
06:05
Hi i'm new here
@Marwin 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.
Nice to meet all of you!
Hi Marwin! A lot of the usuals in this room are sleeping right now so you'll probably see reduced activity for the next several hours.
And on that note I'm heading out myself.
Hi All
is there any way i can check the alphanumeric validation in the mongoose model
 
3 hours later…
09:27
Respected members, greetings. I am calling a dropbox chooser function on onclick attribute of html element in such a way as following:-
  <button type="button" class="buton" id="mybtn2"> <img src="images/dropbox.svg" onclick="Dropbox.choose(options);" class="img_links">
I want to check whether this chooser pop up window was opened or not. Or whether this function was called or not as following but did not get result
<script>
    $("#mybtn2").onClick(function(){
    alert("function called");
});
</script>
09:49
Kinda weird using both inline and event listeners
Better go only with event listeners
also, you are attaching the event listener to the button and the inline onclick to an image. Different elements.
In your $("#mybtn2").onClick(function(){add also your Dropbox.choose call and you are done.
10:18
Hi all
I need some help regarding node.js
Actually I have return my code in node.js.It's working but when I run my html page linked to node.js,after clicking submit I am able to run my nodejs but at the time of rendering to ejs page,I am able to get that ejs page opened in the same tab itself where I have html page.But I need that ejs page to be open up in other tab
10:59
is there any browser plugin to know what dom actions are performed when I clicked on any checkbox/radio button?
11:41
@Exception actions as in, events fired, or DOM modifications, or JS functions executed?
events fired & JS functions executed
Hmm, I'm not aware of such an extension. It probably exists, though. The events would be well defined, so you can lookup what events are tied to a checkbox. From memory, you get a change event and most likely a click event. I think you get click on checkboxes even if you didn't use the mouse. Not sure on the order and the specifics, though.
As for functions - if you look into the dev tools, you'll find if there is any event handlers attached to that element here is the send button in the chat and if you click that you can see each handler.
I'm not sure how that works with delegated event handlers, though - I assume that you won't get a button for those but I'm not sure.
Also, doesn't work if there is something else triggered that's not a direct event handler.
At the very least, it's something that can give you an idea what happens.
 
1 hour later…
12:49
You could shim HTMLElement.prototype.addEventListener
I suspect that if an addon exists, it does that. Although even with that you cannot guarantee you'll get the executed JS, for example if you have a MutationObserver looking at attribute changes, or something I think that catches selected/unselected nodes. But it's not an event listener.
Also, delegated event listeners would be tricky. Now, I'm not an expert, I just use jQuery for those but I believe they just attach a listener higher up in the tree and then filter bubbled events to only those coming from a specific selector(s).
If so, it's hard to find which event listener would actually be fired if you interact with a node but the real code is in its parent or grandparent, or something.
13:04
Hmm, where can I see a list of all features that went into which ES spec? I'm starting to lose track of what's where and if it's actually a standard or not yet.
13:26
Can s/b point out my mistake in this project: codepen.io/user_jacob/pen/BaoqZWo. If you reload and add some tasks to the list, some of them willk be lost after the next reload of the page. I wonder what's wrong with my usage of localStorage?
@user36339 you never restore the tasks into that global arr variable. So, on re-load you just construct the HTML for those but the array of tasks is empty. If you add a new task, then it's the only one available in the array, so that gets saved to local storage in the whenClicked() function. On reload the array with now only a single item is read and the HTML is restored but arr is still empty.
Also, same root cause for delete not working - you just modify the page but don't change the contents of arr or local storage. If you add 3 items -> reload -> delete 1 item -> reload; you still get 3 items. You don't persist the state of the list for deletion.
Happens also if you add 3 -> delete 1 -> reload but the roundabout way showcases it better.
14:33
morning y'all
I'm going to email the dev who wrote the captureStream method for google chrome and see what they say
Hello.
Also good luck with that.
thank you
14:50
Shall we call the court?
lmao
> Since each variable has a corresponding color, assignment is easily represented with background colors. For instance, A denotes the assignment of the number 12345â…” to the variable #F00BA2. Note that this could also be written as rm -rf /, because we are removing the arbitrary indirect association between text and meaning to focus only on the clear meaning conveyed by the formatting.
> The field of nontextual programming languages was quite popular in the Eastern Bloc in the 1950s and early 1960s. In 1953 the Bulgarian computer scientist Dimitar Radjakov developed a programming language based on the timing and intensity of a sequence of thwacks delivered to the side of the computer cabinet [5]; Bulgarian computers relied on this system for a number of years.
> Late in 1957 the Yugoslav mathematician Dragana Šimunović proposed a language in which a program is a collection of rough and smooth objects thrown into a leather bag [6], but this was never satisfactorily implemented.
> And in 1962 the Soviet biochemist Andrey Mikhailovich Turapovsky was the first to describe a full-featured odor-based language [7].
The hell? Seems people were into novelty languages way before brainfuck, malbolgia, whitespace and the like.
> Future versions of the language may relax this restriction by adding support for additional colors not representable in RGB, such as ultraviolet, infrared, and plaid.
This is honestly engrossing. I just wanted to have a look but I CANNOT STOP READING IT.
I'm now trying to lookup some of the references.
Also, why was thius re-published today on some weird website? newshimalaya.com/2020/05/21/…
I am using the word "republish" a bit loosely. It's a bad copy/paste.
Another link, this one is useful - it's where that paper was published (for real) plus other similar things: sigbovik.org/2017/proceedings.pdf
> the eleventh annual intercalary robot dance party in celebration of workshop on symposium about 2^6th birthdays; in particular, that of harry q.bovik
15:13
Is there a way to apply an overflow to the document body in vuejs ?
I'm using the document.body selector inside the mounted function but it will give me an error
@guggio Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@guggio Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
1 message moved to Trash can
<template>
  <div class="container-fluid main" :class="{ 'overflow-hidden': preloader }">
    <search-bar></search-bar>
    <preloader :preloader="preloader" />
    <user-profile />
    <user-media />
  </div>
</template>

This is what I have in my component template. The class is applied but the scroll remain
15:43
Hi friends, need help with relay-modern + React
I am facing problem where i am receiving data from graphql endpoint but getting this error
index.js:1 Warning: RelayResponseNormalizer: Payload did not contain a value for field `id: id`. Check that you are parsing with the same query that was used to fetch the payload.
response is:
{"data":{"menus":[{"id":"menu-1","name":"Dashboard"},{"id":"menu-2","name":"Contacts"}]}}
16:47
What do y'all think?
17:13
@JBis needs more beards
lol
do the people look semi-normal?
it's really difficult to do stuff in illustrator
@JBis Did you draw that yourself?
yepo
well not from scratch, i traced real people
It looks good. In addition to full stack, you can add designer/illustrator to your resume :)
haha thanks
17:26
It's not finished yet, is it?
The facial features are missing.
yeah i'm not adding facial features
don't think it's necessary
How come?
Okay.
Let's keep it mysterious. Atleast you added color, haha.
zoom.us they don't have facial features either
my favorite part: based on the UI side bar there should only be three people but i drew 4
17:29
The border at the top of video section is dark grey with light grey underneath. At the bottom, it looks smaller. Possibly because the users' shirts are over top of the light gray line at the bottom?
@JBis, thanks for the link. That's very impressive, seriously!
Otherwise, I think it looks great
thanks, the css for that is terrible
I think your landing page looks quite a but better than zoom's.
Are you a one man team?
@Cameron hmm, you're right
thanks lemme fix that
@MyWrathAcademia for now yeah
17:31
Since it's open source, may be I will contribute in the future?
@JBis I finished the facial features for you
No need to thank me.
hey why are they unhappy?
First I have to actually finish learning JavaScript and then a frame work.
lmao
Why the red eyes?
17:32
Up right doesn't have laser eyes like down left does.
Hence why he's unhappy
@JBis , I would love to see your product take on zoom.
ah so thats why they are using video chat. John in the lower left kept lazering client's faces off.
I really think that a big reason why zoom has been successful is the name.
yeah i think zoom is pretty terrible compared to some alternatives
It just rolls off the tongue and gets you pumped!
17:34
"John, we've talked about this - you do not burn our clients or else we run out of clients!"
It's worked well for me, compared to Skype.
I think the girl in the upper left has a thing for john
Their video chat tech, which is the core of their product, works pretty well. But everything else, like chat, sucks.
Yeah, I think Slack is far better for chat.
I don't know what exactly is about Teams but it's super annoying to use compared to Slack.
My product aims to combine slack (or discord) like chat with zoom like video.
17:38
Sounds like a killer product.
@Cameron how's it look now?
@MyWrathAcademia hopefully, but i don't expect it to take off
If you can do integrations, that would be amazing.
oh like integrate slack with it?
Like other apps. Mostly bots but things like a shared whiteboard could also be a cool integration.
Be careful with Discord though, discord is associated with gamers, which isn't bad but it limits your audience.
17:39
@VLAZ good idea, add it to my list
Probably something to do after release, I guess.
I don't mention discord on the website. But if I were to I would prob say slack instead since its more buisness oriented. Good tip.
@JBis Looks cleaner. Though, since I like complaining - it's cut off on mobile
@VLAZ Microsoft just doesn't know how to do user friendly products properly.
@MyWrathAcademia it's ironic, given that they were one of the driving force behind user testing and friendliness. Well, or at least they tried to be ages ago.
17:40
@Cameron yeah thats on purpose lol. Supposed to look modern
as you can see, lots of features needed before i can compete with zoom.
I didn't know you can have a board on GitHub. That's cool.
alright i think i'm ready for beta
@Haha, yeah. They have nothing to show for it on the Windows phone, also. I owned one and it is by far the worst device I have ever spent money on.
@JBis ^ assuming that was sarcasm?
17:43
Hey, so I bhave a specific if statement that relies on decimals for map data... Why isnt 4.1 being recognized as a value, Ive logged and degugged it, its exactly 4.1
if (Math.trunc(e[i]) == 4) {
					let v = ran(0, 10);
					if (v > 0 && v < 8) {
						ctx.drawImage(spriteImage, 0, 0, 32, 32, cx, cy, 32, 32);
					} else {
						ctx.drawImage(spriteImage, 32, 0, 32, 32, cx, cy, 32, 32);
					}
					if (e[i] === 4) {
						ctx.drawImage(spriteImage, 32, 192, 32, 32, cx, cy, 32, 32);
					} else if (e[i] === 4.1) {
						ctx.drawImage(spriteImage, 160, 256, 32, 32, cx, cy, 32, 32);
					}
					cx += 32;
				}
ugh SO formatting
reasons why we don't use tabs ^
@Cameron the same happens to me when I exit full screen in browser.
@JBis You normally don't add four tabs between scopes lol
@Cameron yeah that kind of looks terrible
17:44
five* yikes
Looks like the left side of the image sticks to 50% x
can't find an example now, but plenty of sites do stuff like that
I don't think it looks bad
my if statement outputs 4.1! why doesnt it fricking recognize it?!
ffs it works with no decimals
but not with decimals...
17:47
Floating point arithmetic is a nightmare in js
im using === to get the exact decimal
and its not using math, its just a written number
Seems to work
Not for me...
it should place a green object over those two bricks
it works with just no decimals
but I need decimals to place different variations of that block
console.log("e[i]", e[i], typeof e[i])
  if (e[i] === 4) {
	console.log("OUT")
	ctx.drawImage(spriteImage, 32, 192, 32, 32, cx, cy, 32, 32);
  } else if (e[i] === 4.1) {
  console.log("IN")
  ctx.drawImage(spriteImage, 160, 256, 32, 32, cx, cy, 32, 32);
}
this prints 4.1 and number, then IN
@MisterSirCode are you using a lib?
17:48
no..
nice
With big game creation projects, i dont usually use libraries
What does "enable waiting room" do
it enables the waiting room
17:49
:D
omfg I figured out why
Lol, it just makes you have to accept people individually before they can join
Ah got it
17:50
wtf
wrong picture??
You should explain that somewhere. Maybe like an [i] next to it or something
P.S. If anyone is wondering, I refuse to add passwords to room. It is quite possibly the dumbest feature in zoom. It makes so sense. I ain't putting in a feature that gives a false sense of security.
There it is
See I was using the image dimensions
not the coordinates
facepalm my blind ass
@JBis good idea. You just need a sufficiently unique room name and that's it. That's your "credential".
I better hurry up and turn 18 so I can take that lasik surgery
17:52
It's the equivalent of saying "I'll give you the password to the password to the safe"
@VLAZ exaclty
i'm still working on an idea of using words instead of numbers. So your room could be "button green book"
I do think it's mostly security theater but not completely
Beautiful, now its working: codepen.io/SkylerSpark/pen/GRpdzBZ
Well, not beutifully, but it works
Yeah, that works. It's easier to share. It's still pretty unique. You can try Diceware, if you wish - it generates pass phrases from dictionaries.
Ugh physics collision on bouncy objects is going to be HELL
@forresthopkinsa there are a couple cases where passwords might be useful but they (zoom) embed them in the link which defeats the entire purpose
17:54
Does it defeat the purpose of preventing people from guessing session IDs
one sec... I think my cat is in my sink right now... trying to get at dirty dishes
there should be rate limiting anyway
You don't really need a password for that, just a random session ID, or connection string or what have you.
Rate limiting mostly solves the problem, you're right
Also, I guess if you really need to protect from randoms walking in, you can have a "lock" feature, so nobody else can join.
17:55
hence the waiting room
Ah I see
Waiting room solves the problem
You should advertise that more
also i love how zoom decided to just rewrite their own definition of "end to end"
which is the complete opposite of end to end
Do they decrypt on their servers?
Yes
And they call it end-to-end?
That sounds like a lawsuit waiting to happen
17:57
they did before they got sued
Cya guys, i gotta go clean the house, else my dads probably gunna murder me
but they are trying to add it. And I will say that they have a large advantage over everyone else for that. Their way of doing video chat makes it much easier to integrate end to end (the real one) then all the other big players.
@MisterSirCode ok we'll keep this message for use in the trial
posted on May 21, 2020 by Prudhvikumar Bommana

The Dev channel has been updated to 84.0.4147.13 for Windows, Mac, and Linux platforms. A partial list of changes is available in the log. Interested in switching release channels? Find out how. 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. Prudhvikumar Bommana Google Chrome

18:14
I'm in a Zoom meeting right now and it always pisses me off that it captures focus whenever moving between video and screen share
someone in the meeting starts screen sharing and suddenly whatever window I'm typing into has lost focus
Hey, anyone willing to clarify something for me real quick?
@BenLeonard 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.
@forresthopkinsa yup
Thanks buddy
I'm starting js and looked up different answers about removing event listeners.
I wrote this event: eventOne.addEventListener("click", function good() {eventGood(nextPage)});
@MyWrathAcademia i took your suggestions, how's it now?
18:30
I should just be able to do: answerOne.removeEventListener("click", good);
right ?
no
good is undefined in your remove event
How comes ?
scope
What would be the right way of doing then?
you are creating a function when you call addEventListener so it's not aval to removeEventListener
18:32
define the function outside of the listeners
function good() {eventGood(nextPage)}

eventOne.addEventListener("click", good);
eventOne.removeEventListener("click", good);
Thanks, I'm going to try this now and let you know :)
function good (page) {

    function eventGood(page) {

    page();
}
}
  answerOne.addEventListener("click", good);
Not working
function good() {eventGood(nextPage)}   doesn't inherit listener(nextPage)
huh?
what do you want to happen when the element is clicked?
    x = 1;
    rightText = answerOne.innerHTML;
    bb = "goodAnswer";
    page();
page() being attributed through listener(nextPage)
I have an eventGood function
function eventGood(page) {


    x = 1;
    rightText = answerOne.innerHTML;
    bb = "goodAnswer";
    page();

}
Which is why I wrote answerOne.addEventListener("click", function good() {eventGood(nextPage)});
So its a callback function
But now I can't remove the Event Listener
function listeners(nextPage) {


    answerOne.addEventListener("click", function good() {eventGood(nextPage)}); }
I don't want to spam and bother you guys :/
In one sentence, no code: What do you want to happen when the element is clicked?
18:48
I want what's in the eventGood function to execute, then for the listener to be removed so it can be called later again using listener() function and doesn't get executed twice because the listener would still be active.
And I want eventGood to inherit the listener(nextPage) option.
@BenLeonard wdym inherit?
@BenLeonard There are many less expensive ways of doing that. But if you want to go that route, fine. You don't see to be using the event so you can do this
eventGood will be calling a different "page" every time, its a text adventure game
that page is attributed through listener(nextPage) which is why the event listener is in the listener function
@BenLeonard ok this doesn't make sense
what do you mean "attributed"?
For example I have a function called pageTwo. listener(nextPage) calls pageTwo. listener(pageTwo). pageTwo is passed to listener(here) which is passed to eventGood(nextPage) then calls pageTwo
function eventGood(page) {


    x = 1;
    rightText = answerOne.innerHTML;
    bb = "goodAnswer";
    page();

}
Here page() is what has been passed by listener(nextPage) when call listener(pageTwo)
Which is why my listeners are inside this function: function listeners(nextPage) { }
@JBis Do you want the full code on pastebin ?
function listeners(nextPage) {
   function good() {eventGood(nextPage)}

     eventOne.addEventListener("click", good);
     eventOne.removeEventListener("click", good);

}
you could do something like that, tho its ugly
19:02
wait, sorry
I misread that
Would that work with three of them? At the moment that's what it looks like
function eventGood(page) {
    x = 1;
    rightText = answerOne.innerHTML;
    bb = "goodAnswer";
    page();
}

function eventMild(page) {
    x = 2;
    rightText = answerOne.innerHTML;
    bb = "mildAnswer";
    page();
}

function eventBad(page) {
    x = 3;
    rightText = answerOne.innerHTML;
    bb = "badAnswer";
    page();
}


//Event Listeners
function listeners(nextPage) {

    document.getElementById("goodAnswer").addEventListener("click", function () {eventGood(nextPage)});
    document.getElementById("mildAnswer").addEventListener("click", function () {eventMild(nextPage)});
have a single event function that accepts type and nextPage.
type being good/mild/bad
So everything above in one function ?
alll the event stuff
Hey, we run this angular app that hosts numerous child angular elements apps. We ran into a case where on of these child element apps is updating the window.location value. This screw up our routing as you can imagine.
Has anyone come across a similar case and would you somehow add a guard against unwanted window.location changes by the child app?
Or would you listen for window.location changes in the host angular app..then just reset the locstion if it wasnt "authorized" by the host app?
19:22
@BrianJ I don't think you can prevent window.location from being modified. It's a non-configurable and native window property, hence you can't do much for it. I don't know Angular enough to suggest some approach there. At best, if the modification is done via using location as opposed to window.location, you can create a fake global location variable that shadows the implicit call. I doubt that's really the case, though.
@JBis Thanks that worked :) Where do I put removeEventListeners ?
Not in the same function I imagine
OMG, I can't believe I've saved this picture. I'm sorry but you HAVE to see it. It's from few years ago when I was looking for a new place to rent and this was listed as completely normal. Behold, the kitchen with shower:
"Oof, I got so sweaty cooking. I know, I'll pop in for a quick shower."
now, thats the kind of interior design I am talking about!! We need more of those!
There was one property that had sort of like a corridor with a bed in the middle. The bed took up the whole width. I haven't saved a picture, though.
Not sure if that was a corridor or a very narrow room.
lol amazing
19:58
I don't have much experience with cloud computing other then a simple VM. Does anyone have suggestions for an instance type (AWS/GC/Azure) that is the best for extremely high bandwidth requirements and a good amount of CPU cores?
00:00 - 20:0020:00 - 00:00

« first day (3505 days earlier)      last day (1666 days later) »