« first day (3372 days earlier)      last day (1798 days later) » 

00:48
@forresthopkinsa You'll be happy to hear, I have decided to learn Kotlin!
 
1 hour later…
welcome
thanks
Why is there such room that people need to be nominated before entering the room
they have their reasons
but here all is welcome to chat!
lame
That's bully
lmao
 
3 hours later…
04:51
Hello Can anyone help me?
0
Q: How to retain the background color of clicked bootstrap cards in a wizard type web pages?

G.LakshmiHere 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 ...

Please read this question even I specified the working code in codepen.io
05:19
Please help me read the above question even I am storing the details in the local storage also codepen.io/lakshmi123__/project/editor/XkBqaa#0 see this link once
 
4 hours later…
08:52
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
ABC
ABC
09:09
1
Q: How to apply the ag grid js to ag grid angular displaying a new data in angular grid

ABCHow 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...

can anyone help me
?
thanks in advance
09:37
Hello World!
Anybody with good reactjs knowledge?
3
10:23
@GunthervonGoetzenSanchez yes i am.
@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.
 
2 hours later…
11:54
HI there
    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?
@SurajJain you're redefining obj at every loop
But it is var, how is it getting redefined?
var are function scoped.
in the console do, var a = 5;
then do var a = 8;
see what the value of a is
oh, you are right, so basically new object is being created.
12:05
yep
let me move the declaration part above.
but you're right, it should be passed as reference
Morn
@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.
hence they added let
12:22
let there be let
const squad arrived
@KarelG yeah.
if you are in a terminal
and you do "less readme.txt"
and you get back out of it?
@Permian hit the q key
I guess we do Unix help now lol ;)
12:49
XD
join the superuser stack and join the general room there
"I just opened vim, and now I'm trapped"
q!
anyone having experience with ML using js
or maybe integrating ML with js framework for web
demonstration purposes
I'm intrigued, why would you want to do that?
oh
what would you want to demonstrate?
I did a few things using Python and then d3 for visualization
as well as jupyter notebook
say i have some trained model in python and now i want to bring it to web
i dont want to use flask or django
well what do you want to bring to the web?
just the results?
12:55
users could use that model say wrt inputs and get output
I am still beginner in ML though
well you'll need a webserver that can start your python process then
there's loads of ways to do that
so a model is preserved say in .pickle form
but isnt it accessible only through python
am i right?
@user123 just q! won't help ;)
you need to enter command mode
:q!
of course
hmm, I actually never did this, but it would be interesting. Django would be my first bet I guess, but I'm sure there's some middleware one could use
13:11
@M.Doe ! is not needed
13:28
Uhh @KarelG it is
I don't need it
Maybe its in ur vimrc
but out of the box u need to press esc > :q!
esc > q! wont do shit
you need the : but not necessarily the exclamation mark
consult the man page man.
Rob
Rob
The ! forces a quit if there are unsaved changes... if I can remember from uni 10 years ago
13:31
the : is optional
@Rob we're talking about leaving in less mode
I feel like vim adds the : itself, no?
Just hold down the power button
it's not really my editor of choice
pull the plug
@GNi33 the less command uses termcap
yeah I was talking about vim
with less a simple q suffices
13:33
in vim, you need : yes. And in command mode as well 😉
14:10
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?
;)
we were both right
give me that tails f
14:27
@JimmyLeahy They used to have monitors that you could rotate like a smartphone.
They died out because no one had any use for them
I think this was before smartphones became popular.
did Samsung not come with a new oled TV screen that you can rotate 90 degrees recently?
Did they? I'm not sure.
> Samsung just revealed a new rotating TV that's like a giant smartphone for your living room
¯\_(ツ)_/¯
@KarelG that strikes me as odd
I mean really it's just a smart tv on its side, isn't it? but still..
15:07
Un-F*** The Web - Abolish DRM: github.com/w3c/encrypted-media/issues/465
The title is unprofessional in the face of the w3c, but the title is meant to catch peoples' attention
@ndugger Well, is it not the purpose of EME ?
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
15:26
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?
@BenBeri you keep a application-wide status which keeps track of the result of the last call
then you update it with each call
There is no built in function or for e.g like you do to db empty version(); query?
not that I'm aware
it definitely wouldn't be part of the AWS framework
if you can't authenticate, what are you going to be able to check?
@ndugger You have some inaccurate info there. FairPlay is Apple's DRM not microsoft.
15:54
I left a comment
16:14
New idea tell me what you think
ndugger I think you're a little late to this issue
the time to fight this was like three years ago
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!
I know, but just because something bad has happened doesn't mean we have to just roll over and accept our fate
No, but if the EFF couldn't prevent it after putting all their weight into their protests, then I imagine it'll be pretty challenging to rollback
@JBis thanks for the notice on the PlayReady, I've updated the post
Got my wires crossed
16:16
@JBis Neat
@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
so e.g. make Widevine more attainable?
Probably
that seems more realistic
cool
> [...] 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.
16:17
right
but at the same time
I still think trusting google is a bad idea
> Formal Objection: Abolish DRM
Microsoft charges an up-front $10k fee for use of PlayReady, with a $0.35 fee for every distributed application, which would be per user
which is just plain fucking dumb
open source if possible is best
Nah, I'll leave the title for now
I can change it later, but I like the attention getter
16:21
Feel free
@forresthopkinsa thanks. do you think it's a real issue?
I just think it might be clouding your meaning, if your message is that you want DRM to be more attainable
@JBis I think there's probably a valid use case for it
e.g. I don't have a home page because I'm way too lazy to put any effort at all into it
cool maybe I'll make it
I'd check to see if it's already a thing though
can I just say that Github is a joy, and a huge improvement upon its predecessors
Github is one of those sites where I'm just consistently pleased with it
I agree, but I wish they'd improve the code analysis feature (see where methods are defined, etc) and more stats about stuff. But overall really good.
16:33
I don't see that as a necessary feature because if I'm analyzing code I'll generally just clone it, but it would be a cool bonus to have that
@JBis this is great news :D
caniuse isn't working
16:51
Working for me
working in incognito, I guess one of my extensions must be misbehaving
> 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 going to ask on InfoSec SE.
17:14
@forresthopkinsa @ndugger
0
Q: How does Widevine, FairPlay, and other DRM's work under the hood?

