text
stringlengths
70
452k
dataset
stringclasses
2 values
How to use substring to put the date from these numbers how to pull the date (20060807) of these numbers 1.2.840.1137<IP_ADDRESS>.8696.41870.20060807.69548508 1.2.840.1137<IP_ADDRESS>.JDI.65.1.2002816.205431857 1.2.840.1137<IP_ADDRESS>.JDI.06.8.2002816.19213160 1.2.840.1137<IP_ADDRESS>.2360.28594.200308...
common-pile/stackexchange_filtered
Why do traits in Rust require that no method have any type arguments to be object safe? Is this requirement really necessary for object safety or is it just an arbitrary limitation, enacted to make the compiler implementation simpler? A method with type arguments is just a template for constructing multiple distinct me...
common-pile/stackexchange_filtered
Orderby = none not working I'm trying to set 'orderby = none' to my loop but it is not working. Here's my code: $query = new WP_Query(array('showposts'=>2, 'post__in' => array(99,4,5,2,8,55), 'orderby'=>'none')); Could anyone help me? Thanks. What exactly is not working ? is it not rendering posts, not displaying or ...
common-pile/stackexchange_filtered
how can it change url without reload page ? how can I create an event when url changed? first, please check this url: Shopify variant options and when you change the variant dropdown option, the current url will be changed with different variant value. I tried onpopstate event and Location hash event, but all of them ...
common-pile/stackexchange_filtered
Unable to launch bluetooth chat sample app from developer.android.com on emulator I have built a project from the existing samples of bluetooth chat for android 2.3 I am aware that the the emulator does not support bluetooth. Earlier I was able to run the app on emulator. The functions didn't work, but I was at-least a...
common-pile/stackexchange_filtered
IOS: Scaling Images while Maintaining a Fixed Point I am trying to draw an image such that point (X0, Y0) in the image is at a fixed point (usually center of the screen). I am using UIImage drawImageAtPoint (I have to use rotated and multiple images that cannot be scaled to rectangle) on a UIView. This means that the ...
common-pile/stackexchange_filtered
Remove Rows Not Part of Filter I am filtering a large Excel spreadsheet. I want to remove all rows on the sheet that are not a part of the filter. I know I can copy the rows and paste them into another spreadsheet. But I would rather apply the change directly to the same spreadsheet. How do I accomplish this? Whil...
common-pile/stackexchange_filtered
What exactly is going on in Proc::Background? I am trying to write a script that automates other perl scripts. Essentially, I have a few scripts that rollup data for me and need to be run weekly. I also have a couple that need to be run on the weekend to check things and email me if there is a problem. I have the em...
common-pile/stackexchange_filtered
Finish the beautiful, ten story tower A mathematician has commissioned you to build a beautiful tower, ten stories tall, and it's almost complete! Here are the number of bricks in each level, and the layout of the steel girders. Exactly how many bricks do the incomplete levels require and why? *Note: Replace each '?' w...
common-pile/stackexchange_filtered
Angular 17 Named Router Outlet within Layout Component My Application has some generic pages like the landing or logout page which are navigatable when the user is not logged in. Those shall be rendered normally within the primary router-outlet. Then I have Pages that are for logged-in users as the core of the applicat...
common-pile/stackexchange_filtered
Determinant of matrix is a polynomial with unit coefficients Let $M$ be a $n\times n$ matrix with entries $(m_{ij})$. The determinant of $M$ is a polynomial in $m_{11},\dots,m_{nn}$. Are the coefficients of this polynomial all either $1$ or $-1$? If $M=(m_{ij})$ then $$\det M=\sum_{\sigma\in S_n}\epsilon(\sigma)\p...
common-pile/stackexchange_filtered
Instagram icon is not showing in document sharing window I am using Document Interaction API to share my photo on Instagram. I am using "igo" as my filename extension and Identifier for Document Interaction UTI is com.instagram.exclusivegram. Same code was working for iOS12.4 I've got the same problem. As for me, it ...
common-pile/stackexchange_filtered
$A = \bigcap_{\mathfrak{p} \in \text{Spec(A)}} A_{\mathfrak{p}} = \bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}}$ I'm doing this exercise. Let $A$ be an integral domain, then prove that $$A = \bigcap_{\mathfrak{p} \in \text{Spec(A)}} A_{\mathfrak{p}} = \bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\ma...
common-pile/stackexchange_filtered
How do I get 'api.example.com' I am using NextJS and my understanding is that both the front-end and backend exist in the same location. For development, this would be both http://localhost:3000/about for any user who wants to visit the about page. However this means that any API routes I have in 'pages/api' will be vi...
common-pile/stackexchange_filtered
I can show my Folders in Windows8, but I can't in Ubuntu, Why? I have installed Windows8, then I installed Ubuntu 12.10, all partitions are appeared well in Windows8 & Ubuntu. I have C which have Windows8 system, and (D & E) as an extended partitions and Ubuntu two partitions (File-system & Swap) I can see folders in a...
common-pile/stackexchange_filtered
Official GCP statement about (non) exposure to Solarwinds Orion vulnerability? We've tried to find something like an "official" statement from Google about GCP's exposure (or lack thereof) to the recent Solarwinds Orion hack. We're a GCP customer but don't have a support package. Other than purchasing a support packa...
common-pile/stackexchange_filtered
PulseAudio - Speakers crackling in ubuntu minimal install I have installed Ubuntu minimal. My speakers setup is 5.1. When I use FFplay to play a clip, I get a crackling sound. The sound is working perfectly in a full Ubuntu desktop install. But when in Minimal, I installed alsa and pulse audio, I get the crackling soun...
common-pile/stackexchange_filtered
Android java set number of decimals I've a variable price which is defined this way: double price; price = 7.6; Up to here everything is right. The problem is that when I make this: price = 7.6 * 3; What i get is price = 22.799999999999999999999999997 instead of price = 22.80 which is what i need....
common-pile/stackexchange_filtered
Read .tiff to byte array in memory and then conver to image I have been handed a project that involves reading records from an Access database table and placing this information into a large PDF booklet. One of the columns in the Access table is a MEMO column that contains .tiff image information. I gathered this from ...
common-pile/stackexchange_filtered
How to write a hook to transform each image reference on export? This question https://emacs.stackexchange.com/a/27065/13217 explains perfectly how to embed base64 image inside of an HTML exported document, and it works great. I wonder now how could I automate this process for each image file referenced in my document...
common-pile/stackexchange_filtered
Anaconda doesn't list package installed by pip I'm trying to setup elasticsearch package on my system. It isn't available through conda install - package is missing in current linux-64 channels. So I installed it via system pip, and that works fine: $ which pip2 /usr/bin/pip2 $ sudo pip2 install elasticsearch ... $ pi...
common-pile/stackexchange_filtered
Is there a way to compare variables in a class I'm having a problem with comparing variables in a class I made when I call print(t2.between(t1, t3)) This is the error I get: Traceback (most recent call last): File "e:\CS-OOP-Fall 2023\Classtest1.py", line 18, in <module> print(t2.between(t1, t3)) # is t2 between ...
common-pile/stackexchange_filtered
How to maintain display onmouseover after moving mouse with Javascript I have three objectives with these pics, hide all but the first. Display all pics, inline with the first, when hovering over the first and continue display when hovering over all pics. Hide the pics once leaving the area with display only when hover...
common-pile/stackexchange_filtered
How do you convert a time variable to a decimal in R? I'm extremely new to R, and I am using it to analyze a massive data set. Currently my variable B4S1 looks like this (e.g., 10:30, 11:00, 9:45), and I need it to look like this (e.g., 10.5, 11, 9.45). I tried really hard to figure out how to accomplish this, but I do...
common-pile/stackexchange_filtered
Magento Frontend Dashboard Stuck Loading Magento 2.2.5 Attached are screenshots of the errors in Chrome dev tools: jquery.js loader.js Also: There are some images being requested that are missing from an S3 bucket that are throwing out 403/404 errors. I wouldn’t think that would cause the dashboard to continue loadi...
common-pile/stackexchange_filtered
How to create the typical "MAN RAY" effect? I've always been a huge fan of Man Ray (the artist/photographer). Fascinated by his negatives on gelatin silver print, I was wondering how I could recreate his signature effect with my own portrait pictures (still a neophyte on Photoshop but pretty sure this isn't just invert...
common-pile/stackexchange_filtered
Extended AWS MS SQL RDS DB audit file search with a server timestamp I am getting MS SQL RDS DB audit search with following query: SELECT * FROM msdb.dbo.rds_fn_get_audit_file('D:\rdsdbdata\SQLAudit\*.sqlaudit', default, default) Timestamp is coming in event_time column and it is in UTC, however, I need to convert it ...
common-pile/stackexchange_filtered
How to know when to handle different architecture Almost everywhere I download software, I see a 32-bit version and a 64-bit version of the software. My questions are What are the major differences in the code of the software? Does it affect performance, memory, etc...? How can I know when I should provide a 32-bit an...
common-pile/stackexchange_filtered
When the pullback functor is monadic Consider a site $(\mathcal C,J)$ and the category of sheaves $\mathscr S=\mbox{Sh}(\mathcal C,J)$ on it. Given a morphism $f:X\rightarrow Y$ between sheaves, when is the pullback funtor $f^*:\mathscr S/Y\rightarrow\mathscr S/X$ monadic? And what if I consider sheaves valued in a gen...
common-pile/stackexchange_filtered
OS locale support for use in Python The following Python code works on my Windows machine (Python 2.5.4), but doesn't on my Debian machine (Python 2.5.0). I'm guessing it's OS dependent. import locale locale.setlocale( locale.LC_ALL, 'English_United States.1252' ) I receive the following error: Traceback (most recent ...
common-pile/stackexchange_filtered
At what point did the Apollo 11's Eagle extend the landing gear? I am trying to figure out, during Apollo missions, exactly when the lunar-module extended the landing gear. Was it closer to the time the CM and LM connected in the space rendezvous or did they extend the landing gear closer to arriving to the Moon? Wow...
common-pile/stackexchange_filtered
R - how to use apply (or some variant) to replace nested looping I've been searching the forums for a while now, and I can't seem to figure out the answer to my problem (although I've come close a few times). My apologies if this has already been answered elsewhere and I've missed it. I'm working with the Egyptian Sku...
common-pile/stackexchange_filtered
TypeError: 'module' object is not callable error? I studying on a model training. when i called the training function i got this error "TypeError: 'module' object is not callable" and i can't see where i missed it. here is my calling function: train( model, optimizer, loss, ...
common-pile/stackexchange_filtered
Interpret strings as packed binary data in C++ I have question about interpreting strings as packed binary data in C++. In python, I can use struct module. Is there a module or a way in C++ to interpret strings as packed binary data without embedding Python? A string is a sequence of contiguous characters (bytes, basi...
common-pile/stackexchange_filtered
Converted from .py to .exe but output plots are not displayed Based on input data, I have to generate the plots using python scripting and it was run successfully with plots displayed. Later, unfortunately, after conversion from .py to .exe file, the outputs plots are not generated when clicked on .exe file, What may b...
common-pile/stackexchange_filtered
Are there any SQL injection tools out there so I can test my site's vulnerabality? Are there any SQL injection tools out there so I can test my site for vulnerabilities? Any good ones? Free ones would be good. This isn't exactly an external tool to check for SQL Injection. But if you're using PHP you might want to con...
common-pile/stackexchange_filtered
Changing Linux 'ps' output by changing argv[0] I'm trying to have a program alter what 'ps' displays as the process's CMD name, using the technique I've seen recommended of simply overlaying the memory pointed to by argv[0]. Here is the sample program I wrote. #include <iostream> #include <cstring> #include <sys/prctl...
common-pile/stackexchange_filtered
get 2sxc app id from app name I want to use data from another app like in code But I want to get appId from app name or folder? Is there any method to get this? This is my working code with functions for getting AppId: public int GetAppIdFromName(string appName){ foreach(var app in sxApps()) if (app.Name==appName)...
common-pile/stackexchange_filtered
Query last day, last week, last month SQLite I have this table in my Android SQLite DB: CREATE TABLE statistics (subject TEXT, hits INTEGER, fails INTEGER, date DATE) On date field is stored datetime('now', 'localtime') in every register. Now I must query last day, last week and last month registers for showing some s...
common-pile/stackexchange_filtered
Remove/undef a class method You can dynamically define a class method for a class like so: class Foo end bar = %q{def bar() "bar!" end} Foo.instance_eval(bar) But how do you do the opposite: remove/undefine a class method? I suspect Module's remove_method and undef_method methods might be able to be used for this pur...
common-pile/stackexchange_filtered
Gitlab CI : get all commit changes from the push/merge I would like to have the files that have changed since the last push. Currently I can find the difference on the last commit. However if I have several commits in one push, only the last commit is taken into account : git diff-tree --no-commit-id --name-only -r ${C...
common-pile/stackexchange_filtered
Deformation Retract and surjectivity Let $A$ be a deformation retract of $X$ and $(j)_*: \pi_1(A,x_0) \to \pi_1(X,x_0)$ be the map induced by the inclusion map $j:A \to X$ (with $x_0 \in A$). I want now proof that for every $x \in \pi_1(X,x_0)$ there exists a $y \in \pi_1(A,x_0)$ s.t. $(j)_*([y])=x$. Okay since $A$ is ...
common-pile/stackexchange_filtered
Error in getting record Id in Lightning component quick action I am getting the Error: Component class instance initialization error [Cannot read property 'g' of undefined] quickActionHandlerHelper.js failed to create component - forceChatter:lightningComponent There is not call to Apex method/Chatter used in th...
common-pile/stackexchange_filtered
Finding occurrence of character in a string in C using pointers only Function find_any returns a pointer to the first occurrence of any member of the array whose first element is pointed to by pointer vals and has len number of elements in a half-open range of values. If none of the members of array vals are found, the...
common-pile/stackexchange_filtered
Is there a way to test Triggers with mocks? When I write triggers, I try to follow best practices by implementing them according to the Separation of Concerns principle. This design pattern allows me to encapsulate logic and separate it from my trigger. The problem I run into is how to test a trigger without also testi...
common-pile/stackexchange_filtered
Nuxt 3 with Netlify-Edge preset: ERROR nitro server handler (e.adapter || ls.adapter) is not a function I have a Nuxt 3 chatbot app that works locally. However, when I deploy to Netlify using the netlify-edge preset, I get a 404 error when calling the server/api/chat.post.js endpoint. It seems that although the endpoin...
common-pile/stackexchange_filtered
How would you say something is like something else? I know something similar to this has been asked before: Saying something is like/not like something else I'm just wondering if there's a phrase to express 'like-ness' using senses, for example, "this apple tastes like a banana" or "my socks smells like sweat". Would ...
common-pile/stackexchange_filtered
Apache Spark Simulator Can Spark in standalone mode be used as a simulator or Databricks community edition for research purposes? I want to simulate an idea because I do not have access to a physical cluster for my research on optimizing Spark Configuration. Yes, you can use Spark Local Mode and be able to run Spark a...
common-pile/stackexchange_filtered
Get information from multidimensional json in php I am trying to get back information from a multidimensional json array but can't seem to get it right. Below is an example of the output from the url which you can see yourself at http://<IP_ADDRESS>:3000/ { "vnc_version": "<IP_ADDRESS>", "mod_version": "<IP_ADDRESS>", ...
common-pile/stackexchange_filtered
Undefined property: Craft\WebApp::$urlManager in /var/www/craft/app/controllers/BaseController.php on line 37 So I'm trying to setup my first Craft installation on Digital Ocean. I'm bound to use Craft version 2.0.2535 since I'll be duplicating a site using this (so I cannot use Craft 3). I've spun up a new Droplet on ...
common-pile/stackexchange_filtered
WKInterfaceTable: Swipe to edit like the stock Mail app In the stock Apple Watch mail app you can swipe left to access more options for an email. How would I go about doing this with a WKInterfaceTable? According to Apple guideline that it is not possible in watchOS to implement custom gesture as we have in iOS. Becau...
common-pile/stackexchange_filtered
Precise Statement of Strong Induction I am a TA for a CS course and on an exam I was grading I had a "strong" discussion with the professor that the answer was incorrect involving strong induction. His explanation of strong induction is this: Given some property P over the natural numbers we want to prove P(n) is true...
common-pile/stackexchange_filtered
Get Cursor Postion of TextInput before it was focused out I have Titlewindow Window having TextInput's. While it is popuped i do other operation like selecting MenuItem from Menu which is on toplevel application. After selecting the menuitem i need to add text to TextInput of titlewindow which was previously focused. N...
common-pile/stackexchange_filtered
Where does sudoer reports go? So I'm testing out a small CentOS build (rackspace cloud). I set up my user and went to do some sudo'ing. Well, I forgot the step to add my user to the sudoers file with visudo. So of course, I get this error: is not in the sudoers file. This incident will be reported. Never saw it befo...
common-pile/stackexchange_filtered
Flash ProgressEvent Not Showing Total Size I'm using a ProgressEvent in Flash to determine how long something will take to download. I've got this: progress = event.target.bytesLoaded/event.target.bytesTotal; to set a percentage. After some scratching of my head, I did a trace on the two values - and it turns ...
common-pile/stackexchange_filtered
how to use std::copy for int** My2DClass::My2DClass(const int r, const int c, int mat[3][3]):m_r(r),m_c(c) { matrix = new int*[r]; for (int i = 0; i < r; i++) matrix[i] = new int[c]; for (int i = 0; i < m_r; i++) { for (int j = 0; j < m_c; j++) { matrix[i][j] = mat[i][j]; ...
common-pile/stackexchange_filtered
Creating Multiple Debian Packages with cmake I have a cmake project consisting of a set of executable files, independent of each other with two shared libraries. I want to pack each executable file into a deb package. As a result, I get one deb package with all programs and libs. part of the source code: cmake_minimum_...
common-pile/stackexchange_filtered
5x vshost.exe in Windows Firewall Exceptions Under Windows Firewall Exceptions I see 5 instances of vshost.exe. Is this normal, or should I be worried? I do run weekly scans with AVG Free, and have Windows Firewall on, that's basically all my protection. Do you use Visual Studio to develop network connected applica...
common-pile/stackexchange_filtered
Browser stops responding when databinding to a dropdown net c# web form application. when I tried to fill a drop down with a huge record, about 225000 records :), the browser stops responding. and showing an error A script on this page may be busy, or it may have stopped responding. You can stop the script now, ope...
common-pile/stackexchange_filtered
MobilePush Notification for Marketing Cloud Cordova plugn not displayed We are using Marketing CLoud Cordova plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin) to implement MobilePush notification on the App but its not working when the Cordova plugin Firebasex is included in the dependency package...
common-pile/stackexchange_filtered
How to fix "default slot raw html rendering in Vue.js component" I have a custom input component and try to use slot for pass another element to that component, but when use any html like a simple button inside custom input component tags on the parent component the content render as a raw html(like escaped html text) ...
common-pile/stackexchange_filtered
Create a mocked list with objects I want to create a JUnit test with tests mocked objects: public class BinCountryCheckFilterImplTest { private RiskFilterService riskFilterService = null; @Before public void beforeEachTest() { List<RiskFilters> list = new ArrayList<RiskFilters>(); riskFi...
common-pile/stackexchange_filtered
How to compute an integral? I am reading the lecture notes. I am trying to understand the prove of Lemma <IP_ADDRESS> on page 4. From line 3 to line 4 in the proof of Lemma <IP_ADDRESS>., how to prove that $$ \int_{F^{n-1}} \hat{1}_{\mathfrak{p}^{-k}} \ (x) \pi \left( \begin{matrix} 1_{n-1} & x \\ 0 & 1 \end{matrix} ...
common-pile/stackexchange_filtered
Nativescript Run on Device IOS - dyld Library not loaded @rpath/Nativescript.framework Runs fine on emulator (pretty basic app, only a few changes to check deploy works etc before continue). Throws this error dyld: Library not loaded: @rpath/NativeScript.framework/NativeScript Referenced from: /private/var/containe...
common-pile/stackexchange_filtered
Single line grid layout without grid-template-rows hack I want to have a description list of items that, by using CSS grid, sits on a single row with a small variability to the width of each item and which hides each item as the width becomes too small to accommodate it. So far I have come up with this which takes adva...
common-pile/stackexchange_filtered
論語 4-5 裡的「之」指甚麼? What does 之 refer to? I speak modern Mandarin. I'm trying to learn classical Chinese. Reading Van Norden's Guide for absolute beginners, I'm stuck in Lesson 7, Analects 4.5: 「子曰。富與貴。是人之所欲也。不以其道得之。不處也。貧與賤。是人之所惡也。不以其道得之。不去也。」 The issue, as Van Norden points out, is that in the straightforward interpretat...
common-pile/stackexchange_filtered
svm's margin equation derive question I hava question about the margin equation $$\frac{a}{||w||}$$ where this equation coming from? I think it substract the $w^{T} +b -a - w^{T}x +b$ but not sure how margin equation derived That is distance between two parallel hyperplanes: i.e. distance between $\mathbf{w}^T\mathb...
common-pile/stackexchange_filtered
How to get VIF from an h2o regression I'm trying to get the the VIF scores from an h2o regression. Is there a VIF like function or data stored within h2o? Here's my example: library(ggplot2) library(h2o, quietly = TRUE) library(tibble) #build h20 sessions h2o::h2o.init() #> Connection successful! mtcars.df <- as.h2...
common-pile/stackexchange_filtered
SQL Update One Table If Record Does Not Exist In Another Table SELECT c.* FROM customers c LEFT JOIN invoices i ON i.customer_id = c.id WHERE i.customer_id IS NULL The above works to give me all the customer accounts that have no invoices. It takes a long time to run, but I'm not concerned with the speed. ...
common-pile/stackexchange_filtered
Redirect only if url ends with slash I have a redirect for product urls, and now I want to create one for categories. I have tried this in htaccess: RewriteRule ^product/(.*) https://my-url/product-categorie/$1 [R=301,L] but it also affects the urls ending with *.html How do I avoid this? So no urls ending with *.html...
common-pile/stackexchange_filtered
How can I create a RadioButtonList in a MVC View via HTML class ( Razor syntax ) I need to show my list in a RadioButtonList , some thing like this: @Html.RadioButtonList("FeatureList", new SelectList(ViewBag.Features)) But as you know there is no RadioButtonList class in HTML Helper class and when I use : @Html.RadioB...
common-pile/stackexchange_filtered
How to handle SerializationException after deserialization I am using Avro and Schema registry with my Spring Kafka setup. I would like to somehow handle the SerializationException, which might be thrown during deserialization. I found the following two resource: https://github.com/spring-projects/spring-kafka/issues/1...
common-pile/stackexchange_filtered
Fabric.js loadFromJSON() method undefined I have wrote this function in a class: this.loadCanvas = function(json) { // parse the data into the canvas stage.loadFromJSON(json); // re-render the canvas stage.renderAll(); } Where stage is new fabric object. But in the browser it is showing this error: Un...
common-pile/stackexchange_filtered
Qt c++ Does my program use static or dynamic linking? Sorry about this probably stupid question - I don`t know much about linking : I use Qt QtCreator to program a GUI in C++ in a program that existed before where I had to adapt it. Now my Question is : How do I know whether the program uses static or dynamic linking...
common-pile/stackexchange_filtered
Which API: JavaFX or JMF is better for audio processing in Java? I am doing a project in which I have to transform the audio data (which would be most probably in mp3, wav or wma format) into a waveform and also get the FFT and pitch for it along with the time in milliseconds at which the pitch change. I am just confus...
common-pile/stackexchange_filtered
insertion sort using linked list and pointers I need to sort linked list using insertion sort. The elements looks like this [ 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 ] The result of sorting should look like [ 0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 ] The problem is that my result looks like this [ 3 2 1 0 3 2 1 0 3 ...
common-pile/stackexchange_filtered
How to get item from Recycler View? I created list using Recycler View. Now I want to get item after click. I heard about getAdapterPosition but I dont know how to use it. I try something like this but honestly dont know how to get it. My Fragment class code: public class FragmentOne extends Fragment { private sta...
common-pile/stackexchange_filtered
React/React Hooks: Unknown prop type error on input, can't figure out how to resolve I have a component that I've set up using react hooks and I've passed a unique prop type to an input to handle the styling changes when there's an error with the user input. Everything works as expected but now I'm getting an unknown p...
common-pile/stackexchange_filtered
Creating multiple subnets in Azure Terraform using modules I'm trying to deploy two subnets with different ip prefixes and different names and not create too much repeated code. I'm not sure how to approach it best. I tried the below but its not working. My terraform version is 0.14.11 so I think some of what I am doin...
common-pile/stackexchange_filtered
Scalar Curvature of a metric on the hemisphere, from a paper on the Min-Oo Conjecture I'm reading a paper on the Min-Oo Conjecture (http://arxiv.org/abs/1004.3088), and I'm stuck on the following step in a proposition: Given a metric $g_0(t)$ on the upper hemisphere $\mathbb{S}^n_+$, and the standard metric $\bar{g}$ o...
common-pile/stackexchange_filtered
Handling Contraints And Identifiers In A Custom Object Model For Persisting To A Relational Database I have a robust set of objects that relate to one another and I need to figure out that best way to handle saving them to the database and still account for things like data constraints. Let's say I have the following c...
common-pile/stackexchange_filtered
Acquiring multiple attributes from .xml file in c# I have an .xml file with the structure below. I am wanting to acquire the attribute value, 0.05 and so on, for specific EndPointChannelID's. I am currently able to get the value but it is for every EndPointChannelID instead of for a desired one. Another twist is that t...
common-pile/stackexchange_filtered
20.04 Alert Volume slider missing In previous versions I was able to change volume of system alert so it is not playing on full power of my speakers with slider like this: But this is not possible in system settings anymore. Is there any way to change this setting from console? I'm not a GNOME user, but in the mean t...
common-pile/stackexchange_filtered
Spring vs Guice instantiating objects I recently started learning Spring. As I am new to Spring several question comes to mind of mine. One of them is this: As stated here " All beans are instantiated as soon as the spring configuration is loaded by a container. org.springframework.context.ApplicationContext container ...
common-pile/stackexchange_filtered
Why is there a possible division by zero in the A matrix of a commutator? Suppose we have the following zero trace matrix: $$M = \begin {pmatrix}-b_1{_2} & s1 & 0\\-b_2{_2} & b_1{_2} & 0\\-b_3{_2} & s2 & 0 \end {pmatrix}$$ Because it is has zero trace, it has a commutator such that: $$M = AB-BA$$ I've chosen the elemen...
common-pile/stackexchange_filtered
Why use getters and setters/accessors? What's the advantage of using getters and setters - that only get and set - instead of simply using public fields for those variables? If getters and setters are ever doing more than just the simple get/set, I can figure this one out very quickly, but I'm not 100% clear on how: pu...
common-pile/stackexchange_filtered
Trouble with a media query for a button So I've implemented a button, a double-angle up arrow inside of a circle, on a site I'm designing which allows the user to quickly scroll back to the top: Now I have a media query that's supposed to shrink both the circle and the arrow on screens narrower than 767px. However, th...
common-pile/stackexchange_filtered
Theory behind Targeted Maximum Likelihood Estimation (TMLE) There are many fine how-to articles describing how to implement TMLE but they avoid the details of the underlying theory. I'm currently working my way through Targeted Learning: Causal Inference for Observational and Experimental Data by Mark J. van der Laan a...
common-pile/stackexchange_filtered
How to reuse a linq expression for 'Where' when using multiple source tables Let's have the following: public interface IOne { UInt64 Id { get; } Int16 Size { get; } } public interface ITwo { UInt64 OneId { get; } Int16 Color { get; } } As explained here the way to reuse a linq expression is to write ...
common-pile/stackexchange_filtered
Sed replace string with whitespaces I have a string which has a format like this : {u city : u Zurich , u name : u Hauptbahnhof , u address : u Test address, C106, Bahnhofsstrasse } I need to remove all the " u " (with the spaces) and replace the ", u "(with the spaces) with a line breaker, but i have no idea how i co...
common-pile/stackexchange_filtered
How to add translation class/model to an existing Sylius model? I am trying to add translations to Sylius' product variant model, but having some trouble configuring the resource. When dealing with custom models it is easy to add translation classes, just create the necessary classes with the right interfaces and then ...
common-pile/stackexchange_filtered
How to suppress ITK warning messages in python Whenever I load .img.gz file using python medpy.io load function, I get a warning message like: WARNING: In /usr/share/miniconda/envs/bld/conda-bld/simpleitk_1598369168428/work/build/ITK/Modules/IO/NIFTI/src/itkNiftiImageIO.cxx, line 1009 NiftiImageIO (0x56268f287910): /da...
common-pile/stackexchange_filtered
What does forceBinFolderScan attribute in EPiServerFramework.config file means? I was studying for EPiServer exam and have read this article about EPiServer initialization: http://world.episerver.com/Documentation/Items/Tech-Notes/EPiServer-CMS-6/EPiServer-CMS-60/Initialization/ It describes how to configure initializa...
common-pile/stackexchange_filtered
Law regarding mixing harsh and mild wines? In the Rambam's Introduction to the Mishnah, he mentions a Halacha L'Moshe Mesinai regarding mixing different sorts of wine. The quoted text is ביין התירו לערב קשה ברך הלכה למשה מסיני. Does anybody know what this law is? Welcome to MiYodeya and thanks for this first question...
common-pile/stackexchange_filtered
Is it safe to store my passwords in a text document protected by a password? How easily could someone break into a password protected text file like Word? have you googled "how to crack a Word password"? Why not use keepass2 or a similar password manager? It's designed for storing passwords in a file protected by a m...
common-pile/stackexchange_filtered
SetThreadAffinityMask of pooled thread I am wondering whether it is possible to set the processor affinity of a thread obtained from a thread pool. More specifically the thread is obtained through the use of TimerQueue API which I use to implement periodic tasks. As a sidenote: I found TimerQueues the easiest way to i...
common-pile/stackexchange_filtered
ES6 'import' causing error with Babel I am trying to make a Poker game using JavaScript es6, but even with babel, when the game is run, the following error is thrown: Unexpected reserved word { import Hand from './hand'; I have the following in my node_modules: babel babel-core babel-loader babel-preset-es2015 we...
common-pile/stackexchange_filtered
Why is the covariance operator of a Gaussian measure not defined on the dual space? I am studying Gaussian measures on nuclear spaces, which for concreteness I take to be Schwartz space $\mathcal{S}'(\mathbb{R}^n)$. Just as in finite dimensions, these Gaussian measures can be uniquely characterized by their mean and co...
common-pile/stackexchange_filtered
Atiyah-Macdonald: Exercise 1.8 Let $A$ be a ring $\neq0$. Show that the set of prime ideals of $A$ has minimal elements with respect to inclusion. I am trying to do this exercise from Atiyah-Macdonald. Attempt: We should assume that there is no such minimal prime ideal. Then we have a chain $P_1 \supset P_2 \supset P...
common-pile/stackexchange_filtered
Sort the list and insert a new column in mongodb I need to sort states and figure out the highest temperature for each state in this weather data residing in mongodb. How do I iterate through each record in Javascript and insert a new column 'month_highest' when I figure out the highest temperature for that state ? Da...
common-pile/stackexchange_filtered