Here I am having the two steps of web pages each page consists of bootstrap cards. In the first page the user can select any one of the given cards and after clicking next the second web page the user can click any no.of cards now my requirement is even If I navigated to second page and click on ...
morning guys, any ideas how I can have an input field always selecting the text that users writes into ? now user have to hit the TAB button in order to come back to input something into that field...sorry if question too confusing
How to apply the ag-grid js to ag-grid angular code by displaying a new data?
Here's the code:
list.component.ts
columnDefs = [
{
headerName: "Style/Machine",
field: "code"
}
];
monthNames = [
{
"monthName": "January"
},
{
"monthName": "Februa...
@Khushwantkodecha 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.
function buildFunctions3 () {
var arr = [];
for (var i = 0; i < 3; i++) {
var obj = {
j: i
}
arr.push((function (j) {
return function () {
console.log(j);
}
}(obj)));
}
return arr;
}
var fs = buildFunctions3()
fs[0](); // { j: 0 }
fs[1](); // { j: 1 }
fs[2](); // { j: 2 }
Can someone tell me why are they outputting like that?
According to my understanding obj are passed as reference, and when you pass object to function that pushes function to array, it is passed as reference so, when I change the object it should be reflected, but still somehow it is not?
@Neil Now it is giving what I thought it should. Thanks for clearing it up, little mistake can have large consequences, I thought somehow original values are being closed even though obj is passed as reference.
I have two screens stacked vertically that I need to render an electron app to. The displays are 1920 x 540 but only accept 1080 video signal so the screens only show the top half of the screen. I need to account for the bottom half of the screen missing and draw empty space there inside my app to make the software look seemless. Any ideas how to do this in HTML, JS and CSS?
Have you read the issue and the links I placed? It may be the purpose of EME, but it does not belong as a standard from the w3c, as it limits people's abilities to implement the web, fully
Heya, I have an health check function for an http service which uses AWS alot (s3, sns, sqs etc) . If any one these doesnt work because of connection or authentication issues, the health check must return false. How can you check that the AWS is healthy?
So you ever had a situation where you want to add multiple links to your profile but it only allows for one? Fear no more! LinkList allows you to create a list of links to your various social media accounts, websites, or anything else listed on a single unified page. Add this link to your profile and allow people to view a list of all your links!
@forresthopkinsa I don't expect a reversal, rather for google and microsoft to change their business models around their drm implementations to make them more freely available to new browser projects
But we'll see. I honestly don't expect it to go anywhere, but I at least want to voice my opinion
> [...] or we petition Google and Microsoft to make their CDMs more freely available. Microsoft's fees for use of PlayReady are completely asinine, and apparently Google's communication surrounding Widevine is sparse and inconsistent.
> I don't know enough about DRM to be able to offer any insight into what Jbis was saying about how it works under the hood, but we all know that security through obscurity is nonsense.
Exactly. I think DRM maybe bullshit security. If it is, an open source solution won't be possible.
From what I have read, files are encrypted using AES an then is decrypted by the CDM client side. Client must have they key.....so all I/someone with more skill got to do is edit the assembly of the CDM and they should be able to access to key.
I am trying to understand how DRM works under the hood. There doesn't seem to be much information about it on the web so I figured I would ask here.
After some attempted research, I found it extremely difficult to find any information regarding how Widevine or FairPlay DRM actually works. There...
@ShrekOverflow Hi! I am not too sure where to apply. Is there an internship application or something? Would need to be remote and depending on the work load I am not sure when I could do it.
If they are really lenient/light with assignments then i can probably do it during week. But if its more than that a summer internship maybe better. I would have to look into that more.
maybe i could help a specific team (security or maybe UI)
As far as we know, Mike Pence didn't bomb Iran to economically help himself while lieing to the American people that there were weapons of mass destruction there and bury evidence to the contrary
also we aren't torturing people (that we know of)
As bad as trump is, i would take take him for 8 years rather than bush for a year
Mike Pence isn't cunning enough to compare to Dick Cheney
this isn't quite another Iraq situation because in that case, the administration did a bunch of shady stuff to try to justify the conflict, and they did it hoping to get money and power out of it. They were generally sneaky and had hidden motives
in this case, Trump hasn't been sneaky at all, nor has he made any effort to justify the bombing; he did it because he wanted a conflict, and that's about it
wars win reelections, and (modern) republicans like brute force solutions to tricky international problems
Anyone any experience with ssh (and synology/dockers)? - And entrypoint script works perfectly fine when starting a docker locally, but when using ssh to start one in a synology nas it gives the weirdest error.