JBisI 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...

might as well see if anyone knows anything before venturing off to make an open source drm
thanks. My guess is no one is going to be able to give a full answer unless someone at Google is willing to break their NDA and risk their job.
17:39
I'm sure the basics are public info, I just don't know where to look
People crack DRM all the time, they wouldn't be able to do that if they didn't know how it worked :P
 
1 hour later…
18:52
@JBis Yay!
did yu apply to auth0 yet?
19:21
@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)
19:48
@Cereal ok it is you
I thought your name was something closer to your real name on here
why is this stared lol
10 hours ago, by Gunther von Goetzen Sanchez
Anybody with good reactjs knowledge?
20:08
@Loktar o/
byeLotar\p
20:24
I'm a bit confused
All libraries i found do qr code scanning that way ^
I have a couple questions. Firstly, how does that even run without freezing the browser?
it recursively calling a function that takes a frame from a video element, processes it, and then draws it to canvas
Secondly, in my browser (firefox) it uses 82% cpu usage
probably because of the aforementioned issues
Why is it being done this way? Can't i just add a delay? Not every frame needs to be processed even if drawn.
20:41
is wwiii a topic here?
sure
is it really that different from what happened with Irak after 9 11?
yes
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
Idk, it seems Iran finding oil fields last year and this coming up right now, too much of a coincidence maybe?
iran is in the middle east theres oil everywhere
21:02
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
21:21
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.
never used synology
what's the error
Well in a shell script I add packages (apk add --virtual .init-deps PACKAGE).
however immediately upon adding the second it purges all other packages.
I've made a question for it now: stackoverflow.com/questions/59671687/…
does the same thing happen if you open an interactive shell to an alpine container on your nas
21:42
Same problem happens.
I'm trying to trigger and listen for a custom event with parameters. I can catch the event, but I can't get the parameters.
Bind the function?

« first day (3372 days earlier)      last day (1798 days later) »