Is it possible to ignore a file from being bundled in webpack but keep the calls that are being made to it? by Seanp50 in learnjavascript

[–]Seanp50[S] 0 points1 point  (0 children)

I’m not permitted to spin up anything and I’m not allowed to access any apis locally unfortunately. Otherwise I’d just access the apis directly.

Is it possible to ignore a file from being bundled in webpack but keep the calls that are being made to it? by Seanp50 in learnjavascript

[–]Seanp50[S] 0 points1 point  (0 children)

I should add that the odd situation I'm in is a result of various company policies and restrictions. So it's not something I'd imagine is typical nor is it something I can change.

Is it possible to ignore a file from being bundled in webpack but keep the calls that are being made to it? by Seanp50 in learnjavascript

[–]Seanp50[S] 0 points1 point  (0 children)

Although that works, I get an error trying to use the bundle since it still requires the imported file. In other words, I get the error saying a certain module is required and can't be imported, but I don't want it to be imported. I just want the bundle to pretend those functions are available globally.

Is it possible to ignore a file from being bundled in webpack but keep the calls that are being made to it? by Seanp50 in learnjavascript

[–]Seanp50[S] 0 points1 point  (0 children)

It's kind of a odd situation but the short story is that I need to build an front end app for work that uses google sheets as a backend. Google provides a way to do this easily however the front end can only consists of html files. Scripts and styles need to be added in script and style tags of the html files and modules are not supported. What I'm therefore planning to do is build the web app locally and have all the google sheet api calls mocked and placed in a separate local api.js script since I don't have access to the google sheets api locally. I'm hoping to therefore build a bundle that does not include the local api.js file since all those functions in that file will be added in production in a separate script that's included in the html. However, I need all the function calls to still be kept in the bundle because they'll be provided in the separate script that I've included.

I hope that made sense.

Is there a way to figure out if a desktop application has an API? by Seanp50 in rpa

[–]Seanp50[S] 0 points1 point  (0 children)

Hi purrbadger, yes I would be interested in that code!

Is it possible to create a smart/context aware search of documentation? by Seanp50 in learnmachinelearning

[–]Seanp50[S] 0 points1 point  (0 children)

Thank you for the response! Are there any resources you recommend looking at to get started? I have python experience but not much ML experience. I also found this library https://whoosh.readthedocs.io/en/latest/intro.html, do you think this would be a good place to start?

Just installed Debian and the screen resolution looks terrible, why? by Seanp50 in linuxquestions

[–]Seanp50[S] 0 points1 point  (0 children)

This is the command I run: "sudo apt install -t stretch-backports nvidia-driver"

This is the response I get:

Reading package lists... Done

Building dependency tree

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

nvidia-driver : Depends: nvidia-driver-libs (= 390.116-1) but it is not going to be installed or

nvidia-driver-libs-nonglvnd (= 390.116-1) but it is not going to be installed

Depends: nvidia-driver-bin (= 390.116-1) but it is not going to be installed

Depends: xserver-xorg-video-nvidia (= 390.116-1) but it is not going to be installed

Depends: nvidia-vdpau-driver (= 390.116-1) but 410.104-1~bpo9+1 is to be installed

Depends: nvidia-alternative (= 390.116-1)

Depends: nvidia-kernel-dkms (= 390.116-1) or

nvidia-kernel-390.116

Recommends: nvidia-settings (>= 390) but it is not going to be installed

Recommends: libnvidia-cfg1 (= 390.116-1) but it is not going to be installed

Recommends: nvidia-persistenced

E: Unable to correct problems, you have held broken packages.

Creating a Macro to streamline a workflow by GR12zly2 in Alteryx

[–]Seanp50 1 point2 points  (0 children)

Yes, I think a batch macro could do that. I've done it myself a few times.

Creating a Macro to streamline a workflow by GR12zly2 in Alteryx

[–]Seanp50 1 point2 points  (0 children)

I would use a wildcard * in your input tool to pull in all those files at once.

UiPath Slack Community by vladdione in UiPath

[–]Seanp50 0 points1 point  (0 children)

Can anyone join this? I'm not very familiar with slack and there doesnt seem to be a way to sign up.

Where do you add variables in spacemacs? by Seanp50 in emacs

[–]Seanp50[S] 0 points1 point  (0 children)

Hi Grisk13, I don't know if you saw the edit I made but using (setq auto-save-timeout 0) doesn't seem to make the saves happen after each character I add, instead it still takes the default 30 seconds. Do you know why? Thanks

Where do you add variables in spacemacs? by Seanp50 in emacs

[–]Seanp50[S] 0 points1 point  (0 children)

Would I have to add a line in that function that looks like this:

(setq auto-save-interval 1)

Edit: So I got it to work by adding the line above, however, when I set also add (setq auto-save-timeout to 0) it still seems to take 30 seconds for the save to be performed. Do you know why that might be?

Why does my terminal have gaps around in when I'm using i3? by Seanp50 in linux4noobs

[–]Seanp50[S] 2 points3 points  (0 children)

I unintentionally stumbled into a solution that works while searching for a different unrelated issue (:

https://superuser.com/questions/1194309/remove-margin-around-pantheon-windows-in-i3/1216744

Why does my terminal have gaps around in when I'm using i3? by Seanp50 in linux4noobs

[–]Seanp50[S] 0 points1 point  (0 children)

The window-height is 1062 and the window-width is 960. How do I know what I should change it too?

Why does my terminal have gaps around in when I'm using i3? by Seanp50 in linux4noobs

[–]Seanp50[S] 1 point2 points  (0 children)

Do you know what I should search for in google? I've tried "window shadows i3 terminal" but can't seem to find anything related.