My use case is a dependency graph in which some dependencies are what I am abstractly calling "dead ends"
As they are "consumed" (which is actually a function call to them), they let me know that they are not to be traversed further, i.e. their dependencies will not be used
so the outside world has to tell it to find the next one, then the outside world looks at that one, and then if it's a dead end, add it to the dead ends and asks for the next possibility
Does it make sense how that different from a normal topological sort, though?
So I know we're on the same page?
You could normally just pass in the graph and get it back sorted and all is well
I can't do that because of the potential dead ends, and I can't remove them because I don't know whether they are dead ends until the sort is already going
Are you saying I could just sort it then check if any of a node's dependencies precede it and if all of them are dead ends, the sort still works anyway?
If so... wow I really did make up a whole problem to solve for no reason.
The outside world can just keep up with the dead ends so that, if 2 were dead and 3 is encountered, all of 3s dependants (which is just 2) are dead ends, so it will be ignored.
Will that seriously be the case no matter what?
How did you know that? And goodnight, catch ya tomorrow perhaps
Alright, I've placed the code in hastebin so that it is much better to look at. Anyways, the main problem that I've been having is that if I take out the include that is in the object that handles web font files, webpack compiles successfully but if I include it, then it says that resolve is not defined for postcss-loader but for other loaders it is fine. hastebin.com/yebubomuru.js
Don't know why it is the case and the error message doesn't really help as I don't see any connections between postcss-loader and url-loader even though the include is the one causing the issue.
yep, even if I take all my loaders off except the one that includes the fonts, it throws resolve not defined. Oh by the way, I forgot to mention that I'm using webpack 4.
when moving between C# and JS where there's a console class, you type console.log in C# and get tons of errors and have absolutely no idea why cause it's syntactically correct. that gets irritating
<div class = "x" onclick="f1()">
</div>
<div class = "x" onclick="f1()">
</div>
When I click the first div class it is alright.
when I click the second div class, onclick for first div is also called.
How to stop this?
Something isn't true that you're telling me. We've found the dead body, we've found the weapon, we know the motive, but the killer is in Malibu.. something doesn't add up here.
@Doflamingo19 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.
somehow. Somewhere .... https got changed into http so the test fails because my filter expects https. Odd thing is that there is a filter that does http to https. Something in my unit test is reversing it. WHAT-THE-HELL 😬
Hi guys, I'm building an app with ionic and firebase and I'm stuck with a problem which I can't find a solution. The problem is with notifications. I'm using FCM to send notification and it received in all registered devices but when someone clicked the notification it opens up the app but crashes the seconds it opens. I've already put a question about it. The link is:- stackoverflow.com/questions/52607760/…
@shubhamarora 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.
@shubhamarora there isn't a high chance to get someone who ran into this particular issue here - I recommend getting some rep (by answering questions) and starting a bounty or contacting Google support.
But... maybe
@Breathing can it? Yes. Should it? No
I can dispatch any event on any element for any reason.
@Neil I started limiting my internet access for an hour before bed time - will report how it works out in two weeks
@Neil my dad is diabetic and blue light is correlated to bad glucose regulation. It's also not great for falling asleep - I also do it in the morning because I've found it's very hard to wake up to a ton of notifications after having a week without internet.
I am very happy with it so far - but I've only been doing it for a week. It's great so far at actually going to sleep when you expect to and having good mornings - but that's just my personal experience and different people will likely experience it differently.