« first day (3899 days earlier)      last day (1271 days later) » 

01:16
Hiya folks, is this a good place to ask express/electron related questions, or is there somewhere more specific that I'd be better off with? Cheers.
01:31
nvm, PBKAC 😂
 
7 hours later…
08:53
bruh I just tried while (1) window.open("") and that shit goes crazy lol I thought chrome had some backup for infinite main thread while loops
 
3 hours later…
11:57
@MikeJack Oh boy, that reminds me of the dotJS 2017 conference talk by Feross Aboukhadijeh where he was making The Most Annoying Websiteâ„¢. He mentioned that Window.prototype.moveBy and related methods are synchronous, and moving multiple windows in an interval heavily slows down and eventually crashes Chrome.
 
2 hours later…
13:42
Hi guys, I need some help in accessing files on server. I was given access to a server via filezilla where a react application is hosted. I have never used filezilla before and I have little experience in working with c-panel. How can I access the files displayed to the end user on filezilla? I checked the public_html folder and it seems like there is no html/css files in there. Can anyone give me a guidance please?
 
2 hours later…
15:31
Can someone tell me how to sort array which is observable (rxjs) ? I'm trying to do it in Angular. When I have a service with observable array. And try to sort it from component.
how to do it without creating new observable?
 
7 hours later…
22:05
@RifkyNiyas ask whoever gave you access where the files are
22:33
Anyone know much about webpack?
Im trying to auto bust the cache every time I do an update to production because sometimes it causes errors
Im trying doing output: {
        path: path.resolve(__dirname, 'dist'),
        publicPath: '/',
        filename: 'index_bundle.js?t=' + new Date().getTime(), // This will be the created bundle file that webpack creates for react to use in production changed from index_bundle.js to [hash].js
        clean: true
    }
@lovgrandma 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.
include a contenthash in the filenames
I tried that originally
what was the problem?
[name].[contenthash].js and some of my css wasn't loading properly
headache
22:35
so did you try to figure out why that happened?
I think I know why. I think it'll at some point be necessary for me to use MiniCssExtractPlugin
And I really wasnt trying to install another plugin, Im betting it was bootstrap not loading in order for some reason or not loading at all
if you import css files from js files then yes, you indeed need that plugin
ah ok. Welp. Thats clear. But its weird because a lot of my css was working
But, in any case I'll try that then
and then use contenthash
i was just a bit confused because when I appended the time in ms at the end of the js file it didn't show up in the actual production file. All I got was index_bundle.js instead of index_bundle.js?t=######## but w/e. Its better to use contenthash anyways for long term

« first day (3899 days earlier)      last day (1271 days later) »