text
stringlengths
70
452k
dataset
stringclasses
2 values
Using VBA to Loop Through Sheets with a Specific Name I am trying to build a macro to run through a file and open a userform for every sheet that has the name "File-n" where n is an integer. I've tried this code, but it doesn't work: Dim WS As Worksheet Dim indx As Integer For Each WS In ThisWorkbook.Worksheets WS...
common-pile/stackexchange_filtered
select multiple option then display option related value on next select box I have multi selected drop down box which fill State list and I want to if I will select multiple select State then Selected State related cities are display another drop down box. For Example if I am select DELHI and UTTER PRADESH then both St...
common-pile/stackexchange_filtered
SQL rolling period of 20 days I was wondering what is the best way to find, if over any continuous period of 20 days, the number of events exceeded 10. I am trying to write an exception report but cannot figure out a logic besides using a loop. I have included the schema for the table. ID |StartDate |EndDa...
common-pile/stackexchange_filtered
Is there a way to set an Enumerated Property in a class to All available enums? First things off, I had no idea what to title this question - I'm even confused how to state it. Now for the question. Let's take the System.IO.FileSystemWatcher class where you set it's NotifyFilter property: this.FileSystemWa...
common-pile/stackexchange_filtered
How can I fix or reset a broken plasma-x11 login? I am was a happy Plasma-X11 user on ubuntu 22.04 until logging in crashes the UI. Scenario that breaks every time: On the login screen, I select my username, select the plasma-x11 DM and login with my password. Screen goes black, no mouse cursor, stays black and borks ...
common-pile/stackexchange_filtered
Unable to make resizeable div with default width inside webkit-box flex container I want to get a div container with default width (400px). If screen size is smaller, than that (smaller than 400px in width), then div must shrink. To do this, I'm using max-width css property: <div class="parent_2"> Text </div> .par...
common-pile/stackexchange_filtered
Sub-setting data table using & and grepl I've got a data set with column names like: names(d) [1] "Code" "LX(RI)" "LX(VO)" "LX(MV)" "LX(WC189)" "LX(WC035)" [7] "NX(RI)" "NX(VO)" "NX(MV)" "NX(WC189)" "NX(WC035)" "AX(RI)" [13] "AX(VO)" "AX(MV)" "AX(WC189)" "AX(WC0...
common-pile/stackexchange_filtered
Nuxt site on GitLab Pages blocked due to MIME type I've seen other similar issues here, but as I am using GitLab pages for the first time, I wasn't able to find any setting to make changes there. The problem I am having is the errors on Firefox: The resource from “https://MYNAME.gitlab.io/_nuxt/08d802b84f0f5505a72c.js”...
common-pile/stackexchange_filtered
Change in executable (*.exe) size while transferring file from one PC to another I am encountering a strange issue with en executable file. When I transfer this executable from PC A to PC B using IP messenger its size changes. Functionally, it still behaves in the same manner. Again, when I further transfer the file fr...
common-pile/stackexchange_filtered
/usr/bin/gem:8:in `require': no such file to load -- rubygems I install and uninstall ruby 1.8 and 1.9, and install again, and now i am lost... The 'gem' doesn't work... This is the only message i get: /usr/bin/gem:8:in `require': no such file to load -- rubygems (LoadError) from /usr/bin/gem:8 gem -v - give bac...
common-pile/stackexchange_filtered
Where are the default methods of interface stored in memory? I have gone through a number of posts, but all seem to answer that where are the static methods of an interface stored. However, an interface can have abstract, static and default methods. I know about static and abstract methods. But, I am not able to find a...
common-pile/stackexchange_filtered
How to open Chrome Custom Tab in a Dialog in Android Application In my current Android application I have a requirement to open a DialogFragment to display a list of results. Each Result has an associated url that explains the item in more detail. I can open a Chrome Custom Tab with this url, however it closes the Dial...
common-pile/stackexchange_filtered
Why is my implementation of the Sieve of Atkin overlooking numbers close to the specified limit? My implementation of Sieve of Atkin either overlooks primes near the limit or composites near the limit. while some limits work and others don't. I'm am completely confused as to what is wrong. def AtkinSieve (limit): resul...
common-pile/stackexchange_filtered
Date issues with quantmod getSymbols.csv? Im uploading files to R using the quantmod function getSymbols.csv. however, once i have uploaded the files, the dates seem to get lost and all the dates are the same. I use the following code to upload the 100 stock symbols: getSymbols.csv(symbols, env=parent.frame(), dir="E:/...
common-pile/stackexchange_filtered
Add square brackets around tag name This post inspired by discussion on meta.ruSO and initially was only for localization purpose on ruSO. Now I think that this idea could be useful (or at least should be discussed) for entire Stack Exchange network. Text in the description for the tag badge in the user profile page do...
common-pile/stackexchange_filtered
Why doesn't the whole volcanic cone appear black? Cooled lava looks black, but why the whole volcano, even near crater, doesn't always appear black like cooled lava? Please [edit] your question and insert a pic to show what you mean. If you don't have enough rep yet to insert pictures here, put it on a generic hosting...
common-pile/stackexchange_filtered
Jesse's real bad luck! Why Jesse always coincidentally comes in contact with those people who are related to drug business or drug addicts. Even Jane who seemed like a real nice girl was a Heroin addict. If Jane would have been a clean girl, Jesse would have had some chance of reconstructing his life. Even they planned...
common-pile/stackexchange_filtered
Bibtex saying I couldn't open style file .bst When using bibtex (out of texmaker) I get the error "I couldn't open style file spbasic.bst". With spmpsci instead of spbasic it's working, but the situation for both is the same: spmpsci.bst is in folder /usr/share/texlive/texmf-dist/bibtex/bst/spmpsci and spbasic.bst is ...
common-pile/stackexchange_filtered
Where can I get challenging exercises for Naive Set Theory by Halmos? the title says it all. I am just filling in the 30 characters required amount. Here? Or here? Or here? thanks. I am once again filling in the required amount. There is a book by L. E. Sigler, Exercises in Set Theory, that is explicitly designed to...
common-pile/stackexchange_filtered
CyberAgent/android-gpuimage: How to implement parallel filter pipeline? Using GPUImage in iOS I can apply multiple filters like this: two parallel filter pipeline by code: [videoCamera addTarget:filter1]; [videoCamera addTarget:filter2]; [filter1 addTarget:filter3]; [filter2 addTarget:filter3 atTextureLocation:1]; [fil...
common-pile/stackexchange_filtered
Can I pet dogs? In Zelda Breath of the Wild you find dogs around stables and other various locations and when you feed them, they bring you to a chest. I know that I can give it food and play with it but I want to show my appreciation for this by petting it. How does he know that he is a good boy if I can't pet him? ...
common-pile/stackexchange_filtered
How to scroll the page left to right in selenium for different div tags I am trying to scrape all the apps url from the target page:- https://play.google.com/store/apps?device= using the below code:- from selenium import webdriver from selenium.webdriver.chrome.service import Service as ChromeService from selenium.webd...
common-pile/stackexchange_filtered
R formula paste condition I want to paste a formula in R out of two different vectors which has a condition. Pasting a formula out of a vector containing the coefficients is ok but I don't have a clue how to add the conditional terms I have tried to manage the problem with paste and paste0 f1 <- c("x1", "x2", "x3") f2 ...
common-pile/stackexchange_filtered
How does hashing algorithm convert hash to array index? I am trying to understand how can I create my own hash table. If I understand how to implement hashtable, I would need something like this public class HashBucket { public object Key { get; set; } public ICollection<object> Values { get; set; } } Then the ...
common-pile/stackexchange_filtered
What is the significance of the cat? In Way of the Dragon, Chuck Norris and Bruce Lee fight. This scene is not comedic; yet there are numerous cuts to a cat. At one point at the end, the camera actually zooms in and out on the cat! What is the importance of the cat? I'd love an answer to this one! I always crack up...
common-pile/stackexchange_filtered
Change card's title without affecting the other element I want to change the card's title which is Main Title into 2nd Title everytime the user selects an option in the dropdown. Here's my code. HTML: <h3 id="title" class="card-title">Main Title <span class="badge badge-primary" id="counts">0</span> <span class="floa...
common-pile/stackexchange_filtered
How to rotate Annotations when converting HDF5 files to dm3? I am working on converting Velox file (HDF5) to .dm3 file using Tore Niermann's plugin (gms_plugin_hdf5) to read string. Annotations on HDF5 file also need to transfer to .dm3 file. HDF5 file maybe rotate in any angle. But the position coordinate of annotatio...
common-pile/stackexchange_filtered
Populating AWS Alb Ingress Annotations from ConfigMap I am creating a 'alb.ingress' resource as part of my Helm chart. apiVersion: extenstions/v1beta1 kind: Ingress metadate: annotation: alb.ingress.kubernetes.io/certification-arn: $cert_arn alb.ingress.kubernetes.io/security-group: $sg ... The values re...
common-pile/stackexchange_filtered
How can I expose an API from my Corvid site? I recently built a Corvid site that shows some inventory listing for a client using a dataset. The client wants to access that data from a third-party app, and for that I need an API that returns the inventory. How can I expose a REST / HTTP API from a Corvid site? You need...
common-pile/stackexchange_filtered
Force VSCode CMake Tools extension to use "Unix Makefiles" for the generator By default, CMakeTools picks a generator of his choosing. In my system, by default, CMake Tools is picking Ninja to be the generator, instead of the desired Unix Makefiles (stored in CMakeCache.txt as CMAKE_GENERATOR:INTERNAL=Ninja) Supposedly...
common-pile/stackexchange_filtered
Convert multiple year and month pay data in a monthly sum R In R: I had two files that I have joined. Both contain commission pay data, I had two files because the pay structure periods of the jobs codes were different. For example, all the job codes in file one are paid commission monthly and all the job codes in file...
common-pile/stackexchange_filtered
Trying to use KeyPress with arguments but don't know how to pass args correcly I want the program to exit when I press Escape, the way it is right now, just close whenever a press anybutton. Here is my code game.KeyPress += (sender, e) => { game.Exit(); }; I using https://github.com/ppy/osuTK this as reference in my p...
common-pile/stackexchange_filtered
undefined method `[]' for nil:NilClass when using Warden after authentication I have the following super basic rack application using warden as authentication. require 'rack/router' require 'warden' require 'ostruct' require 'mustache' class BadAuthenticationEndsUpHere def call(env) Rack::Response.new( Mus...
common-pile/stackexchange_filtered
Question about Q-analogs I am trying to prove the following Given $n \in \mathbb{N}$ we define $[n]_{q} = (1-q^{n})/(1-q)$. We also define $[n]_{q} ! = [n-1]_{q} ! \cdot [n]_{q}$, with $[1]_{q} ! =1$. Then I want to prove the following Given compositions $\lambda$, $\mu$ we say $\mu \geq \lambda$ if $$ \lambda_{1} = \m...
common-pile/stackexchange_filtered
How do I embed Google Analytics in a dashboard? There seem to be 3 methods as listed below. The third is superior for what i'm after. How does it work? Where is this process documented? using the Google Embed API like shown in the "Basic Dashboard" example Embed API documentation. It uses a one click login method and ...
common-pile/stackexchange_filtered
What is this four-petal lavender to white flower? This 4 petaled flower is growing in partial sun, slightly on the moist side. Stalk is 2 to 5 feet high. Blooming in May in Oregon. Flowers range from white to medium lavender and have a slight pleasant fragrance. Don't know if is a self-seeding annual or a perennial th...
common-pile/stackexchange_filtered
android first tab intent oncreate always called regardless we set tab2 as default tab Following is the example of tabs with intent data. While debugging i found that always when first tab we add in tab host in our case following tab tabHost.addTab(tabHost.newTabSpec("tab1") .setIndicator("list") ...
common-pile/stackexchange_filtered
Saving Excel VBA Userforms as PDFs I have created a userform in Excel which works Pretty well. Unfortunately, I´m having Troubles with saving the forms. The Idea is, that several collegues can use this form, so having a Standard saving Folder or drive is not working because not all collegues have Access to all drives. ...
common-pile/stackexchange_filtered
Unable with an upload script that uses a version of jQuery I'm using Bootstrap that has its own jQuery file, but I need to use the code below in my webpage to get the uploaded file's URL . The problem is, as you can see, it uses the 1.7 version of jQuery, and won't work at all with Bootstrap's version. I'm now in front...
common-pile/stackexchange_filtered
MySQL Update from PHP form As a novice MySQL user I tried to insert, but I just read on the MySQL documentation that you can only insert on blank rows. My UPDATE statement needs work though, and I'm not sure that I have the syntax correct. $query3 = "UPDATE `offices` SET `scash`="$total" WHERE `officename`="$office"";...
common-pile/stackexchange_filtered
Meteor: Composite publish to get data from two collections I try to use reywood:publish-composite. But something I'm doing wrong as I want to load the article-data and the assigned literature-data. I think my main problem is to set the route correctly to get the data into the variables, which I could use in the templat...
common-pile/stackexchange_filtered
graphicsmagick composite and crop in the same command I need to get a specific crop of an image and put it over another image at a certain position and resized. I can crop the first image and save it to a file in one command and then I can composite the 2 images in another command. However, I would like to do it in a s...
common-pile/stackexchange_filtered
Multiple items with the same ID in the view - ZF2 I am building a web application using ZF2 and Doctrine. I have a view containing a base form to which the user can add multiple instances of a fieldset, the filedsets are added via HTML template and js cloning. We are making use of the Doctrine hydrator and cascade=pe...
common-pile/stackexchange_filtered
Complement of a knotted torus in $ S^3$ Let $T$ be a solid torus and $K$ be a knot. Suppose $i: T \rightarrow S^3 $ be an embedding of $T$ such that it is homeomorphic to regular neighbourhood of the knot(i.e., thickened knot). Now, how does the complement of this embedding $iT$ look like? I think it will also be a sol...
common-pile/stackexchange_filtered
What type of series is $A_1 + A_2 n + A_3 \frac{n(n+1)}{2}$ I am solving a coding problem and I break it down to a point where I get a series like this: $$A_1 + A_2 n + A_3 \frac{n(n+1)}{2} + A_4 \frac{n(n+1)(n+2)}{2\cdot 3} + A_5 \frac{n(n+1)(n+2)(n+3)}{2\cdot 3 \cdot 4}$$ Now can this series be further broken down to...
common-pile/stackexchange_filtered
Does an interaction of entangled particles with each-other cause decoherence? I'll apologize in advance if this is not an appropriate place for my question. My background is not in physics, and my understanding of quantum mechanics is extremely rudimentary at best, so I hope you'll be forgiving of my newbish question....
common-pile/stackexchange_filtered
Why doesn't LinkedHashSet implement List? To my understanding, a List is an ordered collection of items. And a Set is a collection of unique items. Now my question is, why does LinkedHashSet, which describes an ordered collection of unique items, implement the Set interface (=> unique), but not the List interface (=> o...
common-pile/stackexchange_filtered
Problems with JavaScript parseInt and WSH I'm having trouble with a Windows Scripting Host script. Here is an example of problem input code: WScript.Echo(typeof(parseInt('woot'))) WScript.Echo(parseInt('woot')) The output is: number 1.#QNAN Shouldn't 'woot' be evaluating as a string? How can I get around this limitat...
common-pile/stackexchange_filtered
Is it bad to allow my team to develop more knowledge and skills than I? Can there be any kind of negative implications if I am the manager (formerly the employee with most experience on the product, but also the most senior in the company within the team), but over time I allow my team to grow so fast and with so much ...
common-pile/stackexchange_filtered
Does Ansible's systemd module a `daemon-reload` before starting a service? I have a playbook where I first copy a new service file to /etc/systemd/system/ and then start the service. Normally, I'd have to run sudo systemctl daemon-reload before starting the service. There is a daemon_reload parameter to the systemd mod...
common-pile/stackexchange_filtered
Delete the begin of a CString I receive file paths in the form of a CString. For Example: C:\Program Files\Program\Maps\World\North-America I need to remove everything before Maps. I.e C:\Program Files\Program\ but this file path could be different. I tried: CString noPath = fullPath; fullPath.Truncate(fullPath.Reverse...
common-pile/stackexchange_filtered
Add custom column at custom posts list I want to have a column (e.g Send Email) in my custom posts (books) list. In each row there should be a button (Send) and when I click on it I want to send an email. I have seen is a hook manage_posts_custom_column to add custom column but this hook only adds post meta as columns ...
common-pile/stackexchange_filtered
Tell if a sum is convergent $\sum\limits_{n=1}^\infty \frac{2}{n(n+1)}$ $$\sum\limits_{n=1}^\infty \frac{2}{n(n+1)}$$ I tried to solve this by saying that $$\frac{2}{n(n+1)} = \frac{2}{n} - \frac{2}{n+1}$$ I then made two sums like this: $$\sum\limits_{n=1}^\infty \frac{2}{n} - \sum\limits_{n=1}^\infty \frac{2}{n+1}$$ ...
common-pile/stackexchange_filtered
How to discover why a FileNotFoundException is thrown if the file is in the directory? This is server side code: import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.ServerSocket; import java.net.Socket; public class Server extends Thread { public s...
common-pile/stackexchange_filtered
Custom Product Template breaks options in Bigcommerce Stencil After creating and assigning a custom product page template to one of my items, the JavaScript for this page breaks. The JS removes a display:none style on the product options container. Any idea why this would happen? What theme and version are you using? ...
common-pile/stackexchange_filtered
Having trouble understanding PostgresSQL relationships between tables I have built a SQL database before, but for some reason I am having trouble visualizing how to properly set up this database. Agencies have Agents ( An agent can only be part of 1 agency at a time, but because bonds may last years, and the agent may...
common-pile/stackexchange_filtered
How to do variable change for a general Fourier series? I failed at first step :( Well, firtly, I think I should define a general rule for Fourier series, but I fails. Below is my code including several attempts. Anys helps are greatly appreciated, thanks. (*try 1*) (*f/:Integrate[f[t]E^(-I k_ t_),{t_,-Pi,Pi}]:=2Pi \ F...
common-pile/stackexchange_filtered
How to execute tcl script from php page and retrive the output back My project requires where i need to generate a front end (php) which has all the data input fiels. And using those data as input, I need to execute a TCL script. Once the execution is done, the php page should be able to get the output of the TCL scrip...
common-pile/stackexchange_filtered
C++ Command Line Argument Identification I need to be able to tell if the final argument in my command line is surrounded in double quotes or not. If it's in double quotes, I treat it as a string. If it's not, I need to treat it as a file to open and obtain the string. Argv by default will grab the double quoted str...
common-pile/stackexchange_filtered
AZ Directory posts directory index I would like to create an A to Z index of posts in a certain category. This must include a linkable directory of letters ABCDEF .... etc and a list of articles ordered by title grouped by letter. for example A A first article A second article B B first article B Second aericle ...
common-pile/stackexchange_filtered
angularjs using single controller with two views So I have this situation where I have two views. One view takes several inputs from the user, the second view shows the results of the inputs after performing some calculations. Since both the views fall under different divs I have to define same ng-controller for both o...
common-pile/stackexchange_filtered
Mongoose findByIdAndUpdate fails, returns null I've got a Mongoose schema for an object called Plot which works fine when it comes to saving. However, when I try to update those plots with the code below, it fails, returning null: exports.updatePlot = async (req, res) => { let updates = { ...req.body.props }; c...
common-pile/stackexchange_filtered
Burninate [limit]? I draw your attention to the limit tag. This seems to be a perfect definition of a meta tag. It's currently on 43 questions. The tag excerpt reads: For questions where upper or lower restrictions are core issues. Examples would include minimum age for viewing and maxima for rate of sending emails, f...
common-pile/stackexchange_filtered
Can a legendary monster/NPC use a "free object interaction" as part of a legendary action? By the book (PHB p.190): You can also interact with one object or feature of the environment for free, during either your move or your action. For example, you could open a door during your move as you stride toward a foe, or yo...
common-pile/stackexchange_filtered
Xcode 6 open Assistant Editor in New Window I feel like I have read every link on Google pertaining to this question, but none that I have read have helped. All I want to do is view my Storyboard layout on the left monitor, and on my right monitor, in a new window, have the Assistant Editor open to "Preview" for my Sto...
common-pile/stackexchange_filtered
Minimax for Tic Tac Toe in Python I am trying to implement Minimax algorithm for a tic tac toe game, the code works but minimax does not work correctly, since it doesn't pick the right moves and lets you win. If anyone could suggest why it does not work, or any general comments about the code, I would greatly appreciat...
common-pile/stackexchange_filtered
When i try to insert new value, the old value i inserted earlier gets updated. This is my code when i inserted the first value and next time when i give different value, the old one gets updated with the new one. I am trying to insert mutiple values and store them without getting them updated. How do i do that? import...
common-pile/stackexchange_filtered
What does "generally" means in "Single-table UPDATE assignments are generally evaluated from left to right"? I read this in MySQL docs for a while Single-table UPDATE assignments are generally evaluated from left to right. It's the same since 5.6 https://dev.mysql.com/doc/refman/5.6/en/update.html https://dev.mysql....
common-pile/stackexchange_filtered
How Can I install Twisted + Scrapy on Python3.6 and CentOs I use the newest Python on Centos 7, and a dedicated virtualenv (ENV) [luoc@study ~ ]$ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:prin...
common-pile/stackexchange_filtered
How to merge two different code results in R in the same output file I have to combine the results of following two codes using a single program - Book1 <- read.csv("Book1.csv" , header = FALSE) Book2 <- read.csv("Book2.csv" , header = FALSE) Book3 <- read.csv("Book3.csv" , header = FALSE) sink("output.txt") for (i ...
common-pile/stackexchange_filtered
xy tolerance from c#.net For some graph work, I need the value of X,y tolerance. I found ISpatialReferenceTolerance.XYTolerance Property. But I couldn't find any option that how can I get ISpatialReferenceTolerance interface from the map? Can anybody give me some pointer? double GetXyTolerance() { var ...
common-pile/stackexchange_filtered
How to display labels from many-to-many relationship in ArcGIS 10 using VB.NET? I have two tables in a geodatabase: parcel; and person 1 or + parcel, can have 1 or + person (relationship is many-to-many) Using VB.NET I can display all the parcel labelled with the "id" field (see picture on left). What I want ...
common-pile/stackexchange_filtered
Query string is appending when using $_SERVER['HTTP_REFERER'] Can someone explain me why when I execute this code multiple times it append the substring ?val=1 to my url? Example: My script is located in index.php and if I execute it 3 times I will have this url in my browser: http://localhost/index.php?val=1?val=1?va...
common-pile/stackexchange_filtered
Multithreaded IllegalMonitorStateException I'm writing a multithreaded tic tac toe program where a server is the connection between two clients. The server opens and waits for connections: the first client to connect is player X and the second is player O. Players have the ability to quit the game at any point, and onc...
common-pile/stackexchange_filtered
Slow evaluation of large matrix I have been trying to evaluate the matrix ce[n] in the code below but it is taking too long and still running as you increase n (still running since 6 hours only for n=5). I am interested to calculate ce[n] for n=10. Does anyone have a suggestion to solve the issue? Your support much app...
common-pile/stackexchange_filtered
Is it possible to bring a sparkline from microsoft excel into microsoft word? Pretty much trying to show the small sparkline from an excel report in a table within a microsoft word document. The only guidance that I have found so far is to convert each individual sparkline into an image. Is there a better way? You can...
common-pile/stackexchange_filtered
Animating a UISlider I'm animating a UIView, UIText, UILabel and UIImage element in my app to transition into position on button click which works perfectly. However the code I am using doesn't work on a UISlider and I can't figure out way. Can anyone help me out. My code is: [UIView animateWithDuration:0.8f delay:0.0f...
common-pile/stackexchange_filtered
Calculate Phase margin of open loop system I have this system: $$\frac{(s+2)^2}{s(s-4)^2}$$ To calculate phase and magnitude margins, I used the margins function on matlab, and it says that the phase margin is 112º. When evaluating the phase of the transfer function on the crossover frequency, I get -428º. The only way...
common-pile/stackexchange_filtered
Setting a contact to "deceased" cause the contact to lose its subtype Drupal 7 with CiviCRM 5.68. Setting a contact to "deceased" cause that the contact lose the subtype, and all the custom fields, which are visible / filled (because the contact had a subtype). How can I prevent losing subtype? Thnaks. I can't reprodu...
common-pile/stackexchange_filtered
StructureMap IOC/DI and object creation I'm building small web shop with asp.net mvc and Structuremap ioc/di. My Basket class uses session object for persistence, and I want use SM to create my basket object through IBasket interface. My basket implementation need HttpSessionStateBase (session state wrapper from mvc) i...
common-pile/stackexchange_filtered
Changing background color in vim at a certain column I'd like to be able to highlight the wrap margin/text width in vim by changing the background color (or maybe just a line?). A lot of IDEs have this. I mocked up what I'm talking about: Anyone know if this can be done in macvim or gvim? Try this: :match ErrorMsg ...
common-pile/stackexchange_filtered
WLPs MicroProfile (FaultTolerance) Timeout Implementation does not interrupt threads? I'm testing the websphere liberty's fault tolerance (microprofile) implementation. Therefore I made a simple REST-Service with a ressource which sleeps for 5 seconds: @Path("client") public class Client { @GET @Path("ti...
common-pile/stackexchange_filtered
GA4 event firing twice on Vue async method I've been trying to track a product selection on my website using vue-gtag. The event is sent using an abstraction I created called 'notification'. I've been capturing all events successfully except this one which is being fire twice for some reason. Here's the piece of code: ...
common-pile/stackexchange_filtered
Downgrade Ubuntu 22.10 to 20.04 for ROS I would like to downgrade to Ubuntu 20.04 is it is officially supported by ROS Noetic Ninjemys. What are the exact steps that I can follow without breaking my machine? There is no way to "downgrade" safely. The only solution for your system is to backup the data you want to kee...
common-pile/stackexchange_filtered
How do I make the scroll bars show up on a TScrollBox? The TScrollBox control looks like it's supposed to basically be a TPanel with scroll bars attached along the bottom and the right edge. I tried placing one on a form, but no matter what I do, I can't make the scroll bars actually appear, either at design-time or a...
common-pile/stackexchange_filtered
IOS NAT with multiple interfaces I am trying to create a DMZ type environment between two internal networks using Cisco NAT. The below configuration is working to permit the two 'nat outside' interfaces to access the dmz 'nat inside' server via the <IP_ADDRESS> & <IP_ADDRESS> hide nat IP addresses. However the server...
common-pile/stackexchange_filtered
Why label encoding before split is data leakage? I want to ask why Label Encoding before train test split is considered data leakage? From my point of view, it is not. Because, for example, you encode "good" to 2, "neutral" to 1 and "bad" to 0. It will be same for both train and test sets. So, why do we have to split f...
common-pile/stackexchange_filtered
Force between proton in a conducting shell and electron outside of shell? There's a proton inside a conducting shell and an electron outside of it. Inside the shell, there is no field due to the electron, but the electron feels the field due to the proton. Therefore the electron should move towards the immobile proton,...
common-pile/stackexchange_filtered
How can I add a header to a PDF file using iText in C#? I am trying to create a PDF using iText. I am trying to add a header that will appear on every page, but I want add some text like the report name that will be different for every page. How can I solve this problem? If you don't understand what I'm trying to ask, ...
common-pile/stackexchange_filtered
Disable Login Prompts in mod_auth_sspi_1.0.4-2.2.2 What I'm trying to do: Create a home page on our company's intranet that automatically grabs the logged-in Windows username of the person viewing the page without the person being prompted to enter these credentials when the page loads. Currently, I just want it to gr...
common-pile/stackexchange_filtered
Getting the screen brightness value in iOS 5 I've started to use the new iOS 5 brightness setter in UIScreen. Is there a getter property I can use to know what the display brightness is set to on launch? Thanks very much. The same property. These are the methods I use to store the current brightness before changing it...
common-pile/stackexchange_filtered
Bitnami Helm Chart not working due to startup probe fail I'm using Bitnami MySQL Helm Chart (Version 8.8.6) with image tag of 5.7. MySQL container is killed without any meaningful logs. From the K8s logs, the message is as below. Startup probe failed: mysqladmin: [Warning] Using a password on the command line interface...
common-pile/stackexchange_filtered
How to summarize a variable based on another column in R? I have a dataset that looks like this: study_id weight gender 1 100 55 Male 2 200 65 Female 3 300 84 Female 4 400 59 Male 5 500 62 Female 6 600 75 Male 7 700 70 Male I would like to find t...
common-pile/stackexchange_filtered
Finding nested iFrame using Selenium 2 I am writing tests for a legacy application in which there is an iFrame within the main document, and then another iFrame within that. So the hierarchy is: Html Div (id = tileSpace) iFrame (id = ContentContainer) iFrame (id = Content) Elements This is my code (I am us...
common-pile/stackexchange_filtered
AWS Cloudwatch insight shows no data I want to build a Logging Dashboard to monitor a application in AWS EC2. So I configure the cloudwatch stuff and everything looks like a charm. But when I go to the cloudwatch logs insights and create a query for the logs, I'm getting 'no data found' for every query/time range I'm u...
common-pile/stackexchange_filtered
I want to update my android app contents from my local server I am new to android programming, my problem is i am working on android app with FAQ related to Covid-19 for communities living in a remote area with no internet connection. And i want to update the information on the app from the local server which is setup ...
common-pile/stackexchange_filtered
LTI and Deterministic Channel Can someone explain me the statistical relationship of random signals with a linear time-invariant and deterministic channel to the output of the channel when having random signal as an input? If your input "random signal" is modeled as a zero-mean wide-sense-stationary random process $\{...
common-pile/stackexchange_filtered
Reverse Frames in Sprite Sheet - Imagemagick How do i reverse the frames of an sprite sheet with each frame of size 30x30 and horizontally aligned using Imagemagick? Example: https://i.sstatic.net/OIoYc.png ->>> https://i.sstatic.net/7WR9v.png (edited) Are there always just two? Do you mean to reverse the order or to ...
common-pile/stackexchange_filtered
not getting Microsoft Docs VB.NET examples anymore. They are all in C# For example, for a line in my Visual Studio 2017 Pro .vb file which is: Process.Start( my_process ) I double-click "Start" and press F1, and then the Process.Start Method page opens, but all examples are only in C#. Here's the URL it opens: https:/...
common-pile/stackexchange_filtered
Estimating error variance for simulated path analysis I want to run a simulation using lavaan and simsem to determine the sample size to use in a study using path analysis. The conceptual model for my study is as below, with 2 independent variables, 1 mediator and 2 moderators. From what I understand, the correspondin...
common-pile/stackexchange_filtered